Class EventTargetArgs
Inherited Members
Namespace: Pulumi.Aws.CloudWatch
Assembly: Pulumi.Aws.dll
Syntax
public sealed class EventTargetArgs : ResourceArgs
Constructors
View SourceEventTargetArgs()
Declaration
public EventTargetArgs()
Properties
View SourceArn
The Amazon Resource Name (ARN) associated of the target.
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
BatchTarget
Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed.
Declaration
public Input<EventTargetBatchTargetArgs> BatchTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EventTargetBatchTargetArgs> |
EcsTarget
Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed.
Declaration
public Input<EventTargetEcsTargetArgs> EcsTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EventTargetEcsTargetArgs> |
Input
Valid JSON text passed to the target.
Declaration
public Input<string> Input { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InputPath
The value of the JSONPath that is used for extracting part of the matched event when passing it to the target.
Declaration
public Input<string> InputPath { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InputTransformer
Parameters used when you are providing a custom input to a target based on certain event data.
Declaration
public Input<EventTargetInputTransformerArgs> InputTransformer { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EventTargetInputTransformerArgs> |
KinesisTarget
Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed.
Declaration
public Input<EventTargetKinesisTargetArgs> KinesisTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EventTargetKinesisTargetArgs> |
RoleArn
The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if ecs_target is used.
Declaration
public Input<string> RoleArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Rule
The name of the rule you want to add targets to.
Declaration
public Input<string> Rule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RunCommandTargets
Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed.
Declaration
public InputList<EventTargetRunCommandTargetArgs> RunCommandTargets { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<EventTargetRunCommandTargetArgs> |
SqsTarget
Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed.
Declaration
public Input<EventTargetSqsTargetArgs> SqsTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EventTargetSqsTargetArgs> |
TargetId
The unique target assignment ID. If missing, will generate a random, unique id.
Declaration
public Input<string> TargetId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |