1. Registry
  2. Packages
  3. Checkly
  4. API Docs
  5. CheckGroupV2
Viewing docs for Checkly v3.0.0
published on Monday, Nov 16, 2026 by Checkly
checkly logo Checkly
Viewing docs for Checkly v3.0.0
published 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 to true.
    ApiCheckDefaults CheckGroupV2ApiCheckDefaults
    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.
    DefaultRuntime CheckGroupV2DefaultRuntime
    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.
    EnforceAlertSettings CheckGroupV2EnforceAlertSettings
    Enforces alert settings for the whole group. Overrides check configuration.
    EnforceLocations CheckGroupV2EnforceLocations
    Enforces public and private locations for the whole group. Overrides check configuration.
    EnforceRetryStrategy CheckGroupV2EnforceRetryStrategy
    Enforces a retry strategy for the whole group. Overrides check configuration.
    EnforceSchedulingStrategy CheckGroupV2EnforceSchedulingStrategy
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    EnvironmentVariables List<CheckGroupV2EnvironmentVariable>
    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 200 variables.
    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 to false.
    Name string
    The name of the check group.
    SetupScript CheckGroupV2SetupScript
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    Tags 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.
    TeardownScript CheckGroupV2TeardownScript
    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 to true.
    ApiCheckDefaults CheckGroupV2ApiCheckDefaultsArgs
    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.
    DefaultRuntime CheckGroupV2DefaultRuntimeArgs
    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.
    EnforceAlertSettings CheckGroupV2EnforceAlertSettingsArgs
    Enforces alert settings for the whole group. Overrides check configuration.
    EnforceLocations CheckGroupV2EnforceLocationsArgs
    Enforces public and private locations for the whole group. Overrides check configuration.
    EnforceRetryStrategy CheckGroupV2EnforceRetryStrategyArgs
    Enforces a retry strategy for the whole group. Overrides check configuration.
    EnforceSchedulingStrategy CheckGroupV2EnforceSchedulingStrategyArgs
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    EnvironmentVariables []CheckGroupV2EnvironmentVariableArgs
    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 200 variables.
    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 to false.
    Name string
    The name of the check group.
    SetupScript CheckGroupV2SetupScriptArgs
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    Tags []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.
    TeardownScript CheckGroupV2TeardownScriptArgs
    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 to true.
    api_check_defaults object
    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_settings object
    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_strategy object
    Enforces a retry strategy for the whole group. Overrides check configuration.
    enforce_scheduling_strategy object
    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 200 variables.
    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 to false.
    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.
    tags 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 to true.
    apiCheckDefaults CheckGroupV2ApiCheckDefaults
    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.
    defaultRuntime CheckGroupV2DefaultRuntime
    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.
    enforceAlertSettings CheckGroupV2EnforceAlertSettings
    Enforces alert settings for the whole group. Overrides check configuration.
    enforceLocations CheckGroupV2EnforceLocations
    Enforces public and private locations for the whole group. Overrides check configuration.
    enforceRetryStrategy CheckGroupV2EnforceRetryStrategy
    Enforces a retry strategy for the whole group. Overrides check configuration.
    enforceSchedulingStrategy CheckGroupV2EnforceSchedulingStrategy
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    environmentVariables List<CheckGroupV2EnvironmentVariable>
    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 200 variables.
    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 to false.
    name String
    The name of the check group.
    setupScript CheckGroupV2SetupScript
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    tags 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.
    teardownScript CheckGroupV2TeardownScript
    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 to true.
    apiCheckDefaults CheckGroupV2ApiCheckDefaults
    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.
    defaultRuntime CheckGroupV2DefaultRuntime
    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.
    enforceAlertSettings CheckGroupV2EnforceAlertSettings
    Enforces alert settings for the whole group. Overrides check configuration.
    enforceLocations CheckGroupV2EnforceLocations
    Enforces public and private locations for the whole group. Overrides check configuration.
    enforceRetryStrategy CheckGroupV2EnforceRetryStrategy
    Enforces a retry strategy for the whole group. Overrides check configuration.
    enforceSchedulingStrategy CheckGroupV2EnforceSchedulingStrategy
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    environmentVariables CheckGroupV2EnvironmentVariable[]
    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 200 variables.
    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 to false.
    name string
    The name of the check group.
    setupScript CheckGroupV2SetupScript
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    tags 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.
    teardownScript CheckGroupV2TeardownScript
    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 to true.
    api_check_defaults CheckGroupV2ApiCheckDefaultsArgs
    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 CheckGroupV2DefaultRuntimeArgs
    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_settings CheckGroupV2EnforceAlertSettingsArgs
    Enforces alert settings for the whole group. Overrides check configuration.
    enforce_locations CheckGroupV2EnforceLocationsArgs
    Enforces public and private locations for the whole group. Overrides check configuration.
    enforce_retry_strategy CheckGroupV2EnforceRetryStrategyArgs
    Enforces a retry strategy for the whole group. Overrides check configuration.
    enforce_scheduling_strategy CheckGroupV2EnforceSchedulingStrategyArgs
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    environment_variables Sequence[CheckGroupV2EnvironmentVariableArgs]
    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 200 variables.
    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 to false.
    name str
    The name of the check group.
    setup_script CheckGroupV2SetupScriptArgs
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    tags 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 CheckGroupV2TeardownScriptArgs
    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 to true.
    apiCheckDefaults Property Map
    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.
    defaultRuntime 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.
    enforceAlertSettings Property Map
    Enforces alert settings for the whole group. Overrides check configuration.
    enforceLocations Property Map
    Enforces public and private locations for the whole group. Overrides check configuration.
    enforceRetryStrategy Property Map
    Enforces a retry strategy for the whole group. Overrides check configuration.
    enforceSchedulingStrategy Property Map
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    environmentVariables 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 200 variables.
    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 to false.
    name String
    The name of the check group.
    setupScript Property Map
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    tags 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.
    teardownScript 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) -> CheckGroupV2
    func 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.
    The following state arguments are supported:
    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 to true.
    ApiCheckDefaults CheckGroupV2ApiCheckDefaults
    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.
    DefaultRuntime CheckGroupV2DefaultRuntime
    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.
    EnforceAlertSettings CheckGroupV2EnforceAlertSettings
    Enforces alert settings for the whole group. Overrides check configuration.
    EnforceLocations CheckGroupV2EnforceLocations
    Enforces public and private locations for the whole group. Overrides check configuration.
    EnforceRetryStrategy CheckGroupV2EnforceRetryStrategy
    Enforces a retry strategy for the whole group. Overrides check configuration.
    EnforceSchedulingStrategy CheckGroupV2EnforceSchedulingStrategy
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    EnvironmentVariables List<CheckGroupV2EnvironmentVariable>
    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 200 variables.
    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 to false.
    Name string
    The name of the check group.
    SetupScript CheckGroupV2SetupScript
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    Tags 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.
    TeardownScript CheckGroupV2TeardownScript
    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 to true.
    ApiCheckDefaults CheckGroupV2ApiCheckDefaultsArgs
    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.
    DefaultRuntime CheckGroupV2DefaultRuntimeArgs
    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.
    EnforceAlertSettings CheckGroupV2EnforceAlertSettingsArgs
    Enforces alert settings for the whole group. Overrides check configuration.
    EnforceLocations CheckGroupV2EnforceLocationsArgs
    Enforces public and private locations for the whole group. Overrides check configuration.
    EnforceRetryStrategy CheckGroupV2EnforceRetryStrategyArgs
    Enforces a retry strategy for the whole group. Overrides check configuration.
    EnforceSchedulingStrategy CheckGroupV2EnforceSchedulingStrategyArgs
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    EnvironmentVariables []CheckGroupV2EnvironmentVariableArgs
    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 200 variables.
    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 to false.
    Name string
    The name of the check group.
    SetupScript CheckGroupV2SetupScriptArgs
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    Tags []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.
    TeardownScript CheckGroupV2TeardownScriptArgs
    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 to true.
    api_check_defaults object
    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_settings object
    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_strategy object
    Enforces a retry strategy for the whole group. Overrides check configuration.
    enforce_scheduling_strategy object
    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 200 variables.
    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 to false.
    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.
    tags 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 to true.
    apiCheckDefaults CheckGroupV2ApiCheckDefaults
    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.
    defaultRuntime CheckGroupV2DefaultRuntime
    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.
    enforceAlertSettings CheckGroupV2EnforceAlertSettings
    Enforces alert settings for the whole group. Overrides check configuration.
    enforceLocations CheckGroupV2EnforceLocations
    Enforces public and private locations for the whole group. Overrides check configuration.
    enforceRetryStrategy CheckGroupV2EnforceRetryStrategy
    Enforces a retry strategy for the whole group. Overrides check configuration.
    enforceSchedulingStrategy CheckGroupV2EnforceSchedulingStrategy
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    environmentVariables List<CheckGroupV2EnvironmentVariable>
    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 200 variables.
    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 to false.
    name String
    The name of the check group.
    setupScript CheckGroupV2SetupScript
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    tags 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.
    teardownScript CheckGroupV2TeardownScript
    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 to true.
    apiCheckDefaults CheckGroupV2ApiCheckDefaults
    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.
    defaultRuntime CheckGroupV2DefaultRuntime
    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.
    enforceAlertSettings CheckGroupV2EnforceAlertSettings
    Enforces alert settings for the whole group. Overrides check configuration.
    enforceLocations CheckGroupV2EnforceLocations
    Enforces public and private locations for the whole group. Overrides check configuration.
    enforceRetryStrategy CheckGroupV2EnforceRetryStrategy
    Enforces a retry strategy for the whole group. Overrides check configuration.
    enforceSchedulingStrategy CheckGroupV2EnforceSchedulingStrategy
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    environmentVariables CheckGroupV2EnvironmentVariable[]
    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 200 variables.
    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 to false.
    name string
    The name of the check group.
    setupScript CheckGroupV2SetupScript
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    tags 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.
    teardownScript CheckGroupV2TeardownScript
    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 to true.
    api_check_defaults CheckGroupV2ApiCheckDefaultsArgs
    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 CheckGroupV2DefaultRuntimeArgs
    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_settings CheckGroupV2EnforceAlertSettingsArgs
    Enforces alert settings for the whole group. Overrides check configuration.
    enforce_locations CheckGroupV2EnforceLocationsArgs
    Enforces public and private locations for the whole group. Overrides check configuration.
    enforce_retry_strategy CheckGroupV2EnforceRetryStrategyArgs
    Enforces a retry strategy for the whole group. Overrides check configuration.
    enforce_scheduling_strategy CheckGroupV2EnforceSchedulingStrategyArgs
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    environment_variables Sequence[CheckGroupV2EnvironmentVariableArgs]
    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 200 variables.
    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 to false.
    name str
    The name of the check group.
    setup_script CheckGroupV2SetupScriptArgs
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    tags 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 CheckGroupV2TeardownScriptArgs
    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 to true.
    apiCheckDefaults Property Map
    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.
    defaultRuntime 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.
    enforceAlertSettings Property Map
    Enforces alert settings for the whole group. Overrides check configuration.
    enforceLocations Property Map
    Enforces public and private locations for the whole group. Overrides check configuration.
    enforceRetryStrategy Property Map
    Enforces a retry strategy for the whole group. Overrides check configuration.
    enforceSchedulingStrategy Property Map
    Enforces a scheduling strategy for the whole group. Overrides check configuration.
    environmentVariables 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 200 variables.
    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 to false.
    name String
    The name of the check group.
    setupScript Property Map
    A script to run in the setup phase of an API check. Runs in addition to the check's own setup script.
    tags 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.
    teardownScript 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_URL variable in all group checks.
    Assertions List<CheckGroupV2ApiCheckDefaultsAssertion>
    Default assertions for API checks in this group.
    BasicAuth CheckGroupV2ApiCheckDefaultsBasicAuth
    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.
    QueryParameters 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_URL variable in all group checks.
    Assertions []CheckGroupV2ApiCheckDefaultsAssertion
    Default assertions for API checks in this group.
    BasicAuth CheckGroupV2ApiCheckDefaultsBasicAuth
    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.
    QueryParameters 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_URL variable 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_URL variable in all group checks.
    assertions List<CheckGroupV2ApiCheckDefaultsAssertion>
    Default assertions for API checks in this group.
    basicAuth CheckGroupV2ApiCheckDefaultsBasicAuth
    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.
    queryParameters 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_URL variable in all group checks.
    assertions CheckGroupV2ApiCheckDefaultsAssertion[]
    Default assertions for API checks in this group.
    basicAuth CheckGroupV2ApiCheckDefaultsBasicAuth
    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.
    queryParameters {[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_URL variable in all group checks.
    assertions Sequence[CheckGroupV2ApiCheckDefaultsAssertion]
    Default assertions for API checks in this group.
    basic_auth CheckGroupV2ApiCheckDefaultsBasicAuth
    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_URL variable in all group checks.
    assertions List<Property Map>
    Default assertions for API checks in this group.
    basicAuth 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.
    queryParameters 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_NULL and NOT_NULL.
    Source string
    The source of the asserted value. Possible values are STATUS_CODE, JSON_BODY, HEADERS, TEXT_BODY and RESPONSE_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_NULL and NOT_NULL.
    Source string
    The source of the asserted value. Possible values are STATUS_CODE, JSON_BODY, HEADERS, TEXT_BODY and RESPONSE_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_NULL and NOT_NULL.
    source string
    The source of the asserted value. Possible values are STATUS_CODE, JSON_BODY, HEADERS, TEXT_BODY and RESPONSE_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_NULL and NOT_NULL.
    source String
    The source of the asserted value. Possible values are STATUS_CODE, JSON_BODY, HEADERS, TEXT_BODY and RESPONSE_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_NULL and NOT_NULL.
    source string
    The source of the asserted value. Possible values are STATUS_CODE, JSON_BODY, HEADERS, TEXT_BODY and RESPONSE_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_NULL and NOT_NULL.
    source str
    The source of the asserted value. Possible values are STATUS_CODE, JSON_BODY, HEADERS, TEXT_BODY and RESPONSE_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_NULL and NOT_NULL.
    source String
    The source of the asserted value. Possible values are STATUS_CODE, JSON_BODY, HEADERS, TEXT_BODY and RESPONSE_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

    Password string
    The basic auth password.
    Username string
    The basic auth username.
    Password string
    The basic auth password.
    Username string
    The basic auth username.
    password string
    The basic auth password.
    username string
    The basic auth username.
    password String
    The basic auth password.
    username String
    The basic auth username.
    password string
    The basic auth password.
    username string
    The basic auth username.
    password str
    The basic auth password.
    username str
    The basic auth username.
    password String
    The basic auth password.
    username String
    The basic auth username.

    CheckGroupV2DefaultRuntime, CheckGroupV2DefaultRuntimeArgs

    RuntimeId string
    The runtime ID.
    RuntimeId string
    The runtime ID.
    runtime_id string
    The runtime ID.
    runtimeId String
    The runtime ID.
    runtimeId string
    The runtime ID.
    runtime_id str
    The runtime ID.
    runtimeId String
    The runtime ID.

    CheckGroupV2EnforceAlertSettings, CheckGroupV2EnforceAlertSettingsArgs

    Enabled bool
    Determines whether the enforced alert settings should be active.
    AlertChannelSubscriptions List<CheckGroupV2EnforceAlertSettingsAlertChannelSubscription>
    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.
    AlertSettings CheckGroupV2EnforceAlertSettingsAlertSettings
    Determines the alert escalation policy for the checks and monitors in the group.
    UseGlobalAlertSettings bool
    When true, the account level alert settings are used instead of the alertSettings of this check group. Defaults to true when alertSettings is not set, and to false when it is. The value is derived only while enabled is true. 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.
    AlertChannelSubscriptions []CheckGroupV2EnforceAlertSettingsAlertChannelSubscription
    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.
    AlertSettings CheckGroupV2EnforceAlertSettingsAlertSettings
    Determines the alert escalation policy for the checks and monitors in the group.
    UseGlobalAlertSettings bool
    When true, the account level alert settings are used instead of the alertSettings of this check group. Defaults to true when alertSettings is not set, and to false when it is. The value is derived only while enabled is true. 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_subscriptions list(object)
    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_alert_settings bool
    When true, the account level alert settings are used instead of the alertSettings of this check group. Defaults to true when alertSettings is not set, and to false when it is. The value is derived only while enabled is true. 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.
    alertChannelSubscriptions List<CheckGroupV2EnforceAlertSettingsAlertChannelSubscription>
    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.
    alertSettings CheckGroupV2EnforceAlertSettingsAlertSettings
    Determines the alert escalation policy for the checks and monitors in the group.
    useGlobalAlertSettings Boolean
    When true, the account level alert settings are used instead of the alertSettings of this check group. Defaults to true when alertSettings is not set, and to false when it is. The value is derived only while enabled is true. 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.
    alertChannelSubscriptions CheckGroupV2EnforceAlertSettingsAlertChannelSubscription[]
    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.
    alertSettings CheckGroupV2EnforceAlertSettingsAlertSettings
    Determines the alert escalation policy for the checks and monitors in the group.
    useGlobalAlertSettings boolean
    When true, the account level alert settings are used instead of the alertSettings of this check group. Defaults to true when alertSettings is not set, and to false when it is. The value is derived only while enabled is true. 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_subscriptions Sequence[CheckGroupV2EnforceAlertSettingsAlertChannelSubscription]
    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 CheckGroupV2EnforceAlertSettingsAlertSettings
    Determines the alert escalation policy for the checks and monitors in the group.
    use_global_alert_settings bool
    When true, the account level alert settings are used instead of the alertSettings of this check group. Defaults to true when alertSettings is not set, and to false when it is. The value is derived only while enabled is true. 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.
    alertChannelSubscriptions List<Property Map>
    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.
    alertSettings Property Map
    Determines the alert escalation policy for the checks and monitors in the group.
    useGlobalAlertSettings Boolean
    When true, the account level alert settings are used instead of the alertSettings of this check group. Defaults to true when alertSettings is not set, and to false when it is. The value is derived only while enabled is true. 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.
    ChannelId int
    The ID of the alert channel.
    Activated bool
    Whether an alert should be sent to this channel.
    ChannelId int
    The ID of the alert channel.
    activated bool
    Whether an alert should be sent to this channel.
    channel_id number
    The ID of the alert channel.
    activated Boolean
    Whether an alert should be sent to this channel.
    channelId Integer
    The ID of the alert channel.
    activated boolean
    Whether an alert should be sent to this channel.
    channelId 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.
    activated Boolean
    Whether an alert should be sent to this channel.
    channelId Number
    The ID of the alert channel.

    CheckGroupV2EnforceAlertSettingsAlertSettings, CheckGroupV2EnforceAlertSettingsAlertSettingsArgs

    EscalationType string
    Determines the type of escalation to use. Possible values are RUN_BASED and TIME_BASED. Defaults to RUN_BASED.
    ParallelRunFailureThreshold CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThreshold
    Configuration for parallel run failure threshold.
    Reminders CheckGroupV2EnforceAlertSettingsAlertSettingsReminders
    Defines how often to send reminder notifications after the initial alert.
    RunBasedEscalation CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalation
    Configuration for run-based escalation.
    TimeBasedEscalation CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalation
    Configuration for time-based escalation.
    EscalationType string
    Determines the type of escalation to use. Possible values are RUN_BASED and TIME_BASED. Defaults to RUN_BASED.
    ParallelRunFailureThreshold CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThreshold
    Configuration for parallel run failure threshold.
    Reminders CheckGroupV2EnforceAlertSettingsAlertSettingsReminders
    Defines how often to send reminder notifications after the initial alert.
    RunBasedEscalation CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalation
    Configuration for run-based escalation.
    TimeBasedEscalation CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalation
    Configuration for time-based escalation.
    escalation_type string
    Determines the type of escalation to use. Possible values are RUN_BASED and TIME_BASED. Defaults to RUN_BASED.
    parallel_run_failure_threshold object
    Configuration for parallel run failure threshold.
    reminders object
    Defines how often to send reminder notifications after the initial alert.
    run_based_escalation object
    Configuration for run-based escalation.
    time_based_escalation object
    Configuration for time-based escalation.
    escalationType String
    Determines the type of escalation to use. Possible values are RUN_BASED and TIME_BASED. Defaults to RUN_BASED.
    parallelRunFailureThreshold CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThreshold
    Configuration for parallel run failure threshold.
    reminders CheckGroupV2EnforceAlertSettingsAlertSettingsReminders
    Defines how often to send reminder notifications after the initial alert.
    runBasedEscalation CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalation
    Configuration for run-based escalation.
    timeBasedEscalation CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalation
    Configuration for time-based escalation.
    escalationType string
    Determines the type of escalation to use. Possible values are RUN_BASED and TIME_BASED. Defaults to RUN_BASED.
    parallelRunFailureThreshold CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThreshold
    Configuration for parallel run failure threshold.
    reminders CheckGroupV2EnforceAlertSettingsAlertSettingsReminders
    Defines how often to send reminder notifications after the initial alert.
    runBasedEscalation CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalation
    Configuration for run-based escalation.
    timeBasedEscalation CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalation
    Configuration for time-based escalation.
    escalation_type str
    Determines the type of escalation to use. Possible values are RUN_BASED and TIME_BASED. Defaults to RUN_BASED.
    parallel_run_failure_threshold CheckGroupV2EnforceAlertSettingsAlertSettingsParallelRunFailureThreshold
    Configuration for parallel run failure threshold.
    reminders CheckGroupV2EnforceAlertSettingsAlertSettingsReminders
    Defines how often to send reminder notifications after the initial alert.
    run_based_escalation CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalation
    Configuration for run-based escalation.
    time_based_escalation CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalation
    Configuration for time-based escalation.
    escalationType String
    Determines the type of escalation to use. Possible values are RUN_BASED and TIME_BASED. Defaults to RUN_BASED.
    parallelRunFailureThreshold Property Map
    Configuration for parallel run failure threshold.
    reminders Property Map
    Defines how often to send reminder notifications after the initial alert.
    runBasedEscalation Property Map
    Configuration for run-based escalation.
    timeBasedEscalation Property Map
    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, 90 and 100. Defaults to 10.
    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, 90 and 100. Defaults to 10.
    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, 90 and 100. Defaults to 10.
    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, 90 and 100. Defaults to 10.
    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, 90 and 100. Defaults to 10.
    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, 90 and 100. Defaults to 10.
    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, 90 and 100. Defaults to 10.

    CheckGroupV2EnforceAlertSettingsAlertSettingsReminders, CheckGroupV2EnforceAlertSettingsAlertSettingsRemindersArgs

    Amount int
    Number of reminder notifications to send. Possible values are 0 (disabled), 1, 2, 3, 4, 5 and 100000 (unlimited). Defaults to 0.
    Interval int
    Interval between reminder notifications in minutes. Possible values are 5, 10, 15 and 30. Defaults to 5.
    Amount int
    Number of reminder notifications to send. Possible values are 0 (disabled), 1, 2, 3, 4, 5 and 100000 (unlimited). Defaults to 0.
    Interval int
    Interval between reminder notifications in minutes. Possible values are 5, 10, 15 and 30. Defaults to 5.
    amount number
    Number of reminder notifications to send. Possible values are 0 (disabled), 1, 2, 3, 4, 5 and 100000 (unlimited). Defaults to 0.
    interval number
    Interval between reminder notifications in minutes. Possible values are 5, 10, 15 and 30. Defaults to 5.
    amount Integer
    Number of reminder notifications to send. Possible values are 0 (disabled), 1, 2, 3, 4, 5 and 100000 (unlimited). Defaults to 0.
    interval Integer
    Interval between reminder notifications in minutes. Possible values are 5, 10, 15 and 30. Defaults to 5.
    amount number
    Number of reminder notifications to send. Possible values are 0 (disabled), 1, 2, 3, 4, 5 and 100000 (unlimited). Defaults to 0.
    interval number
    Interval between reminder notifications in minutes. Possible values are 5, 10, 15 and 30. Defaults to 5.
    amount int
    Number of reminder notifications to send. Possible values are 0 (disabled), 1, 2, 3, 4, 5 and 100000 (unlimited). Defaults to 0.
    interval int
    Interval between reminder notifications in minutes. Possible values are 5, 10, 15 and 30. Defaults to 5.
    amount Number
    Number of reminder notifications to send. Possible values are 0 (disabled), 1, 2, 3, 4, 5 and 100000 (unlimited). Defaults to 0.
    interval Number
    Interval between reminder notifications in minutes. Possible values are 5, 10, 15 and 30. Defaults to 5.

    CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalation, CheckGroupV2EnforceAlertSettingsAlertSettingsRunBasedEscalationArgs

    FailedRunThreshold int
    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 1 and 5. Defaults to 1.
    FailedRunThreshold int
    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 1 and 5. Defaults to 1.
    failed_run_threshold number
    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 1 and 5. Defaults to 1.
    failedRunThreshold Integer
    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 1 and 5. Defaults to 1.
    failedRunThreshold number
    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 1 and 5. Defaults to 1.
    failed_run_threshold int
    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 1 and 5. Defaults to 1.
    failedRunThreshold Number
    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 1 and 5. Defaults to 1.

    CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalation, CheckGroupV2EnforceAlertSettingsAlertSettingsTimeBasedEscalationArgs

    MinutesFailingThreshold int
    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, 15 and 30. Defaults to 5.
    MinutesFailingThreshold int
    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, 15 and 30. Defaults to 5.
    minutes_failing_threshold number
    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, 15 and 30. Defaults to 5.
    minutesFailingThreshold Integer
    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, 15 and 30. Defaults to 5.
    minutesFailingThreshold number
    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, 15 and 30. Defaults to 5.
    minutes_failing_threshold int
    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, 15 and 30. Defaults to 5.
    minutesFailingThreshold Number
    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, 15 and 30. Defaults to 5.

    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.
    PrivateLocations 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.
    PrivateLocations []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.
    privateLocations 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.
    privateLocations 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.
    privateLocations List<String>
    An array of one or more private locations slugs.

    CheckGroupV2EnforceRetryStrategy, CheckGroupV2EnforceRetryStrategyArgs

    Enabled bool
    Determines whether the enforced retry strategy should be active.
    RetryStrategy CheckGroupV2EnforceRetryStrategyRetryStrategy
    A strategy for retrying failed check/monitor runs.
    Enabled bool
    Determines whether the enforced retry strategy should be active.
    RetryStrategy CheckGroupV2EnforceRetryStrategyRetryStrategy
    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.
    retryStrategy CheckGroupV2EnforceRetryStrategyRetryStrategy
    A strategy for retrying failed check/monitor runs.
    enabled boolean
    Determines whether the enforced retry strategy should be active.
    retryStrategy CheckGroupV2EnforceRetryStrategyRetryStrategy
    A strategy for retrying failed check/monitor runs.
    enabled bool
    Determines whether the enforced retry strategy should be active.
    retry_strategy CheckGroupV2EnforceRetryStrategyRetryStrategy
    A strategy for retrying failed check/monitor runs.
    enabled Boolean
    Determines whether the enforced retry strategy should be active.
    retryStrategy 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_RETRY and NO_RETRIES.
    BaseBackoffSeconds int
    The number of seconds to wait before the first retry attempt. Must be at least 0. Defaults to 60. Not available when type is NO_RETRIES.
    MaxDurationSeconds int
    The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between 0 and 600. Defaults to 600. Available when type is FIXED, LINEAR or EXPONENTIAL.
    MaxRetries int
    The maximum number of times to retry the check/monitor. Possible values are between 1 and 10. Defaults to 2. Available when type is FIXED, LINEAR or EXPONENTIAL.
    OnlyOn CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOn
    Apply the retry strategy only if the defined conditions match.
    SameRegion bool
    Whether retries should be run in the same region as the initial check/monitor run. Defaults to true. Not available when type is NO_RETRIES.
    Type string
    Determines which type of retry strategy to use. Possible values are FIXED, LINEAR, EXPONENTIAL, SINGLE_RETRY and NO_RETRIES.
    BaseBackoffSeconds int
    The number of seconds to wait before the first retry attempt. Must be at least 0. Defaults to 60. Not available when type is NO_RETRIES.
    MaxDurationSeconds int
    The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between 0 and 600. Defaults to 600. Available when type is FIXED, LINEAR or EXPONENTIAL.
    MaxRetries int
    The maximum number of times to retry the check/monitor. Possible values are between 1 and 10. Defaults to 2. Available when type is FIXED, LINEAR or EXPONENTIAL.
    OnlyOn CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOn
    Apply the retry strategy only if the defined conditions match.
    SameRegion bool
    Whether retries should be run in the same region as the initial check/monitor run. Defaults to true. Not available when type is NO_RETRIES.
    type string
    Determines which type of retry strategy to use. Possible values are FIXED, LINEAR, EXPONENTIAL, SINGLE_RETRY and NO_RETRIES.
    base_backoff_seconds number
    The number of seconds to wait before the first retry attempt. Must be at least 0. Defaults to 60. Not available when type is NO_RETRIES.
    max_duration_seconds number
    The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between 0 and 600. Defaults to 600. Available when type is FIXED, LINEAR or EXPONENTIAL.
    max_retries number
    The maximum number of times to retry the check/monitor. Possible values are between 1 and 10. Defaults to 2. Available when type is FIXED, LINEAR or EXPONENTIAL.
    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 when type is NO_RETRIES.
    type String
    Determines which type of retry strategy to use. Possible values are FIXED, LINEAR, EXPONENTIAL, SINGLE_RETRY and NO_RETRIES.
    baseBackoffSeconds Integer
    The number of seconds to wait before the first retry attempt. Must be at least 0. Defaults to 60. Not available when type is NO_RETRIES.
    maxDurationSeconds Integer
    The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between 0 and 600. Defaults to 600. Available when type is FIXED, LINEAR or EXPONENTIAL.
    maxRetries Integer
    The maximum number of times to retry the check/monitor. Possible values are between 1 and 10. Defaults to 2. Available when type is FIXED, LINEAR or EXPONENTIAL.
    onlyOn CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOn
    Apply the retry strategy only if the defined conditions match.
    sameRegion Boolean
    Whether retries should be run in the same region as the initial check/monitor run. Defaults to true. Not available when type is NO_RETRIES.
    type string
    Determines which type of retry strategy to use. Possible values are FIXED, LINEAR, EXPONENTIAL, SINGLE_RETRY and NO_RETRIES.
    baseBackoffSeconds number
    The number of seconds to wait before the first retry attempt. Must be at least 0. Defaults to 60. Not available when type is NO_RETRIES.
    maxDurationSeconds number
    The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between 0 and 600. Defaults to 600. Available when type is FIXED, LINEAR or EXPONENTIAL.
    maxRetries number
    The maximum number of times to retry the check/monitor. Possible values are between 1 and 10. Defaults to 2. Available when type is FIXED, LINEAR or EXPONENTIAL.
    onlyOn CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOn
    Apply the retry strategy only if the defined conditions match.
    sameRegion boolean
    Whether retries should be run in the same region as the initial check/monitor run. Defaults to true. Not available when type is NO_RETRIES.
    type str
    Determines which type of retry strategy to use. Possible values are FIXED, LINEAR, EXPONENTIAL, SINGLE_RETRY and NO_RETRIES.
    base_backoff_seconds int
    The number of seconds to wait before the first retry attempt. Must be at least 0. Defaults to 60. Not available when type is NO_RETRIES.
    max_duration_seconds int
    The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between 0 and 600. Defaults to 600. Available when type is FIXED, LINEAR or EXPONENTIAL.
    max_retries int
    The maximum number of times to retry the check/monitor. Possible values are between 1 and 10. Defaults to 2. Available when type is FIXED, LINEAR or EXPONENTIAL.
    only_on CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOn
    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 when type is NO_RETRIES.
    type String
    Determines which type of retry strategy to use. Possible values are FIXED, LINEAR, EXPONENTIAL, SINGLE_RETRY and NO_RETRIES.
    baseBackoffSeconds Number
    The number of seconds to wait before the first retry attempt. Must be at least 0. Defaults to 60. Not available when type is NO_RETRIES.
    maxDurationSeconds Number
    The total amount of time to continue retrying the check/monitor, in seconds. Possible values are between 0 and 600. Defaults to 600. Available when type is FIXED, LINEAR or EXPONENTIAL.
    maxRetries Number
    The maximum number of times to retry the check/monitor. Possible values are between 1 and 10. Defaults to 2. Available when type is FIXED, LINEAR or EXPONENTIAL.
    onlyOn Property Map
    Apply the retry strategy only if the defined conditions match.
    sameRegion Boolean
    Whether retries should be run in the same region as the initial check/monitor run. Defaults to true. Not available when type is NO_RETRIES.

    CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOn, CheckGroupV2EnforceRetryStrategyRetryStrategyOnlyOnArgs

    NetworkError bool
    When true, retry only if the cause of the failure is a network error. Defaults to false.
    NetworkError bool
    When true, retry only if the cause of the failure is a network error. Defaults to false.
    network_error bool
    When true, retry only if the cause of the failure is a network error. Defaults to false.
    networkError Boolean
    When true, retry only if the cause of the failure is a network error. Defaults to false.
    networkError boolean
    When true, retry only if the cause of the failure is a network error. Defaults to false.
    network_error bool
    When true, retry only if the cause of the failure is a network error. Defaults to false.
    networkError Boolean
    When true, retry only if the cause of the failure is a network error. Defaults to false.

    CheckGroupV2EnforceSchedulingStrategy, CheckGroupV2EnforceSchedulingStrategyArgs

    Enabled bool
    Determines whether the enforced scheduling strategy should be active.
    RunParallel 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.
    RunParallel 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.
    runParallel 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.
    runParallel 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.
    runParallel 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 64000 bytes in UTF-8, or 31744 bytes for a secret or locked variable. A secret value must be at least 3 characters.
    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 64000 bytes in UTF-8, or 31744 bytes for a secret or locked variable. A secret value must be at least 3 characters.
    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 64000 bytes in UTF-8, or 31744 bytes for a secret or locked variable. A secret value must be at least 3 characters.
    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 64000 bytes in UTF-8, or 31744 bytes for a secret or locked variable. A secret value must be at least 3 characters.
    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 64000 bytes in UTF-8, or 31744 bytes for a secret or locked variable. A secret value must be at least 3 characters.
    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 64000 bytes in UTF-8, or 31744 bytes for a secret or locked variable. A secret value must be at least 3 characters.
    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 64000 bytes in UTF-8, or 31744 bytes for a secret or locked variable. A secret value must be at least 3 characters.
    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

    InlineScript string
    A valid piece of Node.js code.
    SnippetId int
    The ID of a code snippet. Code snippets are not available for new plans.
    InlineScript string
    A valid piece of Node.js code.
    SnippetId 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.
    inlineScript String
    A valid piece of Node.js code.
    snippetId Integer
    The ID of a code snippet. Code snippets are not available for new plans.
    inlineScript string
    A valid piece of Node.js code.
    snippetId 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.
    inlineScript String
    A valid piece of Node.js code.
    snippetId Number
    The ID of a code snippet. Code snippets are not available for new plans.

    CheckGroupV2TeardownScript, CheckGroupV2TeardownScriptArgs

    InlineScript string
    A valid piece of Node.js code.
    SnippetId int
    The ID of a code snippet. Code snippets are not available for new plans.
    InlineScript string
    A valid piece of Node.js code.
    SnippetId 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.
    inlineScript String
    A valid piece of Node.js code.
    snippetId Integer
    The ID of a code snippet. Code snippets are not available for new plans.
    inlineScript string
    A valid piece of Node.js code.
    snippetId 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.
    inlineScript String
    A valid piece of Node.js code.
    snippetId 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 checkly Terraform Provider.
    checkly logo Checkly
    Viewing docs for Checkly v3.0.0
    published on Monday, Nov 16, 2026 by Checkly

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial