1. Registry
  2. Packages
  3. Checkly
  4. API Docs
  5. TcpMonitor
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

    TCP checks allow you to monitor remote endpoints at a lower level.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkly from "@checkly/pulumi";
    
    // Basic TCP monitor
    const example_tcp_monitor = new checkly.TcpMonitor("example-tcp-monitor", {
        name: "Example TCP monitor",
        activated: true,
        shouldFail: false,
        frequency: 1,
        useGlobalAlertSettings: true,
        locations: ["us-west-1"],
        request: {
            hostname: "api.checklyhq.com",
            port: 80,
        },
    });
    // A more complex example using assertions and setting alerts
    const example_tcp_monitor_2 = new checkly.TcpMonitor("example-tcp-monitor-2", {
        name: "Example TCP monitor 2",
        activated: true,
        shouldFail: true,
        frequency: 1,
        degradedResponseTime: 4000,
        maxResponseTime: 5000,
        locations: [
            "us-west-1",
            "ap-northeast-1",
            "ap-south-1",
        ],
        alertSettings: {
            escalationType: "RUN_BASED",
            runBasedEscalation: {
                failedRunThreshold: 1,
            },
            reminders: {
                amount: 1,
            },
        },
        retryStrategy: {
            type: "FIXED",
            baseBackoffSeconds: 60,
            maxDurationSeconds: 600,
            maxRetries: 3,
            sameRegion: false,
        },
        request: {
            hostname: "api.checklyhq.com",
            port: 80,
            data: "hello",
            assertions: [
                {
                    source: "RESPONSE_DATA",
                    property: "",
                    comparison: "CONTAINS",
                    target: "welcome",
                },
                {
                    source: "RESPONSE_TIME",
                    property: "",
                    comparison: "LESS_THAN",
                    target: "2000",
                },
            ],
        },
    });
    
    import pulumi
    import pulumi_checkly as checkly
    
    # Basic TCP monitor
    example_tcp_monitor = checkly.TcpMonitor("example-tcp-monitor",
        name="Example TCP monitor",
        activated=True,
        should_fail=False,
        frequency=1,
        use_global_alert_settings=True,
        locations=["us-west-1"],
        request={
            "hostname": "api.checklyhq.com",
            "port": 80,
        })
    # A more complex example using assertions and setting alerts
    example_tcp_monitor_2 = checkly.TcpMonitor("example-tcp-monitor-2",
        name="Example TCP monitor 2",
        activated=True,
        should_fail=True,
        frequency=1,
        degraded_response_time=4000,
        max_response_time=5000,
        locations=[
            "us-west-1",
            "ap-northeast-1",
            "ap-south-1",
        ],
        alert_settings={
            "escalation_type": "RUN_BASED",
            "run_based_escalation": {
                "failed_run_threshold": 1,
            },
            "reminders": {
                "amount": 1,
            },
        },
        retry_strategy={
            "type": "FIXED",
            "base_backoff_seconds": 60,
            "max_duration_seconds": 600,
            "max_retries": 3,
            "same_region": False,
        },
        request={
            "hostname": "api.checklyhq.com",
            "port": 80,
            "data": "hello",
            "assertions": [
                {
                    "source": "RESPONSE_DATA",
                    "property": "",
                    "comparison": "CONTAINS",
                    "target": "welcome",
                },
                {
                    "source": "RESPONSE_TIME",
                    "property": "",
                    "comparison": "LESS_THAN",
                    "target": "2000",
                },
            ],
        })
    
    package main
    
    import (
    	"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 {
    		// Basic TCP monitor
    		_, err := checkly.NewTcpMonitor(ctx, "example-tcp-monitor", &checkly.TcpMonitorArgs{
    			Name:                   pulumi.String("Example TCP monitor"),
    			Activated:              pulumi.Bool(true),
    			ShouldFail:             pulumi.Bool(false),
    			Frequency:              pulumi.Int(1),
    			UseGlobalAlertSettings: pulumi.Bool(true),
    			Locations: pulumi.StringArray{
    				pulumi.String("us-west-1"),
    			},
    			Request: &checkly.TcpMonitorRequestArgs{
    				Hostname: pulumi.String("api.checklyhq.com"),
    				Port:     pulumi.Int(80),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// A more complex example using assertions and setting alerts
    		_, err = checkly.NewTcpMonitor(ctx, "example-tcp-monitor-2", &checkly.TcpMonitorArgs{
    			Name:                 pulumi.String("Example TCP monitor 2"),
    			Activated:            pulumi.Bool(true),
    			ShouldFail:           pulumi.Bool(true),
    			Frequency:            pulumi.Int(1),
    			DegradedResponseTime: pulumi.Int(4000),
    			MaxResponseTime:      pulumi.Int(5000),
    			Locations: pulumi.StringArray{
    				pulumi.String("us-west-1"),
    				pulumi.String("ap-northeast-1"),
    				pulumi.String("ap-south-1"),
    			},
    			AlertSettings: &checkly.TcpMonitorAlertSettingsArgs{
    				EscalationType: pulumi.String("RUN_BASED"),
    				RunBasedEscalation: &checkly.TcpMonitorAlertSettingsRunBasedEscalationArgs{
    					FailedRunThreshold: pulumi.Int(1),
    				},
    				Reminders: &checkly.TcpMonitorAlertSettingsRemindersArgs{
    					Amount: pulumi.Int(1),
    				},
    			},
    			RetryStrategy: &checkly.TcpMonitorRetryStrategyArgs{
    				Type:               pulumi.String("FIXED"),
    				BaseBackoffSeconds: pulumi.Int(60),
    				MaxDurationSeconds: pulumi.Int(600),
    				MaxRetries:         pulumi.Int(3),
    				SameRegion:         pulumi.Bool(false),
    			},
    			Request: &checkly.TcpMonitorRequestArgs{
    				Hostname: pulumi.String("api.checklyhq.com"),
    				Port:     pulumi.Int(80),
    				Data:     pulumi.String("hello"),
    				Assertions: checkly.TcpMonitorRequestAssertionArray{
    					&checkly.TcpMonitorRequestAssertionArgs{
    						Source:     pulumi.String("RESPONSE_DATA"),
    						Property:   pulumi.String(""),
    						Comparison: pulumi.String("CONTAINS"),
    						Target:     pulumi.String("welcome"),
    					},
    					&checkly.TcpMonitorRequestAssertionArgs{
    						Source:     pulumi.String("RESPONSE_TIME"),
    						Property:   pulumi.String(""),
    						Comparison: pulumi.String("LESS_THAN"),
    						Target:     pulumi.String("2000"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkly = Pulumi.Checkly;
    
    return await Deployment.RunAsync(() => 
    {
        // Basic TCP monitor
        var example_tcp_monitor = new Checkly.TcpMonitor("example-tcp-monitor", new()
        {
            Name = "Example TCP monitor",
            Activated = true,
            ShouldFail = false,
            Frequency = 1,
            UseGlobalAlertSettings = true,
            Locations = new[]
            {
                "us-west-1",
            },
            Request = new Checkly.Inputs.TcpMonitorRequestArgs
            {
                Hostname = "api.checklyhq.com",
                Port = 80,
            },
        });
    
        // A more complex example using assertions and setting alerts
        var example_tcp_monitor_2 = new Checkly.TcpMonitor("example-tcp-monitor-2", new()
        {
            Name = "Example TCP monitor 2",
            Activated = true,
            ShouldFail = true,
            Frequency = 1,
            DegradedResponseTime = 4000,
            MaxResponseTime = 5000,
            Locations = new[]
            {
                "us-west-1",
                "ap-northeast-1",
                "ap-south-1",
            },
            AlertSettings = new Checkly.Inputs.TcpMonitorAlertSettingsArgs
            {
                EscalationType = "RUN_BASED",
                RunBasedEscalation = new Checkly.Inputs.TcpMonitorAlertSettingsRunBasedEscalationArgs
                {
                    FailedRunThreshold = 1,
                },
                Reminders = new Checkly.Inputs.TcpMonitorAlertSettingsRemindersArgs
                {
                    Amount = 1,
                },
            },
            RetryStrategy = new Checkly.Inputs.TcpMonitorRetryStrategyArgs
            {
                Type = "FIXED",
                BaseBackoffSeconds = 60,
                MaxDurationSeconds = 600,
                MaxRetries = 3,
                SameRegion = false,
            },
            Request = new Checkly.Inputs.TcpMonitorRequestArgs
            {
                Hostname = "api.checklyhq.com",
                Port = 80,
                Data = "hello",
                Assertions = new[]
                {
                    new Checkly.Inputs.TcpMonitorRequestAssertionArgs
                    {
                        Source = "RESPONSE_DATA",
                        Property = "",
                        Comparison = "CONTAINS",
                        Target = "welcome",
                    },
                    new Checkly.Inputs.TcpMonitorRequestAssertionArgs
                    {
                        Source = "RESPONSE_TIME",
                        Property = "",
                        Comparison = "LESS_THAN",
                        Target = "2000",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkly.TcpMonitor;
    import com.pulumi.checkly.TcpMonitorArgs;
    import com.pulumi.checkly.inputs.TcpMonitorRequestArgs;
    import com.pulumi.checkly.inputs.TcpMonitorAlertSettingsArgs;
    import com.pulumi.checkly.inputs.TcpMonitorAlertSettingsRunBasedEscalationArgs;
    import com.pulumi.checkly.inputs.TcpMonitorAlertSettingsRemindersArgs;
    import com.pulumi.checkly.inputs.TcpMonitorRetryStrategyArgs;
    import com.pulumi.checkly.inputs.TcpMonitorRequestAssertionArgs;
    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) {
            // Basic TCP monitor
            var example_tcp_monitor = new TcpMonitor("example-tcp-monitor", TcpMonitorArgs.builder()
                .name("Example TCP monitor")
                .activated(true)
                .shouldFail(false)
                .frequency(1)
                .useGlobalAlertSettings(true)
                .locations("us-west-1")
                .request(TcpMonitorRequestArgs.builder()
                    .hostname("api.checklyhq.com")
                    .port(80)
                    .build())
                .build());
    
            // A more complex example using assertions and setting alerts
            var example_tcp_monitor_2 = new TcpMonitor("example-tcp-monitor-2", TcpMonitorArgs.builder()
                .name("Example TCP monitor 2")
                .activated(true)
                .shouldFail(true)
                .frequency(1)
                .degradedResponseTime(4000)
                .maxResponseTime(5000)
                .locations(            
                    "us-west-1",
                    "ap-northeast-1",
                    "ap-south-1")
                .alertSettings(TcpMonitorAlertSettingsArgs.builder()
                    .escalationType("RUN_BASED")
                    .runBasedEscalation(TcpMonitorAlertSettingsRunBasedEscalationArgs.builder()
                        .failedRunThreshold(1)
                        .build())
                    .reminders(TcpMonitorAlertSettingsRemindersArgs.builder()
                        .amount(1)
                        .build())
                    .build())
                .retryStrategy(TcpMonitorRetryStrategyArgs.builder()
                    .type("FIXED")
                    .baseBackoffSeconds(60)
                    .maxDurationSeconds(600)
                    .maxRetries(3)
                    .sameRegion(false)
                    .build())
                .request(TcpMonitorRequestArgs.builder()
                    .hostname("api.checklyhq.com")
                    .port(80)
                    .data("hello")
                    .assertions(                
                        TcpMonitorRequestAssertionArgs.builder()
                            .source("RESPONSE_DATA")
                            .property("")
                            .comparison("CONTAINS")
                            .target("welcome")
                            .build(),
                        TcpMonitorRequestAssertionArgs.builder()
                            .source("RESPONSE_TIME")
                            .property("")
                            .comparison("LESS_THAN")
                            .target("2000")
                            .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      # Basic TCP monitor
      example-tcp-monitor:
        type: checkly:TcpMonitor
        properties:
          name: Example TCP monitor
          activated: true
          shouldFail: false
          frequency: 1
          useGlobalAlertSettings: true
          locations:
            - us-west-1
          request:
            hostname: api.checklyhq.com
            port: 80
      # A more complex example using assertions and setting alerts
      example-tcp-monitor-2:
        type: checkly:TcpMonitor
        properties:
          name: Example TCP monitor 2
          activated: true
          shouldFail: true
          frequency: 1
          degradedResponseTime: 4000
          maxResponseTime: 5000
          locations:
            - us-west-1
            - ap-northeast-1
            - ap-south-1
          alertSettings:
            escalationType: RUN_BASED
            runBasedEscalation:
              failedRunThreshold: 1
            reminders:
              amount: 1
          retryStrategy:
            type: FIXED
            baseBackoffSeconds: 60
            maxDurationSeconds: 600
            maxRetries: 3
            sameRegion: false
          request:
            hostname: api.checklyhq.com
            port: 80
            data: hello
            assertions:
              - source: RESPONSE_DATA
                property: ""
                comparison: CONTAINS
                target: welcome
              - source: RESPONSE_TIME
                property: ""
                comparison: LESS_THAN
                target: '2000'
    
    terraform {
      required_providers {
        checkly = {
          source = "pulumi/checkly"
        }
      }
    }
    
    # Basic TCP monitor
    resource "checkly_tcp_monitor" "example-tcp-monitor" {
      lifecycle {
        create_before_destroy = true
      }
      name                      = "Example TCP monitor"
      activated                 = true
      should_fail               = false
      frequency                 = 1
      use_global_alert_settings = true
      locations                 = ["us-west-1"]
      request = {
        hostname = "api.checklyhq.com"
        port     = 80
      }
    }
    # A more complex example using assertions and setting alerts
    resource "checkly_tcp_monitor" "example-tcp-monitor-2" {
      lifecycle {
        create_before_destroy = true
      }
      name                   = "Example TCP monitor 2"
      activated              = true
      should_fail            = true
      frequency              = 1
      degraded_response_time = 4000
      max_response_time      = 5000
      locations              = ["us-west-1", "ap-northeast-1", "ap-south-1"]
      alert_settings = {
        escalation_type = "RUN_BASED"
        run_based_escalation = {
          failed_run_threshold = 1
        }
        reminders = {
          amount = 1
        }
      }
      retry_strategy = {
        type                 = "FIXED"
        base_backoff_seconds = 60
        max_duration_seconds = 600
        max_retries          = 3
        same_region          = false
      }
      request = {
        hostname = "api.checklyhq.com"
        port     = 80
        data     = "hello"
        assertions = [{
          source     = "RESPONSE_DATA"
          property   = ""
          comparison = "CONTAINS"
          target     = "welcome"
          }, {
          source     = "RESPONSE_TIME"
          property   = ""
          comparison = "LESS_THAN"
          target     = "2000"
        }]
      }
    }
    

    Create TcpMonitor Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TcpMonitor(name: string, args: TcpMonitorArgs, opts?: CustomResourceOptions);
    @overload
    def TcpMonitor(resource_name: str,
                   args: TcpMonitorArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def TcpMonitor(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   request: Optional[TcpMonitorRequestArgs] = None,
                   max_response_time: Optional[int] = None,
                   name: Optional[str] = None,
                   degraded_response_time: Optional[int] = None,
                   description: Optional[str] = None,
                   frequency: Optional[int] = None,
                   frequency_offset: Optional[int] = None,
                   group_id: Optional[int] = None,
                   group_order: Optional[int] = None,
                   locations: Optional[Sequence[str]] = None,
                   activated: Optional[bool] = None,
                   alert_settings: Optional[TcpMonitorAlertSettingsArgs] = None,
                   private_locations: Optional[Sequence[str]] = None,
                   muted: Optional[bool] = None,
                   alert_channel_subscriptions: Optional[Sequence[TcpMonitorAlertChannelSubscriptionArgs]] = None,
                   retry_strategy: Optional[TcpMonitorRetryStrategyArgs] = None,
                   run_parallel: Optional[bool] = None,
                   runtime_id: Optional[str] = None,
                   should_fail: Optional[bool] = None,
                   tags: Optional[Sequence[str]] = None,
                   trigger_incident: Optional[TcpMonitorTriggerIncidentArgs] = None,
                   use_global_alert_settings: Optional[bool] = None)
    func NewTcpMonitor(ctx *Context, name string, args TcpMonitorArgs, opts ...ResourceOption) (*TcpMonitor, error)
    public TcpMonitor(string name, TcpMonitorArgs args, CustomResourceOptions? opts = null)
    public TcpMonitor(String name, TcpMonitorArgs args)
    public TcpMonitor(String name, TcpMonitorArgs args, CustomResourceOptions options)
    
    type: checkly:TcpMonitor
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "checkly_tcp_monitor" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TcpMonitorArgs
    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 TcpMonitorArgs
    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 TcpMonitorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TcpMonitorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TcpMonitorArgs
    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 tcpMonitorResource = new Checkly.TcpMonitor("tcpMonitorResource", new()
    {
        Request = new Checkly.Inputs.TcpMonitorRequestArgs
        {
            Hostname = "string",
            Port = 0,
            Assertions = new[]
            {
                new Checkly.Inputs.TcpMonitorRequestAssertionArgs
                {
                    Comparison = "string",
                    Source = "string",
                    Property = "string",
                    Target = "string",
                },
            },
            Data = "string",
            IpFamily = "string",
        },
        MaxResponseTime = 0,
        Name = "string",
        DegradedResponseTime = 0,
        Description = "string",
        Frequency = 0,
        FrequencyOffset = 0,
        GroupId = 0,
        GroupOrder = 0,
        Locations = new[]
        {
            "string",
        },
        Activated = false,
        AlertSettings = new Checkly.Inputs.TcpMonitorAlertSettingsArgs
        {
            EscalationType = "string",
            ParallelRunFailureThreshold = new Checkly.Inputs.TcpMonitorAlertSettingsParallelRunFailureThresholdArgs
            {
                Enabled = false,
                Percentage = 0,
            },
            Reminders = new Checkly.Inputs.TcpMonitorAlertSettingsRemindersArgs
            {
                Amount = 0,
                Interval = 0,
            },
            RunBasedEscalation = new Checkly.Inputs.TcpMonitorAlertSettingsRunBasedEscalationArgs
            {
                FailedRunThreshold = 0,
            },
            TimeBasedEscalation = new Checkly.Inputs.TcpMonitorAlertSettingsTimeBasedEscalationArgs
            {
                MinutesFailingThreshold = 0,
            },
        },
        PrivateLocations = new[]
        {
            "string",
        },
        Muted = false,
        AlertChannelSubscriptions = new[]
        {
            new Checkly.Inputs.TcpMonitorAlertChannelSubscriptionArgs
            {
                Activated = false,
                ChannelId = 0,
            },
        },
        RetryStrategy = new Checkly.Inputs.TcpMonitorRetryStrategyArgs
        {
            Type = "string",
            BaseBackoffSeconds = 0,
            MaxDurationSeconds = 0,
            MaxRetries = 0,
            SameRegion = false,
        },
        RunParallel = false,
        RuntimeId = "string",
        ShouldFail = false,
        Tags = new[]
        {
            "string",
        },
        TriggerIncident = new Checkly.Inputs.TcpMonitorTriggerIncidentArgs
        {
            Description = "string",
            Name = "string",
            NotifySubscribers = false,
            ServiceId = "string",
            Severity = "string",
        },
        UseGlobalAlertSettings = false,
    });
    
    example, err := checkly.NewTcpMonitor(ctx, "tcpMonitorResource", &checkly.TcpMonitorArgs{
    	Request: &checkly.TcpMonitorRequestArgs{
    		Hostname: pulumi.String("string"),
    		Port:     pulumi.Int(0),
    		Assertions: checkly.TcpMonitorRequestAssertionArray{
    			&checkly.TcpMonitorRequestAssertionArgs{
    				Comparison: pulumi.String("string"),
    				Source:     pulumi.String("string"),
    				Property:   pulumi.String("string"),
    				Target:     pulumi.String("string"),
    			},
    		},
    		Data:     pulumi.String("string"),
    		IpFamily: pulumi.String("string"),
    	},
    	MaxResponseTime:      pulumi.Int(0),
    	Name:                 pulumi.String("string"),
    	DegradedResponseTime: pulumi.Int(0),
    	Description:          pulumi.String("string"),
    	Frequency:            pulumi.Int(0),
    	FrequencyOffset:      pulumi.Int(0),
    	GroupId:              pulumi.Int(0),
    	GroupOrder:           pulumi.Int(0),
    	Locations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Activated: pulumi.Bool(false),
    	AlertSettings: &checkly.TcpMonitorAlertSettingsArgs{
    		EscalationType: pulumi.String("string"),
    		ParallelRunFailureThreshold: &checkly.TcpMonitorAlertSettingsParallelRunFailureThresholdArgs{
    			Enabled:    pulumi.Bool(false),
    			Percentage: pulumi.Int(0),
    		},
    		Reminders: &checkly.TcpMonitorAlertSettingsRemindersArgs{
    			Amount:   pulumi.Int(0),
    			Interval: pulumi.Int(0),
    		},
    		RunBasedEscalation: &checkly.TcpMonitorAlertSettingsRunBasedEscalationArgs{
    			FailedRunThreshold: pulumi.Int(0),
    		},
    		TimeBasedEscalation: &checkly.TcpMonitorAlertSettingsTimeBasedEscalationArgs{
    			MinutesFailingThreshold: pulumi.Int(0),
    		},
    	},
    	PrivateLocations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Muted: pulumi.Bool(false),
    	AlertChannelSubscriptions: checkly.TcpMonitorAlertChannelSubscriptionArray{
    		&checkly.TcpMonitorAlertChannelSubscriptionArgs{
    			Activated: pulumi.Bool(false),
    			ChannelId: pulumi.Int(0),
    		},
    	},
    	RetryStrategy: &checkly.TcpMonitorRetryStrategyArgs{
    		Type:               pulumi.String("string"),
    		BaseBackoffSeconds: pulumi.Int(0),
    		MaxDurationSeconds: pulumi.Int(0),
    		MaxRetries:         pulumi.Int(0),
    		SameRegion:         pulumi.Bool(false),
    	},
    	RunParallel: pulumi.Bool(false),
    	RuntimeId:   pulumi.String("string"),
    	ShouldFail:  pulumi.Bool(false),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TriggerIncident: &checkly.TcpMonitorTriggerIncidentArgs{
    		Description:       pulumi.String("string"),
    		Name:              pulumi.String("string"),
    		NotifySubscribers: pulumi.Bool(false),
    		ServiceId:         pulumi.String("string"),
    		Severity:          pulumi.String("string"),
    	},
    	UseGlobalAlertSettings: pulumi.Bool(false),
    })
    
    resource "checkly_tcp_monitor" "tcpMonitorResource" {
      lifecycle {
        create_before_destroy = true
      }
      request = {
        hostname = "string"
        port     = 0
        assertions = [{
          comparison = "string"
          source     = "string"
          property   = "string"
          target     = "string"
        }]
        data      = "string"
        ip_family = "string"
      }
      max_response_time      = 0
      name                   = "string"
      degraded_response_time = 0
      description            = "string"
      frequency              = 0
      frequency_offset       = 0
      group_id               = 0
      group_order            = 0
      locations              = ["string"]
      activated              = false
      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
        }
      }
      private_locations = ["string"]
      muted             = false
      alert_channel_subscriptions {
        activated  = false
        channel_id = 0
      }
      retry_strategy = {
        type                 = "string"
        base_backoff_seconds = 0
        max_duration_seconds = 0
        max_retries          = 0
        same_region          = false
      }
      run_parallel = false
      runtime_id   = "string"
      should_fail  = false
      tags         = ["string"]
      trigger_incident = {
        description        = "string"
        name               = "string"
        notify_subscribers = false
        service_id         = "string"
        severity           = "string"
      }
      use_global_alert_settings = false
    }
    
    var tcpMonitorResource = new TcpMonitor("tcpMonitorResource", TcpMonitorArgs.builder()
        .request(TcpMonitorRequestArgs.builder()
            .hostname("string")
            .port(0)
            .assertions(TcpMonitorRequestAssertionArgs.builder()
                .comparison("string")
                .source("string")
                .property("string")
                .target("string")
                .build())
            .data("string")
            .ipFamily("string")
            .build())
        .maxResponseTime(0)
        .name("string")
        .degradedResponseTime(0)
        .description("string")
        .frequency(0)
        .frequencyOffset(0)
        .groupId(0)
        .groupOrder(0)
        .locations("string")
        .activated(false)
        .alertSettings(TcpMonitorAlertSettingsArgs.builder()
            .escalationType("string")
            .parallelRunFailureThreshold(TcpMonitorAlertSettingsParallelRunFailureThresholdArgs.builder()
                .enabled(false)
                .percentage(0)
                .build())
            .reminders(TcpMonitorAlertSettingsRemindersArgs.builder()
                .amount(0)
                .interval(0)
                .build())
            .runBasedEscalation(TcpMonitorAlertSettingsRunBasedEscalationArgs.builder()
                .failedRunThreshold(0)
                .build())
            .timeBasedEscalation(TcpMonitorAlertSettingsTimeBasedEscalationArgs.builder()
                .minutesFailingThreshold(0)
                .build())
            .build())
        .privateLocations("string")
        .muted(false)
        .alertChannelSubscriptions(TcpMonitorAlertChannelSubscriptionArgs.builder()
            .activated(false)
            .channelId(0)
            .build())
        .retryStrategy(TcpMonitorRetryStrategyArgs.builder()
            .type("string")
            .baseBackoffSeconds(0)
            .maxDurationSeconds(0)
            .maxRetries(0)
            .sameRegion(false)
            .build())
        .runParallel(false)
        .runtimeId("string")
        .shouldFail(false)
        .tags("string")
        .triggerIncident(TcpMonitorTriggerIncidentArgs.builder()
            .description("string")
            .name("string")
            .notifySubscribers(false)
            .serviceId("string")
            .severity("string")
            .build())
        .useGlobalAlertSettings(false)
        .build());
    
    tcp_monitor_resource = checkly.TcpMonitor("tcpMonitorResource",
        request={
            "hostname": "string",
            "port": 0,
            "assertions": [{
                "comparison": "string",
                "source": "string",
                "property": "string",
                "target": "string",
            }],
            "data": "string",
            "ip_family": "string",
        },
        max_response_time=0,
        name="string",
        degraded_response_time=0,
        description="string",
        frequency=0,
        frequency_offset=0,
        group_id=0,
        group_order=0,
        locations=["string"],
        activated=False,
        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,
            },
        },
        private_locations=["string"],
        muted=False,
        alert_channel_subscriptions=[{
            "activated": False,
            "channel_id": 0,
        }],
        retry_strategy={
            "type": "string",
            "base_backoff_seconds": 0,
            "max_duration_seconds": 0,
            "max_retries": 0,
            "same_region": False,
        },
        run_parallel=False,
        runtime_id="string",
        should_fail=False,
        tags=["string"],
        trigger_incident={
            "description": "string",
            "name": "string",
            "notify_subscribers": False,
            "service_id": "string",
            "severity": "string",
        },
        use_global_alert_settings=False)
    
    const tcpMonitorResource = new checkly.TcpMonitor("tcpMonitorResource", {
        request: {
            hostname: "string",
            port: 0,
            assertions: [{
                comparison: "string",
                source: "string",
                property: "string",
                target: "string",
            }],
            data: "string",
            ipFamily: "string",
        },
        maxResponseTime: 0,
        name: "string",
        degradedResponseTime: 0,
        description: "string",
        frequency: 0,
        frequencyOffset: 0,
        groupId: 0,
        groupOrder: 0,
        locations: ["string"],
        activated: false,
        alertSettings: {
            escalationType: "string",
            parallelRunFailureThreshold: {
                enabled: false,
                percentage: 0,
            },
            reminders: {
                amount: 0,
                interval: 0,
            },
            runBasedEscalation: {
                failedRunThreshold: 0,
            },
            timeBasedEscalation: {
                minutesFailingThreshold: 0,
            },
        },
        privateLocations: ["string"],
        muted: false,
        alertChannelSubscriptions: [{
            activated: false,
            channelId: 0,
        }],
        retryStrategy: {
            type: "string",
            baseBackoffSeconds: 0,
            maxDurationSeconds: 0,
            maxRetries: 0,
            sameRegion: false,
        },
        runParallel: false,
        runtimeId: "string",
        shouldFail: false,
        tags: ["string"],
        triggerIncident: {
            description: "string",
            name: "string",
            notifySubscribers: false,
            serviceId: "string",
            severity: "string",
        },
        useGlobalAlertSettings: false,
    });
    
    type: checkly:TcpMonitor
    properties:
        activated: 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
        degradedResponseTime: 0
        description: string
        frequency: 0
        frequencyOffset: 0
        groupId: 0
        groupOrder: 0
        locations:
            - string
        maxResponseTime: 0
        muted: false
        name: string
        privateLocations:
            - string
        request:
            assertions:
                - comparison: string
                  property: string
                  source: string
                  target: string
            data: string
            hostname: string
            ipFamily: string
            port: 0
        retryStrategy:
            baseBackoffSeconds: 0
            maxDurationSeconds: 0
            maxRetries: 0
            sameRegion: false
            type: string
        runParallel: false
        runtimeId: string
        shouldFail: false
        tags:
            - string
        triggerIncident:
            description: string
            name: string
            notifySubscribers: false
            serviceId: string
            severity: string
        useGlobalAlertSettings: false
    

    TcpMonitor 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 TcpMonitor resource accepts the following input properties:

    Request TcpMonitorRequest
    The parameters for the TCP connection.
    Activated bool
    Determines whether the monitor runs on its schedule. Defaults to true.
    AlertChannelSubscriptions List<TcpMonitorAlertChannelSubscription>
    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 monitor, we won't be able to alert you even if it starts failing.
    AlertSettings TcpMonitorAlertSettings
    Determines the alert escalation policy for the monitor.
    DegradedResponseTime int
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    Description string
    A description of the monitor.
    Frequency int
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    FrequencyOffset int
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    GroupId int
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    GroupOrder int
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    Locations List<string>
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    MaxResponseTime int
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    Muted bool
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    Name string
    The name of the monitor.
    PrivateLocations List<string>
    The slugs of the private locations to run the monitor from.
    RetryStrategy TcpMonitorRetryStrategy
    A strategy for retrying failed check/monitor runs.
    RunParallel bool
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    RuntimeId string
    The ID of the runtime to use for the monitor.
    ShouldFail bool
    Inverts when the monitor is considered to fail. Defaults to false.
    Tags List<string>
    Tags for organizing and filtering checks and monitors.
    TriggerIncident TcpMonitorTriggerIncident
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    UseGlobalAlertSettings bool
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    Request TcpMonitorRequestArgs
    The parameters for the TCP connection.
    Activated bool
    Determines whether the monitor runs on its schedule. Defaults to true.
    AlertChannelSubscriptions []TcpMonitorAlertChannelSubscriptionArgs
    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 monitor, we won't be able to alert you even if it starts failing.
    AlertSettings TcpMonitorAlertSettingsArgs
    Determines the alert escalation policy for the monitor.
    DegradedResponseTime int
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    Description string
    A description of the monitor.
    Frequency int
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    FrequencyOffset int
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    GroupId int
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    GroupOrder int
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    Locations []string
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    MaxResponseTime int
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    Muted bool
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    Name string
    The name of the monitor.
    PrivateLocations []string
    The slugs of the private locations to run the monitor from.
    RetryStrategy TcpMonitorRetryStrategyArgs
    A strategy for retrying failed check/monitor runs.
    RunParallel bool
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    RuntimeId string
    The ID of the runtime to use for the monitor.
    ShouldFail bool
    Inverts when the monitor is considered to fail. Defaults to false.
    Tags []string
    Tags for organizing and filtering checks and monitors.
    TriggerIncident TcpMonitorTriggerIncidentArgs
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    UseGlobalAlertSettings bool
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    request object
    The parameters for the TCP connection.
    activated bool
    Determines whether the monitor runs on its schedule. Defaults to true.
    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 monitor, we won't be able to alert you even if it starts failing.
    alert_settings object
    Determines the alert escalation policy for the monitor.
    degraded_response_time number
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    description string
    A description of the monitor.
    frequency number
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    frequency_offset number
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    group_id number
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    group_order number
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    locations list(string)
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    max_response_time number
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    muted bool
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    name string
    The name of the monitor.
    private_locations list(string)
    The slugs of the private locations to run the monitor from.
    retry_strategy object
    A strategy for retrying failed check/monitor runs.
    run_parallel bool
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    runtime_id string
    The ID of the runtime to use for the monitor.
    should_fail bool
    Inverts when the monitor is considered to fail. Defaults to false.
    tags list(string)
    Tags for organizing and filtering checks and monitors.
    trigger_incident object
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    use_global_alert_settings bool
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    request TcpMonitorRequest
    The parameters for the TCP connection.
    activated Boolean
    Determines whether the monitor runs on its schedule. Defaults to true.
    alertChannelSubscriptions List<TcpMonitorAlertChannelSubscription>
    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 monitor, we won't be able to alert you even if it starts failing.
    alertSettings TcpMonitorAlertSettings
    Determines the alert escalation policy for the monitor.
    degradedResponseTime Integer
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    description String
    A description of the monitor.
    frequency Integer
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    frequencyOffset Integer
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    groupId Integer
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    groupOrder Integer
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    locations List<String>
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    maxResponseTime Integer
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    muted Boolean
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    name String
    The name of the monitor.
    privateLocations List<String>
    The slugs of the private locations to run the monitor from.
    retryStrategy TcpMonitorRetryStrategy
    A strategy for retrying failed check/monitor runs.
    runParallel Boolean
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    runtimeId String
    The ID of the runtime to use for the monitor.
    shouldFail Boolean
    Inverts when the monitor is considered to fail. Defaults to false.
    tags List<String>
    Tags for organizing and filtering checks and monitors.
    triggerIncident TcpMonitorTriggerIncident
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    useGlobalAlertSettings Boolean
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    request TcpMonitorRequest
    The parameters for the TCP connection.
    activated boolean
    Determines whether the monitor runs on its schedule. Defaults to true.
    alertChannelSubscriptions TcpMonitorAlertChannelSubscription[]
    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 monitor, we won't be able to alert you even if it starts failing.
    alertSettings TcpMonitorAlertSettings
    Determines the alert escalation policy for the monitor.
    degradedResponseTime number
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    description string
    A description of the monitor.
    frequency number
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    frequencyOffset number
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    groupId number
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    groupOrder number
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    locations string[]
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    maxResponseTime number
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    muted boolean
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    name string
    The name of the monitor.
    privateLocations string[]
    The slugs of the private locations to run the monitor from.
    retryStrategy TcpMonitorRetryStrategy
    A strategy for retrying failed check/monitor runs.
    runParallel boolean
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    runtimeId string
    The ID of the runtime to use for the monitor.
    shouldFail boolean
    Inverts when the monitor is considered to fail. Defaults to false.
    tags string[]
    Tags for organizing and filtering checks and monitors.
    triggerIncident TcpMonitorTriggerIncident
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    useGlobalAlertSettings boolean
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    request TcpMonitorRequestArgs
    The parameters for the TCP connection.
    activated bool
    Determines whether the monitor runs on its schedule. Defaults to true.
    alert_channel_subscriptions Sequence[TcpMonitorAlertChannelSubscriptionArgs]
    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 monitor, we won't be able to alert you even if it starts failing.
    alert_settings TcpMonitorAlertSettingsArgs
    Determines the alert escalation policy for the monitor.
    degraded_response_time int
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    description str
    A description of the monitor.
    frequency int
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    frequency_offset int
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    group_id int
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    group_order int
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    locations Sequence[str]
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    max_response_time int
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    muted bool
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    name str
    The name of the monitor.
    private_locations Sequence[str]
    The slugs of the private locations to run the monitor from.
    retry_strategy TcpMonitorRetryStrategyArgs
    A strategy for retrying failed check/monitor runs.
    run_parallel bool
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    runtime_id str
    The ID of the runtime to use for the monitor.
    should_fail bool
    Inverts when the monitor is considered to fail. Defaults to false.
    tags Sequence[str]
    Tags for organizing and filtering checks and monitors.
    trigger_incident TcpMonitorTriggerIncidentArgs
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    use_global_alert_settings bool
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    request Property Map
    The parameters for the TCP connection.
    activated Boolean
    Determines whether the monitor runs on its schedule. Defaults to true.
    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 monitor, we won't be able to alert you even if it starts failing.
    alertSettings Property Map
    Determines the alert escalation policy for the monitor.
    degradedResponseTime Number
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    description String
    A description of the monitor.
    frequency Number
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    frequencyOffset Number
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    groupId Number
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    groupOrder Number
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    locations List<String>
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    maxResponseTime Number
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    muted Boolean
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    name String
    The name of the monitor.
    privateLocations List<String>
    The slugs of the private locations to run the monitor from.
    retryStrategy Property Map
    A strategy for retrying failed check/monitor runs.
    runParallel Boolean
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    runtimeId String
    The ID of the runtime to use for the monitor.
    shouldFail Boolean
    Inverts when the monitor is considered to fail. Defaults to false.
    tags List<String>
    Tags for organizing and filtering checks and monitors.
    triggerIncident Property Map
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    useGlobalAlertSettings Boolean
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TcpMonitor 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 TcpMonitor Resource

    Get an existing TcpMonitor 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?: TcpMonitorState, opts?: CustomResourceOptions): TcpMonitor
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            activated: Optional[bool] = None,
            alert_channel_subscriptions: Optional[Sequence[TcpMonitorAlertChannelSubscriptionArgs]] = None,
            alert_settings: Optional[TcpMonitorAlertSettingsArgs] = None,
            degraded_response_time: Optional[int] = None,
            description: Optional[str] = None,
            frequency: Optional[int] = None,
            frequency_offset: Optional[int] = None,
            group_id: Optional[int] = None,
            group_order: Optional[int] = None,
            locations: Optional[Sequence[str]] = None,
            max_response_time: Optional[int] = None,
            muted: Optional[bool] = None,
            name: Optional[str] = None,
            private_locations: Optional[Sequence[str]] = None,
            request: Optional[TcpMonitorRequestArgs] = None,
            retry_strategy: Optional[TcpMonitorRetryStrategyArgs] = None,
            run_parallel: Optional[bool] = None,
            runtime_id: Optional[str] = None,
            should_fail: Optional[bool] = None,
            tags: Optional[Sequence[str]] = None,
            trigger_incident: Optional[TcpMonitorTriggerIncidentArgs] = None,
            use_global_alert_settings: Optional[bool] = None) -> TcpMonitor
    func GetTcpMonitor(ctx *Context, name string, id IDInput, state *TcpMonitorState, opts ...ResourceOption) (*TcpMonitor, error)
    public static TcpMonitor Get(string name, Input<string> id, TcpMonitorState? state, CustomResourceOptions? opts = null)
    public static TcpMonitor get(String name, Output<String> id, TcpMonitorState state, CustomResourceOptions options)
    resources:  existingTcpMonitor:    type: checkly:TcpMonitor    get:      id: ${id}
    import {
      to = checkly_tcp_monitor.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 TcpMonitorState
    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 TcpMonitorState
    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 TcpMonitorState
    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 TcpMonitorState
    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 monitor runs on its schedule. Defaults to true.
    AlertChannelSubscriptions List<TcpMonitorAlertChannelSubscription>
    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 monitor, we won't be able to alert you even if it starts failing.
    AlertSettings TcpMonitorAlertSettings
    Determines the alert escalation policy for the monitor.
    DegradedResponseTime int
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    Description string
    A description of the monitor.
    Frequency int
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    FrequencyOffset int
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    GroupId int
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    GroupOrder int
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    Locations List<string>
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    MaxResponseTime int
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    Muted bool
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    Name string
    The name of the monitor.
    PrivateLocations List<string>
    The slugs of the private locations to run the monitor from.
    Request TcpMonitorRequest
    The parameters for the TCP connection.
    RetryStrategy TcpMonitorRetryStrategy
    A strategy for retrying failed check/monitor runs.
    RunParallel bool
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    RuntimeId string
    The ID of the runtime to use for the monitor.
    ShouldFail bool
    Inverts when the monitor is considered to fail. Defaults to false.
    Tags List<string>
    Tags for organizing and filtering checks and monitors.
    TriggerIncident TcpMonitorTriggerIncident
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    UseGlobalAlertSettings bool
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    Activated bool
    Determines whether the monitor runs on its schedule. Defaults to true.
    AlertChannelSubscriptions []TcpMonitorAlertChannelSubscriptionArgs
    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 monitor, we won't be able to alert you even if it starts failing.
    AlertSettings TcpMonitorAlertSettingsArgs
    Determines the alert escalation policy for the monitor.
    DegradedResponseTime int
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    Description string
    A description of the monitor.
    Frequency int
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    FrequencyOffset int
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    GroupId int
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    GroupOrder int
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    Locations []string
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    MaxResponseTime int
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    Muted bool
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    Name string
    The name of the monitor.
    PrivateLocations []string
    The slugs of the private locations to run the monitor from.
    Request TcpMonitorRequestArgs
    The parameters for the TCP connection.
    RetryStrategy TcpMonitorRetryStrategyArgs
    A strategy for retrying failed check/monitor runs.
    RunParallel bool
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    RuntimeId string
    The ID of the runtime to use for the monitor.
    ShouldFail bool
    Inverts when the monitor is considered to fail. Defaults to false.
    Tags []string
    Tags for organizing and filtering checks and monitors.
    TriggerIncident TcpMonitorTriggerIncidentArgs
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    UseGlobalAlertSettings bool
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    activated bool
    Determines whether the monitor runs on its schedule. Defaults to true.
    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 monitor, we won't be able to alert you even if it starts failing.
    alert_settings object
    Determines the alert escalation policy for the monitor.
    degraded_response_time number
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    description string
    A description of the monitor.
    frequency number
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    frequency_offset number
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    group_id number
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    group_order number
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    locations list(string)
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    max_response_time number
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    muted bool
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    name string
    The name of the monitor.
    private_locations list(string)
    The slugs of the private locations to run the monitor from.
    request object
    The parameters for the TCP connection.
    retry_strategy object
    A strategy for retrying failed check/monitor runs.
    run_parallel bool
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    runtime_id string
    The ID of the runtime to use for the monitor.
    should_fail bool
    Inverts when the monitor is considered to fail. Defaults to false.
    tags list(string)
    Tags for organizing and filtering checks and monitors.
    trigger_incident object
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    use_global_alert_settings bool
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    activated Boolean
    Determines whether the monitor runs on its schedule. Defaults to true.
    alertChannelSubscriptions List<TcpMonitorAlertChannelSubscription>
    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 monitor, we won't be able to alert you even if it starts failing.
    alertSettings TcpMonitorAlertSettings
    Determines the alert escalation policy for the monitor.
    degradedResponseTime Integer
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    description String
    A description of the monitor.
    frequency Integer
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    frequencyOffset Integer
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    groupId Integer
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    groupOrder Integer
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    locations List<String>
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    maxResponseTime Integer
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    muted Boolean
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    name String
    The name of the monitor.
    privateLocations List<String>
    The slugs of the private locations to run the monitor from.
    request TcpMonitorRequest
    The parameters for the TCP connection.
    retryStrategy TcpMonitorRetryStrategy
    A strategy for retrying failed check/monitor runs.
    runParallel Boolean
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    runtimeId String
    The ID of the runtime to use for the monitor.
    shouldFail Boolean
    Inverts when the monitor is considered to fail. Defaults to false.
    tags List<String>
    Tags for organizing and filtering checks and monitors.
    triggerIncident TcpMonitorTriggerIncident
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    useGlobalAlertSettings Boolean
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    activated boolean
    Determines whether the monitor runs on its schedule. Defaults to true.
    alertChannelSubscriptions TcpMonitorAlertChannelSubscription[]
    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 monitor, we won't be able to alert you even if it starts failing.
    alertSettings TcpMonitorAlertSettings
    Determines the alert escalation policy for the monitor.
    degradedResponseTime number
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    description string
    A description of the monitor.
    frequency number
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    frequencyOffset number
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    groupId number
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    groupOrder number
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    locations string[]
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    maxResponseTime number
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    muted boolean
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    name string
    The name of the monitor.
    privateLocations string[]
    The slugs of the private locations to run the monitor from.
    request TcpMonitorRequest
    The parameters for the TCP connection.
    retryStrategy TcpMonitorRetryStrategy
    A strategy for retrying failed check/monitor runs.
    runParallel boolean
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    runtimeId string
    The ID of the runtime to use for the monitor.
    shouldFail boolean
    Inverts when the monitor is considered to fail. Defaults to false.
    tags string[]
    Tags for organizing and filtering checks and monitors.
    triggerIncident TcpMonitorTriggerIncident
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    useGlobalAlertSettings boolean
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    activated bool
    Determines whether the monitor runs on its schedule. Defaults to true.
    alert_channel_subscriptions Sequence[TcpMonitorAlertChannelSubscriptionArgs]
    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 monitor, we won't be able to alert you even if it starts failing.
    alert_settings TcpMonitorAlertSettingsArgs
    Determines the alert escalation policy for the monitor.
    degraded_response_time int
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    description str
    A description of the monitor.
    frequency int
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    frequency_offset int
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    group_id int
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    group_order int
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    locations Sequence[str]
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    max_response_time int
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    muted bool
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    name str
    The name of the monitor.
    private_locations Sequence[str]
    The slugs of the private locations to run the monitor from.
    request TcpMonitorRequestArgs
    The parameters for the TCP connection.
    retry_strategy TcpMonitorRetryStrategyArgs
    A strategy for retrying failed check/monitor runs.
    run_parallel bool
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    runtime_id str
    The ID of the runtime to use for the monitor.
    should_fail bool
    Inverts when the monitor is considered to fail. Defaults to false.
    tags Sequence[str]
    Tags for organizing and filtering checks and monitors.
    trigger_incident TcpMonitorTriggerIncidentArgs
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    use_global_alert_settings bool
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.
    activated Boolean
    Determines whether the monitor runs on its schedule. Defaults to true.
    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 monitor, we won't be able to alert you even if it starts failing.
    alertSettings Property Map
    Determines the alert escalation policy for the monitor.
    degradedResponseTime Number
    The response time in milliseconds where the monitor should be considered degraded. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 3000.
    description String
    A description of the monitor.
    frequency Number
    Controls how often the monitor should run. Defined in minutes. Possible values are 0 (high frequency - use frequencyOffset to define the actual frequency), 1 (1 minute), 2 (2 minutes), 5 (5 minutes), 10 (10 minutes), 15 (15 minutes), 30 (30 minutes), 60 (1 hour), 120 (2 hours), 180 (3 hours), 360 (6 hours), 720 (12 hours) and 1440 (24 hours). Defaults to 10.
    frequencyOffset Number
    When frequency is 0 (high frequency), frequencyOffset is required and it alone controls how often the monitor should run. Defined in seconds. Possible values are 0 (disabled - use frequency to define the actual frequency), 10 (10 seconds), 20 (20 seconds) and 30 (30 seconds).
    groupId Number
    The ID of the check group the monitor is part of. Must be at least 1. If not set, the monitor is not part of a group.
    groupOrder Number
    The position of the monitor in its check group, which sets the order in which the checks and monitors of the group run when the group is triggered from the API or CI/CD. Must be at least 0. If not set, the monitor has no position in the group.
    locations List<String>
    The data center locations to run the monitor from, such as us-east-1. The monitor needs at least one location in locations or privateLocations, unless it is part of a check group.
    maxResponseTime Number
    The response time in milliseconds where the monitor should be considered failing. Possible values are between 0 and 5000, or up to 45000 if extended limits have been approved for your account. Defaults to 5000.
    muted Boolean
    Determines whether notifications are sent when the monitor fails, degrades or recovers. Defaults to false.
    name String
    The name of the monitor.
    privateLocations List<String>
    The slugs of the private locations to run the monitor from.
    request Property Map
    The parameters for the TCP connection.
    retryStrategy Property Map
    A strategy for retrying failed check/monitor runs.
    runParallel Boolean
    Determines whether the monitor runs in all its locations in parallel instead of in one location at a time, round-robin. Defaults to false.
    runtimeId String
    The ID of the runtime to use for the monitor.
    shouldFail Boolean
    Inverts when the monitor is considered to fail. Defaults to false.
    tags List<String>
    Tags for organizing and filtering checks and monitors.
    triggerIncident Property Map
    Create and resolve an incident based on the alert configuration. Useful for status page automation.
    useGlobalAlertSettings Boolean
    When true, the account level alert settings are used instead of the alertSettings of this monitor. Defaults to true when alertSettings is not set, and to false when it is.

    Supporting Types

    TcpMonitorAlertChannelSubscription, TcpMonitorAlertChannelSubscriptionArgs

    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.

    TcpMonitorAlertSettings, TcpMonitorAlertSettingsArgs

    EscalationType string
    Determines the type of escalation to use. Possible values are RUN_BASED and TIME_BASED. Defaults to RUN_BASED.
    ParallelRunFailureThreshold TcpMonitorAlertSettingsParallelRunFailureThreshold
    Configuration for parallel run failure threshold.
    Reminders TcpMonitorAlertSettingsReminders
    Defines how often to send reminder notifications after the initial alert.
    RunBasedEscalation TcpMonitorAlertSettingsRunBasedEscalation
    Configuration for run-based escalation.
    TimeBasedEscalation TcpMonitorAlertSettingsTimeBasedEscalation
    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 TcpMonitorAlertSettingsParallelRunFailureThreshold
    Configuration for parallel run failure threshold.
    Reminders TcpMonitorAlertSettingsReminders
    Defines how often to send reminder notifications after the initial alert.
    RunBasedEscalation TcpMonitorAlertSettingsRunBasedEscalation
    Configuration for run-based escalation.
    TimeBasedEscalation TcpMonitorAlertSettingsTimeBasedEscalation
    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 TcpMonitorAlertSettingsParallelRunFailureThreshold
    Configuration for parallel run failure threshold.
    reminders TcpMonitorAlertSettingsReminders
    Defines how often to send reminder notifications after the initial alert.
    runBasedEscalation TcpMonitorAlertSettingsRunBasedEscalation
    Configuration for run-based escalation.
    timeBasedEscalation TcpMonitorAlertSettingsTimeBasedEscalation
    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 TcpMonitorAlertSettingsParallelRunFailureThreshold
    Configuration for parallel run failure threshold.
    reminders TcpMonitorAlertSettingsReminders
    Defines how often to send reminder notifications after the initial alert.
    runBasedEscalation TcpMonitorAlertSettingsRunBasedEscalation
    Configuration for run-based escalation.
    timeBasedEscalation TcpMonitorAlertSettingsTimeBasedEscalation
    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 TcpMonitorAlertSettingsParallelRunFailureThreshold
    Configuration for parallel run failure threshold.
    reminders TcpMonitorAlertSettingsReminders
    Defines how often to send reminder notifications after the initial alert.
    run_based_escalation TcpMonitorAlertSettingsRunBasedEscalation
    Configuration for run-based escalation.
    time_based_escalation TcpMonitorAlertSettingsTimeBasedEscalation
    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.

    TcpMonitorAlertSettingsParallelRunFailureThreshold, TcpMonitorAlertSettingsParallelRunFailureThresholdArgs

    Enabled bool
    Whether parallel run failure threshold is enabled. Only applies if the monitor is 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 if the monitor is 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 if the monitor is 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 if the monitor is 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 if the monitor is 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 if the monitor is 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 if the monitor is 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.

    TcpMonitorAlertSettingsReminders, TcpMonitorAlertSettingsRemindersArgs

    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.

    TcpMonitorAlertSettingsRunBasedEscalation, TcpMonitorAlertSettingsRunBasedEscalationArgs

    FailedRunThreshold int
    Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between 1 and 5. Defaults to 1.
    FailedRunThreshold int
    Send an alert notification after the given number of consecutive monitor runs 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 monitor runs have failed. Possible values are between 1 and 5. Defaults to 1.
    failedRunThreshold Integer
    Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between 1 and 5. Defaults to 1.
    failedRunThreshold number
    Send an alert notification after the given number of consecutive monitor runs 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 monitor runs have failed. Possible values are between 1 and 5. Defaults to 1.
    failedRunThreshold Number
    Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between 1 and 5. Defaults to 1.

    TcpMonitorAlertSettingsTimeBasedEscalation, TcpMonitorAlertSettingsTimeBasedEscalationArgs

    MinutesFailingThreshold int
    Send an alert notification after the monitor 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 the monitor 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 the monitor 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 the monitor 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 the monitor 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 the monitor 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 the monitor has been failing for the given amount of time (in minutes). Possible values are 5, 10, 15 and 30. Defaults to 5.

    TcpMonitorRequest, TcpMonitorRequestArgs

    Hostname string
    The hostname or IP to connect to. Must be between 1 and 2048 characters. Do not include a scheme or a port in this value.
    Port int
    The port number to connect to. Possible values are between 1 and 65535.
    Assertions List<TcpMonitorRequestAssertion>
    A request can have multiple assertions.
    Data string
    The data to send to the target host.
    IpFamily string
    The IP family to use when executing the TCP check. Possible values are IPv4 and IPv6. Defaults to IPv4.
    Hostname string
    The hostname or IP to connect to. Must be between 1 and 2048 characters. Do not include a scheme or a port in this value.
    Port int
    The port number to connect to. Possible values are between 1 and 65535.
    Assertions []TcpMonitorRequestAssertion
    A request can have multiple assertions.
    Data string
    The data to send to the target host.
    IpFamily string
    The IP family to use when executing the TCP check. Possible values are IPv4 and IPv6. Defaults to IPv4.
    hostname string
    The hostname or IP to connect to. Must be between 1 and 2048 characters. Do not include a scheme or a port in this value.
    port number
    The port number to connect to. Possible values are between 1 and 65535.
    assertions list(object)
    A request can have multiple assertions.
    data string
    The data to send to the target host.
    ip_family string
    The IP family to use when executing the TCP check. Possible values are IPv4 and IPv6. Defaults to IPv4.
    hostname String
    The hostname or IP to connect to. Must be between 1 and 2048 characters. Do not include a scheme or a port in this value.
    port Integer
    The port number to connect to. Possible values are between 1 and 65535.
    assertions List<TcpMonitorRequestAssertion>
    A request can have multiple assertions.
    data String
    The data to send to the target host.
    ipFamily String
    The IP family to use when executing the TCP check. Possible values are IPv4 and IPv6. Defaults to IPv4.
    hostname string
    The hostname or IP to connect to. Must be between 1 and 2048 characters. Do not include a scheme or a port in this value.
    port number
    The port number to connect to. Possible values are between 1 and 65535.
    assertions TcpMonitorRequestAssertion[]
    A request can have multiple assertions.
    data string
    The data to send to the target host.
    ipFamily string
    The IP family to use when executing the TCP check. Possible values are IPv4 and IPv6. Defaults to IPv4.
    hostname str
    The hostname or IP to connect to. Must be between 1 and 2048 characters. Do not include a scheme or a port in this value.
    port int
    The port number to connect to. Possible values are between 1 and 65535.
    assertions Sequence[TcpMonitorRequestAssertion]
    A request can have multiple assertions.
    data str
    The data to send to the target host.
    ip_family str
    The IP family to use when executing the TCP check. Possible values are IPv4 and IPv6. Defaults to IPv4.
    hostname String
    The hostname or IP to connect to. Must be between 1 and 2048 characters. Do not include a scheme or a port in this value.
    port Number
    The port number to connect to. Possible values are between 1 and 65535.
    assertions List<Property Map>
    A request can have multiple assertions.
    data String
    The data to send to the target host.
    ipFamily String
    The IP family to use when executing the TCP check. Possible values are IPv4 and IPv6. Defaults to IPv4.

    TcpMonitorRequestAssertion, TcpMonitorRequestAssertionArgs

    Comparison string
    The type of comparison to be executed between expected and actual value of the assertion. For RESPONSE_DATA, possible values are EQUALS, NOT_EQUALS, IS_EMPTY, NOT_EMPTY, GREATER_THAN, LESS_THAN, CONTAINS and NOT_CONTAINS. For RESPONSE_TIME, possible values are EQUALS, NOT_EQUALS, GREATER_THAN and LESS_THAN.
    Source string
    The source of the asserted value. Possible values are RESPONSE_DATA and RESPONSE_TIME.
    Property string
    A regular expression for RESPONSE_DATA whose first capture group is asserted instead of the whole response data. Not used for RESPONSE_TIME.
    Target string
    The value to compare against. Required for RESPONSE_TIME, where it must be a non-negative number of milliseconds without surrounding whitespace. Leave it out for comparisons that take no value, IS_EMPTY and NOT_EMPTY.
    Comparison string
    The type of comparison to be executed between expected and actual value of the assertion. For RESPONSE_DATA, possible values are EQUALS, NOT_EQUALS, IS_EMPTY, NOT_EMPTY, GREATER_THAN, LESS_THAN, CONTAINS and NOT_CONTAINS. For RESPONSE_TIME, possible values are EQUALS, NOT_EQUALS, GREATER_THAN and LESS_THAN.
    Source string
    The source of the asserted value. Possible values are RESPONSE_DATA and RESPONSE_TIME.
    Property string
    A regular expression for RESPONSE_DATA whose first capture group is asserted instead of the whole response data. Not used for RESPONSE_TIME.
    Target string
    The value to compare against. Required for RESPONSE_TIME, where it must be a non-negative number of milliseconds without surrounding whitespace. Leave it out for comparisons that take no value, IS_EMPTY and NOT_EMPTY.
    comparison string
    The type of comparison to be executed between expected and actual value of the assertion. For RESPONSE_DATA, possible values are EQUALS, NOT_EQUALS, IS_EMPTY, NOT_EMPTY, GREATER_THAN, LESS_THAN, CONTAINS and NOT_CONTAINS. For RESPONSE_TIME, possible values are EQUALS, NOT_EQUALS, GREATER_THAN and LESS_THAN.
    source string
    The source of the asserted value. Possible values are RESPONSE_DATA and RESPONSE_TIME.
    property string
    A regular expression for RESPONSE_DATA whose first capture group is asserted instead of the whole response data. Not used for RESPONSE_TIME.
    target string
    The value to compare against. Required for RESPONSE_TIME, where it must be a non-negative number of milliseconds without surrounding whitespace. Leave it out for comparisons that take no value, IS_EMPTY and NOT_EMPTY.
    comparison String
    The type of comparison to be executed between expected and actual value of the assertion. For RESPONSE_DATA, possible values are EQUALS, NOT_EQUALS, IS_EMPTY, NOT_EMPTY, GREATER_THAN, LESS_THAN, CONTAINS and NOT_CONTAINS. For RESPONSE_TIME, possible values are EQUALS, NOT_EQUALS, GREATER_THAN and LESS_THAN.
    source String
    The source of the asserted value. Possible values are RESPONSE_DATA and RESPONSE_TIME.
    property String
    A regular expression for RESPONSE_DATA whose first capture group is asserted instead of the whole response data. Not used for RESPONSE_TIME.
    target String
    The value to compare against. Required for RESPONSE_TIME, where it must be a non-negative number of milliseconds without surrounding whitespace. Leave it out for comparisons that take no value, IS_EMPTY and NOT_EMPTY.
    comparison string
    The type of comparison to be executed between expected and actual value of the assertion. For RESPONSE_DATA, possible values are EQUALS, NOT_EQUALS, IS_EMPTY, NOT_EMPTY, GREATER_THAN, LESS_THAN, CONTAINS and NOT_CONTAINS. For RESPONSE_TIME, possible values are EQUALS, NOT_EQUALS, GREATER_THAN and LESS_THAN.
    source string
    The source of the asserted value. Possible values are RESPONSE_DATA and RESPONSE_TIME.
    property string
    A regular expression for RESPONSE_DATA whose first capture group is asserted instead of the whole response data. Not used for RESPONSE_TIME.
    target string
    The value to compare against. Required for RESPONSE_TIME, where it must be a non-negative number of milliseconds without surrounding whitespace. Leave it out for comparisons that take no value, IS_EMPTY and NOT_EMPTY.
    comparison str
    The type of comparison to be executed between expected and actual value of the assertion. For RESPONSE_DATA, possible values are EQUALS, NOT_EQUALS, IS_EMPTY, NOT_EMPTY, GREATER_THAN, LESS_THAN, CONTAINS and NOT_CONTAINS. For RESPONSE_TIME, possible values are EQUALS, NOT_EQUALS, GREATER_THAN and LESS_THAN.
    source str
    The source of the asserted value. Possible values are RESPONSE_DATA and RESPONSE_TIME.
    property str
    A regular expression for RESPONSE_DATA whose first capture group is asserted instead of the whole response data. Not used for RESPONSE_TIME.
    target str
    The value to compare against. Required for RESPONSE_TIME, where it must be a non-negative number of milliseconds without surrounding whitespace. Leave it out for comparisons that take no value, IS_EMPTY and NOT_EMPTY.
    comparison String
    The type of comparison to be executed between expected and actual value of the assertion. For RESPONSE_DATA, possible values are EQUALS, NOT_EQUALS, IS_EMPTY, NOT_EMPTY, GREATER_THAN, LESS_THAN, CONTAINS and NOT_CONTAINS. For RESPONSE_TIME, possible values are EQUALS, NOT_EQUALS, GREATER_THAN and LESS_THAN.
    source String
    The source of the asserted value. Possible values are RESPONSE_DATA and RESPONSE_TIME.
    property String
    A regular expression for RESPONSE_DATA whose first capture group is asserted instead of the whole response data. Not used for RESPONSE_TIME.
    target String
    The value to compare against. Required for RESPONSE_TIME, where it must be a non-negative number of milliseconds without surrounding whitespace. Leave it out for comparisons that take no value, IS_EMPTY and NOT_EMPTY.

    TcpMonitorRetryStrategy, TcpMonitorRetryStrategyArgs

    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.

    TcpMonitorTriggerIncident, TcpMonitorTriggerIncidentArgs

    Description string
    A detailed description of the incident.
    Name string
    The name of the incident.
    NotifySubscribers bool
    Whether to notify subscribers when the incident is triggered.
    ServiceId string
    The status page service that this incident will be associated with.
    Severity string
    The severity level of the incident. Possible values are MINOR, MEDIUM, MAJOR and CRITICAL.
    Description string
    A detailed description of the incident.
    Name string
    The name of the incident.
    NotifySubscribers bool
    Whether to notify subscribers when the incident is triggered.
    ServiceId string
    The status page service that this incident will be associated with.
    Severity string
    The severity level of the incident. Possible values are MINOR, MEDIUM, MAJOR and CRITICAL.
    description string
    A detailed description of the incident.
    name string
    The name of the incident.
    notify_subscribers bool
    Whether to notify subscribers when the incident is triggered.
    service_id string
    The status page service that this incident will be associated with.
    severity string
    The severity level of the incident. Possible values are MINOR, MEDIUM, MAJOR and CRITICAL.
    description String
    A detailed description of the incident.
    name String
    The name of the incident.
    notifySubscribers Boolean
    Whether to notify subscribers when the incident is triggered.
    serviceId String
    The status page service that this incident will be associated with.
    severity String
    The severity level of the incident. Possible values are MINOR, MEDIUM, MAJOR and CRITICAL.
    description string
    A detailed description of the incident.
    name string
    The name of the incident.
    notifySubscribers boolean
    Whether to notify subscribers when the incident is triggered.
    serviceId string
    The status page service that this incident will be associated with.
    severity string
    The severity level of the incident. Possible values are MINOR, MEDIUM, MAJOR and CRITICAL.
    description str
    A detailed description of the incident.
    name str
    The name of the incident.
    notify_subscribers bool
    Whether to notify subscribers when the incident is triggered.
    service_id str
    The status page service that this incident will be associated with.
    severity str
    The severity level of the incident. Possible values are MINOR, MEDIUM, MAJOR and CRITICAL.
    description String
    A detailed description of the incident.
    name String
    The name of the incident.
    notifySubscribers Boolean
    Whether to notify subscribers when the incident is triggered.
    serviceId String
    The status page service that this incident will be associated with.
    severity String
    The severity level of the incident. Possible values are MINOR, MEDIUM, MAJOR and CRITICAL.

    Import

    The pulumi import command can be used, for example:

    Import an existing TCP monitor using its check ID. You can find the ID in the check’s URL in the Checkly dashboard.

    $ pulumi import checkly:index/tcpMonitor:TcpMonitor example 3ffee447-5c86-4c56-b95a-2e1b4d1a1234
    

    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