@Stability(value=Stable) public static final class CfnMaintenanceWindowProps.Builder extends Object implements software.amazon.jsii.Builder<CfnMaintenanceWindowProps>
CfnMaintenanceWindowProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder allowUnassociatedTargets(Boolean allowUnassociatedTargets)
CfnMaintenanceWindowProps.getAllowUnassociatedTargets()allowUnassociatedTargets - Enables a maintenance window task to run on managed instances, even if you have not registered those instances as targets. This parameter is required.
If enabled, then you must specify the unregistered instances (by instance ID) when you register a task with the maintenance window.this@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder allowUnassociatedTargets(IResolvable allowUnassociatedTargets)
CfnMaintenanceWindowProps.getAllowUnassociatedTargets()allowUnassociatedTargets - Enables a maintenance window task to run on managed instances, even if you have not registered those instances as targets. This parameter is required.
If enabled, then you must specify the unregistered instances (by instance ID) when you register a task with the maintenance window.this@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder cutoff(Number cutoff)
CfnMaintenanceWindowProps.getCutoff()cutoff - The number of hours before the end of the maintenance window that AWS Systems Manager stops scheduling new tasks for execution. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder duration(Number duration)
CfnMaintenanceWindowProps.getDuration()duration - The duration of the maintenance window in hours. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder name(String name)
CfnMaintenanceWindowProps.getName()name - The name of the maintenance window. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder schedule(String schedule)
CfnMaintenanceWindowProps.getSchedule()schedule - The schedule of the maintenance window in the form of a cron or rate expression. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder description(String description)
CfnMaintenanceWindowProps.getDescription()description - A description of the maintenance window.this@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder endDate(String endDate)
CfnMaintenanceWindowProps.getEndDate()endDate - The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.this@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder scheduleOffset(Number scheduleOffset)
CfnMaintenanceWindowProps.getScheduleOffset()scheduleOffset - The number of days to wait to run a maintenance window after the scheduled cron expression date and time.this@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder scheduleTimezone(String scheduleTimezone)
CfnMaintenanceWindowProps.getScheduleTimezone()scheduleTimezone - The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format.this@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder startDate(String startDate)
CfnMaintenanceWindowProps.getStartDate()startDate - The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.
StartDate allows you to delay activation of the Maintenance Window until the specified future date.this@Stability(value=Stable) public CfnMaintenanceWindowProps.Builder tags(List<? extends CfnTag> tags)
CfnMaintenanceWindowProps.getTags()tags - Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs).
Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a maintenance window to identify the type of tasks it will run, the types of targets, and the environment it will run in.this@Stability(value=Stable) public CfnMaintenanceWindowProps build()
build in interface software.amazon.jsii.Builder<CfnMaintenanceWindowProps>CfnMaintenanceWindowPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.