Interface CfnRule.RunCommandTargetProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRule.RunCommandTargetProperty.Jsii$Proxy
Enclosing class:
CfnRule

@Stability(Stable) public static interface CfnRule.RunCommandTargetProperty extends software.amazon.jsii.JsiiSerializable
Information about the EC2 instances that are to be sent the command, specified as key-value pairs.

Each RunCommandTarget block can include only one key, but this key may specify multiple values.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.events.*;
 RunCommandTargetProperty runCommandTargetProperty = RunCommandTargetProperty.builder()
         .key("key")
         .values(List.of("values"))
         .build();