CfnMaintenanceWindowProps

class aws_cdk.aws_ssm.CfnMaintenanceWindowProps(*, allow_unassociated_targets, cutoff, description=None, duration, end_date=None, name, schedule, schedule_offset=None, schedule_timezone=None, start_date=None, tags=None)

Bases: object

Properties for defining a AWS::SSM::MaintenanceWindow.

Parameters
  • allow_unassociated_targets (Union[bool, IResolvable]) – AWS::SSM::MaintenanceWindow.AllowUnassociatedTargets.

  • cutoff (Union[int, float]) – AWS::SSM::MaintenanceWindow.Cutoff.

  • description (Optional[str]) – AWS::SSM::MaintenanceWindow.Description.

  • duration (Union[int, float]) – AWS::SSM::MaintenanceWindow.Duration.

  • end_date (Optional[str]) – AWS::SSM::MaintenanceWindow.EndDate.

  • name (str) – AWS::SSM::MaintenanceWindow.Name.

  • schedule (str) – AWS::SSM::MaintenanceWindow.Schedule.

  • schedule_offset (Union[int, float, None]) – AWS::SSM::MaintenanceWindow.ScheduleOffset.

  • schedule_timezone (Optional[str]) – AWS::SSM::MaintenanceWindow.ScheduleTimezone.

  • start_date (Optional[str]) – AWS::SSM::MaintenanceWindow.StartDate.

  • tags (Optional[Sequence[CfnTag]]) – AWS::SSM::MaintenanceWindow.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ssm as ssm

cfn_maintenance_window_props = ssm.CfnMaintenanceWindowProps(
    allow_unassociated_targets=False,
    cutoff=123,
    duration=123,
    name="name",
    schedule="schedule",

    # the properties below are optional
    description="description",
    end_date="endDate",
    schedule_offset=123,
    schedule_timezone="scheduleTimezone",
    start_date="startDate",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

allow_unassociated_targets

AWS::SSM::MaintenanceWindow.AllowUnassociatedTargets.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-allowunassociatedtargets

Return type

Union[bool, IResolvable]

cutoff

AWS::SSM::MaintenanceWindow.Cutoff.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-cutoff

Return type

Union[int, float]

description

AWS::SSM::MaintenanceWindow.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-description

Return type

Optional[str]

duration

AWS::SSM::MaintenanceWindow.Duration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-duration

Return type

Union[int, float]

end_date

AWS::SSM::MaintenanceWindow.EndDate.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-enddate

Return type

Optional[str]

name

AWS::SSM::MaintenanceWindow.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-name

Return type

str

schedule

AWS::SSM::MaintenanceWindow.Schedule.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-schedule

Return type

str

schedule_offset

AWS::SSM::MaintenanceWindow.ScheduleOffset.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-scheduleoffset

Return type

Union[int, float, None]

schedule_timezone

AWS::SSM::MaintenanceWindow.ScheduleTimezone.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-scheduletimezone

Return type

Optional[str]

start_date

AWS::SSM::MaintenanceWindow.StartDate.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-startdate

Return type

Optional[str]

tags

AWS::SSM::MaintenanceWindow.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-tags

Return type

Optional[List[CfnTag]]