Interface CfnMaintenanceWindowTarget.TargetsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMaintenanceWindowTarget.TargetsProperty.Jsii$Proxy
- Enclosing class:
CfnMaintenanceWindowTarget
@Stability(Stable)
public static interface CfnMaintenanceWindowTarget.TargetsProperty
extends software.amazon.jsii.JsiiSerializable
The
Targets property type specifies adding a target to a maintenance window target in AWS Systems Manager .
Targets is a property of the AWS::SSM::MaintenanceWindowTarget resource.
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.ssm.*;
TargetsProperty targetsProperty = TargetsProperty.builder()
.key("key")
.values(List.of("values"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMaintenanceWindowTarget.TargetsPropertystatic final classAn implementation forCfnMaintenanceWindowTarget.TargetsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKey
User-defined criteria for sending commands that target managed nodes that meet the criteria.- See Also:
-
getValues
User-defined criteria that maps toKey.For example, if you specified
tag:ServerRole, you could specifyvalue:WebServerto run a command on instances that include EC2 tags ofServerRole,WebServer.Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50.
- See Also:
-
builder
-