@Stability(value=Stable) public static final class RuleTargetConfig.Builder extends Object
RuleTargetConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RuleTargetConfig.Builder |
arn(String arn)
Sets the value of Arn
|
RuleTargetConfig |
build()
Builds the configured instance.
|
RuleTargetConfig.Builder |
ecsParameters(CfnRule.EcsParametersProperty ecsParameters)
Sets the value of EcsParameters
|
RuleTargetConfig.Builder |
id(String id)
Deprecated.
prefer auto-generated id by specifying an empty string
|
RuleTargetConfig.Builder |
input(RuleTargetInput input)
Sets the value of Input
|
RuleTargetConfig.Builder |
kinesisParameters(CfnRule.KinesisParametersProperty kinesisParameters)
Sets the value of KinesisParameters
|
RuleTargetConfig.Builder |
role(software.amazon.awscdk.services.iam.IRole role)
Sets the value of Role
|
RuleTargetConfig.Builder |
runCommandParameters(CfnRule.RunCommandParametersProperty runCommandParameters)
Sets the value of RunCommandParameters
|
RuleTargetConfig.Builder |
sqsParameters(CfnRule.SqsParametersProperty sqsParameters)
Sets the value of SqsParameters
|
RuleTargetConfig.Builder |
targetResource(software.amazon.awscdk.core.IConstruct targetResource)
Sets the value of TargetResource
|
@Stability(value=Stable) public RuleTargetConfig.Builder arn(String arn)
arn - The Amazon Resource Name (ARN) of the target.this@Deprecated @Stability(value=Deprecated) public RuleTargetConfig.Builder id(String id)
id - A unique, user-defined identifier for the target.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(software.amazon.awscdk.services.iam.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(software.amazon.awscdk.core.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.