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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRule.RunCommandParametersProperty
static final class
An implementation forCfnRule.RunCommandParametersProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRunCommandTargets
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.- See Also:
-
builder
-