Interface CfnMaintenanceWindowTargetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMaintenanceWindowTargetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:09.977Z")
@Stability(Stable)
public interface CfnMaintenanceWindowTargetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnMaintenanceWindowTarget
.
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.*; CfnMaintenanceWindowTargetProps cfnMaintenanceWindowTargetProps = CfnMaintenanceWindowTargetProps.builder() .resourceType("resourceType") .targets(List.of(TargetsProperty.builder() .key("key") .values(List.of("values")) .build())) .windowId("windowId") // the properties below are optional .description("description") .name("name") .ownerInformation("ownerInformation") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMaintenanceWindowTargetProps
static final class
An implementation forCfnMaintenanceWindowTargetProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
A description for the target.default String
getName()
The name for the maintenance window target.default String
A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.The type of target that is being registered with the maintenance window.The targets to register with the maintenance window.The ID of the maintenance window to register the target with.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getResourceType
The type of target that is being registered with the maintenance window.- See Also:
-
getTargets
The targets to register with the maintenance window.In other words, the instances to run commands on when the maintenance window runs.
You must specify targets by using the
WindowTargetIds
parameter.- See Also:
-
getWindowId
The ID of the maintenance window to register the target with.- See Also:
-
getDescription
A description for the target.- See Also:
-
getName
The name for the maintenance window target.- See Also:
-
getOwnerInformation
A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.- See Also:
-
builder
-