import * as core from "@terrascript/core"; export interface DeadLetterConfigArgs extends core.SchemaArgs { arn?: string | core.StringOut; } export declare class DeadLetterConfig extends core.Schema { arn?: string | core.StringOut; } export interface HttpTargetArgs extends core.SchemaArgs { headerParameters?: core.Map | core.MapOut; pathParameterValues?: core.Array | core.ArrayOut; queryStringParameters?: core.Map | core.MapOut; } export declare class HttpTarget extends core.Schema { headerParameters?: core.Map | core.MapOut; pathParameterValues?: core.Array | core.ArrayOut; queryStringParameters?: core.Map | core.MapOut; } export interface NetworkConfigurationArgs extends core.SchemaArgs { assignPublicIp?: boolean | core.BooleanOut; securityGroups?: core.Array | core.ArrayOut; subnets: core.Array | core.ArrayOut; } export declare class NetworkConfiguration extends core.Schema { assignPublicIp?: boolean | core.BooleanOut; securityGroups?: core.Array | core.ArrayOut; subnets: core.Array | core.ArrayOut; } export interface PlacementConstraintArgs extends core.SchemaArgs { expression?: string | core.StringOut; type: string | core.StringOut; } export declare class PlacementConstraint extends core.Schema { expression?: string | core.StringOut; type: string | core.StringOut; } export interface EcsTargetArgs extends core.SchemaArgs { enableEcsManagedTags?: boolean | core.BooleanOut; enableExecuteCommand?: boolean | core.BooleanOut; group?: string | core.StringOut; launchType?: string | core.StringOut; networkConfiguration?: NetworkConfiguration; placementConstraint?: core.Array | core.ArrayOut; platformVersion?: string | core.StringOut; propagateTags?: string | core.StringOut; tags?: core.Map | core.MapOut; taskCount?: number | core.NumberOut; taskDefinitionArn: string | core.StringOut; } export declare class EcsTarget extends core.Schema { enableEcsManagedTags?: boolean | core.BooleanOut; enableExecuteCommand?: boolean | core.BooleanOut; group?: string | core.StringOut; launchType?: string | core.StringOut; networkConfiguration?: NetworkConfiguration; placementConstraint?: core.Array | core.ArrayOut; platformVersion?: string | core.StringOut; propagateTags?: string | core.StringOut; tags?: core.Map | core.MapOut; taskCount?: number | core.NumberOut; taskDefinitionArn: string | core.StringOut; } export interface RedshiftTargetArgs extends core.SchemaArgs { database: string | core.StringOut; dbUser?: string | core.StringOut; secretsManagerArn?: string | core.StringOut; sql?: string | core.StringOut; statementName?: string | core.StringOut; withEvent?: boolean | core.BooleanOut; } export declare class RedshiftTarget extends core.Schema { database: string | core.StringOut; dbUser?: string | core.StringOut; secretsManagerArn?: string | core.StringOut; sql?: string | core.StringOut; statementName?: string | core.StringOut; withEvent?: boolean | core.BooleanOut; } export interface RetryPolicyArgs extends core.SchemaArgs { maximumEventAgeInSeconds?: number | core.NumberOut; maximumRetryAttempts?: number | core.NumberOut; } export declare class RetryPolicy extends core.Schema { maximumEventAgeInSeconds?: number | core.NumberOut; maximumRetryAttempts?: number | core.NumberOut; } export interface RunCommandTargetsArgs extends core.SchemaArgs { key: string | core.StringOut; values: core.Array | core.ArrayOut; } export declare class RunCommandTargets extends core.Schema { key: string | core.StringOut; values: core.Array | core.ArrayOut; } export interface BatchTargetArgs extends core.SchemaArgs { arraySize?: number | core.NumberOut; jobAttempts?: number | core.NumberOut; jobDefinition: string | core.StringOut; jobName: string | core.StringOut; } export declare class BatchTarget extends core.Schema { arraySize?: number | core.NumberOut; jobAttempts?: number | core.NumberOut; jobDefinition: string | core.StringOut; jobName: string | core.StringOut; } export interface InputTransformerArgs extends core.SchemaArgs { inputPaths?: core.Map | core.MapOut; inputTemplate: string | core.StringOut; } export declare class InputTransformer extends core.Schema { inputPaths?: core.Map | core.MapOut; inputTemplate: string | core.StringOut; } export interface SqsTargetArgs extends core.SchemaArgs { messageGroupId?: string | core.StringOut; } export declare class SqsTarget extends core.Schema { messageGroupId?: string | core.StringOut; } export interface KinesisTargetArgs extends core.SchemaArgs { partitionKeyPath?: string | core.StringOut; } export declare class KinesisTarget extends core.Schema { partitionKeyPath?: string | core.StringOut; } export interface CloudwatchEventTargetArgs extends core.ResourceArgs { /** * (Required) The Amazon Resource Name (ARN) of the target. */ arn: string | core.StringOut; /** * (Optional) Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented bel * ow. A maximum of 1 are allowed. */ batchTarget?: BatchTarget; /** * (Optional) Parameters used when you are providing a dead letter config. Documented below. A maximum * of 1 are allowed. */ deadLetterConfig?: DeadLetterConfig; /** * (Optional) Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. * A maximum of 1 are allowed. */ ecsTarget?: EcsTarget; /** * (Optional) The event bus to associate with the rule. If you omit this, the `default` event bus is us * ed. */ eventBusName?: string | core.StringOut; /** * (Optional) Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Docum * ented below. A maximum of 1 is allowed. */ httpTarget?: HttpTarget; /** * (Optional) Valid JSON text passed to the target. Conflicts with `input_path` and `input_transformer` * . */ input?: string | core.StringOut; /** * (Optional) The value of the [JSONPath](http://goessner.net/articles/JsonPath/) that is used for extr * acting part of the matched event when passing it to the target. Conflicts with `input` and `input_tr * ansformer`. */ inputPath?: string | core.StringOut; /** * (Optional) Parameters used when you are providing a custom input to a target based on certain event * data. Conflicts with `input` and `input_path`. */ inputTransformer?: InputTransformer; /** * (Optional) Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documente * d below. A maximum of 1 are allowed. */ kinesisTarget?: KinesisTarget; /** * (Optional) Parameters used when you are using the rule to invoke an Amazon Redshift Statement. Docum * ented below. A maximum of 1 are allowed. */ redshiftTarget?: RedshiftTarget; /** * (Optional) Parameters used when you are providing retry policies. Documented below. A maximum of 1 * are allowed. */ retryPolicy?: RetryPolicy; /** * (Optional) The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule i * s triggered. Required if `ecs_target` is used or target in `arn` is EC2 instance, Kinesis data strea * m, Step Functions state machine, or Event Bus in different account or region. */ roleArn?: string | core.StringOut; /** * (Required) The name of the rule you want to add targets to. */ rule: string | core.StringOut; /** * (Optional) Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented * below. A maximum of 5 are allowed. */ runCommandTargets?: core.Array | core.ArrayOut; /** * (Optional) Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented bel * ow. A maximum of 1 are allowed. */ sqsTarget?: SqsTarget; /** * (Optional) The unique target assignment ID. If missing, will generate a random, unique id. */ targetId?: string | core.StringOut; } export declare class CloudwatchEventTarget extends core.Resource { /** * (Required) The Amazon Resource Name (ARN) of the target. */ arn: string | core.StringOut; /** * (Optional) Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented bel * ow. A maximum of 1 are allowed. */ batchTarget?: BatchTarget; /** * (Optional) Parameters used when you are providing a dead letter config. Documented below. A maximum * of 1 are allowed. */ deadLetterConfig?: DeadLetterConfig; /** * (Optional) Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. * A maximum of 1 are allowed. */ ecsTarget?: EcsTarget; /** * (Optional) The event bus to associate with the rule. If you omit this, the `default` event bus is us * ed. */ eventBusName?: string | core.StringOut; /** * (Optional) Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Docum * ented below. A maximum of 1 is allowed. */ httpTarget?: HttpTarget; id: string | core.StringOut; /** * (Optional) Valid JSON text passed to the target. Conflicts with `input_path` and `input_transformer` * . */ input?: string | core.StringOut; /** * (Optional) The value of the [JSONPath](http://goessner.net/articles/JsonPath/) that is used for extr * acting part of the matched event when passing it to the target. Conflicts with `input` and `input_tr * ansformer`. */ inputPath?: string | core.StringOut; /** * (Optional) Parameters used when you are providing a custom input to a target based on certain event * data. Conflicts with `input` and `input_path`. */ inputTransformer?: InputTransformer; /** * (Optional) Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documente * d below. A maximum of 1 are allowed. */ kinesisTarget?: KinesisTarget; /** * (Optional) Parameters used when you are using the rule to invoke an Amazon Redshift Statement. Docum * ented below. A maximum of 1 are allowed. */ redshiftTarget?: RedshiftTarget; /** * (Optional) Parameters used when you are providing retry policies. Documented below. A maximum of 1 * are allowed. */ retryPolicy?: RetryPolicy; /** * (Optional) The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule i * s triggered. Required if `ecs_target` is used or target in `arn` is EC2 instance, Kinesis data strea * m, Step Functions state machine, or Event Bus in different account or region. */ roleArn?: string | core.StringOut; /** * (Required) The name of the rule you want to add targets to. */ rule: string | core.StringOut; /** * (Optional) Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented * below. A maximum of 5 are allowed. */ runCommandTargets?: core.Array | core.ArrayOut; /** * (Optional) Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented bel * ow. A maximum of 1 are allowed. */ sqsTarget?: SqsTarget; /** * (Optional) The unique target assignment ID. If missing, will generate a random, unique id. */ targetId?: string | core.StringOut; constructor(name: string, args?: CloudwatchEventTargetArgs); getNamespace(): string; } //# sourceMappingURL=cloudwatch_event_target.d.ts.map