@Generated(value="jsii-pacmak/1.1.0 (build df55f5e)", date="2020-04-10T14:28:19.284Z") @Stability(value=Stable) public interface RuleTargetConfig extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
RuleTargetConfig.Builder
A builder for
RuleTargetConfig |
static class |
RuleTargetConfig.Jsii$Proxy
An implementation for
RuleTargetConfig |
| Modifier and Type | Method and Description |
|---|---|
static RuleTargetConfig.Builder |
builder() |
String |
getArn()
The Amazon Resource Name (ARN) of the target.
|
default CfnRule.BatchParametersProperty |
getBatchParameters()
Parameters used when the rule invokes Amazon AWS Batch Job/Queue.
|
default CfnRule.EcsParametersProperty |
getEcsParameters()
The Amazon ECS task definition and task count to use, if the event target is an Amazon ECS task.
|
String |
getId()
Deprecated.
prefer auto-generated id by specifying an empty string
|
default RuleTargetInput |
getInput()
What input to send to the event target.
|
default CfnRule.KinesisParametersProperty |
getKinesisParameters()
Settings that control shard assignment, when the target is a Kinesis stream.
|
default IRole |
getRole()
Role to use to invoke this event target.
|
default CfnRule.RunCommandParametersProperty |
getRunCommandParameters()
Parameters used when the rule invokes Amazon EC2 Systems Manager Run Command.
|
default CfnRule.SqsParametersProperty |
getSqsParameters()
Parameters used when the FIFO sqs queue is used an event target by the rule.
|
default IConstruct |
getTargetResource()
The resource that is backing this target.
|
@Stability(value=Stable) @NotNull String getArn()
@Stability(value=Deprecated) @Deprecated @NotNull String getId()
Acceptable values include alphanumeric characters, periods (.), hyphens (-), and underscores (_).
@Stability(value=Stable) @Nullable default CfnRule.BatchParametersProperty getBatchParameters()
Default: no parameters set
@Stability(value=Stable) @Nullable default CfnRule.EcsParametersProperty getEcsParameters()
@Stability(value=Stable) @Nullable default RuleTargetInput getInput()
Default: the entire event
@Stability(value=Stable) @Nullable default CfnRule.KinesisParametersProperty getKinesisParameters()
If you don't include this parameter, eventId is used as the partition key.
@Stability(value=Stable) @Nullable default IRole getRole()
@Stability(value=Stable) @Nullable default CfnRule.RunCommandParametersProperty getRunCommandParameters()
@Stability(value=Stable) @Nullable default CfnRule.SqsParametersProperty getSqsParameters()
@Stability(value=Stable) @Nullable default IConstruct getTargetResource()
This is the resource that will actually have some action performed on it when used as a target (for example, start a build for a CodeBuild project). We need it to determine whether the rule belongs to a different account than the target - if so, we generate a more complex setup, including an additional stack containing the EventBusPolicy.
Default: the target is not backed by any resource
https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEvents-CrossAccountEventDelivery.html@Stability(value=Stable) static RuleTargetConfig.Builder builder()
RuleTargetConfig.Builder of RuleTargetConfigCopyright © 2020. All rights reserved.