class CfnMaintenanceWindowPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SSM.Mixins.CfnMaintenanceWindowPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsssm/mixins#CfnMaintenanceWindowPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.ssm.mixins.CfnMaintenanceWindowPropsMixin |
Python | aws_cdk.mixins_preview.aws_ssm.mixins.CfnMaintenanceWindowPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_ssm » mixins » CfnMaintenanceWindowPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::SSM::MaintenanceWindow resource 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 .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as ssm_mixins } from '@aws-cdk/mixins-preview/aws-ssm';
const cfnMaintenanceWindowPropsMixin = new ssm_mixins.CfnMaintenanceWindowPropsMixin({
allowUnassociatedTargets: false,
cutoff: 123,
description: 'description',
duration: 123,
endDate: 'endDate',
name: 'name',
schedule: 'schedule',
scheduleOffset: 123,
scheduleTimezone: 'scheduleTimezone',
startDate: 'startDate',
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnMaintenanceWindowPropsMixin(props: CfnMaintenanceWindowMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Maintenance Window Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::SSM::MaintenanceWindow.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript