AWS Fundamentals Logo
AWS Fundamentals
AWS::SSM::MaintenanceWindow

SSM MaintenanceWindow

Resource type definition for AWS::SSM::MaintenanceWindow

Properties

11 configurable properties. 5 required. Click a row to see details.

Filter:
PropertyTypeFlags
AllowUnassociatedTargets
boolean
Required
Cutoff
integer
Required
Duration
integer
Required
Name
string
Required
Schedule
string
Required
Description
string
EndDate
string
ScheduleOffset
integer
ScheduleTimezone
string
StartDate
string
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
WindowIdstringThe ID of the maintenance window.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SSM::MaintenanceWindow

Resources:
  MyResource:
    Type: AWS::SSM::MaintenanceWindow
    Properties:
      AllowUnassociatedTargets: true
      Cutoff: 1
      Schedule: "value"
      Duration: 1
      Name: "my-name"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ssm:CreateMaintenanceWindowssm:AddTagsToResource

read

ssm:GetMaintenanceWindowssm:ListTagsForResource

update

ssm:UpdateMaintenanceWindowssm:AddTagsToResourcessm:RemoveTagsFromResource

delete

ssm:DeleteMaintenanceWindowssm:GetMaintenanceWindow

list

ssm:DescribeMaintenanceWindows

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceSSM
Properties12
Required5
TaggingSupported
Primary IDWindowId

Supported Operations

CreateReadUpdateDeleteList

External Links