@Stability(value=Stable) public static final class CfnMaintenanceWindow.Builder extends Object implements software.amazon.jsii.Builder<CfnMaintenanceWindow>
CfnMaintenanceWindow.| Modifier and Type | Method and Description |
|---|---|
CfnMaintenanceWindow.Builder |
allowUnassociatedTargets(Boolean allowUnassociatedTargets)
Enables a maintenance window task to run on managed instances, even if you have not registered those instances as targets.
|
CfnMaintenanceWindow.Builder |
allowUnassociatedTargets(IResolvable allowUnassociatedTargets)
Enables a maintenance window task to run on managed instances, even if you have not registered those instances as targets.
|
CfnMaintenanceWindow |
build() |
static CfnMaintenanceWindow.Builder |
create(Construct scope,
String id) |
CfnMaintenanceWindow.Builder |
cutoff(Number cutoff)
The number of hours before the end of the maintenance window that AWS Systems Manager stops scheduling new tasks for execution.
|
CfnMaintenanceWindow.Builder |
description(String description)
A description of the maintenance window.
|
CfnMaintenanceWindow.Builder |
duration(Number duration)
The duration of the maintenance window in hours.
|
CfnMaintenanceWindow.Builder |
endDate(String endDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.
|
CfnMaintenanceWindow.Builder |
name(String name)
The name of the maintenance window.
|
CfnMaintenanceWindow.Builder |
schedule(String schedule)
The schedule of the maintenance window in the form of a cron or rate expression.
|
CfnMaintenanceWindow.Builder |
scheduleOffset(Number scheduleOffset)
The number of days to wait to run a maintenance window after the scheduled cron expression date and time.
|
CfnMaintenanceWindow.Builder |
scheduleTimezone(String scheduleTimezone)
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format.
|
CfnMaintenanceWindow.Builder |
startDate(String startDate)
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.
|
CfnMaintenanceWindow.Builder |
tags(List<? extends CfnTag> tags)
Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs).
|
@Stability(value=Stable) public static CfnMaintenanceWindow.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnMaintenanceWindow.Builder.@Stability(value=Stable) public CfnMaintenanceWindow.Builder allowUnassociatedTargets(Boolean allowUnassociatedTargets)
If enabled, then you must specify the unregistered instances (by instance ID) when you register a task with the maintenance window.
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.this@Stability(value=Stable) public CfnMaintenanceWindow.Builder allowUnassociatedTargets(IResolvable allowUnassociatedTargets)
If enabled, then you must specify the unregistered instances (by instance ID) when you register a task with the maintenance window.
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.this@Stability(value=Stable) public CfnMaintenanceWindow.Builder cutoff(Number cutoff)
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 CfnMaintenanceWindow.Builder duration(Number duration)
duration - The duration of the maintenance window in hours. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindow.Builder name(String name)
name - The name of the maintenance window. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindow.Builder schedule(String schedule)
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 CfnMaintenanceWindow.Builder description(String description)
description - A description of the maintenance window. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindow.Builder endDate(String endDate)
endDate - The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindow.Builder scheduleOffset(Number scheduleOffset)
scheduleOffset - The number of days to wait to run a maintenance window after the scheduled cron expression date and time. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindow.Builder scheduleTimezone(String scheduleTimezone)
scheduleTimezone - The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindow.Builder startDate(String startDate)
StartDate allows you to delay activation of the Maintenance Window until the specified future date.
startDate - The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindow.Builder tags(List<? extends CfnTag> tags)
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.
tags - Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindow build()
build in interface software.amazon.jsii.Builder<CfnMaintenanceWindow>Copyright © 2022. All rights reserved.