@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:39.753Z") @Stability(value=Stable) public interface CfnMaintenanceWindowTargetProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnMaintenanceWindowTargetProps.Builder
A builder for
CfnMaintenanceWindowTargetProps |
static class |
CfnMaintenanceWindowTargetProps.Jsii$Proxy
An implementation for
CfnMaintenanceWindowTargetProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnMaintenanceWindowTargetProps.Builder |
builder() |
default String |
getDescription()
A description for the target.
|
default String |
getName()
The name for the maintenance window target.
|
default String |
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.
|
String |
getResourceType()
The type of target that is being registered with the maintenance window.
|
Object |
getTargets()
The targets to register with the maintenance window.
|
String |
getWindowId()
The ID of the maintenance window to register the target with.
|
@Stability(value=Stable) @NotNull String getResourceType()
@Stability(value=Stable) @NotNull Object getTargets()
In other words, the instances to run commands on when the maintenance window runs.
You must specify targets by using the WindowTargetIds parameter.
@Stability(value=Stable) @NotNull String getWindowId()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default String getOwnerInformation()
@Stability(value=Stable) static CfnMaintenanceWindowTargetProps.Builder builder()
Copyright © 2022. All rights reserved.