@Stability(value=Experimental) public static final class RuleTargetConfig.Builder extends Object
RuleTargetConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RuleTargetConfig |
build()
Builds the configured instance.
|
RuleTargetConfig.Builder |
withArn(String value)
Sets the value of Arn
|
RuleTargetConfig.Builder |
withEcsParameters(CfnRule.EcsParametersProperty value)
Sets the value of EcsParameters
|
RuleTargetConfig.Builder |
withId(String value)
Sets the value of Id
|
RuleTargetConfig.Builder |
withInput(RuleTargetInput value)
Sets the value of Input
|
RuleTargetConfig.Builder |
withKinesisParameters(CfnRule.KinesisParametersProperty value)
Sets the value of KinesisParameters
|
RuleTargetConfig.Builder |
withRole(software.amazon.awscdk.services.iam.IRole value)
Sets the value of Role
|
RuleTargetConfig.Builder |
withRunCommandParameters(CfnRule.RunCommandParametersProperty value)
Sets the value of RunCommandParameters
|
@Stability(value=Experimental) public RuleTargetConfig.Builder withArn(String value)
value - The Amazon Resource Name (ARN) of the target.this@Stability(value=Experimental) public RuleTargetConfig.Builder withId(String value)
value - A unique, user-defined identifier for the target.this@Stability(value=Experimental) public RuleTargetConfig.Builder withEcsParameters(@Nullable CfnRule.EcsParametersProperty value)
value - The Amazon ECS task definition and task count to use, if the event target is an Amazon ECS task.this@Stability(value=Experimental) public RuleTargetConfig.Builder withInput(@Nullable RuleTargetInput value)
value - What input to send to the event target.this@Stability(value=Experimental) public RuleTargetConfig.Builder withKinesisParameters(@Nullable CfnRule.KinesisParametersProperty value)
value - Settings that control shard assignment, when the target is a Kinesis stream.this@Stability(value=Experimental) public RuleTargetConfig.Builder withRole(@Nullable software.amazon.awscdk.services.iam.IRole value)
value - Role to use to invoke this event target.this@Stability(value=Experimental) public RuleTargetConfig.Builder withRunCommandParameters(@Nullable CfnRule.RunCommandParametersProperty value)
value - Parameters used when the rule invokes Amazon EC2 Systems Manager Run Command.this@Stability(value=Experimental) public RuleTargetConfig build()
RuleTargetConfigNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.