@Stability(value=Stable) public static final class CfnMaintenanceWindowTargetProps.Builder extends Object implements software.amazon.jsii.Builder<CfnMaintenanceWindowTargetProps>
CfnMaintenanceWindowTargetProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnMaintenanceWindowTargetProps.Builder resourceType(String resourceType)
CfnMaintenanceWindowTargetProps.getResourceType()resourceType - The type of target that is being registered with the maintenance window. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowTargetProps.Builder targets(IResolvable targets)
CfnMaintenanceWindowTargetProps.getTargets()targets - The targets to register with the maintenance window. This parameter is required.
In other words, the instances to run commands on when the maintenance window runs.
You must specify targets by using the WindowTargetIds parameter.
this@Stability(value=Stable) public CfnMaintenanceWindowTargetProps.Builder targets(List<? extends Object> targets)
CfnMaintenanceWindowTargetProps.getTargets()targets - The targets to register with the maintenance window. This parameter is required.
In other words, the instances to run commands on when the maintenance window runs.
You must specify targets by using the WindowTargetIds parameter.
this@Stability(value=Stable) public CfnMaintenanceWindowTargetProps.Builder windowId(String windowId)
CfnMaintenanceWindowTargetProps.getWindowId()windowId - The ID of the maintenance window to register the target with. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowTargetProps.Builder description(String description)
CfnMaintenanceWindowTargetProps.getDescription()description - A description for the target.this@Stability(value=Stable) public CfnMaintenanceWindowTargetProps.Builder name(String name)
CfnMaintenanceWindowTargetProps.getName()name - The name for the maintenance window target.this@Stability(value=Stable) public CfnMaintenanceWindowTargetProps.Builder ownerInformation(String ownerInformation)
CfnMaintenanceWindowTargetProps.getOwnerInformation()ownerInformation - 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.this@Stability(value=Stable) public CfnMaintenanceWindowTargetProps build()
build in interface software.amazon.jsii.Builder<CfnMaintenanceWindowTargetProps>CfnMaintenanceWindowTargetPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.