@Stability(value=Stable) public static final class RuleTargetConfig.Builder extends Object
RuleTargetConfig| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public RuleTargetConfig.Builder arn(String arn)
arn - The Amazon Resource Name (ARN) of the target. This parameter is required.this@Stability(value=Deprecated) @Deprecated public RuleTargetConfig.Builder id(String id)
id - A unique, user-defined identifier for the target. This parameter is required.this@Stability(value=Stable) public RuleTargetConfig.Builder ecsParameters(CfnRule.EcsParametersProperty ecsParameters)
ecsParameters - The Amazon ECS task definition and task count to use, if the event target is an Amazon ECS task.this@Stability(value=Stable) public RuleTargetConfig.Builder input(RuleTargetInput input)
input - What input to send to the event target.this@Stability(value=Stable) public RuleTargetConfig.Builder kinesisParameters(CfnRule.KinesisParametersProperty kinesisParameters)
kinesisParameters - Settings that control shard assignment, when the target is a Kinesis stream.this@Stability(value=Stable) public RuleTargetConfig.Builder role(IRole role)
role - Role to use to invoke this event target.this@Stability(value=Stable) public RuleTargetConfig.Builder runCommandParameters(CfnRule.RunCommandParametersProperty runCommandParameters)
runCommandParameters - Parameters used when the rule invokes Amazon EC2 Systems Manager Run Command.this@Stability(value=Stable) public RuleTargetConfig.Builder sqsParameters(CfnRule.SqsParametersProperty sqsParameters)
sqsParameters - Parameters used when the FIFO sqs queue is used an event target by the rule.this@Stability(value=Stable) public RuleTargetConfig.Builder targetResource(IConstruct targetResource)
targetResource - The resource that is backing this target. 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.this@Stability(value=Stable) public RuleTargetConfig build()
RuleTargetConfigNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.