Interface CfnRule.RunCommandParametersProperty

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

@Stability(Stable) public static interface CfnRule.RunCommandParametersProperty extends software.amazon.jsii.JsiiSerializable
This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.

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.*;
 RunCommandParametersProperty runCommandParametersProperty = RunCommandParametersProperty.builder()
         .runCommandTargets(List.of(RunCommandTargetProperty.builder()
                 .key("key")
                 .values(List.of("values"))
                 .build()))
         .build();
 

See Also: