1. Packages
  2. Datadog
  3. API Docs
  4. SyntheticsTest
Datadog v4.27.0 published on Thursday, Mar 14, 2024 by Pulumi

datadog.SyntheticsTest

Explore with Pulumi AI

datadog logo
Datadog v4.27.0 published on Thursday, Mar 14, 2024 by Pulumi

    Provides a Datadog synthetics test resource. This can be used to create and manage Datadog synthetics test.

    Warning

    Starting from version 3.1.0+, the direct usage of global variables in the configuration is deprecated, in favor of local variables of type global. As an example, if you were previously using {{ GLOBAL_VAR }} directly in your configuration, add a config_variable of type global with the id matching the id of the global variable GLOBAL_VAR, which can be found in the Synthetics UI or from the output of the datadog.SyntheticsGlobalVariable resource. The name can be chosen freely.

    In practice, it means going from (simplified configuration):

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import java.util.List;
    import java.util.ArrayList;
    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) {
        }
    }
    
    {}
    

    to

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import java.util.List;
    import java.util.ArrayList;
    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) {
        }
    }
    
    {}
    

    which you can now use in your request definition:

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import java.util.List;
    import java.util.ArrayList;
    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) {
        }
    }
    
    {}
    

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as datadog from "@pulumi/datadog";
    
    // Example Usage (Synthetics API test)
    // Create a new Datadog Synthetics API/HTTP test on https://www.example.org
    const testUptime = new datadog.SyntheticsTest("testUptime", {
        name: "An Uptime test on example.org",
        type: "api",
        subtype: "http",
        status: "live",
        message: "Notify @pagerduty",
        locations: ["aws:eu-central-1"],
        tags: [
            "foo:bar",
            "foo",
            "env:test",
        ],
        requestDefinition: {
            method: "GET",
            url: "https://www.example.org",
        },
        requestHeaders: {
            "Content-Type": "application/json",
        },
        assertions: [{
            type: "statusCode",
            operator: "is",
            target: "200",
        }],
        optionsList: {
            tickEvery: 900,
            retry: {
                count: 2,
                interval: 300,
            },
            monitorOptions: {
                renotifyInterval: 120,
            },
        },
    });
    // Example Usage (Authenticated API test)
    // Create a new Datadog Synthetics API/HTTP test on https://www.example.org
    const testApi = new datadog.SyntheticsTest("testApi", {
        name: "An API test on example.org",
        type: "api",
        subtype: "http",
        status: "live",
        message: "Notify @pagerduty",
        locations: ["aws:eu-central-1"],
        tags: [
            "foo:bar",
            "foo",
            "env:test",
        ],
        requestDefinition: {
            method: "GET",
            url: "https://www.example.org",
        },
        requestHeaders: {
            "Content-Type": "application/json",
            Authentication: "Token: 1234566789",
        },
        assertions: [{
            type: "statusCode",
            operator: "is",
            target: "200",
        }],
        optionsList: {
            tickEvery: 900,
            retry: {
                count: 2,
                interval: 300,
            },
            monitorOptions: {
                renotifyInterval: 120,
            },
        },
    });
    // Example Usage (Synthetics SSL test)
    // Create a new Datadog Synthetics API/SSL test on example.org
    const testSsl = new datadog.SyntheticsTest("testSsl", {
        name: "An API test on example.org",
        type: "api",
        subtype: "ssl",
        status: "live",
        message: "Notify @pagerduty",
        locations: ["aws:eu-central-1"],
        tags: [
            "foo:bar",
            "foo",
            "env:test",
        ],
        requestDefinition: {
            host: "example.org",
            port: 443,
        },
        assertions: [{
            type: "certificate",
            operator: "isInMoreThan",
            target: "30",
        }],
        optionsList: {
            tickEvery: 900,
            acceptSelfSigned: true,
        },
    });
    // Example Usage (Synthetics TCP test)
    // Create a new Datadog Synthetics API/TCP test on example.org
    const testTcp = new datadog.SyntheticsTest("testTcp", {
        name: "An API test on example.org",
        type: "api",
        subtype: "tcp",
        status: "live",
        message: "Notify @pagerduty",
        locations: ["aws:eu-central-1"],
        tags: [
            "foo:bar",
            "foo",
            "env:test",
        ],
        requestDefinition: {
            host: "example.org",
            port: 443,
        },
        assertions: [{
            type: "responseTime",
            operator: "lessThan",
            target: "2000",
        }],
        configVariables: [{
            type: "global",
            name: "MY_GLOBAL_VAR",
            id: "76636cd1-82e2-4aeb-9cfe-51366a8198a2",
        }],
        optionsList: {
            tickEvery: 900,
        },
    });
    // Example Usage (Synthetics DNS test)
    // Create a new Datadog Synthetics API/DNS test on example.org
    const testDns = new datadog.SyntheticsTest("testDns", {
        name: "An API test on example.org",
        type: "api",
        subtype: "dns",
        status: "live",
        message: "Notify @pagerduty",
        locations: ["aws:eu-central-1"],
        tags: [
            "foo:bar",
            "foo",
            "env:test",
        ],
        requestDefinition: {
            host: "example.org",
        },
        assertions: [{
            type: "recordSome",
            operator: "is",
            property: "A",
            target: "0.0.0.0",
        }],
        optionsList: {
            tickEvery: 900,
        },
    });
    // Example Usage (Synthetics Multistep API test)
    // Create a new Datadog Synthetics Multistep API test
    const testMultiStep = new datadog.SyntheticsTest("testMultiStep", {
        name: "Multistep API test",
        type: "api",
        subtype: "multi",
        status: "live",
        locations: ["aws:eu-central-1"],
        tags: [
            "foo:bar",
            "foo",
            "env:test",
        ],
        apiSteps: [
            {
                name: "An API test on example.org",
                subtype: "http",
                assertions: [{
                    type: "statusCode",
                    operator: "is",
                    target: "200",
                }],
                requestDefinition: {
                    method: "GET",
                    url: "https://example.org",
                },
                requestHeaders: {
                    "Content-Type": "application/json",
                    Authentication: "Token: 1234566789",
                },
            },
            {
                name: "An API test on example.org",
                subtype: "http",
                assertions: [{
                    type: "statusCode",
                    operator: "is",
                    target: "200",
                }],
                requestDefinition: {
                    method: "GET",
                    url: "http://example.org",
                },
            },
        ],
        optionsList: {
            tickEvery: 900,
            acceptSelfSigned: true,
        },
    });
    // Example Usage (Synthetics Browser test)
    // Create a new Datadog Synthetics Browser test starting on https://www.example.org
    const testBrowser = new datadog.SyntheticsTest("testBrowser", {
        name: "A Browser test on example.org",
        type: "browser",
        status: "paused",
        message: "Notify @qa",
        deviceIds: ["laptop_large"],
        locations: ["aws:eu-central-1"],
        tags: [],
        requestDefinition: {
            method: "GET",
            url: "https://app.datadoghq.com",
        },
        browserSteps: [
            {
                name: "Check current url",
                type: "assertCurrentUrl",
                params: {
                    check: "contains",
                    value: "datadoghq",
                },
            },
            {
                name: "Test a downloaded file",
                type: "assertFileDownload",
                params: {
                    file: JSON.stringify({
                        md5: "abcdef1234567890",
                        sizeCheck: {
                            type: "equals",
                            value: 1,
                        },
                        nameCheck: {
                            type: "contains",
                            value: ".xls",
                        },
                    }),
                },
            },
        ],
        browserVariables: [
            {
                type: "text",
                name: "MY_PATTERN_VAR",
                pattern: "{{numeric(3)}}",
                example: "597",
            },
            {
                type: "email",
                name: "MY_EMAIL_VAR",
                pattern: "jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co",
                example: "jd8-afe-ydv.4546132139@synthetics.dtdg.co",
            },
            {
                type: "global",
                name: "MY_GLOBAL_VAR",
                id: "76636cd1-82e2-4aeb-9cfe-51366a8198a2",
            },
        ],
        optionsList: {
            tickEvery: 3600,
        },
    });
    // Example Usage (GRPC API test)
    // Create a new Datadog GRPC API test starting on google.org:50050
    const grpc = new datadog.SyntheticsTest("grpc", {
        type: "api",
        subtype: "grpc",
        requestDefinition: {
            method: "GET",
            host: "google.com",
            port: 50050,
            service: "Hello",
            plainProtoFile: `syntax = "proto3";
    option java_multiple_files = true;
    option java_package = "io.grpc.examples.helloworld";
    option java_outer_classname = "HelloWorldProto";
    option objc_class_prefix = "HLW";
    package helloworld;
    // The greeting service definition.
    service Greeter {
    	// Sends a greeting
    	rpc SayHello (HelloRequest) returns (HelloReply) {}
    }
    // The request message containing the user's name.
    message HelloRequest {
    	string name = 1;
    }
    // The response message containing the greetings
    message HelloReply {
    	string message = 1;
    }
    `,
        },
        requestMetadata: {
            header: "value",
        },
        assertions: [
            {
                type: "responseTime",
                operator: "lessThan",
                target: "2000",
            },
            {
                operator: "is",
                type: "grpcHealthcheckStatus",
                target: "1",
            },
            {
                operator: "is",
                target: "proto target",
                type: "grpcProto",
            },
            {
                operator: "is",
                target: "123",
                property: "property",
                type: "grpcMetadata",
            },
        ],
        locations: ["aws:eu-central-1"],
        optionsList: {
            tickEvery: 60,
        },
        name: "GRPC API test",
        message: "Notify @datadog.user",
        tags: [
            "foo:bar",
            "baz",
        ],
        status: "paused",
    });
    
    import pulumi
    import json
    import pulumi_datadog as datadog
    
    # Example Usage (Synthetics API test)
    # Create a new Datadog Synthetics API/HTTP test on https://www.example.org
    test_uptime = datadog.SyntheticsTest("testUptime",
        name="An Uptime test on example.org",
        type="api",
        subtype="http",
        status="live",
        message="Notify @pagerduty",
        locations=["aws:eu-central-1"],
        tags=[
            "foo:bar",
            "foo",
            "env:test",
        ],
        request_definition=datadog.SyntheticsTestRequestDefinitionArgs(
            method="GET",
            url="https://www.example.org",
        ),
        request_headers={
            "Content-Type": "application/json",
        },
        assertions=[datadog.SyntheticsTestAssertionArgs(
            type="statusCode",
            operator="is",
            target="200",
        )],
        options_list=datadog.SyntheticsTestOptionsListArgs(
            tick_every=900,
            retry=datadog.SyntheticsTestOptionsListRetryArgs(
                count=2,
                interval=300,
            ),
            monitor_options=datadog.SyntheticsTestOptionsListMonitorOptionsArgs(
                renotify_interval=120,
            ),
        ))
    # Example Usage (Authenticated API test)
    # Create a new Datadog Synthetics API/HTTP test on https://www.example.org
    test_api = datadog.SyntheticsTest("testApi",
        name="An API test on example.org",
        type="api",
        subtype="http",
        status="live",
        message="Notify @pagerduty",
        locations=["aws:eu-central-1"],
        tags=[
            "foo:bar",
            "foo",
            "env:test",
        ],
        request_definition=datadog.SyntheticsTestRequestDefinitionArgs(
            method="GET",
            url="https://www.example.org",
        ),
        request_headers={
            "Content-Type": "application/json",
            "Authentication": "Token: 1234566789",
        },
        assertions=[datadog.SyntheticsTestAssertionArgs(
            type="statusCode",
            operator="is",
            target="200",
        )],
        options_list=datadog.SyntheticsTestOptionsListArgs(
            tick_every=900,
            retry=datadog.SyntheticsTestOptionsListRetryArgs(
                count=2,
                interval=300,
            ),
            monitor_options=datadog.SyntheticsTestOptionsListMonitorOptionsArgs(
                renotify_interval=120,
            ),
        ))
    # Example Usage (Synthetics SSL test)
    # Create a new Datadog Synthetics API/SSL test on example.org
    test_ssl = datadog.SyntheticsTest("testSsl",
        name="An API test on example.org",
        type="api",
        subtype="ssl",
        status="live",
        message="Notify @pagerduty",
        locations=["aws:eu-central-1"],
        tags=[
            "foo:bar",
            "foo",
            "env:test",
        ],
        request_definition=datadog.SyntheticsTestRequestDefinitionArgs(
            host="example.org",
            port=443,
        ),
        assertions=[datadog.SyntheticsTestAssertionArgs(
            type="certificate",
            operator="isInMoreThan",
            target="30",
        )],
        options_list=datadog.SyntheticsTestOptionsListArgs(
            tick_every=900,
            accept_self_signed=True,
        ))
    # Example Usage (Synthetics TCP test)
    # Create a new Datadog Synthetics API/TCP test on example.org
    test_tcp = datadog.SyntheticsTest("testTcp",
        name="An API test on example.org",
        type="api",
        subtype="tcp",
        status="live",
        message="Notify @pagerduty",
        locations=["aws:eu-central-1"],
        tags=[
            "foo:bar",
            "foo",
            "env:test",
        ],
        request_definition=datadog.SyntheticsTestRequestDefinitionArgs(
            host="example.org",
            port=443,
        ),
        assertions=[datadog.SyntheticsTestAssertionArgs(
            type="responseTime",
            operator="lessThan",
            target="2000",
        )],
        config_variables=[datadog.SyntheticsTestConfigVariableArgs(
            type="global",
            name="MY_GLOBAL_VAR",
            id="76636cd1-82e2-4aeb-9cfe-51366a8198a2",
        )],
        options_list=datadog.SyntheticsTestOptionsListArgs(
            tick_every=900,
        ))
    # Example Usage (Synthetics DNS test)
    # Create a new Datadog Synthetics API/DNS test on example.org
    test_dns = datadog.SyntheticsTest("testDns",
        name="An API test on example.org",
        type="api",
        subtype="dns",
        status="live",
        message="Notify @pagerduty",
        locations=["aws:eu-central-1"],
        tags=[
            "foo:bar",
            "foo",
            "env:test",
        ],
        request_definition=datadog.SyntheticsTestRequestDefinitionArgs(
            host="example.org",
        ),
        assertions=[datadog.SyntheticsTestAssertionArgs(
            type="recordSome",
            operator="is",
            property="A",
            target="0.0.0.0",
        )],
        options_list=datadog.SyntheticsTestOptionsListArgs(
            tick_every=900,
        ))
    # Example Usage (Synthetics Multistep API test)
    # Create a new Datadog Synthetics Multistep API test
    test_multi_step = datadog.SyntheticsTest("testMultiStep",
        name="Multistep API test",
        type="api",
        subtype="multi",
        status="live",
        locations=["aws:eu-central-1"],
        tags=[
            "foo:bar",
            "foo",
            "env:test",
        ],
        api_steps=[
            datadog.SyntheticsTestApiStepArgs(
                name="An API test on example.org",
                subtype="http",
                assertions=[datadog.SyntheticsTestApiStepAssertionArgs(
                    type="statusCode",
                    operator="is",
                    target="200",
                )],
                request_definition=datadog.SyntheticsTestApiStepRequestDefinitionArgs(
                    method="GET",
                    url="https://example.org",
                ),
                request_headers={
                    "Content-Type": "application/json",
                    "Authentication": "Token: 1234566789",
                },
            ),
            datadog.SyntheticsTestApiStepArgs(
                name="An API test on example.org",
                subtype="http",
                assertions=[datadog.SyntheticsTestApiStepAssertionArgs(
                    type="statusCode",
                    operator="is",
                    target="200",
                )],
                request_definition=datadog.SyntheticsTestApiStepRequestDefinitionArgs(
                    method="GET",
                    url="http://example.org",
                ),
            ),
        ],
        options_list=datadog.SyntheticsTestOptionsListArgs(
            tick_every=900,
            accept_self_signed=True,
        ))
    # Example Usage (Synthetics Browser test)
    # Create a new Datadog Synthetics Browser test starting on https://www.example.org
    test_browser = datadog.SyntheticsTest("testBrowser",
        name="A Browser test on example.org",
        type="browser",
        status="paused",
        message="Notify @qa",
        device_ids=["laptop_large"],
        locations=["aws:eu-central-1"],
        tags=[],
        request_definition=datadog.SyntheticsTestRequestDefinitionArgs(
            method="GET",
            url="https://app.datadoghq.com",
        ),
        browser_steps=[
            datadog.SyntheticsTestBrowserStepArgs(
                name="Check current url",
                type="assertCurrentUrl",
                params=datadog.SyntheticsTestBrowserStepParamsArgs(
                    check="contains",
                    value="datadoghq",
                ),
            ),
            datadog.SyntheticsTestBrowserStepArgs(
                name="Test a downloaded file",
                type="assertFileDownload",
                params=datadog.SyntheticsTestBrowserStepParamsArgs(
                    file=json.dumps({
                        "md5": "abcdef1234567890",
                        "sizeCheck": {
                            "type": "equals",
                            "value": 1,
                        },
                        "nameCheck": {
                            "type": "contains",
                            "value": ".xls",
                        },
                    }),
                ),
            ),
        ],
        browser_variables=[
            datadog.SyntheticsTestBrowserVariableArgs(
                type="text",
                name="MY_PATTERN_VAR",
                pattern="{{numeric(3)}}",
                example="597",
            ),
            datadog.SyntheticsTestBrowserVariableArgs(
                type="email",
                name="MY_EMAIL_VAR",
                pattern="jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co",
                example="jd8-afe-ydv.4546132139@synthetics.dtdg.co",
            ),
            datadog.SyntheticsTestBrowserVariableArgs(
                type="global",
                name="MY_GLOBAL_VAR",
                id="76636cd1-82e2-4aeb-9cfe-51366a8198a2",
            ),
        ],
        options_list=datadog.SyntheticsTestOptionsListArgs(
            tick_every=3600,
        ))
    # Example Usage (GRPC API test)
    # Create a new Datadog GRPC API test starting on google.org:50050
    grpc = datadog.SyntheticsTest("grpc",
        type="api",
        subtype="grpc",
        request_definition=datadog.SyntheticsTestRequestDefinitionArgs(
            method="GET",
            host="google.com",
            port=50050,
            service="Hello",
            plain_proto_file="""syntax = "proto3";
    option java_multiple_files = true;
    option java_package = "io.grpc.examples.helloworld";
    option java_outer_classname = "HelloWorldProto";
    option objc_class_prefix = "HLW";
    package helloworld;
    // The greeting service definition.
    service Greeter {
    	// Sends a greeting
    	rpc SayHello (HelloRequest) returns (HelloReply) {}
    }
    // The request message containing the user's name.
    message HelloRequest {
    	string name = 1;
    }
    // The response message containing the greetings
    message HelloReply {
    	string message = 1;
    }
    """,
        ),
        request_metadata={
            "header": "value",
        },
        assertions=[
            datadog.SyntheticsTestAssertionArgs(
                type="responseTime",
                operator="lessThan",
                target="2000",
            ),
            datadog.SyntheticsTestAssertionArgs(
                operator="is",
                type="grpcHealthcheckStatus",
                target="1",
            ),
            datadog.SyntheticsTestAssertionArgs(
                operator="is",
                target="proto target",
                type="grpcProto",
            ),
            datadog.SyntheticsTestAssertionArgs(
                operator="is",
                target="123",
                property="property",
                type="grpcMetadata",
            ),
        ],
        locations=["aws:eu-central-1"],
        options_list=datadog.SyntheticsTestOptionsListArgs(
            tick_every=60,
        ),
        name="GRPC API test",
        message="Notify @datadog.user",
        tags=[
            "foo:bar",
            "baz",
        ],
        status="paused")
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Example Usage (Synthetics API test)
    		// Create a new Datadog Synthetics API/HTTP test on https://www.example.org
    		_, err := datadog.NewSyntheticsTest(ctx, "testUptime", &datadog.SyntheticsTestArgs{
    			Name:    pulumi.String("An Uptime test on example.org"),
    			Type:    pulumi.String("api"),
    			Subtype: pulumi.String("http"),
    			Status:  pulumi.String("live"),
    			Message: pulumi.String("Notify @pagerduty"),
    			Locations: pulumi.StringArray{
    				pulumi.String("aws:eu-central-1"),
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    				pulumi.String("foo"),
    				pulumi.String("env:test"),
    			},
    			RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{
    				Method: pulumi.String("GET"),
    				Url:    pulumi.String("https://www.example.org"),
    			},
    			RequestHeaders: pulumi.Map{
    				"Content-Type": pulumi.Any("application/json"),
    			},
    			Assertions: datadog.SyntheticsTestAssertionArray{
    				&datadog.SyntheticsTestAssertionArgs{
    					Type:     pulumi.String("statusCode"),
    					Operator: pulumi.String("is"),
    					Target:   pulumi.String("200"),
    				},
    			},
    			OptionsList: &datadog.SyntheticsTestOptionsListArgs{
    				TickEvery: pulumi.Int(900),
    				Retry: &datadog.SyntheticsTestOptionsListRetryArgs{
    					Count:    pulumi.Int(2),
    					Interval: pulumi.Int(300),
    				},
    				MonitorOptions: &datadog.SyntheticsTestOptionsListMonitorOptionsArgs{
    					RenotifyInterval: pulumi.Int(120),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Example Usage (Authenticated API test)
    		// Create a new Datadog Synthetics API/HTTP test on https://www.example.org
    		_, err = datadog.NewSyntheticsTest(ctx, "testApi", &datadog.SyntheticsTestArgs{
    			Name:    pulumi.String("An API test on example.org"),
    			Type:    pulumi.String("api"),
    			Subtype: pulumi.String("http"),
    			Status:  pulumi.String("live"),
    			Message: pulumi.String("Notify @pagerduty"),
    			Locations: pulumi.StringArray{
    				pulumi.String("aws:eu-central-1"),
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    				pulumi.String("foo"),
    				pulumi.String("env:test"),
    			},
    			RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{
    				Method: pulumi.String("GET"),
    				Url:    pulumi.String("https://www.example.org"),
    			},
    			RequestHeaders: pulumi.Map{
    				"Content-Type":   pulumi.Any("application/json"),
    				"Authentication": pulumi.Any("Token: 1234566789"),
    			},
    			Assertions: datadog.SyntheticsTestAssertionArray{
    				&datadog.SyntheticsTestAssertionArgs{
    					Type:     pulumi.String("statusCode"),
    					Operator: pulumi.String("is"),
    					Target:   pulumi.String("200"),
    				},
    			},
    			OptionsList: &datadog.SyntheticsTestOptionsListArgs{
    				TickEvery: pulumi.Int(900),
    				Retry: &datadog.SyntheticsTestOptionsListRetryArgs{
    					Count:    pulumi.Int(2),
    					Interval: pulumi.Int(300),
    				},
    				MonitorOptions: &datadog.SyntheticsTestOptionsListMonitorOptionsArgs{
    					RenotifyInterval: pulumi.Int(120),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Example Usage (Synthetics SSL test)
    		// Create a new Datadog Synthetics API/SSL test on example.org
    		_, err = datadog.NewSyntheticsTest(ctx, "testSsl", &datadog.SyntheticsTestArgs{
    			Name:    pulumi.String("An API test on example.org"),
    			Type:    pulumi.String("api"),
    			Subtype: pulumi.String("ssl"),
    			Status:  pulumi.String("live"),
    			Message: pulumi.String("Notify @pagerduty"),
    			Locations: pulumi.StringArray{
    				pulumi.String("aws:eu-central-1"),
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    				pulumi.String("foo"),
    				pulumi.String("env:test"),
    			},
    			RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{
    				Host: pulumi.String("example.org"),
    				Port: pulumi.Int(443),
    			},
    			Assertions: datadog.SyntheticsTestAssertionArray{
    				&datadog.SyntheticsTestAssertionArgs{
    					Type:     pulumi.String("certificate"),
    					Operator: pulumi.String("isInMoreThan"),
    					Target:   pulumi.String("30"),
    				},
    			},
    			OptionsList: &datadog.SyntheticsTestOptionsListArgs{
    				TickEvery:        pulumi.Int(900),
    				AcceptSelfSigned: pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Example Usage (Synthetics TCP test)
    		// Create a new Datadog Synthetics API/TCP test on example.org
    		_, err = datadog.NewSyntheticsTest(ctx, "testTcp", &datadog.SyntheticsTestArgs{
    			Name:    pulumi.String("An API test on example.org"),
    			Type:    pulumi.String("api"),
    			Subtype: pulumi.String("tcp"),
    			Status:  pulumi.String("live"),
    			Message: pulumi.String("Notify @pagerduty"),
    			Locations: pulumi.StringArray{
    				pulumi.String("aws:eu-central-1"),
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    				pulumi.String("foo"),
    				pulumi.String("env:test"),
    			},
    			RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{
    				Host: pulumi.String("example.org"),
    				Port: pulumi.Int(443),
    			},
    			Assertions: datadog.SyntheticsTestAssertionArray{
    				&datadog.SyntheticsTestAssertionArgs{
    					Type:     pulumi.String("responseTime"),
    					Operator: pulumi.String("lessThan"),
    					Target:   pulumi.String("2000"),
    				},
    			},
    			ConfigVariables: datadog.SyntheticsTestConfigVariableArray{
    				&datadog.SyntheticsTestConfigVariableArgs{
    					Type: pulumi.String("global"),
    					Name: pulumi.String("MY_GLOBAL_VAR"),
    					Id:   pulumi.String("76636cd1-82e2-4aeb-9cfe-51366a8198a2"),
    				},
    			},
    			OptionsList: &datadog.SyntheticsTestOptionsListArgs{
    				TickEvery: pulumi.Int(900),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Example Usage (Synthetics DNS test)
    		// Create a new Datadog Synthetics API/DNS test on example.org
    		_, err = datadog.NewSyntheticsTest(ctx, "testDns", &datadog.SyntheticsTestArgs{
    			Name:    pulumi.String("An API test on example.org"),
    			Type:    pulumi.String("api"),
    			Subtype: pulumi.String("dns"),
    			Status:  pulumi.String("live"),
    			Message: pulumi.String("Notify @pagerduty"),
    			Locations: pulumi.StringArray{
    				pulumi.String("aws:eu-central-1"),
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    				pulumi.String("foo"),
    				pulumi.String("env:test"),
    			},
    			RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{
    				Host: pulumi.String("example.org"),
    			},
    			Assertions: datadog.SyntheticsTestAssertionArray{
    				&datadog.SyntheticsTestAssertionArgs{
    					Type:     pulumi.String("recordSome"),
    					Operator: pulumi.String("is"),
    					Property: pulumi.String("A"),
    					Target:   pulumi.String("0.0.0.0"),
    				},
    			},
    			OptionsList: &datadog.SyntheticsTestOptionsListArgs{
    				TickEvery: pulumi.Int(900),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Example Usage (Synthetics Multistep API test)
    		// Create a new Datadog Synthetics Multistep API test
    		_, err = datadog.NewSyntheticsTest(ctx, "testMultiStep", &datadog.SyntheticsTestArgs{
    			Name:    pulumi.String("Multistep API test"),
    			Type:    pulumi.String("api"),
    			Subtype: pulumi.String("multi"),
    			Status:  pulumi.String("live"),
    			Locations: pulumi.StringArray{
    				pulumi.String("aws:eu-central-1"),
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    				pulumi.String("foo"),
    				pulumi.String("env:test"),
    			},
    			ApiSteps: datadog.SyntheticsTestApiStepArray{
    				&datadog.SyntheticsTestApiStepArgs{
    					Name:    pulumi.String("An API test on example.org"),
    					Subtype: pulumi.String("http"),
    					Assertions: datadog.SyntheticsTestApiStepAssertionArray{
    						&datadog.SyntheticsTestApiStepAssertionArgs{
    							Type:     pulumi.String("statusCode"),
    							Operator: pulumi.String("is"),
    							Target:   pulumi.String("200"),
    						},
    					},
    					RequestDefinition: &datadog.SyntheticsTestApiStepRequestDefinitionArgs{
    						Method: pulumi.String("GET"),
    						Url:    pulumi.String("https://example.org"),
    					},
    					RequestHeaders: pulumi.Map{
    						"Content-Type":   pulumi.Any("application/json"),
    						"Authentication": pulumi.Any("Token: 1234566789"),
    					},
    				},
    				&datadog.SyntheticsTestApiStepArgs{
    					Name:    pulumi.String("An API test on example.org"),
    					Subtype: pulumi.String("http"),
    					Assertions: datadog.SyntheticsTestApiStepAssertionArray{
    						&datadog.SyntheticsTestApiStepAssertionArgs{
    							Type:     pulumi.String("statusCode"),
    							Operator: pulumi.String("is"),
    							Target:   pulumi.String("200"),
    						},
    					},
    					RequestDefinition: &datadog.SyntheticsTestApiStepRequestDefinitionArgs{
    						Method: pulumi.String("GET"),
    						Url:    pulumi.String("http://example.org"),
    					},
    				},
    			},
    			OptionsList: &datadog.SyntheticsTestOptionsListArgs{
    				TickEvery:        pulumi.Int(900),
    				AcceptSelfSigned: pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"md5": "abcdef1234567890",
    			"sizeCheck": map[string]interface{}{
    				"type":  "equals",
    				"value": 1,
    			},
    			"nameCheck": map[string]interface{}{
    				"type":  "contains",
    				"value": ".xls",
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		// Example Usage (Synthetics Browser test)
    		// Create a new Datadog Synthetics Browser test starting on https://www.example.org
    		_, err = datadog.NewSyntheticsTest(ctx, "testBrowser", &datadog.SyntheticsTestArgs{
    			Name:    pulumi.String("A Browser test on example.org"),
    			Type:    pulumi.String("browser"),
    			Status:  pulumi.String("paused"),
    			Message: pulumi.String("Notify @qa"),
    			DeviceIds: pulumi.StringArray{
    				pulumi.String("laptop_large"),
    			},
    			Locations: pulumi.StringArray{
    				pulumi.String("aws:eu-central-1"),
    			},
    			Tags: pulumi.StringArray{},
    			RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{
    				Method: pulumi.String("GET"),
    				Url:    pulumi.String("https://app.datadoghq.com"),
    			},
    			BrowserSteps: datadog.SyntheticsTestBrowserStepArray{
    				&datadog.SyntheticsTestBrowserStepArgs{
    					Name: pulumi.String("Check current url"),
    					Type: pulumi.String("assertCurrentUrl"),
    					Params: &datadog.SyntheticsTestBrowserStepParamsArgs{
    						Check: pulumi.String("contains"),
    						Value: pulumi.String("datadoghq"),
    					},
    				},
    				&datadog.SyntheticsTestBrowserStepArgs{
    					Name: pulumi.String("Test a downloaded file"),
    					Type: pulumi.String("assertFileDownload"),
    					Params: &datadog.SyntheticsTestBrowserStepParamsArgs{
    						File: pulumi.String(json0),
    					},
    				},
    			},
    			BrowserVariables: datadog.SyntheticsTestBrowserVariableArray{
    				&datadog.SyntheticsTestBrowserVariableArgs{
    					Type:    pulumi.String("text"),
    					Name:    pulumi.String("MY_PATTERN_VAR"),
    					Pattern: pulumi.String("{{numeric(3)}}"),
    					Example: pulumi.String("597"),
    				},
    				&datadog.SyntheticsTestBrowserVariableArgs{
    					Type:    pulumi.String("email"),
    					Name:    pulumi.String("MY_EMAIL_VAR"),
    					Pattern: pulumi.String("jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co"),
    					Example: pulumi.String("jd8-afe-ydv.4546132139@synthetics.dtdg.co"),
    				},
    				&datadog.SyntheticsTestBrowserVariableArgs{
    					Type: pulumi.String("global"),
    					Name: pulumi.String("MY_GLOBAL_VAR"),
    					Id:   pulumi.String("76636cd1-82e2-4aeb-9cfe-51366a8198a2"),
    				},
    			},
    			OptionsList: &datadog.SyntheticsTestOptionsListArgs{
    				TickEvery: pulumi.Int(3600),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Example Usage (GRPC API test)
    		// Create a new Datadog GRPC API test starting on google.org:50050
    		_, err = datadog.NewSyntheticsTest(ctx, "grpc", &datadog.SyntheticsTestArgs{
    			Type:    pulumi.String("api"),
    			Subtype: pulumi.String("grpc"),
    			RequestDefinition: &datadog.SyntheticsTestRequestDefinitionArgs{
    				Method:  pulumi.String("GET"),
    				Host:    pulumi.String("google.com"),
    				Port:    pulumi.Int(50050),
    				Service: pulumi.String("Hello"),
    				PlainProtoFile: pulumi.String(`syntax = "proto3";
    option java_multiple_files = true;
    option java_package = "io.grpc.examples.helloworld";
    option java_outer_classname = "HelloWorldProto";
    option objc_class_prefix = "HLW";
    package helloworld;
    // The greeting service definition.
    service Greeter {
    	// Sends a greeting
    	rpc SayHello (HelloRequest) returns (HelloReply) {}
    }
    // The request message containing the user's name.
    message HelloRequest {
    	string name = 1;
    }
    // The response message containing the greetings
    message HelloReply {
    	string message = 1;
    }
    `),
    			},
    			RequestMetadata: pulumi.Map{
    				"header": pulumi.Any("value"),
    			},
    			Assertions: datadog.SyntheticsTestAssertionArray{
    				&datadog.SyntheticsTestAssertionArgs{
    					Type:     pulumi.String("responseTime"),
    					Operator: pulumi.String("lessThan"),
    					Target:   pulumi.String("2000"),
    				},
    				&datadog.SyntheticsTestAssertionArgs{
    					Operator: pulumi.String("is"),
    					Type:     pulumi.String("grpcHealthcheckStatus"),
    					Target:   pulumi.String("1"),
    				},
    				&datadog.SyntheticsTestAssertionArgs{
    					Operator: pulumi.String("is"),
    					Target:   pulumi.String("proto target"),
    					Type:     pulumi.String("grpcProto"),
    				},
    				&datadog.SyntheticsTestAssertionArgs{
    					Operator: pulumi.String("is"),
    					Target:   pulumi.String("123"),
    					Property: pulumi.String("property"),
    					Type:     pulumi.String("grpcMetadata"),
    				},
    			},
    			Locations: pulumi.StringArray{
    				pulumi.String("aws:eu-central-1"),
    			},
    			OptionsList: &datadog.SyntheticsTestOptionsListArgs{
    				TickEvery: pulumi.Int(60),
    			},
    			Name:    pulumi.String("GRPC API test"),
    			Message: pulumi.String("Notify @datadog.user"),
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    				pulumi.String("baz"),
    			},
    			Status: pulumi.String("paused"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Datadog = Pulumi.Datadog;
    
    return await Deployment.RunAsync(() => 
    {
        // Example Usage (Synthetics API test)
        // Create a new Datadog Synthetics API/HTTP test on https://www.example.org
        var testUptime = new Datadog.SyntheticsTest("testUptime", new()
        {
            Name = "An Uptime test on example.org",
            Type = "api",
            Subtype = "http",
            Status = "live",
            Message = "Notify @pagerduty",
            Locations = new[]
            {
                "aws:eu-central-1",
            },
            Tags = new[]
            {
                "foo:bar",
                "foo",
                "env:test",
            },
            RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs
            {
                Method = "GET",
                Url = "https://www.example.org",
            },
            RequestHeaders = 
            {
                { "Content-Type", "application/json" },
            },
            Assertions = new[]
            {
                new Datadog.Inputs.SyntheticsTestAssertionArgs
                {
                    Type = "statusCode",
                    Operator = "is",
                    Target = "200",
                },
            },
            OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs
            {
                TickEvery = 900,
                Retry = new Datadog.Inputs.SyntheticsTestOptionsListRetryArgs
                {
                    Count = 2,
                    Interval = 300,
                },
                MonitorOptions = new Datadog.Inputs.SyntheticsTestOptionsListMonitorOptionsArgs
                {
                    RenotifyInterval = 120,
                },
            },
        });
    
        // Example Usage (Authenticated API test)
        // Create a new Datadog Synthetics API/HTTP test on https://www.example.org
        var testApi = new Datadog.SyntheticsTest("testApi", new()
        {
            Name = "An API test on example.org",
            Type = "api",
            Subtype = "http",
            Status = "live",
            Message = "Notify @pagerduty",
            Locations = new[]
            {
                "aws:eu-central-1",
            },
            Tags = new[]
            {
                "foo:bar",
                "foo",
                "env:test",
            },
            RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs
            {
                Method = "GET",
                Url = "https://www.example.org",
            },
            RequestHeaders = 
            {
                { "Content-Type", "application/json" },
                { "Authentication", "Token: 1234566789" },
            },
            Assertions = new[]
            {
                new Datadog.Inputs.SyntheticsTestAssertionArgs
                {
                    Type = "statusCode",
                    Operator = "is",
                    Target = "200",
                },
            },
            OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs
            {
                TickEvery = 900,
                Retry = new Datadog.Inputs.SyntheticsTestOptionsListRetryArgs
                {
                    Count = 2,
                    Interval = 300,
                },
                MonitorOptions = new Datadog.Inputs.SyntheticsTestOptionsListMonitorOptionsArgs
                {
                    RenotifyInterval = 120,
                },
            },
        });
    
        // Example Usage (Synthetics SSL test)
        // Create a new Datadog Synthetics API/SSL test on example.org
        var testSsl = new Datadog.SyntheticsTest("testSsl", new()
        {
            Name = "An API test on example.org",
            Type = "api",
            Subtype = "ssl",
            Status = "live",
            Message = "Notify @pagerduty",
            Locations = new[]
            {
                "aws:eu-central-1",
            },
            Tags = new[]
            {
                "foo:bar",
                "foo",
                "env:test",
            },
            RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs
            {
                Host = "example.org",
                Port = 443,
            },
            Assertions = new[]
            {
                new Datadog.Inputs.SyntheticsTestAssertionArgs
                {
                    Type = "certificate",
                    Operator = "isInMoreThan",
                    Target = "30",
                },
            },
            OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs
            {
                TickEvery = 900,
                AcceptSelfSigned = true,
            },
        });
    
        // Example Usage (Synthetics TCP test)
        // Create a new Datadog Synthetics API/TCP test on example.org
        var testTcp = new Datadog.SyntheticsTest("testTcp", new()
        {
            Name = "An API test on example.org",
            Type = "api",
            Subtype = "tcp",
            Status = "live",
            Message = "Notify @pagerduty",
            Locations = new[]
            {
                "aws:eu-central-1",
            },
            Tags = new[]
            {
                "foo:bar",
                "foo",
                "env:test",
            },
            RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs
            {
                Host = "example.org",
                Port = 443,
            },
            Assertions = new[]
            {
                new Datadog.Inputs.SyntheticsTestAssertionArgs
                {
                    Type = "responseTime",
                    Operator = "lessThan",
                    Target = "2000",
                },
            },
            ConfigVariables = new[]
            {
                new Datadog.Inputs.SyntheticsTestConfigVariableArgs
                {
                    Type = "global",
                    Name = "MY_GLOBAL_VAR",
                    Id = "76636cd1-82e2-4aeb-9cfe-51366a8198a2",
                },
            },
            OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs
            {
                TickEvery = 900,
            },
        });
    
        // Example Usage (Synthetics DNS test)
        // Create a new Datadog Synthetics API/DNS test on example.org
        var testDns = new Datadog.SyntheticsTest("testDns", new()
        {
            Name = "An API test on example.org",
            Type = "api",
            Subtype = "dns",
            Status = "live",
            Message = "Notify @pagerduty",
            Locations = new[]
            {
                "aws:eu-central-1",
            },
            Tags = new[]
            {
                "foo:bar",
                "foo",
                "env:test",
            },
            RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs
            {
                Host = "example.org",
            },
            Assertions = new[]
            {
                new Datadog.Inputs.SyntheticsTestAssertionArgs
                {
                    Type = "recordSome",
                    Operator = "is",
                    Property = "A",
                    Target = "0.0.0.0",
                },
            },
            OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs
            {
                TickEvery = 900,
            },
        });
    
        // Example Usage (Synthetics Multistep API test)
        // Create a new Datadog Synthetics Multistep API test
        var testMultiStep = new Datadog.SyntheticsTest("testMultiStep", new()
        {
            Name = "Multistep API test",
            Type = "api",
            Subtype = "multi",
            Status = "live",
            Locations = new[]
            {
                "aws:eu-central-1",
            },
            Tags = new[]
            {
                "foo:bar",
                "foo",
                "env:test",
            },
            ApiSteps = new[]
            {
                new Datadog.Inputs.SyntheticsTestApiStepArgs
                {
                    Name = "An API test on example.org",
                    Subtype = "http",
                    Assertions = new[]
                    {
                        new Datadog.Inputs.SyntheticsTestApiStepAssertionArgs
                        {
                            Type = "statusCode",
                            Operator = "is",
                            Target = "200",
                        },
                    },
                    RequestDefinition = new Datadog.Inputs.SyntheticsTestApiStepRequestDefinitionArgs
                    {
                        Method = "GET",
                        Url = "https://example.org",
                    },
                    RequestHeaders = 
                    {
                        { "Content-Type", "application/json" },
                        { "Authentication", "Token: 1234566789" },
                    },
                },
                new Datadog.Inputs.SyntheticsTestApiStepArgs
                {
                    Name = "An API test on example.org",
                    Subtype = "http",
                    Assertions = new[]
                    {
                        new Datadog.Inputs.SyntheticsTestApiStepAssertionArgs
                        {
                            Type = "statusCode",
                            Operator = "is",
                            Target = "200",
                        },
                    },
                    RequestDefinition = new Datadog.Inputs.SyntheticsTestApiStepRequestDefinitionArgs
                    {
                        Method = "GET",
                        Url = "http://example.org",
                    },
                },
            },
            OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs
            {
                TickEvery = 900,
                AcceptSelfSigned = true,
            },
        });
    
        // Example Usage (Synthetics Browser test)
        // Create a new Datadog Synthetics Browser test starting on https://www.example.org
        var testBrowser = new Datadog.SyntheticsTest("testBrowser", new()
        {
            Name = "A Browser test on example.org",
            Type = "browser",
            Status = "paused",
            Message = "Notify @qa",
            DeviceIds = new[]
            {
                "laptop_large",
            },
            Locations = new[]
            {
                "aws:eu-central-1",
            },
            Tags = new[] {},
            RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs
            {
                Method = "GET",
                Url = "https://app.datadoghq.com",
            },
            BrowserSteps = new[]
            {
                new Datadog.Inputs.SyntheticsTestBrowserStepArgs
                {
                    Name = "Check current url",
                    Type = "assertCurrentUrl",
                    Params = new Datadog.Inputs.SyntheticsTestBrowserStepParamsArgs
                    {
                        Check = "contains",
                        Value = "datadoghq",
                    },
                },
                new Datadog.Inputs.SyntheticsTestBrowserStepArgs
                {
                    Name = "Test a downloaded file",
                    Type = "assertFileDownload",
                    Params = new Datadog.Inputs.SyntheticsTestBrowserStepParamsArgs
                    {
                        File = JsonSerializer.Serialize(new Dictionary<string, object?>
                        {
                            ["md5"] = "abcdef1234567890",
                            ["sizeCheck"] = new Dictionary<string, object?>
                            {
                                ["type"] = "equals",
                                ["value"] = 1,
                            },
                            ["nameCheck"] = new Dictionary<string, object?>
                            {
                                ["type"] = "contains",
                                ["value"] = ".xls",
                            },
                        }),
                    },
                },
            },
            BrowserVariables = new[]
            {
                new Datadog.Inputs.SyntheticsTestBrowserVariableArgs
                {
                    Type = "text",
                    Name = "MY_PATTERN_VAR",
                    Pattern = "{{numeric(3)}}",
                    Example = "597",
                },
                new Datadog.Inputs.SyntheticsTestBrowserVariableArgs
                {
                    Type = "email",
                    Name = "MY_EMAIL_VAR",
                    Pattern = "jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co",
                    Example = "jd8-afe-ydv.4546132139@synthetics.dtdg.co",
                },
                new Datadog.Inputs.SyntheticsTestBrowserVariableArgs
                {
                    Type = "global",
                    Name = "MY_GLOBAL_VAR",
                    Id = "76636cd1-82e2-4aeb-9cfe-51366a8198a2",
                },
            },
            OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs
            {
                TickEvery = 3600,
            },
        });
    
        // Example Usage (GRPC API test)
        // Create a new Datadog GRPC API test starting on google.org:50050
        var grpc = new Datadog.SyntheticsTest("grpc", new()
        {
            Type = "api",
            Subtype = "grpc",
            RequestDefinition = new Datadog.Inputs.SyntheticsTestRequestDefinitionArgs
            {
                Method = "GET",
                Host = "google.com",
                Port = 50050,
                Service = "Hello",
                PlainProtoFile = @"syntax = ""proto3"";
    option java_multiple_files = true;
    option java_package = ""io.grpc.examples.helloworld"";
    option java_outer_classname = ""HelloWorldProto"";
    option objc_class_prefix = ""HLW"";
    package helloworld;
    // The greeting service definition.
    service Greeter {
    	// Sends a greeting
    	rpc SayHello (HelloRequest) returns (HelloReply) {}
    }
    // The request message containing the user's name.
    message HelloRequest {
    	string name = 1;
    }
    // The response message containing the greetings
    message HelloReply {
    	string message = 1;
    }
    ",
            },
            RequestMetadata = 
            {
                { "header", "value" },
            },
            Assertions = new[]
            {
                new Datadog.Inputs.SyntheticsTestAssertionArgs
                {
                    Type = "responseTime",
                    Operator = "lessThan",
                    Target = "2000",
                },
                new Datadog.Inputs.SyntheticsTestAssertionArgs
                {
                    Operator = "is",
                    Type = "grpcHealthcheckStatus",
                    Target = "1",
                },
                new Datadog.Inputs.SyntheticsTestAssertionArgs
                {
                    Operator = "is",
                    Target = "proto target",
                    Type = "grpcProto",
                },
                new Datadog.Inputs.SyntheticsTestAssertionArgs
                {
                    Operator = "is",
                    Target = "123",
                    Property = "property",
                    Type = "grpcMetadata",
                },
            },
            Locations = new[]
            {
                "aws:eu-central-1",
            },
            OptionsList = new Datadog.Inputs.SyntheticsTestOptionsListArgs
            {
                TickEvery = 60,
            },
            Name = "GRPC API test",
            Message = "Notify @datadog.user",
            Tags = new[]
            {
                "foo:bar",
                "baz",
            },
            Status = "paused",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.datadog.SyntheticsTest;
    import com.pulumi.datadog.SyntheticsTestArgs;
    import com.pulumi.datadog.inputs.SyntheticsTestRequestDefinitionArgs;
    import com.pulumi.datadog.inputs.SyntheticsTestAssertionArgs;
    import com.pulumi.datadog.inputs.SyntheticsTestOptionsListArgs;
    import com.pulumi.datadog.inputs.SyntheticsTestOptionsListRetryArgs;
    import com.pulumi.datadog.inputs.SyntheticsTestOptionsListMonitorOptionsArgs;
    import com.pulumi.datadog.inputs.SyntheticsTestConfigVariableArgs;
    import com.pulumi.datadog.inputs.SyntheticsTestApiStepArgs;
    import com.pulumi.datadog.inputs.SyntheticsTestApiStepRequestDefinitionArgs;
    import com.pulumi.datadog.inputs.SyntheticsTestBrowserStepArgs;
    import com.pulumi.datadog.inputs.SyntheticsTestBrowserStepParamsArgs;
    import com.pulumi.datadog.inputs.SyntheticsTestBrowserVariableArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            var testUptime = new SyntheticsTest("testUptime", SyntheticsTestArgs.builder()        
                .name("An Uptime test on example.org")
                .type("api")
                .subtype("http")
                .status("live")
                .message("Notify @pagerduty")
                .locations("aws:eu-central-1")
                .tags(            
                    "foo:bar",
                    "foo",
                    "env:test")
                .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()
                    .method("GET")
                    .url("https://www.example.org")
                    .build())
                .requestHeaders(Map.of("Content-Type", "application/json"))
                .assertions(SyntheticsTestAssertionArgs.builder()
                    .type("statusCode")
                    .operator("is")
                    .target("200")
                    .build())
                .optionsList(SyntheticsTestOptionsListArgs.builder()
                    .tickEvery(900)
                    .retry(SyntheticsTestOptionsListRetryArgs.builder()
                        .count(2)
                        .interval(300)
                        .build())
                    .monitorOptions(SyntheticsTestOptionsListMonitorOptionsArgs.builder()
                        .renotifyInterval(120)
                        .build())
                    .build())
                .build());
    
            var testApi = new SyntheticsTest("testApi", SyntheticsTestArgs.builder()        
                .name("An API test on example.org")
                .type("api")
                .subtype("http")
                .status("live")
                .message("Notify @pagerduty")
                .locations("aws:eu-central-1")
                .tags(            
                    "foo:bar",
                    "foo",
                    "env:test")
                .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()
                    .method("GET")
                    .url("https://www.example.org")
                    .build())
                .requestHeaders(Map.ofEntries(
                    Map.entry("Content-Type", "application/json"),
                    Map.entry("Authentication", "Token: 1234566789")
                ))
                .assertions(SyntheticsTestAssertionArgs.builder()
                    .type("statusCode")
                    .operator("is")
                    .target("200")
                    .build())
                .optionsList(SyntheticsTestOptionsListArgs.builder()
                    .tickEvery(900)
                    .retry(SyntheticsTestOptionsListRetryArgs.builder()
                        .count(2)
                        .interval(300)
                        .build())
                    .monitorOptions(SyntheticsTestOptionsListMonitorOptionsArgs.builder()
                        .renotifyInterval(120)
                        .build())
                    .build())
                .build());
    
            var testSsl = new SyntheticsTest("testSsl", SyntheticsTestArgs.builder()        
                .name("An API test on example.org")
                .type("api")
                .subtype("ssl")
                .status("live")
                .message("Notify @pagerduty")
                .locations("aws:eu-central-1")
                .tags(            
                    "foo:bar",
                    "foo",
                    "env:test")
                .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()
                    .host("example.org")
                    .port(443)
                    .build())
                .assertions(SyntheticsTestAssertionArgs.builder()
                    .type("certificate")
                    .operator("isInMoreThan")
                    .target(30)
                    .build())
                .optionsList(SyntheticsTestOptionsListArgs.builder()
                    .tickEvery(900)
                    .acceptSelfSigned(true)
                    .build())
                .build());
    
            var testTcp = new SyntheticsTest("testTcp", SyntheticsTestArgs.builder()        
                .name("An API test on example.org")
                .type("api")
                .subtype("tcp")
                .status("live")
                .message("Notify @pagerduty")
                .locations("aws:eu-central-1")
                .tags(            
                    "foo:bar",
                    "foo",
                    "env:test")
                .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()
                    .host("example.org")
                    .port(443)
                    .build())
                .assertions(SyntheticsTestAssertionArgs.builder()
                    .type("responseTime")
                    .operator("lessThan")
                    .target(2000)
                    .build())
                .configVariables(SyntheticsTestConfigVariableArgs.builder()
                    .type("global")
                    .name("MY_GLOBAL_VAR")
                    .id("76636cd1-82e2-4aeb-9cfe-51366a8198a2")
                    .build())
                .optionsList(SyntheticsTestOptionsListArgs.builder()
                    .tickEvery(900)
                    .build())
                .build());
    
            var testDns = new SyntheticsTest("testDns", SyntheticsTestArgs.builder()        
                .name("An API test on example.org")
                .type("api")
                .subtype("dns")
                .status("live")
                .message("Notify @pagerduty")
                .locations("aws:eu-central-1")
                .tags(            
                    "foo:bar",
                    "foo",
                    "env:test")
                .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()
                    .host("example.org")
                    .build())
                .assertions(SyntheticsTestAssertionArgs.builder()
                    .type("recordSome")
                    .operator("is")
                    .property("A")
                    .target("0.0.0.0")
                    .build())
                .optionsList(SyntheticsTestOptionsListArgs.builder()
                    .tickEvery(900)
                    .build())
                .build());
    
            var testMultiStep = new SyntheticsTest("testMultiStep", SyntheticsTestArgs.builder()        
                .name("Multistep API test")
                .type("api")
                .subtype("multi")
                .status("live")
                .locations("aws:eu-central-1")
                .tags(            
                    "foo:bar",
                    "foo",
                    "env:test")
                .apiSteps(            
                    SyntheticsTestApiStepArgs.builder()
                        .name("An API test on example.org")
                        .subtype("http")
                        .assertions(SyntheticsTestApiStepAssertionArgs.builder()
                            .type("statusCode")
                            .operator("is")
                            .target("200")
                            .build())
                        .requestDefinition(SyntheticsTestApiStepRequestDefinitionArgs.builder()
                            .method("GET")
                            .url("https://example.org")
                            .build())
                        .requestHeaders(Map.ofEntries(
                            Map.entry("Content-Type", "application/json"),
                            Map.entry("Authentication", "Token: 1234566789")
                        ))
                        .build(),
                    SyntheticsTestApiStepArgs.builder()
                        .name("An API test on example.org")
                        .subtype("http")
                        .assertions(SyntheticsTestApiStepAssertionArgs.builder()
                            .type("statusCode")
                            .operator("is")
                            .target("200")
                            .build())
                        .requestDefinition(SyntheticsTestApiStepRequestDefinitionArgs.builder()
                            .method("GET")
                            .url("http://example.org")
                            .build())
                        .build())
                .optionsList(SyntheticsTestOptionsListArgs.builder()
                    .tickEvery(900)
                    .acceptSelfSigned(true)
                    .build())
                .build());
    
            var testBrowser = new SyntheticsTest("testBrowser", SyntheticsTestArgs.builder()        
                .name("A Browser test on example.org")
                .type("browser")
                .status("paused")
                .message("Notify @qa")
                .deviceIds("laptop_large")
                .locations("aws:eu-central-1")
                .tags()
                .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()
                    .method("GET")
                    .url("https://app.datadoghq.com")
                    .build())
                .browserSteps(            
                    SyntheticsTestBrowserStepArgs.builder()
                        .name("Check current url")
                        .type("assertCurrentUrl")
                        .params(SyntheticsTestBrowserStepParamsArgs.builder()
                            .check("contains")
                            .value("datadoghq")
                            .build())
                        .build(),
                    SyntheticsTestBrowserStepArgs.builder()
                        .name("Test a downloaded file")
                        .type("assertFileDownload")
                        .params(SyntheticsTestBrowserStepParamsArgs.builder()
                            .file(serializeJson(
                                jsonObject(
                                    jsonProperty("md5", "abcdef1234567890"),
                                    jsonProperty("sizeCheck", jsonObject(
                                        jsonProperty("type", "equals"),
                                        jsonProperty("value", 1)
                                    )),
                                    jsonProperty("nameCheck", jsonObject(
                                        jsonProperty("type", "contains"),
                                        jsonProperty("value", ".xls")
                                    ))
                                )))
                            .build())
                        .build())
                .browserVariables(            
                    SyntheticsTestBrowserVariableArgs.builder()
                        .type("text")
                        .name("MY_PATTERN_VAR")
                        .pattern("{{numeric(3)}}")
                        .example("597")
                        .build(),
                    SyntheticsTestBrowserVariableArgs.builder()
                        .type("email")
                        .name("MY_EMAIL_VAR")
                        .pattern("jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co")
                        .example("jd8-afe-ydv.4546132139@synthetics.dtdg.co")
                        .build(),
                    SyntheticsTestBrowserVariableArgs.builder()
                        .type("global")
                        .name("MY_GLOBAL_VAR")
                        .id("76636cd1-82e2-4aeb-9cfe-51366a8198a2")
                        .build())
                .optionsList(SyntheticsTestOptionsListArgs.builder()
                    .tickEvery(3600)
                    .build())
                .build());
    
            var grpc = new SyntheticsTest("grpc", SyntheticsTestArgs.builder()        
                .type("api")
                .subtype("grpc")
                .requestDefinition(SyntheticsTestRequestDefinitionArgs.builder()
                    .method("GET")
                    .host("google.com")
                    .port(50050)
                    .service("Hello")
                    .plainProtoFile("""
    syntax = "proto3";
    option java_multiple_files = true;
    option java_package = "io.grpc.examples.helloworld";
    option java_outer_classname = "HelloWorldProto";
    option objc_class_prefix = "HLW";
    package helloworld;
    // The greeting service definition.
    service Greeter {
    	// Sends a greeting
    	rpc SayHello (HelloRequest) returns (HelloReply) {}
    }
    // The request message containing the user's name.
    message HelloRequest {
    	string name = 1;
    }
    // The response message containing the greetings
    message HelloReply {
    	string message = 1;
    }
                    """)
                    .build())
                .requestMetadata(Map.of("header", "value"))
                .assertions(            
                    SyntheticsTestAssertionArgs.builder()
                        .type("responseTime")
                        .operator("lessThan")
                        .target("2000")
                        .build(),
                    SyntheticsTestAssertionArgs.builder()
                        .operator("is")
                        .type("grpcHealthcheckStatus")
                        .target(1)
                        .build(),
                    SyntheticsTestAssertionArgs.builder()
                        .operator("is")
                        .target("proto target")
                        .type("grpcProto")
                        .build(),
                    SyntheticsTestAssertionArgs.builder()
                        .operator("is")
                        .target("123")
                        .property("property")
                        .type("grpcMetadata")
                        .build())
                .locations("aws:eu-central-1")
                .optionsList(SyntheticsTestOptionsListArgs.builder()
                    .tickEvery(60)
                    .build())
                .name("GRPC API test")
                .message("Notify @datadog.user")
                .tags(            
                    "foo:bar",
                    "baz")
                .status("paused")
                .build());
    
        }
    }
    
    resources:
      # Example Usage (Synthetics API test)
      # Create a new Datadog Synthetics API/HTTP test on https://www.example.org
      testUptime:
        type: datadog:SyntheticsTest
        properties:
          name: An Uptime test on example.org
          type: api
          subtype: http
          status: live
          message: Notify @pagerduty
          locations:
            - aws:eu-central-1
          tags:
            - foo:bar
            - foo
            - env:test
          requestDefinition:
            method: GET
            url: https://www.example.org
          requestHeaders:
            Content-Type: application/json
          assertions:
            - type: statusCode
              operator: is
              target: '200'
          optionsList:
            tickEvery: 900
            retry:
              count: 2
              interval: 300
            monitorOptions:
              renotifyInterval: 120
      # Example Usage (Authenticated API test)
      # Create a new Datadog Synthetics API/HTTP test on https://www.example.org
      testApi:
        type: datadog:SyntheticsTest
        properties:
          name: An API test on example.org
          type: api
          subtype: http
          status: live
          message: Notify @pagerduty
          locations:
            - aws:eu-central-1
          tags:
            - foo:bar
            - foo
            - env:test
          requestDefinition:
            method: GET
            url: https://www.example.org
          requestHeaders:
            Content-Type: application/json
            Authentication: 'Token: 1234566789'
          assertions:
            - type: statusCode
              operator: is
              target: '200'
          optionsList:
            tickEvery: 900
            retry:
              count: 2
              interval: 300
            monitorOptions:
              renotifyInterval: 120
      # Example Usage (Synthetics SSL test)
      # Create a new Datadog Synthetics API/SSL test on example.org
      testSsl:
        type: datadog:SyntheticsTest
        properties:
          name: An API test on example.org
          type: api
          subtype: ssl
          status: live
          message: Notify @pagerduty
          locations:
            - aws:eu-central-1
          tags:
            - foo:bar
            - foo
            - env:test
          requestDefinition:
            host: example.org
            port: 443
          assertions:
            - type: certificate
              operator: isInMoreThan
              target: 30
          optionsList:
            tickEvery: 900
            acceptSelfSigned: true
      # Example Usage (Synthetics TCP test)
      # Create a new Datadog Synthetics API/TCP test on example.org
      testTcp:
        type: datadog:SyntheticsTest
        properties:
          name: An API test on example.org
          type: api
          subtype: tcp
          status: live
          message: Notify @pagerduty
          locations:
            - aws:eu-central-1
          tags:
            - foo:bar
            - foo
            - env:test
          requestDefinition:
            host: example.org
            port: 443
          assertions:
            - type: responseTime
              operator: lessThan
              target: 2000
          configVariables:
            - type: global
              name: MY_GLOBAL_VAR
              id: 76636cd1-82e2-4aeb-9cfe-51366a8198a2
          optionsList:
            tickEvery: 900
      # Example Usage (Synthetics DNS test)
      # Create a new Datadog Synthetics API/DNS test on example.org
      testDns:
        type: datadog:SyntheticsTest
        properties:
          name: An API test on example.org
          type: api
          subtype: dns
          status: live
          message: Notify @pagerduty
          locations:
            - aws:eu-central-1
          tags:
            - foo:bar
            - foo
            - env:test
          requestDefinition:
            host: example.org
          assertions:
            - type: recordSome
              operator: is
              property: A
              target: 0.0.0.0
          optionsList:
            tickEvery: 900
      # Example Usage (Synthetics Multistep API test)
      # Create a new Datadog Synthetics Multistep API test
      testMultiStep:
        type: datadog:SyntheticsTest
        properties:
          name: Multistep API test
          type: api
          subtype: multi
          status: live
          locations:
            - aws:eu-central-1
          tags:
            - foo:bar
            - foo
            - env:test
          apiSteps:
            - name: An API test on example.org
              subtype: http
              assertions:
                - type: statusCode
                  operator: is
                  target: '200'
              requestDefinition:
                method: GET
                url: https://example.org
              requestHeaders:
                Content-Type: application/json
                Authentication: 'Token: 1234566789'
            - name: An API test on example.org
              subtype: http
              assertions:
                - type: statusCode
                  operator: is
                  target: '200'
              requestDefinition:
                method: GET
                url: http://example.org
          optionsList:
            tickEvery: 900
            acceptSelfSigned: true
      # Example Usage (Synthetics Browser test)
      # Create a new Datadog Synthetics Browser test starting on https://www.example.org
      testBrowser:
        type: datadog:SyntheticsTest
        properties:
          name: A Browser test on example.org
          type: browser
          status: paused
          message: Notify @qa
          deviceIds:
            - laptop_large
          locations:
            - aws:eu-central-1
          tags: []
          requestDefinition:
            method: GET
            url: https://app.datadoghq.com
          browserSteps:
            - name: Check current url
              type: assertCurrentUrl
              params:
                check: contains
                value: datadoghq
            - name: Test a downloaded file
              type: assertFileDownload
              params:
                file:
                  fn::toJSON:
                    md5: abcdef1234567890
                    sizeCheck:
                      type: equals
                      value: 1
                    nameCheck:
                      type: contains
                      value: .xls
          browserVariables:
            - type: text
              name: MY_PATTERN_VAR
              pattern: '{{numeric(3)}}'
              example: '597'
            - type: email
              name: MY_EMAIL_VAR
              pattern: jd8-afe-ydv.{{ numeric(10) }}@synthetics.dtdg.co
              example: jd8-afe-ydv.4546132139@synthetics.dtdg.co
            - type: global
              name: MY_GLOBAL_VAR
              id: 76636cd1-82e2-4aeb-9cfe-51366a8198a2
          optionsList:
            tickEvery: 3600
      # Example Usage (GRPC API test)
      # Create a new Datadog GRPC API test starting on google.org:50050
      grpc:
        type: datadog:SyntheticsTest
        properties:
          type: api
          subtype: grpc
          requestDefinition:
            method: GET
            host: google.com
            port: 50050
            service: Hello
            plainProtoFile: |
              syntax = "proto3";
              option java_multiple_files = true;
              option java_package = "io.grpc.examples.helloworld";
              option java_outer_classname = "HelloWorldProto";
              option objc_class_prefix = "HLW";
              package helloworld;
              // The greeting service definition.
              service Greeter {
              	// Sends a greeting
              	rpc SayHello (HelloRequest) returns (HelloReply) {}
              }
              // The request message containing the user's name.
              message HelloRequest {
              	string name = 1;
              }
              // The response message containing the greetings
              message HelloReply {
              	string message = 1;
              }          
          requestMetadata:
            header: value
          assertions:
            - type: responseTime
              operator: lessThan
              target: '2000'
            - operator: is
              type: grpcHealthcheckStatus
              target: 1
            - operator: is
              target: proto target
              type: grpcProto
            - operator: is
              target: '123'
              property: property
              type: grpcMetadata
          locations:
            - aws:eu-central-1
          optionsList:
            tickEvery: 60
          name: GRPC API test
          message: Notify @datadog.user
          tags:
            - foo:bar
            - baz
          status: paused
    

    Create SyntheticsTest Resource

    new SyntheticsTest(name: string, args: SyntheticsTestArgs, opts?: CustomResourceOptions);
    @overload
    def SyntheticsTest(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       api_steps: Optional[Sequence[SyntheticsTestApiStepArgs]] = None,
                       assertions: Optional[Sequence[SyntheticsTestAssertionArgs]] = None,
                       browser_steps: Optional[Sequence[SyntheticsTestBrowserStepArgs]] = None,
                       browser_variables: Optional[Sequence[SyntheticsTestBrowserVariableArgs]] = None,
                       config_variables: Optional[Sequence[SyntheticsTestConfigVariableArgs]] = None,
                       device_ids: Optional[Sequence[str]] = None,
                       locations: Optional[Sequence[str]] = None,
                       message: Optional[str] = None,
                       name: Optional[str] = None,
                       options_list: Optional[SyntheticsTestOptionsListArgs] = None,
                       request_basicauth: Optional[SyntheticsTestRequestBasicauthArgs] = None,
                       request_client_certificate: Optional[SyntheticsTestRequestClientCertificateArgs] = None,
                       request_definition: Optional[SyntheticsTestRequestDefinitionArgs] = None,
                       request_headers: Optional[Mapping[str, Any]] = None,
                       request_metadata: Optional[Mapping[str, Any]] = None,
                       request_proxy: Optional[SyntheticsTestRequestProxyArgs] = None,
                       request_query: Optional[Mapping[str, Any]] = None,
                       set_cookie: Optional[str] = None,
                       status: Optional[str] = None,
                       subtype: Optional[str] = None,
                       tags: Optional[Sequence[str]] = None,
                       type: Optional[str] = None)
    @overload
    def SyntheticsTest(resource_name: str,
                       args: SyntheticsTestArgs,
                       opts: Optional[ResourceOptions] = None)
    func NewSyntheticsTest(ctx *Context, name string, args SyntheticsTestArgs, opts ...ResourceOption) (*SyntheticsTest, error)
    public SyntheticsTest(string name, SyntheticsTestArgs args, CustomResourceOptions? opts = null)
    public SyntheticsTest(String name, SyntheticsTestArgs args)
    public SyntheticsTest(String name, SyntheticsTestArgs args, CustomResourceOptions options)
    
    type: datadog:SyntheticsTest
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SyntheticsTestArgs
    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 SyntheticsTestArgs
    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 SyntheticsTestArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SyntheticsTestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SyntheticsTestArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SyntheticsTest Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SyntheticsTest resource accepts the following input properties:

    Locations List<string>
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    Name string
    Name of Datadog synthetics test.
    Status string
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    ApiSteps List<SyntheticsTestApiStep>
    Steps for multistep api tests
    Assertions List<SyntheticsTestAssertion>
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    BrowserSteps List<SyntheticsTestBrowserStep>
    Steps for browser tests.
    BrowserVariables List<SyntheticsTestBrowserVariable>
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    ConfigVariables List<SyntheticsTestConfigVariable>
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    DeviceIds List<string>
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    Message string
    For UDP and websocket tests, message to send with the request.
    OptionsList SyntheticsTestOptionsList
    RequestBasicauth SyntheticsTestRequestBasicauth
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    RequestClientCertificate SyntheticsTestRequestClientCertificate
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    RequestDefinition SyntheticsTestRequestDefinition
    The request for the api step.
    RequestHeaders Dictionary<string, object>
    Header name and value map.
    RequestMetadata Dictionary<string, object>
    Metadata to include when performing the gRPC test.
    RequestProxy SyntheticsTestRequestProxy
    The proxy to perform the test.
    RequestQuery Dictionary<string, object>
    Query arguments name and value map.
    SetCookie string
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    Subtype string
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    Tags List<string>
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).
    Locations []string
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    Name string
    Name of Datadog synthetics test.
    Status string
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    ApiSteps []SyntheticsTestApiStepArgs
    Steps for multistep api tests
    Assertions []SyntheticsTestAssertionArgs
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    BrowserSteps []SyntheticsTestBrowserStepArgs
    Steps for browser tests.
    BrowserVariables []SyntheticsTestBrowserVariableArgs
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    ConfigVariables []SyntheticsTestConfigVariableArgs
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    DeviceIds []string
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    Message string
    For UDP and websocket tests, message to send with the request.
    OptionsList SyntheticsTestOptionsListArgs
    RequestBasicauth SyntheticsTestRequestBasicauthArgs
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    RequestClientCertificate SyntheticsTestRequestClientCertificateArgs
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    RequestDefinition SyntheticsTestRequestDefinitionArgs
    The request for the api step.
    RequestHeaders map[string]interface{}
    Header name and value map.
    RequestMetadata map[string]interface{}
    Metadata to include when performing the gRPC test.
    RequestProxy SyntheticsTestRequestProxyArgs
    The proxy to perform the test.
    RequestQuery map[string]interface{}
    Query arguments name and value map.
    SetCookie string
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    Subtype string
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    Tags []string
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).
    locations List<String>
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    name String
    Name of Datadog synthetics test.
    status String
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    apiSteps List<SyntheticsTestApiStep>
    Steps for multistep api tests
    assertions List<SyntheticsTestAssertion>
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    browserSteps List<SyntheticsTestBrowserStep>
    Steps for browser tests.
    browserVariables List<SyntheticsTestBrowserVariable>
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    configVariables List<SyntheticsTestConfigVariable>
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    deviceIds List<String>
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    message String
    For UDP and websocket tests, message to send with the request.
    optionsList SyntheticsTestOptionsList
    requestBasicauth SyntheticsTestRequestBasicauth
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    requestClientCertificate SyntheticsTestRequestClientCertificate
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    requestDefinition SyntheticsTestRequestDefinition
    The request for the api step.
    requestHeaders Map<String,Object>
    Header name and value map.
    requestMetadata Map<String,Object>
    Metadata to include when performing the gRPC test.
    requestProxy SyntheticsTestRequestProxy
    The proxy to perform the test.
    requestQuery Map<String,Object>
    Query arguments name and value map.
    setCookie String
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    subtype String
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    tags List<String>
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).
    locations string[]
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    name string
    Name of Datadog synthetics test.
    status string
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    apiSteps SyntheticsTestApiStep[]
    Steps for multistep api tests
    assertions SyntheticsTestAssertion[]
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    browserSteps SyntheticsTestBrowserStep[]
    Steps for browser tests.
    browserVariables SyntheticsTestBrowserVariable[]
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    configVariables SyntheticsTestConfigVariable[]
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    deviceIds string[]
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    message string
    For UDP and websocket tests, message to send with the request.
    optionsList SyntheticsTestOptionsList
    requestBasicauth SyntheticsTestRequestBasicauth
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    requestClientCertificate SyntheticsTestRequestClientCertificate
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    requestDefinition SyntheticsTestRequestDefinition
    The request for the api step.
    requestHeaders {[key: string]: any}
    Header name and value map.
    requestMetadata {[key: string]: any}
    Metadata to include when performing the gRPC test.
    requestProxy SyntheticsTestRequestProxy
    The proxy to perform the test.
    requestQuery {[key: string]: any}
    Query arguments name and value map.
    setCookie string
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    subtype string
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    tags string[]
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).
    locations Sequence[str]
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    name str
    Name of Datadog synthetics test.
    status str
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    type str
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    api_steps Sequence[SyntheticsTestApiStepArgs]
    Steps for multistep api tests
    assertions Sequence[SyntheticsTestAssertionArgs]
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    browser_steps Sequence[SyntheticsTestBrowserStepArgs]
    Steps for browser tests.
    browser_variables Sequence[SyntheticsTestBrowserVariableArgs]
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    config_variables Sequence[SyntheticsTestConfigVariableArgs]
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    device_ids Sequence[str]
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    message str
    For UDP and websocket tests, message to send with the request.
    options_list SyntheticsTestOptionsListArgs
    request_basicauth SyntheticsTestRequestBasicauthArgs
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    request_client_certificate SyntheticsTestRequestClientCertificateArgs
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    request_definition SyntheticsTestRequestDefinitionArgs
    The request for the api step.
    request_headers Mapping[str, Any]
    Header name and value map.
    request_metadata Mapping[str, Any]
    Metadata to include when performing the gRPC test.
    request_proxy SyntheticsTestRequestProxyArgs
    The proxy to perform the test.
    request_query Mapping[str, Any]
    Query arguments name and value map.
    set_cookie str
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    subtype str
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    tags Sequence[str]
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).
    locations List<String>
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    name String
    Name of Datadog synthetics test.
    status String
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    apiSteps List<Property Map>
    Steps for multistep api tests
    assertions List<Property Map>
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    browserSteps List<Property Map>
    Steps for browser tests.
    browserVariables List<Property Map>
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    configVariables List<Property Map>
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    deviceIds List<String>
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    message String
    For UDP and websocket tests, message to send with the request.
    optionsList Property Map
    requestBasicauth Property Map
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    requestClientCertificate Property Map
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    requestDefinition Property Map
    The request for the api step.
    requestHeaders Map<Any>
    Header name and value map.
    requestMetadata Map<Any>
    Metadata to include when performing the gRPC test.
    requestProxy Property Map
    The proxy to perform the test.
    requestQuery Map<Any>
    Query arguments name and value map.
    setCookie String
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    subtype String
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    tags List<String>
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SyntheticsTest resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    MonitorId int
    ID of the monitor associated with the Datadog synthetics test.
    Id string
    The provider-assigned unique ID for this managed resource.
    MonitorId int
    ID of the monitor associated with the Datadog synthetics test.
    id String
    The provider-assigned unique ID for this managed resource.
    monitorId Integer
    ID of the monitor associated with the Datadog synthetics test.
    id string
    The provider-assigned unique ID for this managed resource.
    monitorId number
    ID of the monitor associated with the Datadog synthetics test.
    id str
    The provider-assigned unique ID for this managed resource.
    monitor_id int
    ID of the monitor associated with the Datadog synthetics test.
    id String
    The provider-assigned unique ID for this managed resource.
    monitorId Number
    ID of the monitor associated with the Datadog synthetics test.

    Look up Existing SyntheticsTest Resource

    Get an existing SyntheticsTest 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?: SyntheticsTestState, opts?: CustomResourceOptions): SyntheticsTest
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_steps: Optional[Sequence[SyntheticsTestApiStepArgs]] = None,
            assertions: Optional[Sequence[SyntheticsTestAssertionArgs]] = None,
            browser_steps: Optional[Sequence[SyntheticsTestBrowserStepArgs]] = None,
            browser_variables: Optional[Sequence[SyntheticsTestBrowserVariableArgs]] = None,
            config_variables: Optional[Sequence[SyntheticsTestConfigVariableArgs]] = None,
            device_ids: Optional[Sequence[str]] = None,
            locations: Optional[Sequence[str]] = None,
            message: Optional[str] = None,
            monitor_id: Optional[int] = None,
            name: Optional[str] = None,
            options_list: Optional[SyntheticsTestOptionsListArgs] = None,
            request_basicauth: Optional[SyntheticsTestRequestBasicauthArgs] = None,
            request_client_certificate: Optional[SyntheticsTestRequestClientCertificateArgs] = None,
            request_definition: Optional[SyntheticsTestRequestDefinitionArgs] = None,
            request_headers: Optional[Mapping[str, Any]] = None,
            request_metadata: Optional[Mapping[str, Any]] = None,
            request_proxy: Optional[SyntheticsTestRequestProxyArgs] = None,
            request_query: Optional[Mapping[str, Any]] = None,
            set_cookie: Optional[str] = None,
            status: Optional[str] = None,
            subtype: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            type: Optional[str] = None) -> SyntheticsTest
    func GetSyntheticsTest(ctx *Context, name string, id IDInput, state *SyntheticsTestState, opts ...ResourceOption) (*SyntheticsTest, error)
    public static SyntheticsTest Get(string name, Input<string> id, SyntheticsTestState? state, CustomResourceOptions? opts = null)
    public static SyntheticsTest get(String name, Output<String> id, SyntheticsTestState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApiSteps List<SyntheticsTestApiStep>
    Steps for multistep api tests
    Assertions List<SyntheticsTestAssertion>
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    BrowserSteps List<SyntheticsTestBrowserStep>
    Steps for browser tests.
    BrowserVariables List<SyntheticsTestBrowserVariable>
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    ConfigVariables List<SyntheticsTestConfigVariable>
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    DeviceIds List<string>
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    Locations List<string>
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    Message string
    For UDP and websocket tests, message to send with the request.
    MonitorId int
    ID of the monitor associated with the Datadog synthetics test.
    Name string
    Name of Datadog synthetics test.
    OptionsList SyntheticsTestOptionsList
    RequestBasicauth SyntheticsTestRequestBasicauth
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    RequestClientCertificate SyntheticsTestRequestClientCertificate
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    RequestDefinition SyntheticsTestRequestDefinition
    The request for the api step.
    RequestHeaders Dictionary<string, object>
    Header name and value map.
    RequestMetadata Dictionary<string, object>
    Metadata to include when performing the gRPC test.
    RequestProxy SyntheticsTestRequestProxy
    The proxy to perform the test.
    RequestQuery Dictionary<string, object>
    Query arguments name and value map.
    SetCookie string
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    Status string
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    Subtype string
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    Tags List<string>
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    ApiSteps []SyntheticsTestApiStepArgs
    Steps for multistep api tests
    Assertions []SyntheticsTestAssertionArgs
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    BrowserSteps []SyntheticsTestBrowserStepArgs
    Steps for browser tests.
    BrowserVariables []SyntheticsTestBrowserVariableArgs
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    ConfigVariables []SyntheticsTestConfigVariableArgs
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    DeviceIds []string
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    Locations []string
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    Message string
    For UDP and websocket tests, message to send with the request.
    MonitorId int
    ID of the monitor associated with the Datadog synthetics test.
    Name string
    Name of Datadog synthetics test.
    OptionsList SyntheticsTestOptionsListArgs
    RequestBasicauth SyntheticsTestRequestBasicauthArgs
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    RequestClientCertificate SyntheticsTestRequestClientCertificateArgs
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    RequestDefinition SyntheticsTestRequestDefinitionArgs
    The request for the api step.
    RequestHeaders map[string]interface{}
    Header name and value map.
    RequestMetadata map[string]interface{}
    Metadata to include when performing the gRPC test.
    RequestProxy SyntheticsTestRequestProxyArgs
    The proxy to perform the test.
    RequestQuery map[string]interface{}
    Query arguments name and value map.
    SetCookie string
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    Status string
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    Subtype string
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    Tags []string
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    apiSteps List<SyntheticsTestApiStep>
    Steps for multistep api tests
    assertions List<SyntheticsTestAssertion>
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    browserSteps List<SyntheticsTestBrowserStep>
    Steps for browser tests.
    browserVariables List<SyntheticsTestBrowserVariable>
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    configVariables List<SyntheticsTestConfigVariable>
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    deviceIds List<String>
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    locations List<String>
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    message String
    For UDP and websocket tests, message to send with the request.
    monitorId Integer
    ID of the monitor associated with the Datadog synthetics test.
    name String
    Name of Datadog synthetics test.
    optionsList SyntheticsTestOptionsList
    requestBasicauth SyntheticsTestRequestBasicauth
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    requestClientCertificate SyntheticsTestRequestClientCertificate
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    requestDefinition SyntheticsTestRequestDefinition
    The request for the api step.
    requestHeaders Map<String,Object>
    Header name and value map.
    requestMetadata Map<String,Object>
    Metadata to include when performing the gRPC test.
    requestProxy SyntheticsTestRequestProxy
    The proxy to perform the test.
    requestQuery Map<String,Object>
    Query arguments name and value map.
    setCookie String
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    status String
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    subtype String
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    tags List<String>
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    apiSteps SyntheticsTestApiStep[]
    Steps for multistep api tests
    assertions SyntheticsTestAssertion[]
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    browserSteps SyntheticsTestBrowserStep[]
    Steps for browser tests.
    browserVariables SyntheticsTestBrowserVariable[]
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    configVariables SyntheticsTestConfigVariable[]
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    deviceIds string[]
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    locations string[]
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    message string
    For UDP and websocket tests, message to send with the request.
    monitorId number
    ID of the monitor associated with the Datadog synthetics test.
    name string
    Name of Datadog synthetics test.
    optionsList SyntheticsTestOptionsList
    requestBasicauth SyntheticsTestRequestBasicauth
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    requestClientCertificate SyntheticsTestRequestClientCertificate
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    requestDefinition SyntheticsTestRequestDefinition
    The request for the api step.
    requestHeaders {[key: string]: any}
    Header name and value map.
    requestMetadata {[key: string]: any}
    Metadata to include when performing the gRPC test.
    requestProxy SyntheticsTestRequestProxy
    The proxy to perform the test.
    requestQuery {[key: string]: any}
    Query arguments name and value map.
    setCookie string
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    status string
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    subtype string
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    tags string[]
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).
    type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    api_steps Sequence[SyntheticsTestApiStepArgs]
    Steps for multistep api tests
    assertions Sequence[SyntheticsTestAssertionArgs]
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    browser_steps Sequence[SyntheticsTestBrowserStepArgs]
    Steps for browser tests.
    browser_variables Sequence[SyntheticsTestBrowserVariableArgs]
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    config_variables Sequence[SyntheticsTestConfigVariableArgs]
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    device_ids Sequence[str]
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    locations Sequence[str]
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    message str
    For UDP and websocket tests, message to send with the request.
    monitor_id int
    ID of the monitor associated with the Datadog synthetics test.
    name str
    Name of Datadog synthetics test.
    options_list SyntheticsTestOptionsListArgs
    request_basicauth SyntheticsTestRequestBasicauthArgs
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    request_client_certificate SyntheticsTestRequestClientCertificateArgs
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    request_definition SyntheticsTestRequestDefinitionArgs
    The request for the api step.
    request_headers Mapping[str, Any]
    Header name and value map.
    request_metadata Mapping[str, Any]
    Metadata to include when performing the gRPC test.
    request_proxy SyntheticsTestRequestProxyArgs
    The proxy to perform the test.
    request_query Mapping[str, Any]
    Query arguments name and value map.
    set_cookie str
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    status str
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    subtype str
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    tags Sequence[str]
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).
    type str
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    apiSteps List<Property Map>
    Steps for multistep api tests
    assertions List<Property Map>
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    browserSteps List<Property Map>
    Steps for browser tests.
    browserVariables List<Property Map>
    Variables used for a browser test steps. Multiple variable blocks are allowed with the structure below.
    configVariables List<Property Map>
    Variables used for the test configuration. Multiple config_variable blocks are allowed with the structure below.
    deviceIds List<String>
    Required if type = "browser". Array with the different device IDs used to run the test. Valid values are laptop_large, tablet, mobile_small, chrome.laptop_large, chrome.tablet, chrome.mobile_small, firefox.laptop_large, firefox.tablet, firefox.mobile_small, edge.laptop_large, edge.tablet, edge.mobile_small.
    locations List<String>
    Array of locations used to run the test. Refer to the Datadog Synthetics location data source to retrieve the list of locations.
    message String
    For UDP and websocket tests, message to send with the request.
    monitorId Number
    ID of the monitor associated with the Datadog synthetics test.
    name String
    Name of Datadog synthetics test.
    optionsList Property Map
    requestBasicauth Property Map
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    requestClientCertificate Property Map
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    requestDefinition Property Map
    The request for the api step.
    requestHeaders Map<Any>
    Header name and value map.
    requestMetadata Map<Any>
    Metadata to include when performing the gRPC test.
    requestProxy Property Map
    The proxy to perform the test.
    requestQuery Map<Any>
    Query arguments name and value map.
    setCookie String
    Cookies to be used for a browser test request, using the Set-Cookie syntax.
    status String
    Define whether you want to start (live) or pause (paused) a Synthetic test. Valid values are live, paused.
    subtype String
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    tags List<String>
    A list of tags to associate with your synthetics test. This can help you categorize and filter tests in the manage synthetics page of the UI. Default is an empty list ([]).
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.

    Supporting Types

    SyntheticsTestApiStep, SyntheticsTestApiStepArgs

    Name string
    The name of the step.
    AllowFailure bool
    Determines whether or not to continue with test if this step fails.
    Assertions List<SyntheticsTestApiStepAssertion>
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    ExtractedValues List<SyntheticsTestApiStepExtractedValue>
    Values to parse and save as variables from the response.
    IsCritical bool
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    RequestBasicauth SyntheticsTestApiStepRequestBasicauth
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    RequestClientCertificate SyntheticsTestApiStepRequestClientCertificate
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    RequestDefinition SyntheticsTestApiStepRequestDefinition
    The request for the api step.
    RequestHeaders Dictionary<string, object>
    Header name and value map.
    RequestProxy SyntheticsTestApiStepRequestProxy
    The proxy to perform the test.
    RequestQuery Dictionary<string, object>
    Query arguments name and value map.
    Retry SyntheticsTestApiStepRetry
    Subtype string
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    Name string
    The name of the step.
    AllowFailure bool
    Determines whether or not to continue with test if this step fails.
    Assertions []SyntheticsTestApiStepAssertion
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    ExtractedValues []SyntheticsTestApiStepExtractedValue
    Values to parse and save as variables from the response.
    IsCritical bool
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    RequestBasicauth SyntheticsTestApiStepRequestBasicauth
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    RequestClientCertificate SyntheticsTestApiStepRequestClientCertificate
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    RequestDefinition SyntheticsTestApiStepRequestDefinition
    The request for the api step.
    RequestHeaders map[string]interface{}
    Header name and value map.
    RequestProxy SyntheticsTestApiStepRequestProxy
    The proxy to perform the test.
    RequestQuery map[string]interface{}
    Query arguments name and value map.
    Retry SyntheticsTestApiStepRetry
    Subtype string
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    name String
    The name of the step.
    allowFailure Boolean
    Determines whether or not to continue with test if this step fails.
    assertions List<SyntheticsTestApiStepAssertion>
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    extractedValues List<SyntheticsTestApiStepExtractedValue>
    Values to parse and save as variables from the response.
    isCritical Boolean
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    requestBasicauth SyntheticsTestApiStepRequestBasicauth
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    requestClientCertificate SyntheticsTestApiStepRequestClientCertificate
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    requestDefinition SyntheticsTestApiStepRequestDefinition
    The request for the api step.
    requestHeaders Map<String,Object>
    Header name and value map.
    requestProxy SyntheticsTestApiStepRequestProxy
    The proxy to perform the test.
    requestQuery Map<String,Object>
    Query arguments name and value map.
    retry SyntheticsTestApiStepRetry
    subtype String
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    name string
    The name of the step.
    allowFailure boolean
    Determines whether or not to continue with test if this step fails.
    assertions SyntheticsTestApiStepAssertion[]
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    extractedValues SyntheticsTestApiStepExtractedValue[]
    Values to parse and save as variables from the response.
    isCritical boolean
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    requestBasicauth SyntheticsTestApiStepRequestBasicauth
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    requestClientCertificate SyntheticsTestApiStepRequestClientCertificate
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    requestDefinition SyntheticsTestApiStepRequestDefinition
    The request for the api step.
    requestHeaders {[key: string]: any}
    Header name and value map.
    requestProxy SyntheticsTestApiStepRequestProxy
    The proxy to perform the test.
    requestQuery {[key: string]: any}
    Query arguments name and value map.
    retry SyntheticsTestApiStepRetry
    subtype string
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    name str
    The name of the step.
    allow_failure bool
    Determines whether or not to continue with test if this step fails.
    assertions Sequence[SyntheticsTestApiStepAssertion]
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    extracted_values Sequence[SyntheticsTestApiStepExtractedValue]
    Values to parse and save as variables from the response.
    is_critical bool
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    request_basicauth SyntheticsTestApiStepRequestBasicauth
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    request_client_certificate SyntheticsTestApiStepRequestClientCertificate
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    request_definition SyntheticsTestApiStepRequestDefinition
    The request for the api step.
    request_headers Mapping[str, Any]
    Header name and value map.
    request_proxy SyntheticsTestApiStepRequestProxy
    The proxy to perform the test.
    request_query Mapping[str, Any]
    Query arguments name and value map.
    retry SyntheticsTestApiStepRetry
    subtype str
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".
    name String
    The name of the step.
    allowFailure Boolean
    Determines whether or not to continue with test if this step fails.
    assertions List<Property Map>
    Assertions used for the test. Multiple assertion blocks are allowed with the structure below.
    extractedValues List<Property Map>
    Values to parse and save as variables from the response.
    isCritical Boolean
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    requestBasicauth Property Map
    The HTTP basic authentication credentials. Exactly one nested block is allowed with the structure below.
    requestClientCertificate Property Map
    Client certificate to use when performing the test request. Exactly one nested block is allowed with the structure below.
    requestDefinition Property Map
    The request for the api step.
    requestHeaders Map<Any>
    Header name and value map.
    requestProxy Property Map
    The proxy to perform the test.
    requestQuery Map<Any>
    Query arguments name and value map.
    retry Property Map
    subtype String
    The subtype of the Synthetic multistep API test step. Valid values are http, grpc. Defaults to "http".

    SyntheticsTestApiStepAssertion, SyntheticsTestApiStepAssertionArgs

    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    Property string
    If assertion type is header, this is the header name.
    Target string
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    Targetjsonpath SyntheticsTestApiStepAssertionTargetjsonpath
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    Targetxpath SyntheticsTestApiStepAssertionTargetxpath
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    TimingsScope string
    Timings scope for response time assertions. Valid values are all, withoutDNS.
    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    Property string
    If assertion type is header, this is the header name.
    Target string
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    Targetjsonpath SyntheticsTestApiStepAssertionTargetjsonpath
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    Targetxpath SyntheticsTestApiStepAssertionTargetxpath
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    TimingsScope string
    Timings scope for response time assertions. Valid values are all, withoutDNS.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    property String
    If assertion type is header, this is the header name.
    target String
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    targetjsonpath SyntheticsTestApiStepAssertionTargetjsonpath
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    targetxpath SyntheticsTestApiStepAssertionTargetxpath
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    timingsScope String
    Timings scope for response time assertions. Valid values are all, withoutDNS.
    operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    property string
    If assertion type is header, this is the header name.
    target string
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    targetjsonpath SyntheticsTestApiStepAssertionTargetjsonpath
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    targetxpath SyntheticsTestApiStepAssertionTargetxpath
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    timingsScope string
    Timings scope for response time assertions. Valid values are all, withoutDNS.
    operator str
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    type str
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    property str
    If assertion type is header, this is the header name.
    target str
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    targetjsonpath SyntheticsTestApiStepAssertionTargetjsonpath
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    targetxpath SyntheticsTestApiStepAssertionTargetxpath
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    timings_scope str
    Timings scope for response time assertions. Valid values are all, withoutDNS.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    property String
    If assertion type is header, this is the header name.
    target String
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    targetjsonpath Property Map
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    targetxpath Property Map
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    timingsScope String
    Timings scope for response time assertions. Valid values are all, withoutDNS.

    SyntheticsTestApiStepAssertionTargetjsonpath, SyntheticsTestApiStepAssertionTargetjsonpathArgs

    Jsonpath string
    The JSON path to assert.
    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Targetvalue string
    Expected matching value.
    Jsonpath string
    The JSON path to assert.
    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Targetvalue string
    Expected matching value.
    jsonpath String
    The JSON path to assert.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    targetvalue String
    Expected matching value.
    jsonpath string
    The JSON path to assert.
    operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    targetvalue string
    Expected matching value.
    jsonpath str
    The JSON path to assert.
    operator str
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    targetvalue str
    Expected matching value.
    jsonpath String
    The JSON path to assert.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    targetvalue String
    Expected matching value.

    SyntheticsTestApiStepAssertionTargetxpath, SyntheticsTestApiStepAssertionTargetxpathArgs

    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Xpath string
    The xpath to assert.
    Targetvalue string
    Expected matching value.
    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Xpath string
    The xpath to assert.
    Targetvalue string
    Expected matching value.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    xpath String
    The xpath to assert.
    targetvalue String
    Expected matching value.
    operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    xpath string
    The xpath to assert.
    targetvalue string
    Expected matching value.
    operator str
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    xpath str
    The xpath to assert.
    targetvalue str
    Expected matching value.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    xpath String
    The xpath to assert.
    targetvalue String
    Expected matching value.

    SyntheticsTestApiStepExtractedValue, SyntheticsTestApiStepExtractedValueArgs

    Name string
    Parser SyntheticsTestApiStepExtractedValueParser
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    Field string
    When type is http_header, name of the header to use to extract the value.
    Secure bool
    Determines whether or not the extracted value will be obfuscated.
    Name string
    Parser SyntheticsTestApiStepExtractedValueParser
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    Field string
    When type is http_header, name of the header to use to extract the value.
    Secure bool
    Determines whether or not the extracted value will be obfuscated.
    name String
    parser SyntheticsTestApiStepExtractedValueParser
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    field String
    When type is http_header, name of the header to use to extract the value.
    secure Boolean
    Determines whether or not the extracted value will be obfuscated.
    name string
    parser SyntheticsTestApiStepExtractedValueParser
    type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    field string
    When type is http_header, name of the header to use to extract the value.
    secure boolean
    Determines whether or not the extracted value will be obfuscated.
    name str
    parser SyntheticsTestApiStepExtractedValueParser
    type str
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    field str
    When type is http_header, name of the header to use to extract the value.
    secure bool
    Determines whether or not the extracted value will be obfuscated.
    name String
    parser Property Map
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    field String
    When type is http_header, name of the header to use to extract the value.
    secure Boolean
    Determines whether or not the extracted value will be obfuscated.

    SyntheticsTestApiStepExtractedValueParser, SyntheticsTestApiStepExtractedValueParserArgs

    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    Value string
    Regex or JSON path used for the parser. Not used with type raw.
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    Value string
    Regex or JSON path used for the parser. Not used with type raw.
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    value String
    Regex or JSON path used for the parser. Not used with type raw.
    type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    value string
    Regex or JSON path used for the parser. Not used with type raw.
    type str
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    value str
    Regex or JSON path used for the parser. Not used with type raw.
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    value String
    Regex or JSON path used for the parser. Not used with type raw.

    SyntheticsTestApiStepRequestBasicauth, SyntheticsTestApiStepRequestBasicauthArgs

    AccessKey string
    Access key for SIGV4 authentication.
    AccessTokenUrl string
    Access token url for oauth-client or oauth-rop authentication.
    Audience string
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    ClientId string
    Client ID for oauth-client or oauth-rop authentication.
    ClientSecret string
    Client secret for oauth-client or oauth-rop authentication.
    Domain string
    Domain for ntlm authentication.
    Password string
    Password for authentication.
    Region string
    Region for SIGV4 authentication.
    Resource string
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    Scope string
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    SecretKey string
    Secret key for SIGV4 authentication.
    ServiceName string
    Service name for SIGV4 authentication.
    SessionToken string
    Session token for SIGV4 authentication.
    TokenApiAuthentication string
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    Type string
    Type of basic authentication to use when performing the test. Defaults to "web".
    Username string
    Username for authentication.
    Workstation string
    Workstation for ntlm authentication.
    AccessKey string
    Access key for SIGV4 authentication.
    AccessTokenUrl string
    Access token url for oauth-client or oauth-rop authentication.
    Audience string
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    ClientId string
    Client ID for oauth-client or oauth-rop authentication.
    ClientSecret string
    Client secret for oauth-client or oauth-rop authentication.
    Domain string
    Domain for ntlm authentication.
    Password string
    Password for authentication.
    Region string
    Region for SIGV4 authentication.
    Resource string
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    Scope string
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    SecretKey string
    Secret key for SIGV4 authentication.
    ServiceName string
    Service name for SIGV4 authentication.
    SessionToken string
    Session token for SIGV4 authentication.
    TokenApiAuthentication string
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    Type string
    Type of basic authentication to use when performing the test. Defaults to "web".
    Username string
    Username for authentication.
    Workstation string
    Workstation for ntlm authentication.
    accessKey String
    Access key for SIGV4 authentication.
    accessTokenUrl String
    Access token url for oauth-client or oauth-rop authentication.
    audience String
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    clientId String
    Client ID for oauth-client or oauth-rop authentication.
    clientSecret String
    Client secret for oauth-client or oauth-rop authentication.
    domain String
    Domain for ntlm authentication.
    password String
    Password for authentication.
    region String
    Region for SIGV4 authentication.
    resource String
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    scope String
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    secretKey String
    Secret key for SIGV4 authentication.
    serviceName String
    Service name for SIGV4 authentication.
    sessionToken String
    Session token for SIGV4 authentication.
    tokenApiAuthentication String
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    type String
    Type of basic authentication to use when performing the test. Defaults to "web".
    username String
    Username for authentication.
    workstation String
    Workstation for ntlm authentication.
    accessKey string
    Access key for SIGV4 authentication.
    accessTokenUrl string
    Access token url for oauth-client or oauth-rop authentication.
    audience string
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    clientId string
    Client ID for oauth-client or oauth-rop authentication.
    clientSecret string
    Client secret for oauth-client or oauth-rop authentication.
    domain string
    Domain for ntlm authentication.
    password string
    Password for authentication.
    region string
    Region for SIGV4 authentication.
    resource string
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    scope string
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    secretKey string
    Secret key for SIGV4 authentication.
    serviceName string
    Service name for SIGV4 authentication.
    sessionToken string
    Session token for SIGV4 authentication.
    tokenApiAuthentication string
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    type string
    Type of basic authentication to use when performing the test. Defaults to "web".
    username string
    Username for authentication.
    workstation string
    Workstation for ntlm authentication.
    access_key str
    Access key for SIGV4 authentication.
    access_token_url str
    Access token url for oauth-client or oauth-rop authentication.
    audience str
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    client_id str
    Client ID for oauth-client or oauth-rop authentication.
    client_secret str
    Client secret for oauth-client or oauth-rop authentication.
    domain str
    Domain for ntlm authentication.
    password str
    Password for authentication.
    region str
    Region for SIGV4 authentication.
    resource str
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    scope str
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    secret_key str
    Secret key for SIGV4 authentication.
    service_name str
    Service name for SIGV4 authentication.
    session_token str
    Session token for SIGV4 authentication.
    token_api_authentication str
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    type str
    Type of basic authentication to use when performing the test. Defaults to "web".
    username str
    Username for authentication.
    workstation str
    Workstation for ntlm authentication.
    accessKey String
    Access key for SIGV4 authentication.
    accessTokenUrl String
    Access token url for oauth-client or oauth-rop authentication.
    audience String
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    clientId String
    Client ID for oauth-client or oauth-rop authentication.
    clientSecret String
    Client secret for oauth-client or oauth-rop authentication.
    domain String
    Domain for ntlm authentication.
    password String
    Password for authentication.
    region String
    Region for SIGV4 authentication.
    resource String
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    scope String
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    secretKey String
    Secret key for SIGV4 authentication.
    serviceName String
    Service name for SIGV4 authentication.
    sessionToken String
    Session token for SIGV4 authentication.
    tokenApiAuthentication String
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    type String
    Type of basic authentication to use when performing the test. Defaults to "web".
    username String
    Username for authentication.
    workstation String
    Workstation for ntlm authentication.

    SyntheticsTestApiStepRequestClientCertificate, SyntheticsTestApiStepRequestClientCertificateArgs

    SyntheticsTestApiStepRequestClientCertificateCert, SyntheticsTestApiStepRequestClientCertificateCertArgs

    Content string
    Content of the certificate.
    Filename string
    File name for the certificate.
    Content string
    Content of the certificate.
    Filename string
    File name for the certificate.
    content String
    Content of the certificate.
    filename String
    File name for the certificate.
    content string
    Content of the certificate.
    filename string
    File name for the certificate.
    content str
    Content of the certificate.
    filename str
    File name for the certificate.
    content String
    Content of the certificate.
    filename String
    File name for the certificate.

    SyntheticsTestApiStepRequestClientCertificateKey, SyntheticsTestApiStepRequestClientCertificateKeyArgs

    Content string
    Content of the certificate.
    Filename string
    File name for the certificate.
    Content string
    Content of the certificate.
    Filename string
    File name for the certificate.
    content String
    Content of the certificate.
    filename String
    File name for the certificate.
    content string
    Content of the certificate.
    filename string
    File name for the certificate.
    content str
    Content of the certificate.
    filename str
    File name for the certificate.
    content String
    Content of the certificate.
    filename String
    File name for the certificate.

    SyntheticsTestApiStepRequestDefinition, SyntheticsTestApiStepRequestDefinitionArgs

    AllowInsecure bool
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    Body string
    The request body.
    BodyType string
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    CallType string
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    CertificateDomains List<string>
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    DnsServer string
    DNS server to use for DNS tests (subtype = "dns").
    DnsServerPort int
    DNS server port to use for DNS tests.
    FollowRedirects bool
    Determines whether or not the API HTTP test should follow redirects.
    Host string
    Host name to perform the test with.
    Message string
    For UDP and websocket tests, message to send with the request.
    Method string
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    NoSavingResponseBody bool
    Determines whether or not to save the response body.
    NumberOfPackets int
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    PersistCookies bool
    Persist cookies across redirects.
    PlainProtoFile string
    The content of a proto file as a string.
    Port int
    Port to use when performing the test.
    ProtoJsonDescriptor string
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    Servername string
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    Service string
    The gRPC service on which you want to perform the gRPC call.
    ShouldTrackHops bool
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    Timeout int
    Timeout in seconds for the test. Defaults to 60.
    Url string
    The URL to send the request to.
    AllowInsecure bool
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    Body string
    The request body.
    BodyType string
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    CallType string
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    CertificateDomains []string
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    DnsServer string
    DNS server to use for DNS tests (subtype = "dns").
    DnsServerPort int
    DNS server port to use for DNS tests.
    FollowRedirects bool
    Determines whether or not the API HTTP test should follow redirects.
    Host string
    Host name to perform the test with.
    Message string
    For UDP and websocket tests, message to send with the request.
    Method string
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    NoSavingResponseBody bool
    Determines whether or not to save the response body.
    NumberOfPackets int
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    PersistCookies bool
    Persist cookies across redirects.
    PlainProtoFile string
    The content of a proto file as a string.
    Port int
    Port to use when performing the test.
    ProtoJsonDescriptor string
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    Servername string
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    Service string
    The gRPC service on which you want to perform the gRPC call.
    ShouldTrackHops bool
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    Timeout int
    Timeout in seconds for the test. Defaults to 60.
    Url string
    The URL to send the request to.
    allowInsecure Boolean
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    body String
    The request body.
    bodyType String
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    callType String
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    certificateDomains List<String>
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    dnsServer String
    DNS server to use for DNS tests (subtype = "dns").
    dnsServerPort Integer
    DNS server port to use for DNS tests.
    followRedirects Boolean
    Determines whether or not the API HTTP test should follow redirects.
    host String
    Host name to perform the test with.
    message String
    For UDP and websocket tests, message to send with the request.
    method String
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    noSavingResponseBody Boolean
    Determines whether or not to save the response body.
    numberOfPackets Integer
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    persistCookies Boolean
    Persist cookies across redirects.
    plainProtoFile String
    The content of a proto file as a string.
    port Integer
    Port to use when performing the test.
    protoJsonDescriptor String
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    servername String
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    service String
    The gRPC service on which you want to perform the gRPC call.
    shouldTrackHops Boolean
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    timeout Integer
    Timeout in seconds for the test. Defaults to 60.
    url String
    The URL to send the request to.
    allowInsecure boolean
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    body string
    The request body.
    bodyType string
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    callType string
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    certificateDomains string[]
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    dnsServer string
    DNS server to use for DNS tests (subtype = "dns").
    dnsServerPort number
    DNS server port to use for DNS tests.
    followRedirects boolean
    Determines whether or not the API HTTP test should follow redirects.
    host string
    Host name to perform the test with.
    message string
    For UDP and websocket tests, message to send with the request.
    method string
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    noSavingResponseBody boolean
    Determines whether or not to save the response body.
    numberOfPackets number
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    persistCookies boolean
    Persist cookies across redirects.
    plainProtoFile string
    The content of a proto file as a string.
    port number
    Port to use when performing the test.
    protoJsonDescriptor string
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    servername string
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    service string
    The gRPC service on which you want to perform the gRPC call.
    shouldTrackHops boolean
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    timeout number
    Timeout in seconds for the test. Defaults to 60.
    url string
    The URL to send the request to.
    allow_insecure bool
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    body str
    The request body.
    body_type str
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    call_type str
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    certificate_domains Sequence[str]
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    dns_server str
    DNS server to use for DNS tests (subtype = "dns").
    dns_server_port int
    DNS server port to use for DNS tests.
    follow_redirects bool
    Determines whether or not the API HTTP test should follow redirects.
    host str
    Host name to perform the test with.
    message str
    For UDP and websocket tests, message to send with the request.
    method str
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    no_saving_response_body bool
    Determines whether or not to save the response body.
    number_of_packets int
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    persist_cookies bool
    Persist cookies across redirects.
    plain_proto_file str
    The content of a proto file as a string.
    port int
    Port to use when performing the test.
    proto_json_descriptor str
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    servername str
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    service str
    The gRPC service on which you want to perform the gRPC call.
    should_track_hops bool
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    timeout int
    Timeout in seconds for the test. Defaults to 60.
    url str
    The URL to send the request to.
    allowInsecure Boolean
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    body String
    The request body.
    bodyType String
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    callType String
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    certificateDomains List<String>
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    dnsServer String
    DNS server to use for DNS tests (subtype = "dns").
    dnsServerPort Number
    DNS server port to use for DNS tests.
    followRedirects Boolean
    Determines whether or not the API HTTP test should follow redirects.
    host String
    Host name to perform the test with.
    message String
    For UDP and websocket tests, message to send with the request.
    method String
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    noSavingResponseBody Boolean
    Determines whether or not to save the response body.
    numberOfPackets Number
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    persistCookies Boolean
    Persist cookies across redirects.
    plainProtoFile String
    The content of a proto file as a string.
    port Number
    Port to use when performing the test.
    protoJsonDescriptor String
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    servername String
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    service String
    The gRPC service on which you want to perform the gRPC call.
    shouldTrackHops Boolean
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    timeout Number
    Timeout in seconds for the test. Defaults to 60.
    url String
    The URL to send the request to.

    SyntheticsTestApiStepRequestProxy, SyntheticsTestApiStepRequestProxyArgs

    Url string
    URL of the proxy to perform the test.
    Headers Dictionary<string, object>
    Header name and value map.
    Url string
    URL of the proxy to perform the test.
    Headers map[string]interface{}
    Header name and value map.
    url String
    URL of the proxy to perform the test.
    headers Map<String,Object>
    Header name and value map.
    url string
    URL of the proxy to perform the test.
    headers {[key: string]: any}
    Header name and value map.
    url str
    URL of the proxy to perform the test.
    headers Mapping[str, Any]
    Header name and value map.
    url String
    URL of the proxy to perform the test.
    headers Map<Any>
    Header name and value map.

    SyntheticsTestApiStepRetry, SyntheticsTestApiStepRetryArgs

    Count int
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    Interval int
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.
    Count int
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    Interval int
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.
    count Integer
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    interval Integer
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.
    count number
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    interval number
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.
    count int
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    interval int
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.
    count Number
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    interval Number
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.

    SyntheticsTestAssertion, SyntheticsTestAssertionArgs

    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    Property string
    If assertion type is header, this is the header name.
    Target string
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    Targetjsonpath SyntheticsTestAssertionTargetjsonpath
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    Targetxpath SyntheticsTestAssertionTargetxpath
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    TimingsScope string
    Timings scope for response time assertions. Valid values are all, withoutDNS.
    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    Property string
    If assertion type is header, this is the header name.
    Target string
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    Targetjsonpath SyntheticsTestAssertionTargetjsonpath
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    Targetxpath SyntheticsTestAssertionTargetxpath
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    TimingsScope string
    Timings scope for response time assertions. Valid values are all, withoutDNS.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    property String
    If assertion type is header, this is the header name.
    target String
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    targetjsonpath SyntheticsTestAssertionTargetjsonpath
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    targetxpath SyntheticsTestAssertionTargetxpath
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    timingsScope String
    Timings scope for response time assertions. Valid values are all, withoutDNS.
    operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    property string
    If assertion type is header, this is the header name.
    target string
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    targetjsonpath SyntheticsTestAssertionTargetjsonpath
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    targetxpath SyntheticsTestAssertionTargetxpath
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    timingsScope string
    Timings scope for response time assertions. Valid values are all, withoutDNS.
    operator str
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    type str
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    property str
    If assertion type is header, this is the header name.
    target str
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    targetjsonpath SyntheticsTestAssertionTargetjsonpath
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    targetxpath SyntheticsTestAssertionTargetxpath
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    timings_scope str
    Timings scope for response time assertions. Valid values are all, withoutDNS.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    property String
    If assertion type is header, this is the header name.
    target String
    Expected value. Depends on the assertion type, refer to Datadog documentation for details.
    targetjsonpath Property Map
    Expected structure if operator is validatesJSONPath. Exactly one nested block is allowed with the structure below.
    targetxpath Property Map
    Expected structure if operator is validatesXPath. Exactly one nested block is allowed with the structure below.
    timingsScope String
    Timings scope for response time assertions. Valid values are all, withoutDNS.

    SyntheticsTestAssertionTargetjsonpath, SyntheticsTestAssertionTargetjsonpathArgs

    Jsonpath string
    The JSON path to assert.
    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Targetvalue string
    Expected matching value.
    Jsonpath string
    The JSON path to assert.
    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Targetvalue string
    Expected matching value.
    jsonpath String
    The JSON path to assert.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    targetvalue String
    Expected matching value.
    jsonpath string
    The JSON path to assert.
    operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    targetvalue string
    Expected matching value.
    jsonpath str
    The JSON path to assert.
    operator str
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    targetvalue str
    Expected matching value.
    jsonpath String
    The JSON path to assert.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    targetvalue String
    Expected matching value.

    SyntheticsTestAssertionTargetxpath, SyntheticsTestAssertionTargetxpathArgs

    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Xpath string
    The xpath to assert.
    Targetvalue string
    Expected matching value.
    Operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    Xpath string
    The xpath to assert.
    Targetvalue string
    Expected matching value.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    xpath String
    The xpath to assert.
    targetvalue String
    Expected matching value.
    operator string
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    xpath string
    The xpath to assert.
    targetvalue string
    Expected matching value.
    operator str
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    xpath str
    The xpath to assert.
    targetvalue str
    Expected matching value.
    operator String
    Assertion operator. Note Only some combinations of type and operator are valid (please refer to Datadog documentation).
    xpath String
    The xpath to assert.
    targetvalue String
    Expected matching value.

    SyntheticsTestBrowserStep, SyntheticsTestBrowserStepArgs

    Name string
    Name of the step.
    Params SyntheticsTestBrowserStepParams
    Parameters for the step.
    Type string
    Type of the step. Valid values are assertCurrentUrl, assertElementAttribute, assertElementContent, assertElementPresent, assertEmail, assertFileDownload, assertFromJavascript, assertPageContains, assertPageLacks, click, extractFromJavascript, extractVariable, goToEmailLink, goToUrl, goToUrlAndMeasureTti, hover, playSubTest, pressKey, refresh, runApiTest, scroll, selectOption, typeText, uploadFiles, wait.
    AllowFailure bool
    Determines if the step should be allowed to fail.
    ForceElementUpdate bool
    Force update of the "element" parameter for the step
    IsCritical bool
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    NoScreenshot bool
    Prevents saving screenshots of the step.
    Timeout int
    Used to override the default timeout of a step.
    Name string
    Name of the step.
    Params SyntheticsTestBrowserStepParams
    Parameters for the step.
    Type string
    Type of the step. Valid values are assertCurrentUrl, assertElementAttribute, assertElementContent, assertElementPresent, assertEmail, assertFileDownload, assertFromJavascript, assertPageContains, assertPageLacks, click, extractFromJavascript, extractVariable, goToEmailLink, goToUrl, goToUrlAndMeasureTti, hover, playSubTest, pressKey, refresh, runApiTest, scroll, selectOption, typeText, uploadFiles, wait.
    AllowFailure bool
    Determines if the step should be allowed to fail.
    ForceElementUpdate bool
    Force update of the "element" parameter for the step
    IsCritical bool
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    NoScreenshot bool
    Prevents saving screenshots of the step.
    Timeout int
    Used to override the default timeout of a step.
    name String
    Name of the step.
    params SyntheticsTestBrowserStepParams
    Parameters for the step.
    type String
    Type of the step. Valid values are assertCurrentUrl, assertElementAttribute, assertElementContent, assertElementPresent, assertEmail, assertFileDownload, assertFromJavascript, assertPageContains, assertPageLacks, click, extractFromJavascript, extractVariable, goToEmailLink, goToUrl, goToUrlAndMeasureTti, hover, playSubTest, pressKey, refresh, runApiTest, scroll, selectOption, typeText, uploadFiles, wait.
    allowFailure Boolean
    Determines if the step should be allowed to fail.
    forceElementUpdate Boolean
    Force update of the "element" parameter for the step
    isCritical Boolean
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    noScreenshot Boolean
    Prevents saving screenshots of the step.
    timeout Integer
    Used to override the default timeout of a step.
    name string
    Name of the step.
    params SyntheticsTestBrowserStepParams
    Parameters for the step.
    type string
    Type of the step. Valid values are assertCurrentUrl, assertElementAttribute, assertElementContent, assertElementPresent, assertEmail, assertFileDownload, assertFromJavascript, assertPageContains, assertPageLacks, click, extractFromJavascript, extractVariable, goToEmailLink, goToUrl, goToUrlAndMeasureTti, hover, playSubTest, pressKey, refresh, runApiTest, scroll, selectOption, typeText, uploadFiles, wait.
    allowFailure boolean
    Determines if the step should be allowed to fail.
    forceElementUpdate boolean
    Force update of the "element" parameter for the step
    isCritical boolean
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    noScreenshot boolean
    Prevents saving screenshots of the step.
    timeout number
    Used to override the default timeout of a step.
    name str
    Name of the step.
    params SyntheticsTestBrowserStepParams
    Parameters for the step.
    type str
    Type of the step. Valid values are assertCurrentUrl, assertElementAttribute, assertElementContent, assertElementPresent, assertEmail, assertFileDownload, assertFromJavascript, assertPageContains, assertPageLacks, click, extractFromJavascript, extractVariable, goToEmailLink, goToUrl, goToUrlAndMeasureTti, hover, playSubTest, pressKey, refresh, runApiTest, scroll, selectOption, typeText, uploadFiles, wait.
    allow_failure bool
    Determines if the step should be allowed to fail.
    force_element_update bool
    Force update of the "element" parameter for the step
    is_critical bool
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    no_screenshot bool
    Prevents saving screenshots of the step.
    timeout int
    Used to override the default timeout of a step.
    name String
    Name of the step.
    params Property Map
    Parameters for the step.
    type String
    Type of the step. Valid values are assertCurrentUrl, assertElementAttribute, assertElementContent, assertElementPresent, assertEmail, assertFileDownload, assertFromJavascript, assertPageContains, assertPageLacks, click, extractFromJavascript, extractVariable, goToEmailLink, goToUrl, goToUrlAndMeasureTti, hover, playSubTest, pressKey, refresh, runApiTest, scroll, selectOption, typeText, uploadFiles, wait.
    allowFailure Boolean
    Determines if the step should be allowed to fail.
    forceElementUpdate Boolean
    Force update of the "element" parameter for the step
    isCritical Boolean
    Determines whether or not to consider the entire test as failed if this step fails. Can be used only if allow_failure is true.
    noScreenshot Boolean
    Prevents saving screenshots of the step.
    timeout Number
    Used to override the default timeout of a step.

    SyntheticsTestBrowserStepParams, SyntheticsTestBrowserStepParamsArgs

    Attribute string
    Name of the attribute to use for an "assert attribute" step.
    Check string
    Check type to use for an assertion step. Valid values are equals, notEquals, contains, notContains, startsWith, notStartsWith, greater, lower, greaterEquals, lowerEquals, matchRegex, between, isEmpty, notIsEmpty.
    ClickType string
    Type of click to use for a "click" step.
    Code string
    Javascript code to use for the step.
    Delay int
    Delay between each key stroke for a "type test" step.
    Element string
    Element to use for the step, json encoded string.
    ElementUserLocator SyntheticsTestBrowserStepParamsElementUserLocator
    Custom user selector to use for the step.
    Email string
    Details of the email for an "assert email" step.
    File string
    JSON encoded string used for an "assert download" step. Refer to the examples for a usage example showing the schema.
    Files string
    Details of the files for an "upload files" step, json encoded string.
    Modifiers List<string>
    Modifier to use for a "press key" step.
    PlayingTabId string
    ID of the tab to play the subtest.
    Request string
    Request for an API step.
    SubtestPublicId string
    ID of the Synthetics test to use as subtest.
    Value string
    Regex or JSON path used for the parser. Not used with type raw.
    Variable SyntheticsTestBrowserStepParamsVariable
    Details of the variable to extract.
    WithClick bool
    For "file upload" steps.
    X int
    X coordinates for a "scroll step".
    Y int
    Y coordinates for a "scroll step".
    Attribute string
    Name of the attribute to use for an "assert attribute" step.
    Check string
    Check type to use for an assertion step. Valid values are equals, notEquals, contains, notContains, startsWith, notStartsWith, greater, lower, greaterEquals, lowerEquals, matchRegex, between, isEmpty, notIsEmpty.
    ClickType string
    Type of click to use for a "click" step.
    Code string
    Javascript code to use for the step.
    Delay int
    Delay between each key stroke for a "type test" step.
    Element string
    Element to use for the step, json encoded string.
    ElementUserLocator SyntheticsTestBrowserStepParamsElementUserLocator
    Custom user selector to use for the step.
    Email string
    Details of the email for an "assert email" step.
    File string
    JSON encoded string used for an "assert download" step. Refer to the examples for a usage example showing the schema.
    Files string
    Details of the files for an "upload files" step, json encoded string.
    Modifiers []string
    Modifier to use for a "press key" step.
    PlayingTabId string
    ID of the tab to play the subtest.
    Request string
    Request for an API step.
    SubtestPublicId string
    ID of the Synthetics test to use as subtest.
    Value string
    Regex or JSON path used for the parser. Not used with type raw.
    Variable SyntheticsTestBrowserStepParamsVariable
    Details of the variable to extract.
    WithClick bool
    For "file upload" steps.
    X int
    X coordinates for a "scroll step".
    Y int
    Y coordinates for a "scroll step".
    attribute String
    Name of the attribute to use for an "assert attribute" step.
    check String
    Check type to use for an assertion step. Valid values are equals, notEquals, contains, notContains, startsWith, notStartsWith, greater, lower, greaterEquals, lowerEquals, matchRegex, between, isEmpty, notIsEmpty.
    clickType String
    Type of click to use for a "click" step.
    code String
    Javascript code to use for the step.
    delay Integer
    Delay between each key stroke for a "type test" step.
    element String
    Element to use for the step, json encoded string.
    elementUserLocator SyntheticsTestBrowserStepParamsElementUserLocator
    Custom user selector to use for the step.
    email String
    Details of the email for an "assert email" step.
    file String
    JSON encoded string used for an "assert download" step. Refer to the examples for a usage example showing the schema.
    files String
    Details of the files for an "upload files" step, json encoded string.
    modifiers List<String>
    Modifier to use for a "press key" step.
    playingTabId String
    ID of the tab to play the subtest.
    request String
    Request for an API step.
    subtestPublicId String
    ID of the Synthetics test to use as subtest.
    value String
    Regex or JSON path used for the parser. Not used with type raw.
    variable SyntheticsTestBrowserStepParamsVariable
    Details of the variable to extract.
    withClick Boolean
    For "file upload" steps.
    x Integer
    X coordinates for a "scroll step".
    y Integer
    Y coordinates for a "scroll step".
    attribute string
    Name of the attribute to use for an "assert attribute" step.
    check string
    Check type to use for an assertion step. Valid values are equals, notEquals, contains, notContains, startsWith, notStartsWith, greater, lower, greaterEquals, lowerEquals, matchRegex, between, isEmpty, notIsEmpty.
    clickType string
    Type of click to use for a "click" step.
    code string
    Javascript code to use for the step.
    delay number
    Delay between each key stroke for a "type test" step.
    element string
    Element to use for the step, json encoded string.
    elementUserLocator SyntheticsTestBrowserStepParamsElementUserLocator
    Custom user selector to use for the step.
    email string
    Details of the email for an "assert email" step.
    file string
    JSON encoded string used for an "assert download" step. Refer to the examples for a usage example showing the schema.
    files string
    Details of the files for an "upload files" step, json encoded string.
    modifiers string[]
    Modifier to use for a "press key" step.
    playingTabId string
    ID of the tab to play the subtest.
    request string
    Request for an API step.
    subtestPublicId string
    ID of the Synthetics test to use as subtest.
    value string
    Regex or JSON path used for the parser. Not used with type raw.
    variable SyntheticsTestBrowserStepParamsVariable
    Details of the variable to extract.
    withClick boolean
    For "file upload" steps.
    x number
    X coordinates for a "scroll step".
    y number
    Y coordinates for a "scroll step".
    attribute str
    Name of the attribute to use for an "assert attribute" step.
    check str
    Check type to use for an assertion step. Valid values are equals, notEquals, contains, notContains, startsWith, notStartsWith, greater, lower, greaterEquals, lowerEquals, matchRegex, between, isEmpty, notIsEmpty.
    click_type str
    Type of click to use for a "click" step.
    code str
    Javascript code to use for the step.
    delay int
    Delay between each key stroke for a "type test" step.
    element str
    Element to use for the step, json encoded string.
    element_user_locator SyntheticsTestBrowserStepParamsElementUserLocator
    Custom user selector to use for the step.
    email str
    Details of the email for an "assert email" step.
    file str
    JSON encoded string used for an "assert download" step. Refer to the examples for a usage example showing the schema.
    files str
    Details of the files for an "upload files" step, json encoded string.
    modifiers Sequence[str]
    Modifier to use for a "press key" step.
    playing_tab_id str
    ID of the tab to play the subtest.
    request str
    Request for an API step.
    subtest_public_id str
    ID of the Synthetics test to use as subtest.
    value str
    Regex or JSON path used for the parser. Not used with type raw.
    variable SyntheticsTestBrowserStepParamsVariable
    Details of the variable to extract.
    with_click bool
    For "file upload" steps.
    x int
    X coordinates for a "scroll step".
    y int
    Y coordinates for a "scroll step".
    attribute String
    Name of the attribute to use for an "assert attribute" step.
    check String
    Check type to use for an assertion step. Valid values are equals, notEquals, contains, notContains, startsWith, notStartsWith, greater, lower, greaterEquals, lowerEquals, matchRegex, between, isEmpty, notIsEmpty.
    clickType String
    Type of click to use for a "click" step.
    code String
    Javascript code to use for the step.
    delay Number
    Delay between each key stroke for a "type test" step.
    element String
    Element to use for the step, json encoded string.
    elementUserLocator Property Map
    Custom user selector to use for the step.
    email String
    Details of the email for an "assert email" step.
    file String
    JSON encoded string used for an "assert download" step. Refer to the examples for a usage example showing the schema.
    files String
    Details of the files for an "upload files" step, json encoded string.
    modifiers List<String>
    Modifier to use for a "press key" step.
    playingTabId String
    ID of the tab to play the subtest.
    request String
    Request for an API step.
    subtestPublicId String
    ID of the Synthetics test to use as subtest.
    value String
    Regex or JSON path used for the parser. Not used with type raw.
    variable Property Map
    Details of the variable to extract.
    withClick Boolean
    For "file upload" steps.
    x Number
    X coordinates for a "scroll step".
    y Number
    Y coordinates for a "scroll step".

    SyntheticsTestBrowserStepParamsElementUserLocator, SyntheticsTestBrowserStepParamsElementUserLocatorArgs

    Value SyntheticsTestBrowserStepParamsElementUserLocatorValue
    Regex or JSON path used for the parser. Not used with type raw.
    FailTestOnCannotLocate bool
    Defaults to false.
    Value SyntheticsTestBrowserStepParamsElementUserLocatorValue
    Regex or JSON path used for the parser. Not used with type raw.
    FailTestOnCannotLocate bool
    Defaults to false.
    value SyntheticsTestBrowserStepParamsElementUserLocatorValue
    Regex or JSON path used for the parser. Not used with type raw.
    failTestOnCannotLocate Boolean
    Defaults to false.
    value SyntheticsTestBrowserStepParamsElementUserLocatorValue
    Regex or JSON path used for the parser. Not used with type raw.
    failTestOnCannotLocate boolean
    Defaults to false.
    value SyntheticsTestBrowserStepParamsElementUserLocatorValue
    Regex or JSON path used for the parser. Not used with type raw.
    fail_test_on_cannot_locate bool
    Defaults to false.
    value Property Map
    Regex or JSON path used for the parser. Not used with type raw.
    failTestOnCannotLocate Boolean
    Defaults to false.

    SyntheticsTestBrowserStepParamsElementUserLocatorValue, SyntheticsTestBrowserStepParamsElementUserLocatorValueArgs

    Value string
    Regex or JSON path used for the parser. Not used with type raw.
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    Value string
    Regex or JSON path used for the parser. Not used with type raw.
    Type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    value String
    Regex or JSON path used for the parser. Not used with type raw.
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    value string
    Regex or JSON path used for the parser. Not used with type raw.
    type string
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    value str
    Regex or JSON path used for the parser. Not used with type raw.
    type str
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.
    value String
    Regex or JSON path used for the parser. Not used with type raw.
    type String
    Type of assertion. Note Only some combinations of type and operator are valid (please refer to Datadog documentation). Valid values are body, header, statusCode, certificate, responseTime, property, recordEvery, recordSome, tlsVersion, minTlsVersion, latency, packetLossPercentage, packetsReceived, networkHop, receivedMessage, grpcHealthcheckStatus, grpcMetadata, grpcProto, connection.

    SyntheticsTestBrowserStepParamsVariable, SyntheticsTestBrowserStepParamsVariableArgs

    Example string
    Example of the extracted variable. Defaults to "".
    Name string
    Name of the extracted variable.
    Example string
    Example of the extracted variable. Defaults to "".
    Name string
    Name of the extracted variable.
    example String
    Example of the extracted variable. Defaults to "".
    name String
    Name of the extracted variable.
    example string
    Example of the extracted variable. Defaults to "".
    name string
    Name of the extracted variable.
    example str
    Example of the extracted variable. Defaults to "".
    name str
    Name of the extracted variable.
    example String
    Example of the extracted variable. Defaults to "".
    name String
    Name of the extracted variable.

    SyntheticsTestBrowserVariable, SyntheticsTestBrowserVariableArgs

    Name string
    Name of the variable.
    Type string
    Type of browser test variable. Valid values are element, email, global, javascript, text.
    Example string
    Example for the variable. Defaults to "".
    Id string
    ID of the global variable to use. This is actually only used (and required) in the case of using a variable of type global.
    Pattern string
    Pattern of the variable. Defaults to "".
    Secure bool
    Determines whether or not the browser test variable is obfuscated. Can only be used with a browser variable of type text
    Name string
    Name of the variable.
    Type string
    Type of browser test variable. Valid values are element, email, global, javascript, text.
    Example string
    Example for the variable. Defaults to "".
    Id string
    ID of the global variable to use. This is actually only used (and required) in the case of using a variable of type global.
    Pattern string
    Pattern of the variable. Defaults to "".
    Secure bool
    Determines whether or not the browser test variable is obfuscated. Can only be used with a browser variable of type text
    name String
    Name of the variable.
    type String
    Type of browser test variable. Valid values are element, email, global, javascript, text.
    example String
    Example for the variable. Defaults to "".
    id String
    ID of the global variable to use. This is actually only used (and required) in the case of using a variable of type global.
    pattern String
    Pattern of the variable. Defaults to "".
    secure Boolean
    Determines whether or not the browser test variable is obfuscated. Can only be used with a browser variable of type text
    name string
    Name of the variable.
    type string
    Type of browser test variable. Valid values are element, email, global, javascript, text.
    example string
    Example for the variable. Defaults to "".
    id string
    ID of the global variable to use. This is actually only used (and required) in the case of using a variable of type global.
    pattern string
    Pattern of the variable. Defaults to "".
    secure boolean
    Determines whether or not the browser test variable is obfuscated. Can only be used with a browser variable of type text
    name str
    Name of the variable.
    type str
    Type of browser test variable. Valid values are element, email, global, javascript, text.
    example str
    Example for the variable. Defaults to "".
    id str
    ID of the global variable to use. This is actually only used (and required) in the case of using a variable of type global.
    pattern str
    Pattern of the variable. Defaults to "".
    secure bool
    Determines whether or not the browser test variable is obfuscated. Can only be used with a browser variable of type text
    name String
    Name of the variable.
    type String
    Type of browser test variable. Valid values are element, email, global, javascript, text.
    example String
    Example for the variable. Defaults to "".
    id String
    ID of the global variable to use. This is actually only used (and required) in the case of using a variable of type global.
    pattern String
    Pattern of the variable. Defaults to "".
    secure Boolean
    Determines whether or not the browser test variable is obfuscated. Can only be used with a browser variable of type text

    SyntheticsTestConfigVariable, SyntheticsTestConfigVariableArgs

    Name string
    Name of the variable.
    Type string
    Type of test configuration variable. Valid values are global, text.
    Example string
    Id string
    When type = global, ID of the global variable to use.
    Pattern string
    Secure bool
    Whether the value of this variable will be obfuscated in test results. Defaults to false.
    Name string
    Name of the variable.
    Type string
    Type of test configuration variable. Valid values are global, text.
    Example string
    Id string
    When type = global, ID of the global variable to use.
    Pattern string
    Secure bool
    Whether the value of this variable will be obfuscated in test results. Defaults to false.
    name String
    Name of the variable.
    type String
    Type of test configuration variable. Valid values are global, text.
    example String
    id String
    When type = global, ID of the global variable to use.
    pattern String
    secure Boolean
    Whether the value of this variable will be obfuscated in test results. Defaults to false.
    name string
    Name of the variable.
    type string
    Type of test configuration variable. Valid values are global, text.
    example string
    id string
    When type = global, ID of the global variable to use.
    pattern string
    secure boolean
    Whether the value of this variable will be obfuscated in test results. Defaults to false.
    name str
    Name of the variable.
    type str
    Type of test configuration variable. Valid values are global, text.
    example str
    id str
    When type = global, ID of the global variable to use.
    pattern str
    secure bool
    Whether the value of this variable will be obfuscated in test results. Defaults to false.
    name String
    Name of the variable.
    type String
    Type of test configuration variable. Valid values are global, text.
    example String
    id String
    When type = global, ID of the global variable to use.
    pattern String
    secure Boolean
    Whether the value of this variable will be obfuscated in test results. Defaults to false.

    SyntheticsTestOptionsList, SyntheticsTestOptionsListArgs

    TickEvery int
    How often the test should run (in seconds).
    AcceptSelfSigned bool
    For SSL test, whether or not the test should allow self signed certificates.
    AllowInsecure bool
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    CheckCertificateRevocation bool
    For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
    Ci SyntheticsTestOptionsListCi
    CI/CD options for a Synthetic test.
    DisableCors bool
    Disable Cross-Origin Resource Sharing for browser tests.
    DisableCsp bool
    Disable Content Security Policy for browser tests.
    FollowRedirects bool
    Determines whether or not the API HTTP test should follow redirects.
    HttpVersion string
    HTTP version to use for a Synthetics API test. Valid values are http1, http2, any.
    IgnoreServerCertificateError bool
    Ignore server certificate error for browser tests.
    InitialNavigationTimeout int
    Timeout before declaring the initial step as failed (in seconds) for browser tests.
    MinFailureDuration int
    Minimum amount of time in failure required to trigger an alert (in seconds). Default is 0.
    MinLocationFailed int
    Minimum number of locations in failure required to trigger an alert. Defaults to 1.
    MonitorName string
    The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
    MonitorOptions SyntheticsTestOptionsListMonitorOptions
    MonitorPriority int
    NoScreenshot bool
    Prevents saving screenshots of the steps.
    RestrictedRoles List<string>
    A list of role identifiers pulled from the Roles API to restrict read and write access.
    Retry SyntheticsTestOptionsListRetry
    RumSettings SyntheticsTestOptionsListRumSettings
    The RUM data collection settings for the Synthetic browser test.
    Scheduling SyntheticsTestOptionsListScheduling
    Object containing timeframes and timezone used for advanced scheduling.
    TickEvery int
    How often the test should run (in seconds).
    AcceptSelfSigned bool
    For SSL test, whether or not the test should allow self signed certificates.
    AllowInsecure bool
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    CheckCertificateRevocation bool
    For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
    Ci SyntheticsTestOptionsListCi
    CI/CD options for a Synthetic test.
    DisableCors bool
    Disable Cross-Origin Resource Sharing for browser tests.
    DisableCsp bool
    Disable Content Security Policy for browser tests.
    FollowRedirects bool
    Determines whether or not the API HTTP test should follow redirects.
    HttpVersion string
    HTTP version to use for a Synthetics API test. Valid values are http1, http2, any.
    IgnoreServerCertificateError bool
    Ignore server certificate error for browser tests.
    InitialNavigationTimeout int
    Timeout before declaring the initial step as failed (in seconds) for browser tests.
    MinFailureDuration int
    Minimum amount of time in failure required to trigger an alert (in seconds). Default is 0.
    MinLocationFailed int
    Minimum number of locations in failure required to trigger an alert. Defaults to 1.
    MonitorName string
    The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
    MonitorOptions SyntheticsTestOptionsListMonitorOptions
    MonitorPriority int
    NoScreenshot bool
    Prevents saving screenshots of the steps.
    RestrictedRoles []string
    A list of role identifiers pulled from the Roles API to restrict read and write access.
    Retry SyntheticsTestOptionsListRetry
    RumSettings SyntheticsTestOptionsListRumSettings
    The RUM data collection settings for the Synthetic browser test.
    Scheduling SyntheticsTestOptionsListScheduling
    Object containing timeframes and timezone used for advanced scheduling.
    tickEvery Integer
    How often the test should run (in seconds).
    acceptSelfSigned Boolean
    For SSL test, whether or not the test should allow self signed certificates.
    allowInsecure Boolean
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    checkCertificateRevocation Boolean
    For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
    ci SyntheticsTestOptionsListCi
    CI/CD options for a Synthetic test.
    disableCors Boolean
    Disable Cross-Origin Resource Sharing for browser tests.
    disableCsp Boolean
    Disable Content Security Policy for browser tests.
    followRedirects Boolean
    Determines whether or not the API HTTP test should follow redirects.
    httpVersion String
    HTTP version to use for a Synthetics API test. Valid values are http1, http2, any.
    ignoreServerCertificateError Boolean
    Ignore server certificate error for browser tests.
    initialNavigationTimeout Integer
    Timeout before declaring the initial step as failed (in seconds) for browser tests.
    minFailureDuration Integer
    Minimum amount of time in failure required to trigger an alert (in seconds). Default is 0.
    minLocationFailed Integer
    Minimum number of locations in failure required to trigger an alert. Defaults to 1.
    monitorName String
    The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
    monitorOptions SyntheticsTestOptionsListMonitorOptions
    monitorPriority Integer
    noScreenshot Boolean
    Prevents saving screenshots of the steps.
    restrictedRoles List<String>
    A list of role identifiers pulled from the Roles API to restrict read and write access.
    retry SyntheticsTestOptionsListRetry
    rumSettings SyntheticsTestOptionsListRumSettings
    The RUM data collection settings for the Synthetic browser test.
    scheduling SyntheticsTestOptionsListScheduling
    Object containing timeframes and timezone used for advanced scheduling.
    tickEvery number
    How often the test should run (in seconds).
    acceptSelfSigned boolean
    For SSL test, whether or not the test should allow self signed certificates.
    allowInsecure boolean
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    checkCertificateRevocation boolean
    For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
    ci SyntheticsTestOptionsListCi
    CI/CD options for a Synthetic test.
    disableCors boolean
    Disable Cross-Origin Resource Sharing for browser tests.
    disableCsp boolean
    Disable Content Security Policy for browser tests.
    followRedirects boolean
    Determines whether or not the API HTTP test should follow redirects.
    httpVersion string
    HTTP version to use for a Synthetics API test. Valid values are http1, http2, any.
    ignoreServerCertificateError boolean
    Ignore server certificate error for browser tests.
    initialNavigationTimeout number
    Timeout before declaring the initial step as failed (in seconds) for browser tests.
    minFailureDuration number
    Minimum amount of time in failure required to trigger an alert (in seconds). Default is 0.
    minLocationFailed number
    Minimum number of locations in failure required to trigger an alert. Defaults to 1.
    monitorName string
    The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
    monitorOptions SyntheticsTestOptionsListMonitorOptions
    monitorPriority number
    noScreenshot boolean
    Prevents saving screenshots of the steps.
    restrictedRoles string[]
    A list of role identifiers pulled from the Roles API to restrict read and write access.
    retry SyntheticsTestOptionsListRetry
    rumSettings SyntheticsTestOptionsListRumSettings
    The RUM data collection settings for the Synthetic browser test.
    scheduling SyntheticsTestOptionsListScheduling
    Object containing timeframes and timezone used for advanced scheduling.
    tick_every int
    How often the test should run (in seconds).
    accept_self_signed bool
    For SSL test, whether or not the test should allow self signed certificates.
    allow_insecure bool
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    check_certificate_revocation bool
    For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
    ci SyntheticsTestOptionsListCi
    CI/CD options for a Synthetic test.
    disable_cors bool
    Disable Cross-Origin Resource Sharing for browser tests.
    disable_csp bool
    Disable Content Security Policy for browser tests.
    follow_redirects bool
    Determines whether or not the API HTTP test should follow redirects.
    http_version str
    HTTP version to use for a Synthetics API test. Valid values are http1, http2, any.
    ignore_server_certificate_error bool
    Ignore server certificate error for browser tests.
    initial_navigation_timeout int
    Timeout before declaring the initial step as failed (in seconds) for browser tests.
    min_failure_duration int
    Minimum amount of time in failure required to trigger an alert (in seconds). Default is 0.
    min_location_failed int
    Minimum number of locations in failure required to trigger an alert. Defaults to 1.
    monitor_name str
    The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
    monitor_options SyntheticsTestOptionsListMonitorOptions
    monitor_priority int
    no_screenshot bool
    Prevents saving screenshots of the steps.
    restricted_roles Sequence[str]
    A list of role identifiers pulled from the Roles API to restrict read and write access.
    retry SyntheticsTestOptionsListRetry
    rum_settings SyntheticsTestOptionsListRumSettings
    The RUM data collection settings for the Synthetic browser test.
    scheduling SyntheticsTestOptionsListScheduling
    Object containing timeframes and timezone used for advanced scheduling.
    tickEvery Number
    How often the test should run (in seconds).
    acceptSelfSigned Boolean
    For SSL test, whether or not the test should allow self signed certificates.
    allowInsecure Boolean
    Allows loading insecure content for an HTTP request in an API test or in a multistep API test step.
    checkCertificateRevocation Boolean
    For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
    ci Property Map
    CI/CD options for a Synthetic test.
    disableCors Boolean
    Disable Cross-Origin Resource Sharing for browser tests.
    disableCsp Boolean
    Disable Content Security Policy for browser tests.
    followRedirects Boolean
    Determines whether or not the API HTTP test should follow redirects.
    httpVersion String
    HTTP version to use for a Synthetics API test. Valid values are http1, http2, any.
    ignoreServerCertificateError Boolean
    Ignore server certificate error for browser tests.
    initialNavigationTimeout Number
    Timeout before declaring the initial step as failed (in seconds) for browser tests.
    minFailureDuration Number
    Minimum amount of time in failure required to trigger an alert (in seconds). Default is 0.
    minLocationFailed Number
    Minimum number of locations in failure required to trigger an alert. Defaults to 1.
    monitorName String
    The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.
    monitorOptions Property Map
    monitorPriority Number
    noScreenshot Boolean
    Prevents saving screenshots of the steps.
    restrictedRoles List<String>
    A list of role identifiers pulled from the Roles API to restrict read and write access.
    retry Property Map
    rumSettings Property Map
    The RUM data collection settings for the Synthetic browser test.
    scheduling Property Map
    Object containing timeframes and timezone used for advanced scheduling.

    SyntheticsTestOptionsListCi, SyntheticsTestOptionsListCiArgs

    ExecutionRule string
    Execution rule for a Synthetics test. Valid values are blocking, non_blocking, skipped.
    ExecutionRule string
    Execution rule for a Synthetics test. Valid values are blocking, non_blocking, skipped.
    executionRule String
    Execution rule for a Synthetics test. Valid values are blocking, non_blocking, skipped.
    executionRule string
    Execution rule for a Synthetics test. Valid values are blocking, non_blocking, skipped.
    execution_rule str
    Execution rule for a Synthetics test. Valid values are blocking, non_blocking, skipped.
    executionRule String
    Execution rule for a Synthetics test. Valid values are blocking, non_blocking, skipped.

    SyntheticsTestOptionsListMonitorOptions, SyntheticsTestOptionsListMonitorOptionsArgs

    RenotifyInterval int
    Specify a renotification frequency in minutes. Values available by default are 0, 10, 20, 30, 40, 50, 60, 90, 120, 180, 240, 300, 360, 720, 1440. Defaults to 0.
    RenotifyInterval int
    Specify a renotification frequency in minutes. Values available by default are 0, 10, 20, 30, 40, 50, 60, 90, 120, 180, 240, 300, 360, 720, 1440. Defaults to 0.
    renotifyInterval Integer
    Specify a renotification frequency in minutes. Values available by default are 0, 10, 20, 30, 40, 50, 60, 90, 120, 180, 240, 300, 360, 720, 1440. Defaults to 0.
    renotifyInterval number
    Specify a renotification frequency in minutes. Values available by default are 0, 10, 20, 30, 40, 50, 60, 90, 120, 180, 240, 300, 360, 720, 1440. Defaults to 0.
    renotify_interval int
    Specify a renotification frequency in minutes. Values available by default are 0, 10, 20, 30, 40, 50, 60, 90, 120, 180, 240, 300, 360, 720, 1440. Defaults to 0.
    renotifyInterval Number
    Specify a renotification frequency in minutes. Values available by default are 0, 10, 20, 30, 40, 50, 60, 90, 120, 180, 240, 300, 360, 720, 1440. Defaults to 0.

    SyntheticsTestOptionsListRetry, SyntheticsTestOptionsListRetryArgs

    Count int
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    Interval int
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.
    Count int
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    Interval int
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.
    count Integer
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    interval Integer
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.
    count number
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    interval number
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.
    count int
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    interval int
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.
    count Number
    Number of retries needed to consider a location as failed before sending a notification alert. Defaults to 0.
    interval Number
    Interval between a failed test and the next retry in milliseconds. Defaults to 300.

    SyntheticsTestOptionsListRumSettings, SyntheticsTestOptionsListRumSettingsArgs

    IsEnabled bool
    Determines whether RUM data is collected during test runs.
    ApplicationId string
    RUM application ID used to collect RUM data for the browser test.
    ClientTokenId int
    RUM application API key ID used to collect RUM data for the browser test.
    IsEnabled bool
    Determines whether RUM data is collected during test runs.
    ApplicationId string
    RUM application ID used to collect RUM data for the browser test.
    ClientTokenId int
    RUM application API key ID used to collect RUM data for the browser test.
    isEnabled Boolean
    Determines whether RUM data is collected during test runs.
    applicationId String
    RUM application ID used to collect RUM data for the browser test.
    clientTokenId Integer
    RUM application API key ID used to collect RUM data for the browser test.
    isEnabled boolean
    Determines whether RUM data is collected during test runs.
    applicationId string
    RUM application ID used to collect RUM data for the browser test.
    clientTokenId number
    RUM application API key ID used to collect RUM data for the browser test.
    is_enabled bool
    Determines whether RUM data is collected during test runs.
    application_id str
    RUM application ID used to collect RUM data for the browser test.
    client_token_id int
    RUM application API key ID used to collect RUM data for the browser test.
    isEnabled Boolean
    Determines whether RUM data is collected during test runs.
    applicationId String
    RUM application ID used to collect RUM data for the browser test.
    clientTokenId Number
    RUM application API key ID used to collect RUM data for the browser test.

    SyntheticsTestOptionsListScheduling, SyntheticsTestOptionsListSchedulingArgs

    Timeframes List<SyntheticsTestOptionsListSchedulingTimeframe>
    Array containing objects describing the scheduling pattern to apply to each day.
    Timezone string
    Timezone in which the timeframe is based.
    Timeframes []SyntheticsTestOptionsListSchedulingTimeframe
    Array containing objects describing the scheduling pattern to apply to each day.
    Timezone string
    Timezone in which the timeframe is based.
    timeframes List<SyntheticsTestOptionsListSchedulingTimeframe>
    Array containing objects describing the scheduling pattern to apply to each day.
    timezone String
    Timezone in which the timeframe is based.
    timeframes SyntheticsTestOptionsListSchedulingTimeframe[]
    Array containing objects describing the scheduling pattern to apply to each day.
    timezone string
    Timezone in which the timeframe is based.
    timeframes Sequence[SyntheticsTestOptionsListSchedulingTimeframe]
    Array containing objects describing the scheduling pattern to apply to each day.
    timezone str
    Timezone in which the timeframe is based.
    timeframes List<Property Map>
    Array containing objects describing the scheduling pattern to apply to each day.
    timezone String
    Timezone in which the timeframe is based.

    SyntheticsTestOptionsListSchedulingTimeframe, SyntheticsTestOptionsListSchedulingTimeframeArgs

    Day int
    Number representing the day of the week
    From string
    The hour of the day on which scheduling starts.
    To string
    The hour of the day on which scheduling ends.
    Day int
    Number representing the day of the week
    From string
    The hour of the day on which scheduling starts.
    To string
    The hour of the day on which scheduling ends.
    day Integer
    Number representing the day of the week
    from String
    The hour of the day on which scheduling starts.
    to String
    The hour of the day on which scheduling ends.
    day number
    Number representing the day of the week
    from string
    The hour of the day on which scheduling starts.
    to string
    The hour of the day on which scheduling ends.
    day int
    Number representing the day of the week
    from_ str
    The hour of the day on which scheduling starts.
    to str
    The hour of the day on which scheduling ends.
    day Number
    Number representing the day of the week
    from String
    The hour of the day on which scheduling starts.
    to String
    The hour of the day on which scheduling ends.

    SyntheticsTestRequestBasicauth, SyntheticsTestRequestBasicauthArgs

    AccessKey string
    Access key for SIGV4 authentication.
    AccessTokenUrl string
    Access token url for oauth-client or oauth-rop authentication.
    Audience string
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    ClientId string
    Client ID for oauth-client or oauth-rop authentication.
    ClientSecret string
    Client secret for oauth-client or oauth-rop authentication.
    Domain string
    Domain for ntlm authentication.
    Password string
    Password for authentication.
    Region string
    Region for SIGV4 authentication.
    Resource string
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    Scope string
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    SecretKey string
    Secret key for SIGV4 authentication.
    ServiceName string
    Service name for SIGV4 authentication.
    SessionToken string
    Session token for SIGV4 authentication.
    TokenApiAuthentication string
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    Type string
    Type of basic authentication to use when performing the test. Defaults to "web".
    Username string
    Username for authentication.
    Workstation string
    Workstation for ntlm authentication.
    AccessKey string
    Access key for SIGV4 authentication.
    AccessTokenUrl string
    Access token url for oauth-client or oauth-rop authentication.
    Audience string
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    ClientId string
    Client ID for oauth-client or oauth-rop authentication.
    ClientSecret string
    Client secret for oauth-client or oauth-rop authentication.
    Domain string
    Domain for ntlm authentication.
    Password string
    Password for authentication.
    Region string
    Region for SIGV4 authentication.
    Resource string
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    Scope string
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    SecretKey string
    Secret key for SIGV4 authentication.
    ServiceName string
    Service name for SIGV4 authentication.
    SessionToken string
    Session token for SIGV4 authentication.
    TokenApiAuthentication string
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    Type string
    Type of basic authentication to use when performing the test. Defaults to "web".
    Username string
    Username for authentication.
    Workstation string
    Workstation for ntlm authentication.
    accessKey String
    Access key for SIGV4 authentication.
    accessTokenUrl String
    Access token url for oauth-client or oauth-rop authentication.
    audience String
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    clientId String
    Client ID for oauth-client or oauth-rop authentication.
    clientSecret String
    Client secret for oauth-client or oauth-rop authentication.
    domain String
    Domain for ntlm authentication.
    password String
    Password for authentication.
    region String
    Region for SIGV4 authentication.
    resource String
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    scope String
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    secretKey String
    Secret key for SIGV4 authentication.
    serviceName String
    Service name for SIGV4 authentication.
    sessionToken String
    Session token for SIGV4 authentication.
    tokenApiAuthentication String
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    type String
    Type of basic authentication to use when performing the test. Defaults to "web".
    username String
    Username for authentication.
    workstation String
    Workstation for ntlm authentication.
    accessKey string
    Access key for SIGV4 authentication.
    accessTokenUrl string
    Access token url for oauth-client or oauth-rop authentication.
    audience string
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    clientId string
    Client ID for oauth-client or oauth-rop authentication.
    clientSecret string
    Client secret for oauth-client or oauth-rop authentication.
    domain string
    Domain for ntlm authentication.
    password string
    Password for authentication.
    region string
    Region for SIGV4 authentication.
    resource string
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    scope string
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    secretKey string
    Secret key for SIGV4 authentication.
    serviceName string
    Service name for SIGV4 authentication.
    sessionToken string
    Session token for SIGV4 authentication.
    tokenApiAuthentication string
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    type string
    Type of basic authentication to use when performing the test. Defaults to "web".
    username string
    Username for authentication.
    workstation string
    Workstation for ntlm authentication.
    access_key str
    Access key for SIGV4 authentication.
    access_token_url str
    Access token url for oauth-client or oauth-rop authentication.
    audience str
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    client_id str
    Client ID for oauth-client or oauth-rop authentication.
    client_secret str
    Client secret for oauth-client or oauth-rop authentication.
    domain str
    Domain for ntlm authentication.
    password str
    Password for authentication.
    region str
    Region for SIGV4 authentication.
    resource str
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    scope str
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    secret_key str
    Secret key for SIGV4 authentication.
    service_name str
    Service name for SIGV4 authentication.
    session_token str
    Session token for SIGV4 authentication.
    token_api_authentication str
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    type str
    Type of basic authentication to use when performing the test. Defaults to "web".
    username str
    Username for authentication.
    workstation str
    Workstation for ntlm authentication.
    accessKey String
    Access key for SIGV4 authentication.
    accessTokenUrl String
    Access token url for oauth-client or oauth-rop authentication.
    audience String
    Audience for oauth-client or oauth-rop authentication. Defaults to "".
    clientId String
    Client ID for oauth-client or oauth-rop authentication.
    clientSecret String
    Client secret for oauth-client or oauth-rop authentication.
    domain String
    Domain for ntlm authentication.
    password String
    Password for authentication.
    region String
    Region for SIGV4 authentication.
    resource String
    Resource for oauth-client or oauth-rop authentication. Defaults to "".
    scope String
    Scope for oauth-client or oauth-rop authentication. Defaults to "".
    secretKey String
    Secret key for SIGV4 authentication.
    serviceName String
    Service name for SIGV4 authentication.
    sessionToken String
    Session token for SIGV4 authentication.
    tokenApiAuthentication String
    Token API Authentication for oauth-client or oauth-rop authentication. Valid values are header, body.
    type String
    Type of basic authentication to use when performing the test. Defaults to "web".
    username String
    Username for authentication.
    workstation String
    Workstation for ntlm authentication.

    SyntheticsTestRequestClientCertificate, SyntheticsTestRequestClientCertificateArgs

    SyntheticsTestRequestClientCertificateCert, SyntheticsTestRequestClientCertificateCertArgs

    Content string
    Content of the certificate.
    Filename string
    File name for the certificate.
    Content string
    Content of the certificate.
    Filename string
    File name for the certificate.
    content String
    Content of the certificate.
    filename String
    File name for the certificate.
    content string
    Content of the certificate.
    filename string
    File name for the certificate.
    content str
    Content of the certificate.
    filename str
    File name for the certificate.
    content String
    Content of the certificate.
    filename String
    File name for the certificate.

    SyntheticsTestRequestClientCertificateKey, SyntheticsTestRequestClientCertificateKeyArgs

    Content string
    Content of the certificate.
    Filename string
    File name for the certificate.
    Content string
    Content of the certificate.
    Filename string
    File name for the certificate.
    content String
    Content of the certificate.
    filename String
    File name for the certificate.
    content string
    Content of the certificate.
    filename string
    File name for the certificate.
    content str
    Content of the certificate.
    filename str
    File name for the certificate.
    content String
    Content of the certificate.
    filename String
    File name for the certificate.

    SyntheticsTestRequestDefinition, SyntheticsTestRequestDefinitionArgs

    Body string
    The request body.
    BodyType string
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    CallType string
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    CertificateDomains List<string>
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    DnsServer string
    DNS server to use for DNS tests (subtype = "dns").
    DnsServerPort int
    DNS server port to use for DNS tests.
    Host string
    Host name to perform the test with.
    Message string
    For UDP and websocket tests, message to send with the request.
    Method string
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    NoSavingResponseBody bool
    Determines whether or not to save the response body.
    NumberOfPackets int
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    PersistCookies bool
    Persist cookies across redirects.
    PlainProtoFile string
    The content of a proto file as a string.
    Port int
    Port to use when performing the test.
    ProtoJsonDescriptor string
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    Servername string
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    Service string
    The gRPC service on which you want to perform the gRPC call.
    ShouldTrackHops bool
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    Timeout int
    Timeout in seconds for the test. Defaults to 60.
    Url string
    The URL to send the request to.
    Body string
    The request body.
    BodyType string
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    CallType string
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    CertificateDomains []string
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    DnsServer string
    DNS server to use for DNS tests (subtype = "dns").
    DnsServerPort int
    DNS server port to use for DNS tests.
    Host string
    Host name to perform the test with.
    Message string
    For UDP and websocket tests, message to send with the request.
    Method string
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    NoSavingResponseBody bool
    Determines whether or not to save the response body.
    NumberOfPackets int
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    PersistCookies bool
    Persist cookies across redirects.
    PlainProtoFile string
    The content of a proto file as a string.
    Port int
    Port to use when performing the test.
    ProtoJsonDescriptor string
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    Servername string
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    Service string
    The gRPC service on which you want to perform the gRPC call.
    ShouldTrackHops bool
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    Timeout int
    Timeout in seconds for the test. Defaults to 60.
    Url string
    The URL to send the request to.
    body String
    The request body.
    bodyType String
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    callType String
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    certificateDomains List<String>
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    dnsServer String
    DNS server to use for DNS tests (subtype = "dns").
    dnsServerPort Integer
    DNS server port to use for DNS tests.
    host String
    Host name to perform the test with.
    message String
    For UDP and websocket tests, message to send with the request.
    method String
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    noSavingResponseBody Boolean
    Determines whether or not to save the response body.
    numberOfPackets Integer
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    persistCookies Boolean
    Persist cookies across redirects.
    plainProtoFile String
    The content of a proto file as a string.
    port Integer
    Port to use when performing the test.
    protoJsonDescriptor String
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    servername String
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    service String
    The gRPC service on which you want to perform the gRPC call.
    shouldTrackHops Boolean
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    timeout Integer
    Timeout in seconds for the test. Defaults to 60.
    url String
    The URL to send the request to.
    body string
    The request body.
    bodyType string
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    callType string
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    certificateDomains string[]
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    dnsServer string
    DNS server to use for DNS tests (subtype = "dns").
    dnsServerPort number
    DNS server port to use for DNS tests.
    host string
    Host name to perform the test with.
    message string
    For UDP and websocket tests, message to send with the request.
    method string
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    noSavingResponseBody boolean
    Determines whether or not to save the response body.
    numberOfPackets number
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    persistCookies boolean
    Persist cookies across redirects.
    plainProtoFile string
    The content of a proto file as a string.
    port number
    Port to use when performing the test.
    protoJsonDescriptor string
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    servername string
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    service string
    The gRPC service on which you want to perform the gRPC call.
    shouldTrackHops boolean
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    timeout number
    Timeout in seconds for the test. Defaults to 60.
    url string
    The URL to send the request to.
    body str
    The request body.
    body_type str
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    call_type str
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    certificate_domains Sequence[str]
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    dns_server str
    DNS server to use for DNS tests (subtype = "dns").
    dns_server_port int
    DNS server port to use for DNS tests.
    host str
    Host name to perform the test with.
    message str
    For UDP and websocket tests, message to send with the request.
    method str
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    no_saving_response_body bool
    Determines whether or not to save the response body.
    number_of_packets int
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    persist_cookies bool
    Persist cookies across redirects.
    plain_proto_file str
    The content of a proto file as a string.
    port int
    Port to use when performing the test.
    proto_json_descriptor str
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    servername str
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    service str
    The gRPC service on which you want to perform the gRPC call.
    should_track_hops bool
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    timeout int
    Timeout in seconds for the test. Defaults to 60.
    url str
    The URL to send the request to.
    body String
    The request body.
    bodyType String
    Type of the request body. Valid values are text/plain, application/json, text/xml, text/html, application/x-www-form-urlencoded, graphql.
    callType String
    The type of gRPC call to perform. Valid values are healthcheck, unary.
    certificateDomains List<String>
    By default, the client certificate is applied on the domain of the starting URL for browser tests. If you want your client certificate to be applied on other domains instead, add them in certificate_domains.
    dnsServer String
    DNS server to use for DNS tests (subtype = "dns").
    dnsServerPort Number
    DNS server port to use for DNS tests.
    host String
    Host name to perform the test with.
    message String
    For UDP and websocket tests, message to send with the request.
    method String
    Either the HTTP method/verb to use or a gRPC method available on the service set in the service field. Required if subtype is HTTP or if subtype is grpc and callType is unary.
    noSavingResponseBody Boolean
    Determines whether or not to save the response body.
    numberOfPackets Number
    Number of pings to use per test for ICMP tests (subtype = "icmp") between 0 and 10.
    persistCookies Boolean
    Persist cookies across redirects.
    plainProtoFile String
    The content of a proto file as a string.
    port Number
    Port to use when performing the test.
    protoJsonDescriptor String
    A protobuf JSON descriptor. Deprecated. Use plain_proto_file instead.

    Deprecated:Use plain_proto_file instead.

    servername String
    For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number.
    service String
    The gRPC service on which you want to perform the gRPC call.
    shouldTrackHops Boolean
    This will turn on a traceroute probe to discover all gateways along the path to the host destination. For ICMP tests (subtype = "icmp").
    timeout Number
    Timeout in seconds for the test. Defaults to 60.
    url String
    The URL to send the request to.

    SyntheticsTestRequestProxy, SyntheticsTestRequestProxyArgs

    Url string
    URL of the proxy to perform the test.
    Headers Dictionary<string, object>
    Header name and value map.
    Url string
    URL of the proxy to perform the test.
    Headers map[string]interface{}
    Header name and value map.
    url String
    URL of the proxy to perform the test.
    headers Map<String,Object>
    Header name and value map.
    url string
    URL of the proxy to perform the test.
    headers {[key: string]: any}
    Header name and value map.
    url str
    URL of the proxy to perform the test.
    headers Mapping[str, Any]
    Header name and value map.
    url String
    URL of the proxy to perform the test.
    headers Map<Any>
    Header name and value map.

    Import

    Synthetics tests can be imported using their public string ID, e.g.

    $ pulumi import datadog:index/syntheticsTest:SyntheticsTest fizz abc-123-xyz
    

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.27.0 published on Thursday, Mar 14, 2024 by Pulumi