import type { SyntheticsAPITest, SyntheticsBrowserTest, SyntheticsMobileTest } from '@datadog/datadog-api-client/dist/packages/datadog-api-client-v1'; import { Construct } from 'constructs'; type SyntheticsTest = SyntheticsAPITest | SyntheticsBrowserTest | SyntheticsMobileTest; export interface DatadogSyntheticsTestProps { /** * The name of the service to which the test belongs. * * Used to enhance the test name and apply the `service` tag. */ readonly serviceName: string; /** * @jsii ignore */ readonly testConfig: SyntheticsTest; } /** * Creates a Datadog Synthetics test via Datadog API through a custom resource. * * See https://docs.datadoghq.com/api/latest/synthetics/ for more information (especially the typescript examples). * Currently, tests of type `api`, `browser` and `mobile` are supported. * * The resource does the following modification to the passed `testConfig`: * - Adds team name and service name to the test name. * - Adds the usual tags (account_id, account_name, service, team, team_identifier) to the test tags. */ export declare class DatadogSyntheticsTest extends Construct { constructor(scope: Construct, id: string, props: DatadogSyntheticsTestProps); } export {};