Interface CfnMaintenanceWindowTargetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMaintenanceWindowTargetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:37.764Z")
@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();
-
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. -
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. -
getWindowId
The ID of the maintenance window to register the target with. -
getDescription
A description for the target. -
getName
The name for the maintenance window target. -
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. -
builder
-