Interface CfnMaintenanceWindowMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMaintenanceWindowMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:05.678Z")
@Stability(Stable)
public interface CfnMaintenanceWindowMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnMaintenanceWindowPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ssm.*;
CfnMaintenanceWindowMixinProps cfnMaintenanceWindowMixinProps = CfnMaintenanceWindowMixinProps.builder()
.allowUnassociatedTargets(false)
.cutoff(123)
.description("description")
.duration(123)
.endDate("endDate")
.name("name")
.schedule("schedule")
.scheduleOffset(123)
.scheduleTimezone("scheduleTimezone")
.startDate("startDate")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMaintenanceWindowMixinPropsstatic final classAn implementation forCfnMaintenanceWindowMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectEnables a maintenance window task to run on managed instances, even if you have not registered those instances as targets.default NumberThe number of hours before the end of the maintenance window that AWS Systems Manager stops scheduling new tasks for execution.default StringA description of the maintenance window.default NumberThe duration of the maintenance window in hours.default StringThe date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.default StringgetName()The name of the maintenance window.default StringThe schedule of the maintenance window in the form of a cron or rate expression.default NumberThe number of days to wait to run a maintenance window after the scheduled cron expression date and time.default StringThe time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format.default StringThe date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.getTags()Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowUnassociatedTargets
Enables a maintenance window task to run on managed instances, even if you have not registered those instances as targets.If enabled, then you must specify the unregistered instances (by instance ID) when you register a task with the maintenance window.
Returns union: either
BooleanorIResolvable- See Also:
-
getCutoff
The number of hours before the end of the maintenance window that AWS Systems Manager stops scheduling new tasks for execution.- See Also:
-
getDescription
A description of the maintenance window.- See Also:
-
getDuration
The duration of the maintenance window in hours.- See Also:
-
getEndDate
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive.- See Also:
-
getName
The name of the maintenance window.- See Also:
-
getSchedule
The schedule of the maintenance window in the form of a cron or rate expression.- See Also:
-
getScheduleOffset
The number of days to wait to run a maintenance window after the scheduled cron expression date and time.- See Also:
-
getScheduleTimezone
The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format.- See Also:
-
getStartDate
The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active.StartDateallows you to delay activation of the maintenance window until the specified future date.- See Also:
-
getTags
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.
- See Also:
-
builder
-