Class CfnMaintenanceWindowTargetPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssm.CfnMaintenanceWindowTargetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMaintenanceWindowTargetPropsMixin>
- Enclosing class:
CfnMaintenanceWindowTargetPropsMixin
@Stability(Stable)
public static final class CfnMaintenanceWindowTargetPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMaintenanceWindowTargetPropsMixin>
A fluent builder for
CfnMaintenanceWindowTargetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) A description for the target.The name for the maintenance window target.ownerInformation(String 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.resourceType(String resourceType) The type of target that is being registered with the maintenance window.The targets to register with the maintenance window.targets(IResolvable targets) The targets to register with the maintenance window.The ID of the maintenance window to register the target with.
-
Method Details
-
create
@Stability(Stable) public static CfnMaintenanceWindowTargetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnMaintenanceWindowTargetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnMaintenanceWindowTargetPropsMixin.Builder.
-
description
@Stability(Stable) public CfnMaintenanceWindowTargetPropsMixin.Builder description(String description) A description for the target.- Parameters:
description- A description for the target. This parameter is required.- Returns:
this- See Also:
-
name
The name for the maintenance window target.- Parameters:
name- The name for the maintenance window target. This parameter is required.- Returns:
this- See Also:
-
ownerInformation
@Stability(Stable) public CfnMaintenanceWindowTargetPropsMixin.Builder ownerInformation(String 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.- Parameters:
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 parameter is required.- Returns:
this- See Also:
-
resourceType
@Stability(Stable) public CfnMaintenanceWindowTargetPropsMixin.Builder resourceType(String resourceType) The type of target that is being registered with the maintenance window.- Parameters:
resourceType- The type of target that is being registered with the maintenance window. This parameter is required.- Returns:
this- See Also:
-
targets
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
WindowTargetIdsparameter.- Parameters:
targets- The targets to register with the maintenance window. This parameter is required.- Returns:
this- See Also:
-
targets
@Stability(Stable) public CfnMaintenanceWindowTargetPropsMixin.Builder targets(List<? extends Object> targets) 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
WindowTargetIdsparameter.- Parameters:
targets- The targets to register with the maintenance window. This parameter is required.- Returns:
this- See Also:
-
windowId
The ID of the maintenance window to register the target with.- Parameters:
windowId- The ID of the maintenance window to register the target with. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMaintenanceWindowTargetPropsMixin>- Returns:
- a newly built instance of
CfnMaintenanceWindowTargetPropsMixin.
-