CfnMaintenanceWindowPropsMixin
- class aws_cdk.mixins_preview.aws_ssm.mixins.CfnMaintenanceWindowPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::SSM::MaintenanceWindowresource represents general information about a maintenance window for AWS Systems Manager .Maintenance windows let you define a schedule for when to perform potentially disruptive actions on your instances, such as patching an operating system (OS), updating drivers, or installing software. Each maintenance window has a schedule, a duration, a set of registered targets, and a set of registered tasks.
For more information, see Systems Manager Maintenance Windows in the AWS Systems Manager User Guide and CreateMaintenanceWindow in the AWS Systems Manager API Reference .
- See:
- CloudformationResource:
AWS::SSM::MaintenanceWindow
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_ssm import mixins as ssm_mixins cfn_maintenance_window_props_mixin = ssm_mixins.CfnMaintenanceWindowPropsMixin(ssm_mixins.CfnMaintenanceWindowMixinProps( allow_unassociated_targets=False, cutoff=123, description="description", duration=123, end_date="endDate", name="name", schedule="schedule", schedule_offset=123, schedule_timezone="scheduleTimezone", start_date="startDate", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::SSM::MaintenanceWindow.- Parameters:
props (
Union[CfnMaintenanceWindowMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['allowUnassociatedTargets', 'cutoff', 'description', 'duration', 'endDate', 'name', 'schedule', 'scheduleOffset', 'scheduleTimezone', 'startDate', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental