Class EventTargetState
Inherited Members
Namespace: Pulumi.Aws.CloudWatch
Assembly: Pulumi.Aws.dll
Syntax
public sealed class EventTargetState : ResourceArgs
Constructors
View SourceEventTargetState()
Declaration
public EventTargetState()
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<EventTargetBatchTargetGetArgs> BatchTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EventTargetBatchTargetGetArgs> |
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<EventTargetEcsTargetGetArgs> EcsTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EventTargetEcsTargetGetArgs> |
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<EventTargetInputTransformerGetArgs> InputTransformer { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EventTargetInputTransformerGetArgs> |
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<EventTargetKinesisTargetGetArgs> KinesisTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EventTargetKinesisTargetGetArgs> |
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<EventTargetRunCommandTargetGetArgs> RunCommandTargets { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<EventTargetRunCommandTargetGetArgs> |
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<EventTargetSqsTargetGetArgs> SqsTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EventTargetSqsTargetGetArgs> |
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> |