published on Monday, Nov 16, 2026 by Checkly
Checklypublished on Monday, Nov 16, 2026 by Checkly
Check groups organize related checks together and allow optional shared configuration.
Unlike checkly.CheckGroup (v1), which always imposed implicit defaults for various settings, checkly.CheckGroupV2 does not override any check settings by default. A group can be as minimal as just a name. Use the optional enforce_* attributes only when you explicitly want the group to override individual check settings.
The new checkly.CheckGroupV2 resource should always be preferred over the old checkly.CheckGroup resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkly from "@checkly/pulumi";
// Minimal example: just a folder to organize checks.
const just_a_folder = new checkly.CheckGroupV2("just-a-folder", {name: "Just a Folder"});
// Full example: a group with enforced settings that override individual checks.
const production_api = new checkly.CheckGroupV2("production-api", {
name: "Production API",
activated: true,
muted: false,
concurrency: 5,
tags: [
"production",
"api",
],
enforceLocations: {
enabled: true,
locations: [
"us-east-1",
"eu-west-1",
"ap-southeast-1",
],
privateLocations: ["my-datacenter"],
},
enforceRetryStrategy: {
enabled: true,
retryStrategy: {
type: "LINEAR",
baseBackoffSeconds: 30,
maxRetries: 3,
maxDurationSeconds: 300,
sameRegion: true,
},
},
enforceSchedulingStrategy: {
enabled: true,
runParallel: true,
},
enforceAlertSettings: {
enabled: true,
alertSettings: {
escalationType: "RUN_BASED",
runBasedEscalation: {
failedRunThreshold: 2,
},
reminders: {
amount: 3,
interval: 10,
},
parallelRunFailureThreshold: {
enabled: true,
percentage: 50,
},
},
alertChannelSubscriptions: [{
channelId: 1234,
activated: true,
}],
},
environmentVariables: [
{
key: "BASE_URL",
value: "https://api.example.com",
locked: false,
},
{
key: "API_TOKEN",
value: "super-secret-token",
locked: true,
secret: true,
},
],
defaultRuntime: {
runtimeId: "2024.02",
},
apiCheckDefaults: {
url: "https://api.example.com/",
headers: {
"X-Api-Key": "{{API_TOKEN}}",
"Content-Type": "application/json",
},
queryParameters: {
version: "v2",
},
assertions: [
{
source: "STATUS_CODE",
comparison: "LESS_THAN",
target: "400",
},
{
source: "RESPONSE_TIME",
comparison: "LESS_THAN",
target: "3000",
},
],
basicAuth: {
username: "admin",
password: "pass",
},
},
setupScript: {
inlineScript: `// Runs before every API check in this group
console.log(\\"Setting up...\\")
`,
},
teardownScript: {
inlineScript: `// Runs after every API check in this group
console.log(\\"Tearing down...\\")
`,
},
});
// Example: enforce only retry strategy with network-error-only retries.
const retry_on_network_errors = new checkly.CheckGroupV2("retry-on-network-errors", {
name: "Retry on Network Errors Only",
enforceRetryStrategy: {
enabled: true,
retryStrategy: {
type: "EXPONENTIAL",
baseBackoffSeconds: 10,
maxRetries: 5,
maxDurationSeconds: 600,
sameRegion: false,
onlyOn: {
networkError: true,
},
},
},
});
// Example: enforce time-based alert escalation.
const time_based_alerts = new checkly.CheckGroupV2("time-based-alerts", {
name: "Time-Based Alert Escalation",
enforceAlertSettings: {
enabled: true,
alertSettings: {
escalationType: "TIME_BASED",
timeBasedEscalation: {
minutesFailingThreshold: 10,
},
reminders: {
amount: 5,
interval: 15,
},
},
},
});
// Example: use global alert settings instead of custom ones.
const use_global_alerts = new checkly.CheckGroupV2("use-global-alerts", {
name: "Use Global Alert Settings",
enforceAlertSettings: {
enabled: true,
useGlobalAlertSettings: true,
},
});
// Example: enforce alert channel subscriptions with custom alert settings.
const email = new checkly.AlertChannel("email", {email: {
address: "alerts@example.com",
}});
const slack = new checkly.AlertChannel("slack", {slackApp: {
slackChannels: ["#alerts"],
}});
const with_alert_channels = new checkly.CheckGroupV2("with-alert-channels", {
name: "Group with Alert Channels",
enforceAlertSettings: {
enabled: true,
alertSettings: {
escalationType: "RUN_BASED",
runBasedEscalation: {
failedRunThreshold: 1,
},
reminders: {
amount: 0,
interval: 5,
},
},
alertChannelSubscriptions: [
{
channelId: email.id.apply(x =>Number(x)),
activated: true,
},
{
channelId: slack.id.apply(x =>Number(x)),
activated: true,
},
],
},
});
// Example: enforce no retries.
const no_retries = new checkly.CheckGroupV2("no-retries", {
name: "No Retries Group",
enforceRetryStrategy: {
enabled: true,
retryStrategy: {
type: "NO_RETRIES",
},
},
});
// Example: enforce a single retry.
const single_retry = new checkly.CheckGroupV2("single-retry", {
name: "Single Retry Group",
enforceRetryStrategy: {
enabled: true,
retryStrategy: {
type: "SINGLE_RETRY",
baseBackoffSeconds: 10,
sameRegion: true,
},
},
});
import pulumi
import pulumi_checkly as checkly
# Minimal example: just a folder to organize checks.
just_a_folder = checkly.CheckGroupV2("just-a-folder", name="Just a Folder")
# Full example: a group with enforced settings that override individual checks.
production_api = checkly.CheckGroupV2("production-api",
name="Production API",
activated=True,
muted=False,
concurrency=5,
tags=[
"production",
"api",
],
enforce_locations={
"enabled": True,
"locations": [
"us-east-1",
"eu-west-1",
"ap-southeast-1",
],
"private_locations": ["my-datacenter"],
},
enforce_retry_strategy={
"enabled": True,
"retry_strategy": {
"type": "LINEAR",
"base_backoff_seconds": 30,
"max_retries": 3,
"max_duration_seconds": 300,
"same_region": True,
},
},
enforce_scheduling_strategy={
"enabled": True,
"run_parallel": True,
},
enforce_alert_settings={
"enabled": True,
"alert_settings": {
"escalation_type": "RUN_BASED",
"run_based_escalation": {
"failed_run_threshold": 2,
},
"reminders": {
"amount": 3,
"interval": 10,
},
"parallel_run_failure_threshold": {
"enabled": True,
"percentage": 50,
},
},
"alert_channel_subscriptions": [{
"channel_id": 1234,
"activated": True,
}],
},
environment_variables=[
{
"key": "BASE_URL",
"value": "https://api.example.com",
"locked": False,
},
{
"key": "API_TOKEN",
"value": "super-secret-token",
"locked": True,
"secret": True,
},
],
default_runtime={
"runtime_id": "2024.02",
},
api_check_defaults={
"url": "https://api.example.com/",
"headers": {
"X-Api-Key": "{{API_TOKEN}}",
"Content-Type": "application/json",
},
"query_parameters": {
"version": "v2",
},
"assertions": [
{
"source": "STATUS_CODE",
"comparison": "LESS_THAN",
"target": "400",
},
{
"source": "RESPONSE_TIME",
"comparison": "LESS_THAN",
"target": "3000",
},
],
"basic_auth": {
"username": "admin",
"password": "pass",
},
},
setup_script={
"inline_script": """// Runs before every API check in this group
console.log(\"Setting up...\")
""",
},
teardown_script={
"inline_script": """// Runs after every API check in this group
console.log(\"Tearing down...\")
""",
})
# Example: enforce only retry strategy with network-error-only retries.
retry_on_network_errors = checkly.CheckGroupV2("retry-on-network-errors",
name="Retry on Network Errors Only",
enforce_retry_strategy={
"enabled": True,
"retry_strategy": {
"type": "EXPONENTIAL",
"base_backoff_seconds": 10,
"max_retries": 5,
"max_duration_seconds": 600,
"same_region": False,
"only_on": {
"network_error": True,
},
},
})
# Example: enforce time-based alert escalation.
time_based_alerts = checkly.CheckGroupV2("time-based-alerts",
name="Time-Based Alert Escalation",
enforce_alert_settings={
"enabled": True,
"alert_settings": {
"escalation_type": "TIME_BASED",
"time_based_escalation": {
"minutes_failing_threshold": 10,
},
"reminders": {
"amount": 5,
"interval": 15,
},
},
})
# Example: use global alert settings instead of custom ones.
use_global_alerts = checkly.CheckGroupV2("use-global-alerts",
name="Use Global Alert Settings",
enforce_alert_settings={
"enabled": True,
"use_global_alert_settings": True,
})
# Example: enforce alert channel subscriptions with custom alert settings.
email = checkly.AlertChannel("email", email={
"address": "alerts@example.com",
})
slack = checkly.AlertChannel("slack", slack_app={
"slack_channels": ["#alerts"],
})
with_alert_channels = checkly.CheckGroupV2("with-alert-channels",
name="Group with Alert Channels",
enforce_alert_settings={
"enabled": True,
"alert_settings": {
"escalation_type": "RUN_BASED",
"run_based_escalation": {
"failed_run_threshold": 1,
},
"reminders": {
"amount": 0,
"interval": 5,
},
},
"alert_channel_subscriptions": [
{
"channel_id": email.id.apply(lambda x: int(x)),
"activated": True,
},
{
"channel_id": slack.id.apply(lambda x: int(x)),
"activated": True,
},
],
})
# Example: enforce no retries.
no_retries = checkly.CheckGroupV2("no-retries",
name="No Retries Group",
enforce_retry_strategy={
"enabled": True,
"retry_strategy": {
"type": "NO_RETRIES",
},
})
# Example: enforce a single retry.
single_retry = checkly.CheckGroupV2("single-retry",
name="Single Retry Group",
enforce_retry_strategy={
"enabled": True,
"retry_strategy": {
"type": "SINGLE_RETRY",
"base_backoff_seconds": 10,
"same_region": True,
},
})
package main
import (
"strconv"
"github.com/checkly/pulumi-checkly/sdk/v3/go/checkly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Minimal example: just a folder to organize checks.
_, err := checkly.NewCheckGroupV2(ctx, "just-a-folder", &checkly.CheckGroupV2Args{
Name: pulumi.String("Just a Folder"),
})
if err != nil {
return err
}
// Full example: a group with enforced settings that override individual checks.
_, err = checkly.NewCheckGroupV2(ctx, "production-api", &checkly.CheckGroupV2Args{
Name: pulumi.String("Production API"),
Activated: pulumi.Bool(true),
Muted: pulumi.Bool(false),
Concurrency: pulumi.Int(5),
Tags: pulumi.StringArray{
pulumi.String("production"),
pulumi.String("api"),
},
EnforceLocations: &checkly.CheckGroupV2EnforceLocationsArgs{
Enabled: pulumi.Bool(true),
Locations: pulumi.StringArray{
pulumi.String("us-east-1"),
pulumi.String("eu-west-1"),
pulumi.String("ap-southeast-1"),
},
PrivateLocations: pulumi.StringArray{
pulumi.String("my-datacenter"),
},
},
EnforceRetryStrategy: &checkly.CheckGroupV2EnforceRetryStrategyArgs{
Enabled: pulumi.Bool(true),
RetryStrategy: &checkly.CheckGroupV2EnforceRetryStrategyRetryStrategyArgs{
Type: pulumi.String("LINEAR"),
BaseBackoffSeconds: pulumi.Int(30),
MaxRetries: pulumi.Int(3),
MaxDurationSeconds: pulumi.Int(300),
SameRegion: pulumi.Bool(true),
},
},
EnforceSchedulingStrategy: &checkly.CheckGroupV2EnforceSchedulingStrategyArgs{
Enabled: pulumi.Bool(true),
RunParallel: pulumi.Bool(true),
},
EnforceAlertSettings: &checkly.CheckGroupV2EnforceAlertSettingsArgs{
Enabled: pulumi.Bool(true),
AlertSettings: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsArgs{
EscalationType: pulumi.String("RUN_BASED"),
RunBasedEscalation: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs{
FailedRunThreshold: pulumi.Int(2),
},
Reminders: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs{
Amount: pulumi.Int(3),
Interval: pulumi.Int(10),
},
ParallelRunFailureThreshold: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThresholdArgs{
Enabled: pulumi.Bool(true),
Percentage: pulumi.Int(50),
},
},
AlertChannelSubscriptions: checkly.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArray{
&checkly.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs{
ChannelId: pulumi.Int(1234),
Activated: pulumi.Bool(true),
},
},
},
EnvironmentVariables: checkly.CheckGroupV2EnvironmentVariableArray{
&checkly.CheckGroupV2EnvironmentVariableArgs{
Key: pulumi.String("BASE_URL"),
Value: pulumi.String("https://api.example.com"),
Locked: pulumi.Bool(false),
},
&checkly.CheckGroupV2EnvironmentVariableArgs{
Key: pulumi.String("API_TOKEN"),
Value: pulumi.String("super-secret-token"),
Locked: pulumi.Bool(true),
Secret: pulumi.Bool(true),
},
},
DefaultRuntime: &checkly.CheckGroupV2DefaultRuntimeArgs{
RuntimeId: pulumi.String("2024.02"),
},
ApiCheckDefaults: &checkly.CheckGroupV2ApiCheckDefaultsArgs{
Url: pulumi.String("https://api.example.com/"),
Headers: pulumi.StringMap{
"X-Api-Key": pulumi.String("{{API_TOKEN}}"),
"Content-Type": pulumi.String("application/json"),
},
QueryParameters: pulumi.StringMap{
"version": pulumi.String("v2"),
},
Assertions: checkly.CheckGroupV2ApiCheckDefaultsAssertionArray{
&checkly.CheckGroupV2ApiCheckDefaultsAssertionArgs{
Source: pulumi.String("STATUS_CODE"),
Comparison: pulumi.String("LESS_THAN"),
Target: pulumi.String("400"),
},
&checkly.CheckGroupV2ApiCheckDefaultsAssertionArgs{
Source: pulumi.String("RESPONSE_TIME"),
Comparison: pulumi.String("LESS_THAN"),
Target: pulumi.String("3000"),
},
},
BasicAuth: &checkly.CheckGroupV2ApiCheckDefaultsBasicAuthArgs{
Username: pulumi.String("admin"),
Password: pulumi.String("pass"),
},
},
SetupScript: &checkly.CheckGroupV2SetupScriptArgs{
InlineScript: pulumi.String("// Runs before every API check in this group\nconsole.log(\\\"Setting up...\\\")\n"),
},
TeardownScript: &checkly.CheckGroupV2TeardownScriptArgs{
InlineScript: pulumi.String("// Runs after every API check in this group\nconsole.log(\\\"Tearing down...\\\")\n"),
},
})
if err != nil {
return err
}
// Example: enforce only retry strategy with network-error-only retries.
_, err = checkly.NewCheckGroupV2(ctx, "retry-on-network-errors", &checkly.CheckGroupV2Args{
Name: pulumi.String("Retry on Network Errors Only"),
EnforceRetryStrategy: &checkly.CheckGroupV2EnforceRetryStrategyArgs{
Enabled: pulumi.Bool(true),
RetryStrategy: &checkly.CheckGroupV2EnforceRetryStrategyRetryStrategyArgs{
Type: pulumi.String("EXPONENTIAL"),
BaseBackoffSeconds: pulumi.Int(10),
MaxRetries: pulumi.Int(5),
MaxDurationSeconds: pulumi.Int(600),
SameRegion: pulumi.Bool(false),
OnlyOn: &checkly.CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOnArgs{
NetworkError: pulumi.Bool(true),
},
},
},
})
if err != nil {
return err
}
// Example: enforce time-based alert escalation.
_, err = checkly.NewCheckGroupV2(ctx, "time-based-alerts", &checkly.CheckGroupV2Args{
Name: pulumi.String("Time-Based Alert Escalation"),
EnforceAlertSettings: &checkly.CheckGroupV2EnforceAlertSettingsArgs{
Enabled: pulumi.Bool(true),
AlertSettings: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsArgs{
EscalationType: pulumi.String("TIME_BASED"),
TimeBasedEscalation: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalationArgs{
MinutesFailingThreshold: pulumi.Int(10),
},
Reminders: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs{
Amount: pulumi.Int(5),
Interval: pulumi.Int(15),
},
},
},
})
if err != nil {
return err
}
// Example: use global alert settings instead of custom ones.
_, err = checkly.NewCheckGroupV2(ctx, "use-global-alerts", &checkly.CheckGroupV2Args{
Name: pulumi.String("Use Global Alert Settings"),
EnforceAlertSettings: &checkly.CheckGroupV2EnforceAlertSettingsArgs{
Enabled: pulumi.Bool(true),
UseGlobalAlertSettings: pulumi.Bool(true),
},
})
if err != nil {
return err
}
// Example: enforce alert channel subscriptions with custom alert settings.
email, err := checkly.NewAlertChannel(ctx, "email", &checkly.AlertChannelArgs{
Email: &checkly.AlertChannelEmailArgs{
Address: pulumi.String("alerts@example.com"),
},
})
if err != nil {
return err
}
slack, err := checkly.NewAlertChannel(ctx, "slack", &checkly.AlertChannelArgs{
SlackApp: &checkly.AlertChannelSlackAppArgs{
SlackChannels: pulumi.StringArray{
pulumi.String("#alerts"),
},
},
})
if err != nil {
return err
}
_, err = checkly.NewCheckGroupV2(ctx, "with-alert-channels", &checkly.CheckGroupV2Args{
Name: pulumi.String("Group with Alert Channels"),
EnforceAlertSettings: &checkly.CheckGroupV2EnforceAlertSettingsArgs{
Enabled: pulumi.Bool(true),
AlertSettings: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsArgs{
EscalationType: pulumi.String("RUN_BASED"),
RunBasedEscalation: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs{
FailedRunThreshold: pulumi.Int(1),
},
Reminders: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs{
Amount: pulumi.Int(0),
Interval: pulumi.Int(5),
},
},
AlertChannelSubscriptions: checkly.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArray{
&checkly.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs{
ChannelId: email.ID().ToStringOutput().ApplyT(strconv.Atoi).(pulumi.IntOutput),
Activated: pulumi.Bool(true),
},
&checkly.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs{
ChannelId: slack.ID().ToStringOutput().ApplyT(strconv.Atoi).(pulumi.IntOutput),
Activated: pulumi.Bool(true),
},
},
},
})
if err != nil {
return err
}
// Example: enforce no retries.
_, err = checkly.NewCheckGroupV2(ctx, "no-retries", &checkly.CheckGroupV2Args{
Name: pulumi.String("No Retries Group"),
EnforceRetryStrategy: &checkly.CheckGroupV2EnforceRetryStrategyArgs{
Enabled: pulumi.Bool(true),
RetryStrategy: &checkly.CheckGroupV2EnforceRetryStrategyRetryStrategyArgs{
Type: pulumi.String("NO_RETRIES"),
},
},
})
if err != nil {
return err
}
// Example: enforce a single retry.
_, err = checkly.NewCheckGroupV2(ctx, "single-retry", &checkly.CheckGroupV2Args{
Name: pulumi.String("Single Retry Group"),
EnforceRetryStrategy: &checkly.CheckGroupV2EnforceRetryStrategyArgs{
Enabled: pulumi.Bool(true),
RetryStrategy: &checkly.CheckGroupV2EnforceRetryStrategyRetryStrategyArgs{
Type: pulumi.String("SINGLE_RETRY"),
BaseBackoffSeconds: pulumi.Int(10),
SameRegion: pulumi.Bool(true),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkly = Pulumi.Checkly;
return await Deployment.RunAsync(() =>
{
// Minimal example: just a folder to organize checks.
var just_a_folder = new Checkly.CheckGroupV2("just-a-folder", new()
{
Name = "Just a Folder",
});
// Full example: a group with enforced settings that override individual checks.
var production_api = new Checkly.CheckGroupV2("production-api", new()
{
Name = "Production API",
Activated = true,
Muted = false,
Concurrency = 5,
Tags = new[]
{
"production",
"api",
},
EnforceLocations = new Checkly.Inputs.CheckGroupV2EnforceLocationsArgs
{
Enabled = true,
Locations = new[]
{
"us-east-1",
"eu-west-1",
"ap-southeast-1",
},
PrivateLocations = new[]
{
"my-datacenter",
},
},
EnforceRetryStrategy = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyArgs
{
Enabled = true,
RetryStrategy = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyRetryStrategyArgs
{
Type = "LINEAR",
BaseBackoffSeconds = 30,
MaxRetries = 3,
MaxDurationSeconds = 300,
SameRegion = true,
},
},
EnforceSchedulingStrategy = new Checkly.Inputs.CheckGroupV2EnforceSchedulingStrategyArgs
{
Enabled = true,
RunParallel = true,
},
EnforceAlertSettings = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsArgs
{
Enabled = true,
AlertSettings = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsArgs
{
EscalationType = "RUN_BASED",
RunBasedEscalation = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs
{
FailedRunThreshold = 2,
},
Reminders = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs
{
Amount = 3,
Interval = 10,
},
ParallelRunFailureThreshold = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThresholdArgs
{
Enabled = true,
Percentage = 50,
},
},
AlertChannelSubscriptions = new[]
{
new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs
{
ChannelId = 1234,
Activated = true,
},
},
},
EnvironmentVariables = new[]
{
new Checkly.Inputs.CheckGroupV2EnvironmentVariableArgs
{
Key = "BASE_URL",
Value = "https://api.example.com",
Locked = false,
},
new Checkly.Inputs.CheckGroupV2EnvironmentVariableArgs
{
Key = "API_TOKEN",
Value = "super-secret-token",
Locked = true,
Secret = true,
},
},
DefaultRuntime = new Checkly.Inputs.CheckGroupV2DefaultRuntimeArgs
{
RuntimeId = "2024.02",
},
ApiCheckDefaults = new Checkly.Inputs.CheckGroupV2ApiCheckDefaultsArgs
{
Url = "https://api.example.com/",
Headers =
{
{ "X-Api-Key", "{{API_TOKEN}}" },
{ "Content-Type", "application/json" },
},
QueryParameters =
{
{ "version", "v2" },
},
Assertions = new[]
{
new Checkly.Inputs.CheckGroupV2ApiCheckDefaultsAssertionArgs
{
Source = "STATUS_CODE",
Comparison = "LESS_THAN",
Target = "400",
},
new Checkly.Inputs.CheckGroupV2ApiCheckDefaultsAssertionArgs
{
Source = "RESPONSE_TIME",
Comparison = "LESS_THAN",
Target = "3000",
},
},
BasicAuth = new Checkly.Inputs.CheckGroupV2ApiCheckDefaultsBasicAuthArgs
{
Username = "admin",
Password = "pass",
},
},
SetupScript = new Checkly.Inputs.CheckGroupV2SetupScriptArgs
{
InlineScript = @"// Runs before every API check in this group
console.log(\""Setting up...\"")
",
},
TeardownScript = new Checkly.Inputs.CheckGroupV2TeardownScriptArgs
{
InlineScript = @"// Runs after every API check in this group
console.log(\""Tearing down...\"")
",
},
});
// Example: enforce only retry strategy with network-error-only retries.
var retry_on_network_errors = new Checkly.CheckGroupV2("retry-on-network-errors", new()
{
Name = "Retry on Network Errors Only",
EnforceRetryStrategy = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyArgs
{
Enabled = true,
RetryStrategy = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyRetryStrategyArgs
{
Type = "EXPONENTIAL",
BaseBackoffSeconds = 10,
MaxRetries = 5,
MaxDurationSeconds = 600,
SameRegion = false,
OnlyOn = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOnArgs
{
NetworkError = true,
},
},
},
});
// Example: enforce time-based alert escalation.
var time_based_alerts = new Checkly.CheckGroupV2("time-based-alerts", new()
{
Name = "Time-Based Alert Escalation",
EnforceAlertSettings = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsArgs
{
Enabled = true,
AlertSettings = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsArgs
{
EscalationType = "TIME_BASED",
TimeBasedEscalation = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalationArgs
{
MinutesFailingThreshold = 10,
},
Reminders = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs
{
Amount = 5,
Interval = 15,
},
},
},
});
// Example: use global alert settings instead of custom ones.
var use_global_alerts = new Checkly.CheckGroupV2("use-global-alerts", new()
{
Name = "Use Global Alert Settings",
EnforceAlertSettings = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsArgs
{
Enabled = true,
UseGlobalAlertSettings = true,
},
});
// Example: enforce alert channel subscriptions with custom alert settings.
var email = new Checkly.AlertChannel("email", new()
{
Email = new Checkly.Inputs.AlertChannelEmailArgs
{
Address = "alerts@example.com",
},
});
var slack = new Checkly.AlertChannel("slack", new()
{
SlackApp = new Checkly.Inputs.AlertChannelSlackAppArgs
{
SlackChannels = new[]
{
"#alerts",
},
},
});
var with_alert_channels = new Checkly.CheckGroupV2("with-alert-channels", new()
{
Name = "Group with Alert Channels",
EnforceAlertSettings = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsArgs
{
Enabled = true,
AlertSettings = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsArgs
{
EscalationType = "RUN_BASED",
RunBasedEscalation = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs
{
FailedRunThreshold = 1,
},
Reminders = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs
{
Amount = 0,
Interval = 5,
},
},
AlertChannelSubscriptions = new[]
{
new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs
{
ChannelId = email.Id.Apply(x => int.Parse(x, System.Globalization.CultureInfo.InvariantCulture)),
Activated = true,
},
new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs
{
ChannelId = slack.Id.Apply(x => int.Parse(x, System.Globalization.CultureInfo.InvariantCulture)),
Activated = true,
},
},
},
});
// Example: enforce no retries.
var no_retries = new Checkly.CheckGroupV2("no-retries", new()
{
Name = "No Retries Group",
EnforceRetryStrategy = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyArgs
{
Enabled = true,
RetryStrategy = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyRetryStrategyArgs
{
Type = "NO_RETRIES",
},
},
});
// Example: enforce a single retry.
var single_retry = new Checkly.CheckGroupV2("single-retry", new()
{
Name = "Single Retry Group",
EnforceRetryStrategy = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyArgs
{
Enabled = true,
RetryStrategy = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyRetryStrategyArgs
{
Type = "SINGLE_RETRY",
BaseBackoffSeconds = 10,
SameRegion = true,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkly.CheckGroupV2;
import com.pulumi.checkly.CheckGroupV2Args;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceLocationsArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceRetryStrategyArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceRetryStrategyRetryStrategyArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceSchedulingStrategyArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceAlertSettingsArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThresholdArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnvironmentVariableArgs;
import com.pulumi.checkly.inputs.CheckGroupV2DefaultRuntimeArgs;
import com.pulumi.checkly.inputs.CheckGroupV2ApiCheckDefaultsArgs;
import com.pulumi.checkly.inputs.CheckGroupV2ApiCheckDefaultsAssertionArgs;
import com.pulumi.checkly.inputs.CheckGroupV2ApiCheckDefaultsBasicAuthArgs;
import com.pulumi.checkly.inputs.CheckGroupV2SetupScriptArgs;
import com.pulumi.checkly.inputs.CheckGroupV2TeardownScriptArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOnArgs;
import com.pulumi.checkly.inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalationArgs;
import com.pulumi.checkly.AlertChannel;
import com.pulumi.checkly.AlertChannelArgs;
import com.pulumi.checkly.inputs.AlertChannelEmailArgs;
import com.pulumi.checkly.inputs.AlertChannelSlackAppArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Minimal example: just a folder to organize checks.
var just_a_folder = new CheckGroupV2("just-a-folder", CheckGroupV2Args.builder()
.name("Just a Folder")
.build());
// Full example: a group with enforced settings that override individual checks.
var production_api = new CheckGroupV2("production-api", CheckGroupV2Args.builder()
.name("Production API")
.activated(true)
.muted(false)
.concurrency(5)
.tags(
"production",
"api")
.enforceLocations(CheckGroupV2EnforceLocationsArgs.builder()
.enabled(true)
.locations(
"us-east-1",
"eu-west-1",
"ap-southeast-1")
.privateLocations("my-datacenter")
.build())
.enforceRetryStrategy(CheckGroupV2EnforceRetryStrategyArgs.builder()
.enabled(true)
.retryStrategy(CheckGroupV2EnforceRetryStrategyRetryStrategyArgs.builder()
.type("LINEAR")
.baseBackoffSeconds(30)
.maxRetries(3)
.maxDurationSeconds(300)
.sameRegion(true)
.build())
.build())
.enforceSchedulingStrategy(CheckGroupV2EnforceSchedulingStrategyArgs.builder()
.enabled(true)
.runParallel(true)
.build())
.enforceAlertSettings(CheckGroupV2EnforceAlertSettingsArgs.builder()
.enabled(true)
.alertSettings(CheckGroupV2EnforceAlertSettingsAlertSettingsArgs.builder()
.escalationType("RUN_BASED")
.runBasedEscalation(CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs.builder()
.failedRunThreshold(2)
.build())
.reminders(CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs.builder()
.amount(3)
.interval(10)
.build())
.parallelRunFailureThreshold(CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThresholdArgs.builder()
.enabled(true)
.percentage(50)
.build())
.build())
.alertChannelSubscriptions(CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs.builder()
.channelId(1234)
.activated(true)
.build())
.build())
.environmentVariables(
CheckGroupV2EnvironmentVariableArgs.builder()
.key("BASE_URL")
.value("https://api.example.com")
.locked(false)
.build(),
CheckGroupV2EnvironmentVariableArgs.builder()
.key("API_TOKEN")
.value("super-secret-token")
.locked(true)
.secret(true)
.build())
.defaultRuntime(CheckGroupV2DefaultRuntimeArgs.builder()
.runtimeId("2024.02")
.build())
.apiCheckDefaults(CheckGroupV2ApiCheckDefaultsArgs.builder()
.url("https://api.example.com/")
.headers(Map.ofEntries(
Map.entry("X-Api-Key", "{{API_TOKEN}}"),
Map.entry("Content-Type", "application/json")
))
.queryParameters(Map.of("version", "v2"))
.assertions(
CheckGroupV2ApiCheckDefaultsAssertionArgs.builder()
.source("STATUS_CODE")
.comparison("LESS_THAN")
.target("400")
.build(),
CheckGroupV2ApiCheckDefaultsAssertionArgs.builder()
.source("RESPONSE_TIME")
.comparison("LESS_THAN")
.target("3000")
.build())
.basicAuth(CheckGroupV2ApiCheckDefaultsBasicAuthArgs.builder()
.username("admin")
.password("pass")
.build())
.build())
.setupScript(CheckGroupV2SetupScriptArgs.builder()
.inlineScript("""
// Runs before every API check in this group
console.log(\"Setting up...\")
""")
.build())
.teardownScript(CheckGroupV2TeardownScriptArgs.builder()
.inlineScript("""
// Runs after every API check in this group
console.log(\"Tearing down...\")
""")
.build())
.build());
// Example: enforce only retry strategy with network-error-only retries.
var retry_on_network_errors = new CheckGroupV2("retry-on-network-errors", CheckGroupV2Args.builder()
.name("Retry on Network Errors Only")
.enforceRetryStrategy(CheckGroupV2EnforceRetryStrategyArgs.builder()
.enabled(true)
.retryStrategy(CheckGroupV2EnforceRetryStrategyRetryStrategyArgs.builder()
.type("EXPONENTIAL")
.baseBackoffSeconds(10)
.maxRetries(5)
.maxDurationSeconds(600)
.sameRegion(false)
.onlyOn(CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOnArgs.builder()
.networkError(true)
.build())
.build())
.build())
.build());
// Example: enforce time-based alert escalation.
var time_based_alerts = new CheckGroupV2("time-based-alerts", CheckGroupV2Args.builder()
.name("Time-Based Alert Escalation")
.enforceAlertSettings(CheckGroupV2EnforceAlertSettingsArgs.builder()
.enabled(true)
.alertSettings(CheckGroupV2EnforceAlertSettingsAlertSettingsArgs.builder()
.escalationType("TIME_BASED")
.timeBasedEscalation(CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalationArgs.builder()
.minutesFailingThreshold(10)
.build())
.reminders(CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs.builder()
.amount(5)
.interval(15)
.build())
.build())
.build())
.build());
// Example: use global alert settings instead of custom ones.
var use_global_alerts = new CheckGroupV2("use-global-alerts", CheckGroupV2Args.builder()
.name("Use Global Alert Settings")
.enforceAlertSettings(CheckGroupV2EnforceAlertSettingsArgs.builder()
.enabled(true)
.useGlobalAlertSettings(true)
.build())
.build());
// Example: enforce alert channel subscriptions with custom alert settings.
var email = new AlertChannel("email", AlertChannelArgs.builder()
.email(AlertChannelEmailArgs.builder()
.address("alerts@example.com")
.build())
.build());
var slack = new AlertChannel("slack", AlertChannelArgs.builder()
.slackApp(AlertChannelSlackAppArgs.builder()
.slackChannels("#alerts")
.build())
.build());
var with_alert_channels = new CheckGroupV2("with-alert-channels", CheckGroupV2Args.builder()
.name("Group with Alert Channels")
.enforceAlertSettings(CheckGroupV2EnforceAlertSettingsArgs.builder()
.enabled(true)
.alertSettings(CheckGroupV2EnforceAlertSettingsAlertSettingsArgs.builder()
.escalationType("RUN_BASED")
.runBasedEscalation(CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs.builder()
.failedRunThreshold(1)
.build())
.reminders(CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs.builder()
.amount(0)
.interval(5)
.build())
.build())
.alertChannelSubscriptions(
CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs.builder()
.channelId(email.id())
.activated(true)
.build(),
CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs.builder()
.channelId(slack.id())
.activated(true)
.build())
.build())
.build());
// Example: enforce no retries.
var no_retries = new CheckGroupV2("no-retries", CheckGroupV2Args.builder()
.name("No Retries Group")
.enforceRetryStrategy(CheckGroupV2EnforceRetryStrategyArgs.builder()
.enabled(true)
.retryStrategy(CheckGroupV2EnforceRetryStrategyRetryStrategyArgs.builder()
.type("NO_RETRIES")
.build())
.build())
.build());
// Example: enforce a single retry.
var single_retry = new CheckGroupV2("single-retry", CheckGroupV2Args.builder()
.name("Single Retry Group")
.enforceRetryStrategy(CheckGroupV2EnforceRetryStrategyArgs.builder()
.enabled(true)
.retryStrategy(CheckGroupV2EnforceRetryStrategyRetryStrategyArgs.builder()
.type("SINGLE_RETRY")
.baseBackoffSeconds(10)
.sameRegion(true)
.build())
.build())
.build());
}
}
resources:
# Minimal example: just a folder to organize checks.
just-a-folder:
type: checkly:CheckGroupV2
properties:
name: Just a Folder
# Full example: a group with enforced settings that override individual checks.
production-api:
type: checkly:CheckGroupV2
properties:
name: Production API
activated: true
muted: false
concurrency: 5
tags:
- production
- api
enforceLocations:
enabled: true
locations:
- us-east-1
- eu-west-1
- ap-southeast-1
privateLocations:
- my-datacenter
enforceRetryStrategy:
enabled: true
retryStrategy:
type: LINEAR
baseBackoffSeconds: 30
maxRetries: 3
maxDurationSeconds: 300
sameRegion: true
enforceSchedulingStrategy:
enabled: true
runParallel: true
enforceAlertSettings:
enabled: true
alertSettings:
escalationType: RUN_BASED
runBasedEscalation:
failedRunThreshold: 2
reminders:
amount: 3
interval: 10
parallelRunFailureThreshold:
enabled: true
percentage: 50
alertChannelSubscriptions:
- channelId: 1234
activated: true
environmentVariables:
- key: BASE_URL
value: https://api.example.com
locked: false
- key: API_TOKEN
value: super-secret-token
locked: true
secret: true
defaultRuntime:
runtimeId: '2024.02'
apiCheckDefaults:
url: https://api.example.com/
headers:
X-Api-Key: '{{API_TOKEN}}'
Content-Type: application/json
queryParameters:
version: v2
assertions:
- source: STATUS_CODE
comparison: LESS_THAN
target: '400'
- source: RESPONSE_TIME
comparison: LESS_THAN
target: '3000'
basicAuth:
username: admin
password: pass
setupScript:
inlineScript: |
// Runs before every API check in this group
console.log(\"Setting up...\")
teardownScript:
inlineScript: |
// Runs after every API check in this group
console.log(\"Tearing down...\")
# Example: enforce only retry strategy with network-error-only retries.
retry-on-network-errors:
type: checkly:CheckGroupV2
properties:
name: Retry on Network Errors Only
enforceRetryStrategy:
enabled: true
retryStrategy:
type: EXPONENTIAL
baseBackoffSeconds: 10
maxRetries: 5
maxDurationSeconds: 600
sameRegion: false
onlyOn:
networkError: true
# Example: enforce time-based alert escalation.
time-based-alerts:
type: checkly:CheckGroupV2
properties:
name: Time-Based Alert Escalation
enforceAlertSettings:
enabled: true
alertSettings:
escalationType: TIME_BASED
timeBasedEscalation:
minutesFailingThreshold: 10
reminders:
amount: 5
interval: 15
# Example: use global alert settings instead of custom ones.
use-global-alerts:
type: checkly:CheckGroupV2
properties:
name: Use Global Alert Settings
enforceAlertSettings:
enabled: true
useGlobalAlertSettings: true
# Example: enforce alert channel subscriptions with custom alert settings.
email:
type: checkly:AlertChannel
properties:
email:
address: alerts@example.com
slack:
type: checkly:AlertChannel
properties:
slackApp:
slackChannels:
- '#alerts'
with-alert-channels:
type: checkly:CheckGroupV2
properties:
name: Group with Alert Channels
enforceAlertSettings:
enabled: true
alertSettings:
escalationType: RUN_BASED
runBasedEscalation:
failedRunThreshold: 1
reminders:
amount: 0
interval: 5
alertChannelSubscriptions:
- channelId: ${email.id}
activated: true
- channelId: ${slack.id}
activated: true
# Example: enforce no retries.
no-retries:
type: checkly:CheckGroupV2
properties:
name: No Retries Group
enforceRetryStrategy:
enabled: true
retryStrategy:
type: NO_RETRIES
# Example: enforce a single retry.
single-retry:
type: checkly:CheckGroupV2
properties:
name: Single Retry Group
enforceRetryStrategy:
enabled: true
retryStrategy:
type: SINGLE_RETRY
baseBackoffSeconds: 10
sameRegion: true
terraform {
required_providers {
checkly = {
source = "pulumi/checkly"
}
}
}
# Minimal example: just a folder to organize checks.
resource "checkly_check_group_v2" "just-a-folder" {
lifecycle {
create_before_destroy = true
}
name = "Just a Folder"
}
# Full example: a group with enforced settings that override individual checks.
resource "checkly_check_group_v2" "production-api" {
lifecycle {
create_before_destroy = true
}
name = "Production API"
activated = true
muted = false
concurrency = 5
tags = ["production", "api"]
enforce_locations = {
enabled = true
locations = ["us-east-1", "eu-west-1", "ap-southeast-1"]
private_locations = ["my-datacenter"]
}
enforce_retry_strategy = {
enabled = true
retry_strategy = {
type = "LINEAR"
base_backoff_seconds = 30
max_retries = 3
max_duration_seconds = 300
same_region = true
}
}
enforce_scheduling_strategy = {
enabled = true
run_parallel = true
}
enforce_alert_settings = {
enabled = true
alert_settings = {
escalation_type = "RUN_BASED"
run_based_escalation = {
failed_run_threshold = 2
}
reminders = {
amount = 3
interval = 10
}
parallel_run_failure_threshold = {
enabled = true
percentage = 50
}
}
alert_channel_subscriptions = [{
channel_id = 1234
activated = true
}]
}
environment_variables = [{
key = "BASE_URL"
value = "https://api.example.com"
locked = false
}, {
key = "API_TOKEN"
value = "super-secret-token"
locked = true
secret = true
}]
default_runtime = {
runtime_id = "2024.02"
}
api_check_defaults = {
url = "https://api.example.com/"
headers = {
"X-Api-Key" = "{{API_TOKEN}}"
"Content-Type" = "application/json"
}
query_parameters = {
"version" = "v2"
}
assertions = [{
source = "STATUS_CODE"
comparison = "LESS_THAN"
target = "400"
}, {
source = "RESPONSE_TIME"
comparison = "LESS_THAN"
target = "3000"
}]
basic_auth = {
username = "admin"
password = "pass"
}
}
setup_script = {
inline_script = <<-EOF
// Runs before every API check in this group
console.log(\"Setting up...\")
EOF
}
teardown_script = {
inline_script = <<-EOF
// Runs after every API check in this group
console.log(\"Tearing down...\")
EOF
}
}
# Example: enforce only retry strategy with network-error-only retries.
resource "checkly_check_group_v2" "retry-on-network-errors" {
lifecycle {
create_before_destroy = true
}
name = "Retry on Network Errors Only"
enforce_retry_strategy = {
enabled = true
retry_strategy = {
type = "EXPONENTIAL"
base_backoff_seconds = 10
max_retries = 5
max_duration_seconds = 600
same_region = false
only_on = {
network_error = true
}
}
}
}
# Example: enforce time-based alert escalation.
resource "checkly_check_group_v2" "time-based-alerts" {
lifecycle {
create_before_destroy = true
}
name = "Time-Based Alert Escalation"
enforce_alert_settings = {
enabled = true
alert_settings = {
escalation_type = "TIME_BASED"
time_based_escalation = {
minutes_failing_threshold = 10
}
reminders = {
amount = 5
interval = 15
}
}
}
}
# Example: use global alert settings instead of custom ones.
resource "checkly_check_group_v2" "use-global-alerts" {
lifecycle {
create_before_destroy = true
}
name = "Use Global Alert Settings"
enforce_alert_settings = {
enabled = true
use_global_alert_settings = true
}
}
# Example: enforce alert channel subscriptions with custom alert settings.
resource "checkly_alert_channel" "email" {
lifecycle {
create_before_destroy = true
}
email = {
address = "alerts@example.com"
}
}
resource "checkly_alert_channel" "slack" {
lifecycle {
create_before_destroy = true
}
slack_app = {
slack_channels = ["#alerts"]
}
}
resource "checkly_check_group_v2" "with-alert-channels" {
lifecycle {
create_before_destroy = true
}
name = "Group with Alert Channels"
enforce_alert_settings = {
enabled = true
alert_settings = {
escalation_type = "RUN_BASED"
run_based_escalation = {
failed_run_threshold = 1
}
reminders = {
amount = 0
interval = 5
}
}
alert_channel_subscriptions = [{
channel_id = checkly_alert_channel.email.id
activated = true
}, {
channel_id = checkly_alert_channel.slack.id
activated = true
}]
}
}
# Example: enforce no retries.
resource "checkly_check_group_v2" "no-retries" {
lifecycle {
create_before_destroy = true
}
name = "No Retries Group"
enforce_retry_strategy = {
enabled = true
retry_strategy = {
type = "NO_RETRIES"
}
}
}
# Example: enforce a single retry.
resource "checkly_check_group_v2" "single-retry" {
lifecycle {
create_before_destroy = true
}
name = "Single Retry Group"
enforce_retry_strategy = {
enabled = true
retry_strategy = {
type = "SINGLE_RETRY"
base_backoff_seconds = 10
same_region = true
}
}
}
Create CheckGroupV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CheckGroupV2(name: string, args?: CheckGroupV2Args, opts?: CustomResourceOptions);@overload
def CheckGroupV2(resource_name: str,
args: Optional[CheckGroupV2Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CheckGroupV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
activated: Optional[bool] = None,
api_check_defaults: Optional[CheckGroupV2ApiCheckDefaultsArgs] = None,
concurrency: Optional[int] = None,
default_runtime: Optional[CheckGroupV2DefaultRuntimeArgs] = None,
enforce_alert_settings: Optional[CheckGroupV2EnforceAlertSettingsArgs] = None,
enforce_locations: Optional[CheckGroupV2EnforceLocationsArgs] = None,
enforce_retry_strategy: Optional[CheckGroupV2EnforceRetryStrategyArgs] = None,
enforce_scheduling_strategy: Optional[CheckGroupV2EnforceSchedulingStrategyArgs] = None,
environment_variables: Optional[Sequence[CheckGroupV2EnvironmentVariableArgs]] = None,
muted: Optional[bool] = None,
name: Optional[str] = None,
setup_script: Optional[CheckGroupV2SetupScriptArgs] = None,
tags: Optional[Sequence[str]] = None,
teardown_script: Optional[CheckGroupV2TeardownScriptArgs] = None)func NewCheckGroupV2(ctx *Context, name string, args *CheckGroupV2Args, opts ...ResourceOption) (*CheckGroupV2, error)public CheckGroupV2(string name, CheckGroupV2Args? args = null, CustomResourceOptions? opts = null)
public CheckGroupV2(String name, CheckGroupV2Args args)
public CheckGroupV2(String name, CheckGroupV2Args args, CustomResourceOptions options)
type: checkly:CheckGroupV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "checkly_check_group_v2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CheckGroupV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CheckGroupV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CheckGroupV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CheckGroupV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CheckGroupV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var checkGroupV2Resource = new Checkly.CheckGroupV2("checkGroupV2Resource", new()
{
Activated = false,
ApiCheckDefaults = new Checkly.Inputs.CheckGroupV2ApiCheckDefaultsArgs
{
Url = "string",
Assertions = new[]
{
new Checkly.Inputs.CheckGroupV2ApiCheckDefaultsAssertionArgs
{
Comparison = "string",
Source = "string",
Target = "string",
Property = "string",
},
},
BasicAuth = new Checkly.Inputs.CheckGroupV2ApiCheckDefaultsBasicAuthArgs
{
Password = "string",
Username = "string",
},
Headers =
{
{ "string", "string" },
},
QueryParameters =
{
{ "string", "string" },
},
},
Concurrency = 0,
DefaultRuntime = new Checkly.Inputs.CheckGroupV2DefaultRuntimeArgs
{
RuntimeId = "string",
},
EnforceAlertSettings = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsArgs
{
Enabled = false,
AlertChannelSubscriptions = new[]
{
new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs
{
Activated = false,
ChannelId = 0,
},
},
AlertSettings = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsArgs
{
EscalationType = "string",
ParallelRunFailureThreshold = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThresholdArgs
{
Enabled = false,
Percentage = 0,
},
Reminders = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs
{
Amount = 0,
Interval = 0,
},
RunBasedEscalation = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs
{
FailedRunThreshold = 0,
},
TimeBasedEscalation = new Checkly.Inputs.CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalationArgs
{
MinutesFailingThreshold = 0,
},
},
UseGlobalAlertSettings = false,
},
EnforceLocations = new Checkly.Inputs.CheckGroupV2EnforceLocationsArgs
{
Enabled = false,
Locations = new[]
{
"string",
},
PrivateLocations = new[]
{
"string",
},
},
EnforceRetryStrategy = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyArgs
{
Enabled = false,
RetryStrategy = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyRetryStrategyArgs
{
Type = "string",
BaseBackoffSeconds = 0,
MaxDurationSeconds = 0,
MaxRetries = 0,
OnlyOn = new Checkly.Inputs.CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOnArgs
{
NetworkError = false,
},
SameRegion = false,
},
},
EnforceSchedulingStrategy = new Checkly.Inputs.CheckGroupV2EnforceSchedulingStrategyArgs
{
Enabled = false,
RunParallel = false,
},
EnvironmentVariables = new[]
{
new Checkly.Inputs.CheckGroupV2EnvironmentVariableArgs
{
Key = "string",
Value = "string",
Locked = false,
Secret = false,
},
},
Muted = false,
Name = "string",
SetupScript = new Checkly.Inputs.CheckGroupV2SetupScriptArgs
{
InlineScript = "string",
SnippetId = 0,
},
Tags = new[]
{
"string",
},
TeardownScript = new Checkly.Inputs.CheckGroupV2TeardownScriptArgs
{
InlineScript = "string",
SnippetId = 0,
},
});
example, err := checkly.NewCheckGroupV2(ctx, "checkGroupV2Resource", &checkly.CheckGroupV2Args{
Activated: pulumi.Bool(false),
ApiCheckDefaults: &checkly.CheckGroupV2ApiCheckDefaultsArgs{
Url: pulumi.String("string"),
Assertions: checkly.CheckGroupV2ApiCheckDefaultsAssertionArray{
&checkly.CheckGroupV2ApiCheckDefaultsAssertionArgs{
Comparison: pulumi.String("string"),
Source: pulumi.String("string"),
Target: pulumi.String("string"),
Property: pulumi.String("string"),
},
},
BasicAuth: &checkly.CheckGroupV2ApiCheckDefaultsBasicAuthArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
Headers: pulumi.StringMap{
"string": pulumi.String("string"),
},
QueryParameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
Concurrency: pulumi.Int(0),
DefaultRuntime: &checkly.CheckGroupV2DefaultRuntimeArgs{
RuntimeId: pulumi.String("string"),
},
EnforceAlertSettings: &checkly.CheckGroupV2EnforceAlertSettingsArgs{
Enabled: pulumi.Bool(false),
AlertChannelSubscriptions: checkly.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArray{
&checkly.CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs{
Activated: pulumi.Bool(false),
ChannelId: pulumi.Int(0),
},
},
AlertSettings: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsArgs{
EscalationType: pulumi.String("string"),
ParallelRunFailureThreshold: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThresholdArgs{
Enabled: pulumi.Bool(false),
Percentage: pulumi.Int(0),
},
Reminders: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs{
Amount: pulumi.Int(0),
Interval: pulumi.Int(0),
},
RunBasedEscalation: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs{
FailedRunThreshold: pulumi.Int(0),
},
TimeBasedEscalation: &checkly.CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalationArgs{
MinutesFailingThreshold: pulumi.Int(0),
},
},
UseGlobalAlertSettings: pulumi.Bool(false),
},
EnforceLocations: &checkly.CheckGroupV2EnforceLocationsArgs{
Enabled: pulumi.Bool(false),
Locations: pulumi.StringArray{
pulumi.String("string"),
},
PrivateLocations: pulumi.StringArray{
pulumi.String("string"),
},
},
EnforceRetryStrategy: &checkly.CheckGroupV2EnforceRetryStrategyArgs{
Enabled: pulumi.Bool(false),
RetryStrategy: &checkly.CheckGroupV2EnforceRetryStrategyRetryStrategyArgs{
Type: pulumi.String("string"),
BaseBackoffSeconds: pulumi.Int(0),
MaxDurationSeconds: pulumi.Int(0),
MaxRetries: pulumi.Int(0),
OnlyOn: &checkly.CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOnArgs{
NetworkError: pulumi.Bool(false),
},
SameRegion: pulumi.Bool(false),
},
},
EnforceSchedulingStrategy: &checkly.CheckGroupV2EnforceSchedulingStrategyArgs{
Enabled: pulumi.Bool(false),
RunParallel: pulumi.Bool(false),
},
EnvironmentVariables: checkly.CheckGroupV2EnvironmentVariableArray{
&checkly.CheckGroupV2EnvironmentVariableArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
Locked: pulumi.Bool(false),
Secret: pulumi.Bool(false),
},
},
Muted: pulumi.Bool(false),
Name: pulumi.String("string"),
SetupScript: &checkly.CheckGroupV2SetupScriptArgs{
InlineScript: pulumi.String("string"),
SnippetId: pulumi.Int(0),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TeardownScript: &checkly.CheckGroupV2TeardownScriptArgs{
InlineScript: pulumi.String("string"),
SnippetId: pulumi.Int(0),
},
})
resource "checkly_check_group_v2" "checkGroupV2Resource" {
lifecycle {
create_before_destroy = true
}
activated = false
api_check_defaults = {
url = "string"
assertions = [{
comparison = "string"
source = "string"
target = "string"
property = "string"
}]
basic_auth = {
password = "string"
username = "string"
}
headers = {
"string" = "string"
}
query_parameters = {
"string" = "string"
}
}
concurrency = 0
default_runtime = {
runtime_id = "string"
}
enforce_alert_settings = {
enabled = false
alert_channel_subscriptions = [{
activated = false
channel_id = 0
}]
alert_settings = {
escalation_type = "string"
parallel_run_failure_threshold = {
enabled = false
percentage = 0
}
reminders = {
amount = 0
interval = 0
}
run_based_escalation = {
failed_run_threshold = 0
}
time_based_escalation = {
minutes_failing_threshold = 0
}
}
use_global_alert_settings = false
}
enforce_locations = {
enabled = false
locations = ["string"]
private_locations = ["string"]
}
enforce_retry_strategy = {
enabled = false
retry_strategy = {
type = "string"
base_backoff_seconds = 0
max_duration_seconds = 0
max_retries = 0
only_on = {
network_error = false
}
same_region = false
}
}
enforce_scheduling_strategy = {
enabled = false
run_parallel = false
}
environment_variables {
key = "string"
value = "string"
locked = false
secret = false
}
muted = false
name = "string"
setup_script = {
inline_script = "string"
snippet_id = 0
}
tags = ["string"]
teardown_script = {
inline_script = "string"
snippet_id = 0
}
}
var checkGroupV2Resource = new CheckGroupV2("checkGroupV2Resource", CheckGroupV2Args.builder()
.activated(false)
.apiCheckDefaults(CheckGroupV2ApiCheckDefaultsArgs.builder()
.url("string")
.assertions(CheckGroupV2ApiCheckDefaultsAssertionArgs.builder()
.comparison("string")
.source("string")
.target("string")
.property("string")
.build())
.basicAuth(CheckGroupV2ApiCheckDefaultsBasicAuthArgs.builder()
.password("string")
.username("string")
.build())
.headers(Map.of("string", "string"))
.queryParameters(Map.of("string", "string"))
.build())
.concurrency(0)
.defaultRuntime(CheckGroupV2DefaultRuntimeArgs.builder()
.runtimeId("string")
.build())
.enforceAlertSettings(CheckGroupV2EnforceAlertSettingsArgs.builder()
.enabled(false)
.alertChannelSubscriptions(CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs.builder()
.activated(false)
.channelId(0)
.build())
.alertSettings(CheckGroupV2EnforceAlertSettingsAlertSettingsArgs.builder()
.escalationType("string")
.parallelRunFailureThreshold(CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThresholdArgs.builder()
.enabled(false)
.percentage(0)
.build())
.reminders(CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs.builder()
.amount(0)
.interval(0)
.build())
.runBasedEscalation(CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs.builder()
.failedRunThreshold(0)
.build())
.timeBasedEscalation(CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalationArgs.builder()
.minutesFailingThreshold(0)
.build())
.build())
.useGlobalAlertSettings(false)
.build())
.enforceLocations(CheckGroupV2EnforceLocationsArgs.builder()
.enabled(false)
.locations("string")
.privateLocations("string")
.build())
.enforceRetryStrategy(CheckGroupV2EnforceRetryStrategyArgs.builder()
.enabled(false)
.retryStrategy(CheckGroupV2EnforceRetryStrategyRetryStrategyArgs.builder()
.type("string")
.baseBackoffSeconds(0)
.maxDurationSeconds(0)
.maxRetries(0)
.onlyOn(CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOnArgs.builder()
.networkError(false)
.build())
.sameRegion(false)
.build())
.build())
.enforceSchedulingStrategy(CheckGroupV2EnforceSchedulingStrategyArgs.builder()
.enabled(false)
.runParallel(false)
.build())
.environmentVariables(CheckGroupV2EnvironmentVariableArgs.builder()
.key("string")
.value("string")
.locked(false)
.secret(false)
.build())
.muted(false)
.name("string")
.setupScript(CheckGroupV2SetupScriptArgs.builder()
.inlineScript("string")
.snippetId(0)
.build())
.tags("string")
.teardownScript(CheckGroupV2TeardownScriptArgs.builder()
.inlineScript("string")
.snippetId(0)
.build())
.build());
check_group_v2_resource = checkly.CheckGroupV2("checkGroupV2Resource",
activated=False,
api_check_defaults={
"url": "string",
"assertions": [{
"comparison": "string",
"source": "string",
"target": "string",
"property": "string",
}],
"basic_auth": {
"password": "string",
"username": "string",
},
"headers": {
"string": "string",
},
"query_parameters": {
"string": "string",
},
},
concurrency=0,
default_runtime={
"runtime_id": "string",
},
enforce_alert_settings={
"enabled": False,
"alert_channel_subscriptions": [{
"activated": False,
"channel_id": 0,
}],
"alert_settings": {
"escalation_type": "string",
"parallel_run_failure_threshold": {
"enabled": False,
"percentage": 0,
},
"reminders": {
"amount": 0,
"interval": 0,
},
"run_based_escalation": {
"failed_run_threshold": 0,
},
"time_based_escalation": {
"minutes_failing_threshold": 0,
},
},
"use_global_alert_settings": False,
},
enforce_locations={
"enabled": False,
"locations": ["string"],
"private_locations": ["string"],
},
enforce_retry_strategy={
"enabled": False,
"retry_strategy": {
"type": "string",
"base_backoff_seconds": 0,
"max_duration_seconds": 0,
"max_retries": 0,
"only_on": {
"network_error": False,
},
"same_region": False,
},
},
enforce_scheduling_strategy={
"enabled": False,
"run_parallel": False,
},
environment_variables=[{
"key": "string",
"value": "string",
"locked": False,
"secret": False,
}],
muted=False,
name="string",
setup_script={
"inline_script": "string",
"snippet_id": 0,
},
tags=["string"],
teardown_script={
"inline_script": "string",
"snippet_id": 0,
})
const checkGroupV2Resource = new checkly.CheckGroupV2("checkGroupV2Resource", {
activated: false,
apiCheckDefaults: {
url: "string",
assertions: [{
comparison: "string",
source: "string",
target: "string",
property: "string",
}],
basicAuth: {
password: "string",
username: "string",
},
headers: {
string: "string",
},
queryParameters: {
string: "string",
},
},
concurrency: 0,
defaultRuntime: {
runtimeId: "string",
},
enforceAlertSettings: {
enabled: false,
alertChannelSubscriptions: [{
activated: false,
channelId: 0,
}],
alertSettings: {
escalationType: "string",
parallelRunFailureThreshold: {
enabled: false,
percentage: 0,
},
reminders: {
amount: 0,
interval: 0,
},
runBasedEscalation: {
failedRunThreshold: 0,
},
timeBasedEscalation: {
minutesFailingThreshold: 0,
},
},
useGlobalAlertSettings: false,
},
enforceLocations: {
enabled: false,
locations: ["string"],
privateLocations: ["string"],
},
enforceRetryStrategy: {
enabled: false,
retryStrategy: {
type: "string",
baseBackoffSeconds: 0,
maxDurationSeconds: 0,
maxRetries: 0,
onlyOn: {
networkError: false,
},
sameRegion: false,
},
},
enforceSchedulingStrategy: {
enabled: false,
runParallel: false,
},
environmentVariables: [{
key: "string",
value: "string",
locked: false,
secret: false,
}],
muted: false,
name: "string",
setupScript: {
inlineScript: "string",
snippetId: 0,
},
tags: ["string"],
teardownScript: {
inlineScript: "string",
snippetId: 0,
},
});
type: checkly:CheckGroupV2
properties:
activated: false
apiCheckDefaults:
assertions:
- comparison: string
property: string
source: string
target: string
basicAuth:
password: string
username: string
headers:
string: string
queryParameters:
string: string
url: string
concurrency: 0
defaultRuntime:
runtimeId: string
enforceAlertSettings:
alertChannelSubscriptions:
- activated: false
channelId: 0
alertSettings:
escalationType: string
parallelRunFailureThreshold:
enabled: false
percentage: 0
reminders:
amount: 0
interval: 0
runBasedEscalation:
failedRunThreshold: 0
timeBasedEscalation:
minutesFailingThreshold: 0
enabled: false
useGlobalAlertSettings: false
enforceLocations:
enabled: false
locations:
- string
privateLocations:
- string
enforceRetryStrategy:
enabled: false
retryStrategy:
baseBackoffSeconds: 0
maxDurationSeconds: 0
maxRetries: 0
onlyOn:
networkError: false
sameRegion: false
type: string
enforceSchedulingStrategy:
enabled: false
runParallel: false
environmentVariables:
- key: string
locked: false
secret: false
value: string
muted: false
name: string
setupScript:
inlineScript: string
snippetId: 0
tags:
- string
teardownScript:
inlineScript: string
snippetId: 0
CheckGroupV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CheckGroupV2 resource accepts the following input properties:
- Activated bool
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - Api
Check CheckDefaults Group V2Api Check Defaults - Default settings for API checks in this group.
- Concurrency int
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - Default
Runtime CheckGroup V2Default Runtime - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- Enforce
Alert CheckSettings Group V2Enforce Alert Settings - Enforces alert settings for the whole group. Overrides check configuration.
- Enforce
Locations CheckGroup V2Enforce Locations - Enforces public and private locations for the whole group. Overrides check configuration.
- Enforce
Retry CheckStrategy Group V2Enforce Retry Strategy - Enforces a retry strategy for the whole group. Overrides check configuration.
- Enforce
Scheduling CheckStrategy Group V2Enforce Scheduling Strategy - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- Environment
Variables List<CheckGroup V2Environment Variable> - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - Muted bool
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - Name string
- The name of the check group.
- Setup
Script CheckGroup V2Setup Script - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- List<string>
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- Teardown
Script CheckGroup V2Teardown Script - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- Activated bool
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - Api
Check CheckDefaults Group V2Api Check Defaults Args - Default settings for API checks in this group.
- Concurrency int
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - Default
Runtime CheckGroup V2Default Runtime Args - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- Enforce
Alert CheckSettings Group V2Enforce Alert Settings Args - Enforces alert settings for the whole group. Overrides check configuration.
- Enforce
Locations CheckGroup V2Enforce Locations Args - Enforces public and private locations for the whole group. Overrides check configuration.
- Enforce
Retry CheckStrategy Group V2Enforce Retry Strategy Args - Enforces a retry strategy for the whole group. Overrides check configuration.
- Enforce
Scheduling CheckStrategy Group V2Enforce Scheduling Strategy Args - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- Environment
Variables []CheckGroup V2Environment Variable Args - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - Muted bool
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - Name string
- The name of the check group.
- Setup
Script CheckGroup V2Setup Script Args - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- []string
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- Teardown
Script CheckGroup V2Teardown Script Args - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- activated bool
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - api_
check_ objectdefaults - Default settings for API checks in this group.
- concurrency number
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - default_
runtime object - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- enforce_
alert_ objectsettings - Enforces alert settings for the whole group. Overrides check configuration.
- enforce_
locations object - Enforces public and private locations for the whole group. Overrides check configuration.
- enforce_
retry_ objectstrategy - Enforces a retry strategy for the whole group. Overrides check configuration.
- enforce_
scheduling_ objectstrategy - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- environment_
variables list(object) - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - muted bool
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - name string
- The name of the check group.
- setup_
script object - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- list(string)
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- teardown_
script object - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- activated Boolean
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - api
Check CheckDefaults Group V2Api Check Defaults - Default settings for API checks in this group.
- concurrency Integer
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - default
Runtime CheckGroup V2Default Runtime - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- enforce
Alert CheckSettings Group V2Enforce Alert Settings - Enforces alert settings for the whole group. Overrides check configuration.
- enforce
Locations CheckGroup V2Enforce Locations - Enforces public and private locations for the whole group. Overrides check configuration.
- enforce
Retry CheckStrategy Group V2Enforce Retry Strategy - Enforces a retry strategy for the whole group. Overrides check configuration.
- enforce
Scheduling CheckStrategy Group V2Enforce Scheduling Strategy - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- environment
Variables List<CheckGroup V2Environment Variable> - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - muted Boolean
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - name String
- The name of the check group.
- setup
Script CheckGroup V2Setup Script - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- List<String>
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- teardown
Script CheckGroup V2Teardown Script - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- activated boolean
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - api
Check CheckDefaults Group V2Api Check Defaults - Default settings for API checks in this group.
- concurrency number
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - default
Runtime CheckGroup V2Default Runtime - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- enforce
Alert CheckSettings Group V2Enforce Alert Settings - Enforces alert settings for the whole group. Overrides check configuration.
- enforce
Locations CheckGroup V2Enforce Locations - Enforces public and private locations for the whole group. Overrides check configuration.
- enforce
Retry CheckStrategy Group V2Enforce Retry Strategy - Enforces a retry strategy for the whole group. Overrides check configuration.
- enforce
Scheduling CheckStrategy Group V2Enforce Scheduling Strategy - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- environment
Variables CheckGroup V2Environment Variable[] - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - muted boolean
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - name string
- The name of the check group.
- setup
Script CheckGroup V2Setup Script - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- string[]
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- teardown
Script CheckGroup V2Teardown Script - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- activated bool
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - api_
check_ Checkdefaults Group V2Api Check Defaults Args - Default settings for API checks in this group.
- concurrency int
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - default_
runtime CheckGroup V2Default Runtime Args - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- enforce_
alert_ Checksettings Group V2Enforce Alert Settings Args - Enforces alert settings for the whole group. Overrides check configuration.
- enforce_
locations CheckGroup V2Enforce Locations Args - Enforces public and private locations for the whole group. Overrides check configuration.
- enforce_
retry_ Checkstrategy Group V2Enforce Retry Strategy Args - Enforces a retry strategy for the whole group. Overrides check configuration.
- enforce_
scheduling_ Checkstrategy Group V2Enforce Scheduling Strategy Args - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- environment_
variables Sequence[CheckGroup V2Environment Variable Args] - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - muted bool
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - name str
- The name of the check group.
- setup_
script CheckGroup V2Setup Script Args - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- Sequence[str]
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- teardown_
script CheckGroup V2Teardown Script Args - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- activated Boolean
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - api
Check Property MapDefaults - Default settings for API checks in this group.
- concurrency Number
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - default
Runtime Property Map - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- enforce
Alert Property MapSettings - Enforces alert settings for the whole group. Overrides check configuration.
- enforce
Locations Property Map - Enforces public and private locations for the whole group. Overrides check configuration.
- enforce
Retry Property MapStrategy - Enforces a retry strategy for the whole group. Overrides check configuration.
- enforce
Scheduling Property MapStrategy - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- environment
Variables List<Property Map> - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - muted Boolean
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - name String
- The name of the check group.
- setup
Script Property Map - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- List<String>
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- teardown
Script Property Map - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
Outputs
All input properties are implicitly available as output properties. Additionally, the CheckGroupV2 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CheckGroupV2 Resource
Get an existing CheckGroupV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CheckGroupV2State, opts?: CustomResourceOptions): CheckGroupV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
activated: Optional[bool] = None,
api_check_defaults: Optional[CheckGroupV2ApiCheckDefaultsArgs] = None,
concurrency: Optional[int] = None,
default_runtime: Optional[CheckGroupV2DefaultRuntimeArgs] = None,
enforce_alert_settings: Optional[CheckGroupV2EnforceAlertSettingsArgs] = None,
enforce_locations: Optional[CheckGroupV2EnforceLocationsArgs] = None,
enforce_retry_strategy: Optional[CheckGroupV2EnforceRetryStrategyArgs] = None,
enforce_scheduling_strategy: Optional[CheckGroupV2EnforceSchedulingStrategyArgs] = None,
environment_variables: Optional[Sequence[CheckGroupV2EnvironmentVariableArgs]] = None,
muted: Optional[bool] = None,
name: Optional[str] = None,
setup_script: Optional[CheckGroupV2SetupScriptArgs] = None,
tags: Optional[Sequence[str]] = None,
teardown_script: Optional[CheckGroupV2TeardownScriptArgs] = None) -> CheckGroupV2func GetCheckGroupV2(ctx *Context, name string, id IDInput, state *CheckGroupV2State, opts ...ResourceOption) (*CheckGroupV2, error)public static CheckGroupV2 Get(string name, Input<string> id, CheckGroupV2State? state, CustomResourceOptions? opts = null)public static CheckGroupV2 get(String name, Output<String> id, CheckGroupV2State state, CustomResourceOptions options)resources: existingCheckGroupV2: type: checkly:CheckGroupV2 get: id: ${id}import {
to = checkly_check_group_v2.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state CheckGroupV2State
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state CheckGroupV2State
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state CheckGroupV2State
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state CheckGroupV2State
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Activated bool
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - Api
Check CheckDefaults Group V2Api Check Defaults - Default settings for API checks in this group.
- Concurrency int
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - Default
Runtime CheckGroup V2Default Runtime - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- Enforce
Alert CheckSettings Group V2Enforce Alert Settings - Enforces alert settings for the whole group. Overrides check configuration.
- Enforce
Locations CheckGroup V2Enforce Locations - Enforces public and private locations for the whole group. Overrides check configuration.
- Enforce
Retry CheckStrategy Group V2Enforce Retry Strategy - Enforces a retry strategy for the whole group. Overrides check configuration.
- Enforce
Scheduling CheckStrategy Group V2Enforce Scheduling Strategy - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- Environment
Variables List<CheckGroup V2Environment Variable> - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - Muted bool
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - Name string
- The name of the check group.
- Setup
Script CheckGroup V2Setup Script - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- List<string>
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- Teardown
Script CheckGroup V2Teardown Script - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- Activated bool
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - Api
Check CheckDefaults Group V2Api Check Defaults Args - Default settings for API checks in this group.
- Concurrency int
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - Default
Runtime CheckGroup V2Default Runtime Args - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- Enforce
Alert CheckSettings Group V2Enforce Alert Settings Args - Enforces alert settings for the whole group. Overrides check configuration.
- Enforce
Locations CheckGroup V2Enforce Locations Args - Enforces public and private locations for the whole group. Overrides check configuration.
- Enforce
Retry CheckStrategy Group V2Enforce Retry Strategy Args - Enforces a retry strategy for the whole group. Overrides check configuration.
- Enforce
Scheduling CheckStrategy Group V2Enforce Scheduling Strategy Args - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- Environment
Variables []CheckGroup V2Environment Variable Args - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - Muted bool
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - Name string
- The name of the check group.
- Setup
Script CheckGroup V2Setup Script Args - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- []string
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- Teardown
Script CheckGroup V2Teardown Script Args - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- activated bool
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - api_
check_ objectdefaults - Default settings for API checks in this group.
- concurrency number
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - default_
runtime object - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- enforce_
alert_ objectsettings - Enforces alert settings for the whole group. Overrides check configuration.
- enforce_
locations object - Enforces public and private locations for the whole group. Overrides check configuration.
- enforce_
retry_ objectstrategy - Enforces a retry strategy for the whole group. Overrides check configuration.
- enforce_
scheduling_ objectstrategy - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- environment_
variables list(object) - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - muted bool
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - name string
- The name of the check group.
- setup_
script object - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- list(string)
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- teardown_
script object - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- activated Boolean
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - api
Check CheckDefaults Group V2Api Check Defaults - Default settings for API checks in this group.
- concurrency Integer
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - default
Runtime CheckGroup V2Default Runtime - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- enforce
Alert CheckSettings Group V2Enforce Alert Settings - Enforces alert settings for the whole group. Overrides check configuration.
- enforce
Locations CheckGroup V2Enforce Locations - Enforces public and private locations for the whole group. Overrides check configuration.
- enforce
Retry CheckStrategy Group V2Enforce Retry Strategy - Enforces a retry strategy for the whole group. Overrides check configuration.
- enforce
Scheduling CheckStrategy Group V2Enforce Scheduling Strategy - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- environment
Variables List<CheckGroup V2Environment Variable> - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - muted Boolean
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - name String
- The name of the check group.
- setup
Script CheckGroup V2Setup Script - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- List<String>
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- teardown
Script CheckGroup V2Teardown Script - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- activated boolean
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - api
Check CheckDefaults Group V2Api Check Defaults - Default settings for API checks in this group.
- concurrency number
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - default
Runtime CheckGroup V2Default Runtime - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- enforce
Alert CheckSettings Group V2Enforce Alert Settings - Enforces alert settings for the whole group. Overrides check configuration.
- enforce
Locations CheckGroup V2Enforce Locations - Enforces public and private locations for the whole group. Overrides check configuration.
- enforce
Retry CheckStrategy Group V2Enforce Retry Strategy - Enforces a retry strategy for the whole group. Overrides check configuration.
- enforce
Scheduling CheckStrategy Group V2Enforce Scheduling Strategy - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- environment
Variables CheckGroup V2Environment Variable[] - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - muted boolean
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - name string
- The name of the check group.
- setup
Script CheckGroup V2Setup Script - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- string[]
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- teardown
Script CheckGroup V2Teardown Script - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- activated bool
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - api_
check_ Checkdefaults Group V2Api Check Defaults Args - Default settings for API checks in this group.
- concurrency int
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - default_
runtime CheckGroup V2Default Runtime Args - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- enforce_
alert_ Checksettings Group V2Enforce Alert Settings Args - Enforces alert settings for the whole group. Overrides check configuration.
- enforce_
locations CheckGroup V2Enforce Locations Args - Enforces public and private locations for the whole group. Overrides check configuration.
- enforce_
retry_ Checkstrategy Group V2Enforce Retry Strategy Args - Enforces a retry strategy for the whole group. Overrides check configuration.
- enforce_
scheduling_ Checkstrategy Group V2Enforce Scheduling Strategy Args - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- environment_
variables Sequence[CheckGroup V2Environment Variable Args] - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - muted bool
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - name str
- The name of the check group.
- setup_
script CheckGroup V2Setup Script Args - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- Sequence[str]
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- teardown_
script CheckGroup V2Teardown Script Args - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
- activated Boolean
- Determines whether the checks and monitors in the group run on their schedule. Deactivating the group stops all of them, regardless of their own
activated. Defaults totrue. - api
Check Property MapDefaults - Default settings for API checks in this group.
- concurrency Number
- Determines the number of checks to run concurrently when triggering the check group via CI/CD or the API. Defaults to
1. - default
Runtime Property Map - Sets a default runtime for the group. Used as a fallback when a check belonging to the group has no runtime set. Takes precedence over the account default runtime.
- enforce
Alert Property MapSettings - Enforces alert settings for the whole group. Overrides check configuration.
- enforce
Locations Property Map - Enforces public and private locations for the whole group. Overrides check configuration.
- enforce
Retry Property MapStrategy - Enforces a retry strategy for the whole group. Overrides check configuration.
- enforce
Scheduling Property MapStrategy - Enforces a scheduling strategy for the whole group. Overrides check configuration.
- environment
Variables List<Property Map> - Insert environment variables into the runtime environment of checks in the group. Only relevant for check types that support environment variables. Use global environment variables whenever possible. Must contain at most
200variables. - muted Boolean
- Determines whether notifications are sent when a check or monitor in the group fails or recovers. Muting the group mutes all of them, regardless of their own
muted. Defaults tofalse. - name String
- The name of the check group.
- setup
Script Property Map - A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
- List<String>
- Tags for organizing and filtering checks and monitors. The checks and monitors in the group also carry these tags, for example when maintenance windows and status page automation rules select checks by tag.
- teardown
Script Property Map - A script to run in the teardown phase of an API check. Runs in addition to the check's own teardown script.
Supporting Types
CheckGroupV2ApiCheckDefaults, CheckGroupV2ApiCheckDefaultsArgs
- Url string
- The base url for this group which you can reference with the
GROUP_BASE_URLvariable in all group checks. - Assertions
List<Check
Group V2Api Check Defaults Assertion> - Default assertions for API checks in this group.
- Basic
Auth CheckGroup V2Api Check Defaults Basic Auth - Default basic auth credentials for API checks in this group.
- Headers Dictionary<string, string>
- Default headers for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a header secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- Query
Parameters Dictionary<string, string> - Default query parameters for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a parameter secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- Url string
- The base url for this group which you can reference with the
GROUP_BASE_URLvariable in all group checks. - Assertions
[]Check
Group V2Api Check Defaults Assertion - Default assertions for API checks in this group.
- Basic
Auth CheckGroup V2Api Check Defaults Basic Auth - Default basic auth credentials for API checks in this group.
- Headers map[string]string
- Default headers for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a header secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- Query
Parameters map[string]string - Default query parameters for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a parameter secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- url string
- The base url for this group which you can reference with the
GROUP_BASE_URLvariable in all group checks. - assertions list(object)
- Default assertions for API checks in this group.
- basic_
auth object - Default basic auth credentials for API checks in this group.
- headers map(string)
- Default headers for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a header secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- query_
parameters map(string) - Default query parameters for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a parameter secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- url String
- The base url for this group which you can reference with the
GROUP_BASE_URLvariable in all group checks. - assertions
List<Check
Group V2Api Check Defaults Assertion> - Default assertions for API checks in this group.
- basic
Auth CheckGroup V2Api Check Defaults Basic Auth - Default basic auth credentials for API checks in this group.
- headers Map<String,String>
- Default headers for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a header secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- query
Parameters Map<String,String> - Default query parameters for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a parameter secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- url string
- The base url for this group which you can reference with the
GROUP_BASE_URLvariable in all group checks. - assertions
Check
Group V2Api Check Defaults Assertion[] - Default assertions for API checks in this group.
- basic
Auth CheckGroup V2Api Check Defaults Basic Auth - Default basic auth credentials for API checks in this group.
- headers {[key: string]: string}
- Default headers for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a header secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- query
Parameters {[key: string]: string} - Default query parameters for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a parameter secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- url str
- The base url for this group which you can reference with the
GROUP_BASE_URLvariable in all group checks. - assertions
Sequence[Check
Group V2Api Check Defaults Assertion] - Default assertions for API checks in this group.
- basic_
auth CheckGroup V2Api Check Defaults Basic Auth - Default basic auth credentials for API checks in this group.
- headers Mapping[str, str]
- Default headers for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a header secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- query_
parameters Mapping[str, str] - Default query parameters for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a parameter secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- url String
- The base url for this group which you can reference with the
GROUP_BASE_URLvariable in all group checks. - assertions List<Property Map>
- Default assertions for API checks in this group.
- basic
Auth Property Map - Default basic auth credentials for API checks in this group.
- headers Map<String>
- Default headers for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a header secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
- query
Parameters Map<String> - Default query parameters for API checks in this group. The values are not secret by default: they show in preview output and are stored unencrypted in the state. To keep a credential in a parameter secret, mark it as a secret, for example with a secret configuration value or your language's Pulumi secret helper. Pulumi then masks it in preview output and encrypts it in the state.
CheckGroupV2ApiCheckDefaultsAssertion, CheckGroupV2ApiCheckDefaultsAssertionArgs
- Comparison string
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,HAS_KEY,NOT_HAS_KEY,HAS_VALUE,NOT_HAS_VALUE,IS_EMPTY,NOT_EMPTY,GREATER_THAN,LESS_THAN,CONTAINS,NOT_CONTAINS,IS_NULLandNOT_NULL. - Source string
- The source of the asserted value. Possible values are
STATUS_CODE,JSON_BODY,HEADERS,TEXT_BODYandRESPONSE_TIME. - Target string
- The value to compare against.
- Property string
- The property of the asserted value, for example a JSON path or header name.
- Comparison string
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,HAS_KEY,NOT_HAS_KEY,HAS_VALUE,NOT_HAS_VALUE,IS_EMPTY,NOT_EMPTY,GREATER_THAN,LESS_THAN,CONTAINS,NOT_CONTAINS,IS_NULLandNOT_NULL. - Source string
- The source of the asserted value. Possible values are
STATUS_CODE,JSON_BODY,HEADERS,TEXT_BODYandRESPONSE_TIME. - Target string
- The value to compare against.
- Property string
- The property of the asserted value, for example a JSON path or header name.
- comparison string
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,HAS_KEY,NOT_HAS_KEY,HAS_VALUE,NOT_HAS_VALUE,IS_EMPTY,NOT_EMPTY,GREATER_THAN,LESS_THAN,CONTAINS,NOT_CONTAINS,IS_NULLandNOT_NULL. - source string
- The source of the asserted value. Possible values are
STATUS_CODE,JSON_BODY,HEADERS,TEXT_BODYandRESPONSE_TIME. - target string
- The value to compare against.
- property string
- The property of the asserted value, for example a JSON path or header name.
- comparison String
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,HAS_KEY,NOT_HAS_KEY,HAS_VALUE,NOT_HAS_VALUE,IS_EMPTY,NOT_EMPTY,GREATER_THAN,LESS_THAN,CONTAINS,NOT_CONTAINS,IS_NULLandNOT_NULL. - source String
- The source of the asserted value. Possible values are
STATUS_CODE,JSON_BODY,HEADERS,TEXT_BODYandRESPONSE_TIME. - target String
- The value to compare against.
- property String
- The property of the asserted value, for example a JSON path or header name.
- comparison string
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,HAS_KEY,NOT_HAS_KEY,HAS_VALUE,NOT_HAS_VALUE,IS_EMPTY,NOT_EMPTY,GREATER_THAN,LESS_THAN,CONTAINS,NOT_CONTAINS,IS_NULLandNOT_NULL. - source string
- The source of the asserted value. Possible values are
STATUS_CODE,JSON_BODY,HEADERS,TEXT_BODYandRESPONSE_TIME. - target string
- The value to compare against.
- property string
- The property of the asserted value, for example a JSON path or header name.
- comparison str
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,HAS_KEY,NOT_HAS_KEY,HAS_VALUE,NOT_HAS_VALUE,IS_EMPTY,NOT_EMPTY,GREATER_THAN,LESS_THAN,CONTAINS,NOT_CONTAINS,IS_NULLandNOT_NULL. - source str
- The source of the asserted value. Possible values are
STATUS_CODE,JSON_BODY,HEADERS,TEXT_BODYandRESPONSE_TIME. - target str
- The value to compare against.
- property str
- The property of the asserted value, for example a JSON path or header name.
- comparison String
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,HAS_KEY,NOT_HAS_KEY,HAS_VALUE,NOT_HAS_VALUE,IS_EMPTY,NOT_EMPTY,GREATER_THAN,LESS_THAN,CONTAINS,NOT_CONTAINS,IS_NULLandNOT_NULL. - source String
- The source of the asserted value. Possible values are
STATUS_CODE,JSON_BODY,HEADERS,TEXT_BODYandRESPONSE_TIME. - target String
- The value to compare against.
- property String
- The property of the asserted value, for example a JSON path or header name.
CheckGroupV2ApiCheckDefaultsBasicAuth, CheckGroupV2ApiCheckDefaultsBasicAuthArgs
CheckGroupV2DefaultRuntime, CheckGroupV2DefaultRuntimeArgs
- Runtime
Id string - The runtime ID.
- Runtime
Id string - The runtime ID.
- runtime_
id string - The runtime ID.
- runtime
Id String - The runtime ID.
- runtime
Id string - The runtime ID.
- runtime_
id str - The runtime ID.
- runtime
Id String - The runtime ID.
CheckGroupV2EnforceAlertSettings, CheckGroupV2EnforceAlertSettingsArgs
- Enabled bool
- Determines whether the enforced alert settings should be active.
- Alert
Channel List<CheckSubscriptions Group V2Enforce Alert Settings Alert Channel Subscription> - A set of channel IDs and whether they're activated or not. If you don't set at least one alert channel subscription for your group, we won't be able to alert you even if a check or monitor in the group starts failing.
- Alert
Settings CheckGroup V2Enforce Alert Settings Alert Settings - Determines the alert escalation policy for the checks and monitors in the group.
- Use
Global boolAlert Settings - When true, the account level alert settings are used instead of the
alertSettingsof this check group. Defaults totruewhenalertSettingsis not set, and tofalsewhen it is. The value is derived only whileenabledistrue. While the enforcement stays disabled, the stored value is kept and has no effect; disabling an enabled enforcement resets it to null.
- Enabled bool
- Determines whether the enforced alert settings should be active.
- Alert
Channel []CheckSubscriptions Group V2Enforce Alert Settings Alert Channel Subscription - A set of channel IDs and whether they're activated or not. If you don't set at least one alert channel subscription for your group, we won't be able to alert you even if a check or monitor in the group starts failing.
- Alert
Settings CheckGroup V2Enforce Alert Settings Alert Settings - Determines the alert escalation policy for the checks and monitors in the group.
- Use
Global boolAlert Settings - When true, the account level alert settings are used instead of the
alertSettingsof this check group. Defaults totruewhenalertSettingsis not set, and tofalsewhen it is. The value is derived only whileenabledistrue. While the enforcement stays disabled, the stored value is kept and has no effect; disabling an enabled enforcement resets it to null.
- enabled bool
- Determines whether the enforced alert settings should be active.
- alert_
channel_ list(object)subscriptions - A set of channel IDs and whether they're activated or not. If you don't set at least one alert channel subscription for your group, we won't be able to alert you even if a check or monitor in the group starts failing.
- alert_
settings object - Determines the alert escalation policy for the checks and monitors in the group.
- use_
global_ boolalert_ settings - When true, the account level alert settings are used instead of the
alertSettingsof this check group. Defaults totruewhenalertSettingsis not set, and tofalsewhen it is. The value is derived only whileenabledistrue. While the enforcement stays disabled, the stored value is kept and has no effect; disabling an enabled enforcement resets it to null.
- enabled Boolean
- Determines whether the enforced alert settings should be active.
- alert
Channel List<CheckSubscriptions Group V2Enforce Alert Settings Alert Channel Subscription> - A set of channel IDs and whether they're activated or not. If you don't set at least one alert channel subscription for your group, we won't be able to alert you even if a check or monitor in the group starts failing.
- alert
Settings CheckGroup V2Enforce Alert Settings Alert Settings - Determines the alert escalation policy for the checks and monitors in the group.
- use
Global BooleanAlert Settings - When true, the account level alert settings are used instead of the
alertSettingsof this check group. Defaults totruewhenalertSettingsis not set, and tofalsewhen it is. The value is derived only whileenabledistrue. While the enforcement stays disabled, the stored value is kept and has no effect; disabling an enabled enforcement resets it to null.
- enabled boolean
- Determines whether the enforced alert settings should be active.
- alert
Channel CheckSubscriptions Group V2Enforce Alert Settings Alert Channel Subscription[] - A set of channel IDs and whether they're activated or not. If you don't set at least one alert channel subscription for your group, we won't be able to alert you even if a check or monitor in the group starts failing.
- alert
Settings CheckGroup V2Enforce Alert Settings Alert Settings - Determines the alert escalation policy for the checks and monitors in the group.
- use
Global booleanAlert Settings - When true, the account level alert settings are used instead of the
alertSettingsof this check group. Defaults totruewhenalertSettingsis not set, and tofalsewhen it is. The value is derived only whileenabledistrue. While the enforcement stays disabled, the stored value is kept and has no effect; disabling an enabled enforcement resets it to null.
- enabled bool
- Determines whether the enforced alert settings should be active.
- alert_
channel_ Sequence[Checksubscriptions Group V2Enforce Alert Settings Alert Channel Subscription] - A set of channel IDs and whether they're activated or not. If you don't set at least one alert channel subscription for your group, we won't be able to alert you even if a check or monitor in the group starts failing.
- alert_
settings CheckGroup V2Enforce Alert Settings Alert Settings - Determines the alert escalation policy for the checks and monitors in the group.
- use_
global_ boolalert_ settings - When true, the account level alert settings are used instead of the
alertSettingsof this check group. Defaults totruewhenalertSettingsis not set, and tofalsewhen it is. The value is derived only whileenabledistrue. While the enforcement stays disabled, the stored value is kept and has no effect; disabling an enabled enforcement resets it to null.
- enabled Boolean
- Determines whether the enforced alert settings should be active.
- alert
Channel List<Property Map>Subscriptions - A set of channel IDs and whether they're activated or not. If you don't set at least one alert channel subscription for your group, we won't be able to alert you even if a check or monitor in the group starts failing.
- alert
Settings Property Map - Determines the alert escalation policy for the checks and monitors in the group.
- use
Global BooleanAlert Settings - When true, the account level alert settings are used instead of the
alertSettingsof this check group. Defaults totruewhenalertSettingsis not set, and tofalsewhen it is. The value is derived only whileenabledistrue. While the enforcement stays disabled, the stored value is kept and has no effect; disabling an enabled enforcement resets it to null.
CheckGroupV2EnforceAlertSettingsAlertChannelSubscription, CheckGroupV2EnforceAlertSettingsAlertChannelSubscriptionArgs
- activated bool
- Whether an alert should be sent to this channel.
- channel_
id number - The ID of the alert channel.
- activated bool
- Whether an alert should be sent to this channel.
- channel_
id int - The ID of the alert channel.
CheckGroupV2EnforceAlertSettingsAlertSettings, CheckGroupV2EnforceAlertSettingsAlertSettingsArgs
- Escalation
Type string - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. Defaults toRUN_BASED. - Parallel
Run CheckFailure Threshold Group V2Enforce Alert Settings Alert Settings Parallel Run Failure Threshold - Configuration for parallel run failure threshold.
- Reminders
Check
Group V2Enforce Alert Settings Alert Settings Reminders - Defines how often to send reminder notifications after the initial alert.
- Run
Based CheckEscalation Group V2Enforce Alert Settings Alert Settings Run Based Escalation - Configuration for run-based escalation.
- Time
Based CheckEscalation Group V2Enforce Alert Settings Alert Settings Time Based Escalation - Configuration for time-based escalation.
- Escalation
Type string - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. Defaults toRUN_BASED. - Parallel
Run CheckFailure Threshold Group V2Enforce Alert Settings Alert Settings Parallel Run Failure Threshold - Configuration for parallel run failure threshold.
- Reminders
Check
Group V2Enforce Alert Settings Alert Settings Reminders - Defines how often to send reminder notifications after the initial alert.
- Run
Based CheckEscalation Group V2Enforce Alert Settings Alert Settings Run Based Escalation - Configuration for run-based escalation.
- Time
Based CheckEscalation Group V2Enforce Alert Settings Alert Settings Time Based Escalation - Configuration for time-based escalation.
- escalation_
type string - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. Defaults toRUN_BASED. - parallel_
run_ objectfailure_ threshold - Configuration for parallel run failure threshold.
- reminders object
- Defines how often to send reminder notifications after the initial alert.
- run_
based_ objectescalation - Configuration for run-based escalation.
- time_
based_ objectescalation - Configuration for time-based escalation.
- escalation
Type String - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. Defaults toRUN_BASED. - parallel
Run CheckFailure Threshold Group V2Enforce Alert Settings Alert Settings Parallel Run Failure Threshold - Configuration for parallel run failure threshold.
- reminders
Check
Group V2Enforce Alert Settings Alert Settings Reminders - Defines how often to send reminder notifications after the initial alert.
- run
Based CheckEscalation Group V2Enforce Alert Settings Alert Settings Run Based Escalation - Configuration for run-based escalation.
- time
Based CheckEscalation Group V2Enforce Alert Settings Alert Settings Time Based Escalation - Configuration for time-based escalation.
- escalation
Type string - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. Defaults toRUN_BASED. - parallel
Run CheckFailure Threshold Group V2Enforce Alert Settings Alert Settings Parallel Run Failure Threshold - Configuration for parallel run failure threshold.
- reminders
Check
Group V2Enforce Alert Settings Alert Settings Reminders - Defines how often to send reminder notifications after the initial alert.
- run
Based CheckEscalation Group V2Enforce Alert Settings Alert Settings Run Based Escalation - Configuration for run-based escalation.
- time
Based CheckEscalation Group V2Enforce Alert Settings Alert Settings Time Based Escalation - Configuration for time-based escalation.
- escalation_
type str - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. Defaults toRUN_BASED. - parallel_
run_ Checkfailure_ threshold Group V2Enforce Alert Settings Alert Settings Parallel Run Failure Threshold - Configuration for parallel run failure threshold.
- reminders
Check
Group V2Enforce Alert Settings Alert Settings Reminders - Defines how often to send reminder notifications after the initial alert.
- run_
based_ Checkescalation Group V2Enforce Alert Settings Alert Settings Run Based Escalation - Configuration for run-based escalation.
- time_
based_ Checkescalation Group V2Enforce Alert Settings Alert Settings Time Based Escalation - Configuration for time-based escalation.
- escalation
Type String - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. Defaults toRUN_BASED. - parallel
Run Property MapFailure Threshold - Configuration for parallel run failure threshold.
- reminders Property Map
- Defines how often to send reminder notifications after the initial alert.
- run
Based Property MapEscalation - Configuration for run-based escalation.
- time
Based Property MapEscalation - Configuration for time-based escalation.
CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThreshold, CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThresholdArgs
- Enabled bool
- Whether parallel run failure threshold is enabled. Only applies to the checks and monitors in the group that are scheduled for multiple locations in parallel. Defaults to
false. - Percentage int
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90and100. Defaults to10.
- Enabled bool
- Whether parallel run failure threshold is enabled. Only applies to the checks and monitors in the group that are scheduled for multiple locations in parallel. Defaults to
false. - Percentage int
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90and100. Defaults to10.
- enabled bool
- Whether parallel run failure threshold is enabled. Only applies to the checks and monitors in the group that are scheduled for multiple locations in parallel. Defaults to
false. - percentage number
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90and100. Defaults to10.
- enabled Boolean
- Whether parallel run failure threshold is enabled. Only applies to the checks and monitors in the group that are scheduled for multiple locations in parallel. Defaults to
false. - percentage Integer
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90and100. Defaults to10.
- enabled boolean
- Whether parallel run failure threshold is enabled. Only applies to the checks and monitors in the group that are scheduled for multiple locations in parallel. Defaults to
false. - percentage number
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90and100. Defaults to10.
- enabled bool
- Whether parallel run failure threshold is enabled. Only applies to the checks and monitors in the group that are scheduled for multiple locations in parallel. Defaults to
false. - percentage int
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90and100. Defaults to10.
- enabled Boolean
- Whether parallel run failure threshold is enabled. Only applies to the checks and monitors in the group that are scheduled for multiple locations in parallel. Defaults to
false. - percentage Number
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90and100. Defaults to10.
CheckGroupV2EnforceAlertSettingsAlertSettingsReminders, CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs
CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalation, CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs
- Failed
Run intThreshold - Send an alert notification after the given number of consecutive runs of a check or monitor in the group have failed. Possible values are between
1and5. Defaults to1.
- Failed
Run intThreshold - Send an alert notification after the given number of consecutive runs of a check or monitor in the group have failed. Possible values are between
1and5. Defaults to1.
- failed_
run_ numberthreshold - Send an alert notification after the given number of consecutive runs of a check or monitor in the group have failed. Possible values are between
1and5. Defaults to1.
- failed
Run IntegerThreshold - Send an alert notification after the given number of consecutive runs of a check or monitor in the group have failed. Possible values are between
1and5. Defaults to1.
- failed
Run numberThreshold - Send an alert notification after the given number of consecutive runs of a check or monitor in the group have failed. Possible values are between
1and5. Defaults to1.
- failed_
run_ intthreshold - Send an alert notification after the given number of consecutive runs of a check or monitor in the group have failed. Possible values are between
1and5. Defaults to1.
- failed
Run NumberThreshold - Send an alert notification after the given number of consecutive runs of a check or monitor in the group have failed. Possible values are between
1and5. Defaults to1.
CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalation, CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalationArgs
- Minutes
Failing intThreshold - Send an alert notification after a check or monitor in the group has been failing for the given amount of time (in minutes). Possible values are
5,10,15and30. Defaults to5.
- Minutes
Failing intThreshold - Send an alert notification after a check or monitor in the group has been failing for the given amount of time (in minutes). Possible values are
5,10,15and30. Defaults to5.
- minutes_
failing_ numberthreshold - Send an alert notification after a check or monitor in the group has been failing for the given amount of time (in minutes). Possible values are
5,10,15and30. Defaults to5.
- minutes
Failing IntegerThreshold - Send an alert notification after a check or monitor in the group has been failing for the given amount of time (in minutes). Possible values are
5,10,15and30. Defaults to5.
- minutes
Failing numberThreshold - Send an alert notification after a check or monitor in the group has been failing for the given amount of time (in minutes). Possible values are
5,10,15and30. Defaults to5.
- minutes_
failing_ intthreshold - Send an alert notification after a check or monitor in the group has been failing for the given amount of time (in minutes). Possible values are
5,10,15and30. Defaults to5.
- minutes
Failing NumberThreshold - Send an alert notification after a check or monitor in the group has been failing for the given amount of time (in minutes). Possible values are
5,10,15and30. Defaults to5.
CheckGroupV2EnforceLocations, CheckGroupV2EnforceLocationsArgs
- Enabled bool
- Determines whether the enforced locations should be active.
- Locations List<string>
- An array of one or more data center locations where to run the checks.
- Private
Locations List<string> - An array of one or more private locations slugs.
- Enabled bool
- Determines whether the enforced locations should be active.
- Locations []string
- An array of one or more data center locations where to run the checks.
- Private
Locations []string - An array of one or more private locations slugs.
- enabled bool
- Determines whether the enforced locations should be active.
- locations list(string)
- An array of one or more data center locations where to run the checks.
- private_
locations list(string) - An array of one or more private locations slugs.
- enabled Boolean
- Determines whether the enforced locations should be active.
- locations List<String>
- An array of one or more data center locations where to run the checks.
- private
Locations List<String> - An array of one or more private locations slugs.
- enabled boolean
- Determines whether the enforced locations should be active.
- locations string[]
- An array of one or more data center locations where to run the checks.
- private
Locations string[] - An array of one or more private locations slugs.
- enabled bool
- Determines whether the enforced locations should be active.
- locations Sequence[str]
- An array of one or more data center locations where to run the checks.
- private_
locations Sequence[str] - An array of one or more private locations slugs.
- enabled Boolean
- Determines whether the enforced locations should be active.
- locations List<String>
- An array of one or more data center locations where to run the checks.
- private
Locations List<String> - An array of one or more private locations slugs.
CheckGroupV2EnforceRetryStrategy, CheckGroupV2EnforceRetryStrategyArgs
- Enabled bool
- Determines whether the enforced retry strategy should be active.
- Retry
Strategy CheckGroup V2Enforce Retry Strategy Retry Strategy - A strategy for retrying failed check/monitor runs.
- Enabled bool
- Determines whether the enforced retry strategy should be active.
- Retry
Strategy CheckGroup V2Enforce Retry Strategy Retry Strategy - A strategy for retrying failed check/monitor runs.
- enabled bool
- Determines whether the enforced retry strategy should be active.
- retry_
strategy object - A strategy for retrying failed check/monitor runs.
- enabled Boolean
- Determines whether the enforced retry strategy should be active.
- retry
Strategy CheckGroup V2Enforce Retry Strategy Retry Strategy - A strategy for retrying failed check/monitor runs.
- enabled boolean
- Determines whether the enforced retry strategy should be active.
- retry
Strategy CheckGroup V2Enforce Retry Strategy Retry Strategy - A strategy for retrying failed check/monitor runs.
- enabled bool
- Determines whether the enforced retry strategy should be active.
- retry_
strategy CheckGroup V2Enforce Retry Strategy Retry Strategy - A strategy for retrying failed check/monitor runs.
- enabled Boolean
- Determines whether the enforced retry strategy should be active.
- retry
Strategy Property Map - A strategy for retrying failed check/monitor runs.
CheckGroupV2EnforceRetryStrategyRetryStrategy, CheckGroupV2EnforceRetryStrategyRetryStrategyArgs
- Type string
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRYandNO_RETRIES. - Base
Backoff intSeconds - The number of seconds to wait before the first retry attempt. Must be at least
0. Defaults to60. Not available whentypeisNO_RETRIES. - Max
Duration intSeconds - The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between
0and600. Defaults to600. Available whentypeisFIXED,LINEARorEXPONENTIAL. - Max
Retries int - The maximum number of times to retry the check/monitor. Possible values are between
1and10. Defaults to2. Available whentypeisFIXED,LINEARorEXPONENTIAL. - Only
On CheckGroup V2Enforce Retry Strategy Retry Strategy Only On - Apply the retry strategy only if the defined conditions match.
- Same
Region bool - Whether retries should be run in the same region as the initial check/monitor run. Defaults to
true. Not available whentypeisNO_RETRIES.
- Type string
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRYandNO_RETRIES. - Base
Backoff intSeconds - The number of seconds to wait before the first retry attempt. Must be at least
0. Defaults to60. Not available whentypeisNO_RETRIES. - Max
Duration intSeconds - The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between
0and600. Defaults to600. Available whentypeisFIXED,LINEARorEXPONENTIAL. - Max
Retries int - The maximum number of times to retry the check/monitor. Possible values are between
1and10. Defaults to2. Available whentypeisFIXED,LINEARorEXPONENTIAL. - Only
On CheckGroup V2Enforce Retry Strategy Retry Strategy Only On - Apply the retry strategy only if the defined conditions match.
- Same
Region bool - Whether retries should be run in the same region as the initial check/monitor run. Defaults to
true. Not available whentypeisNO_RETRIES.
- type string
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRYandNO_RETRIES. - base_
backoff_ numberseconds - The number of seconds to wait before the first retry attempt. Must be at least
0. Defaults to60. Not available whentypeisNO_RETRIES. - max_
duration_ numberseconds - The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between
0and600. Defaults to600. Available whentypeisFIXED,LINEARorEXPONENTIAL. - max_
retries number - The maximum number of times to retry the check/monitor. Possible values are between
1and10. Defaults to2. Available whentypeisFIXED,LINEARorEXPONENTIAL. - only_
on object - Apply the retry strategy only if the defined conditions match.
- same_
region bool - Whether retries should be run in the same region as the initial check/monitor run. Defaults to
true. Not available whentypeisNO_RETRIES.
- type String
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRYandNO_RETRIES. - base
Backoff IntegerSeconds - The number of seconds to wait before the first retry attempt. Must be at least
0. Defaults to60. Not available whentypeisNO_RETRIES. - max
Duration IntegerSeconds - The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between
0and600. Defaults to600. Available whentypeisFIXED,LINEARorEXPONENTIAL. - max
Retries Integer - The maximum number of times to retry the check/monitor. Possible values are between
1and10. Defaults to2. Available whentypeisFIXED,LINEARorEXPONENTIAL. - only
On CheckGroup V2Enforce Retry Strategy Retry Strategy Only On - Apply the retry strategy only if the defined conditions match.
- same
Region Boolean - Whether retries should be run in the same region as the initial check/monitor run. Defaults to
true. Not available whentypeisNO_RETRIES.
- type string
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRYandNO_RETRIES. - base
Backoff numberSeconds - The number of seconds to wait before the first retry attempt. Must be at least
0. Defaults to60. Not available whentypeisNO_RETRIES. - max
Duration numberSeconds - The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between
0and600. Defaults to600. Available whentypeisFIXED,LINEARorEXPONENTIAL. - max
Retries number - The maximum number of times to retry the check/monitor. Possible values are between
1and10. Defaults to2. Available whentypeisFIXED,LINEARorEXPONENTIAL. - only
On CheckGroup V2Enforce Retry Strategy Retry Strategy Only On - Apply the retry strategy only if the defined conditions match.
- same
Region boolean - Whether retries should be run in the same region as the initial check/monitor run. Defaults to
true. Not available whentypeisNO_RETRIES.
- type str
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRYandNO_RETRIES. - base_
backoff_ intseconds - The number of seconds to wait before the first retry attempt. Must be at least
0. Defaults to60. Not available whentypeisNO_RETRIES. - max_
duration_ intseconds - The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between
0and600. Defaults to600. Available whentypeisFIXED,LINEARorEXPONENTIAL. - max_
retries int - The maximum number of times to retry the check/monitor. Possible values are between
1and10. Defaults to2. Available whentypeisFIXED,LINEARorEXPONENTIAL. - only_
on CheckGroup V2Enforce Retry Strategy Retry Strategy Only On - Apply the retry strategy only if the defined conditions match.
- same_
region bool - Whether retries should be run in the same region as the initial check/monitor run. Defaults to
true. Not available whentypeisNO_RETRIES.
- type String
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRYandNO_RETRIES. - base
Backoff NumberSeconds - The number of seconds to wait before the first retry attempt. Must be at least
0. Defaults to60. Not available whentypeisNO_RETRIES. - max
Duration NumberSeconds - The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between
0and600. Defaults to600. Available whentypeisFIXED,LINEARorEXPONENTIAL. - max
Retries Number - The maximum number of times to retry the check/monitor. Possible values are between
1and10. Defaults to2. Available whentypeisFIXED,LINEARorEXPONENTIAL. - only
On Property Map - Apply the retry strategy only if the defined conditions match.
- same
Region Boolean - Whether retries should be run in the same region as the initial check/monitor run. Defaults to
true. Not available whentypeisNO_RETRIES.
CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOn, CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOnArgs
- Network
Error bool - When
true, retry only if the cause of the failure is a network error. Defaults tofalse.
- Network
Error bool - When
true, retry only if the cause of the failure is a network error. Defaults tofalse.
- network_
error bool - When
true, retry only if the cause of the failure is a network error. Defaults tofalse.
- network
Error Boolean - When
true, retry only if the cause of the failure is a network error. Defaults tofalse.
- network
Error boolean - When
true, retry only if the cause of the failure is a network error. Defaults tofalse.
- network_
error bool - When
true, retry only if the cause of the failure is a network error. Defaults tofalse.
- network
Error Boolean - When
true, retry only if the cause of the failure is a network error. Defaults tofalse.
CheckGroupV2EnforceSchedulingStrategy, CheckGroupV2EnforceSchedulingStrategyArgs
- Enabled bool
- Determines whether the enforced scheduling strategy should be active.
- Run
Parallel bool - Determines if the checks in the group should run in all selected locations in parallel or round-robin.
- Enabled bool
- Determines whether the enforced scheduling strategy should be active.
- Run
Parallel bool - Determines if the checks in the group should run in all selected locations in parallel or round-robin.
- enabled bool
- Determines whether the enforced scheduling strategy should be active.
- run_
parallel bool - Determines if the checks in the group should run in all selected locations in parallel or round-robin.
- enabled Boolean
- Determines whether the enforced scheduling strategy should be active.
- run
Parallel Boolean - Determines if the checks in the group should run in all selected locations in parallel or round-robin.
- enabled boolean
- Determines whether the enforced scheduling strategy should be active.
- run
Parallel boolean - Determines if the checks in the group should run in all selected locations in parallel or round-robin.
- enabled bool
- Determines whether the enforced scheduling strategy should be active.
- run_
parallel bool - Determines if the checks in the group should run in all selected locations in parallel or round-robin.
- enabled Boolean
- Determines whether the enforced scheduling strategy should be active.
- run
Parallel Boolean - Determines if the checks in the group should run in all selected locations in parallel or round-robin.
CheckGroupV2EnvironmentVariable, CheckGroupV2EnvironmentVariableArgs
- Key string
- The name of the environment variable or secret.
- Value string
- The value of the environment variable or secret. Must be at most
64000bytes in UTF-8, or31744bytes for a secret or locked variable. A secret value must be at least3characters. - Locked bool
- If true, the value is not shown by default, but it can be accessed. Defaults to
false. - Secret bool
- If true, the value will never be visible. The API never returns secret values, so Pulumi keeps the last applied value and does not detect changes made outside Pulumi. Defaults to
false.
- Key string
- The name of the environment variable or secret.
- Value string
- The value of the environment variable or secret. Must be at most
64000bytes in UTF-8, or31744bytes for a secret or locked variable. A secret value must be at least3characters. - Locked bool
- If true, the value is not shown by default, but it can be accessed. Defaults to
false. - Secret bool
- If true, the value will never be visible. The API never returns secret values, so Pulumi keeps the last applied value and does not detect changes made outside Pulumi. Defaults to
false.
- key string
- The name of the environment variable or secret.
- value string
- The value of the environment variable or secret. Must be at most
64000bytes in UTF-8, or31744bytes for a secret or locked variable. A secret value must be at least3characters. - locked bool
- If true, the value is not shown by default, but it can be accessed. Defaults to
false. - secret bool
- If true, the value will never be visible. The API never returns secret values, so Pulumi keeps the last applied value and does not detect changes made outside Pulumi. Defaults to
false.
- key String
- The name of the environment variable or secret.
- value String
- The value of the environment variable or secret. Must be at most
64000bytes in UTF-8, or31744bytes for a secret or locked variable. A secret value must be at least3characters. - locked Boolean
- If true, the value is not shown by default, but it can be accessed. Defaults to
false. - secret Boolean
- If true, the value will never be visible. The API never returns secret values, so Pulumi keeps the last applied value and does not detect changes made outside Pulumi. Defaults to
false.
- key string
- The name of the environment variable or secret.
- value string
- The value of the environment variable or secret. Must be at most
64000bytes in UTF-8, or31744bytes for a secret or locked variable. A secret value must be at least3characters. - locked boolean
- If true, the value is not shown by default, but it can be accessed. Defaults to
false. - secret boolean
- If true, the value will never be visible. The API never returns secret values, so Pulumi keeps the last applied value and does not detect changes made outside Pulumi. Defaults to
false.
- key str
- The name of the environment variable or secret.
- value str
- The value of the environment variable or secret. Must be at most
64000bytes in UTF-8, or31744bytes for a secret or locked variable. A secret value must be at least3characters. - locked bool
- If true, the value is not shown by default, but it can be accessed. Defaults to
false. - secret bool
- If true, the value will never be visible. The API never returns secret values, so Pulumi keeps the last applied value and does not detect changes made outside Pulumi. Defaults to
false.
- key String
- The name of the environment variable or secret.
- value String
- The value of the environment variable or secret. Must be at most
64000bytes in UTF-8, or31744bytes for a secret or locked variable. A secret value must be at least3characters. - locked Boolean
- If true, the value is not shown by default, but it can be accessed. Defaults to
false. - secret Boolean
- If true, the value will never be visible. The API never returns secret values, so Pulumi keeps the last applied value and does not detect changes made outside Pulumi. Defaults to
false.
CheckGroupV2SetupScript, CheckGroupV2SetupScriptArgs
- Inline
Script string - A valid piece of Node.js code.
- Snippet
Id int - The ID of a code snippet. Code snippets are not available for new plans.
- Inline
Script string - A valid piece of Node.js code.
- Snippet
Id int - The ID of a code snippet. Code snippets are not available for new plans.
- inline_
script string - A valid piece of Node.js code.
- snippet_
id number - The ID of a code snippet. Code snippets are not available for new plans.
- inline
Script String - A valid piece of Node.js code.
- snippet
Id Integer - The ID of a code snippet. Code snippets are not available for new plans.
- inline
Script string - A valid piece of Node.js code.
- snippet
Id number - The ID of a code snippet. Code snippets are not available for new plans.
- inline_
script str - A valid piece of Node.js code.
- snippet_
id int - The ID of a code snippet. Code snippets are not available for new plans.
- inline
Script String - A valid piece of Node.js code.
- snippet
Id Number - The ID of a code snippet. Code snippets are not available for new plans.
CheckGroupV2TeardownScript, CheckGroupV2TeardownScriptArgs
- Inline
Script string - A valid piece of Node.js code.
- Snippet
Id int - The ID of a code snippet. Code snippets are not available for new plans.
- Inline
Script string - A valid piece of Node.js code.
- Snippet
Id int - The ID of a code snippet. Code snippets are not available for new plans.
- inline_
script string - A valid piece of Node.js code.
- snippet_
id number - The ID of a code snippet. Code snippets are not available for new plans.
- inline
Script String - A valid piece of Node.js code.
- snippet
Id Integer - The ID of a code snippet. Code snippets are not available for new plans.
- inline
Script string - A valid piece of Node.js code.
- snippet
Id number - The ID of a code snippet. Code snippets are not available for new plans.
- inline_
script str - A valid piece of Node.js code.
- snippet_
id int - The ID of a code snippet. Code snippets are not available for new plans.
- inline
Script String - A valid piece of Node.js code.
- snippet
Id Number - The ID of a code snippet. Code snippets are not available for new plans.
Import
The pulumi import command can be used, for example:
Import an existing check group using its numeric ID. The ID is returned by the Checkly API at GET /v1/check-groups.
$ pulumi import checkly:index/checkGroupV2:CheckGroupV2 example 12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- checkly checkly/pulumi-checkly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
checklyTerraform Provider.
Checklypublished on Monday, Nov 16, 2026 by Checkly