AWS Fundamentals Logo
AWS Fundamentals
AWS::SSM::MaintenanceWindowTask

SSM MaintenanceWindowTask

Resource Type definition for AWS::SSM::MaintenanceWindowTask

Properties

14 configurable properties. 4 required. Click a row to see details.

Filter:
PropertyTypeFlags
Priority
integer
Required
TaskArn
string
Required
TaskType
string
RequiredCreate-only
WindowId
string
RequiredCreate-only
CutoffBehavior
string
Description
string
LoggingInfo
LoggingInfo
MaxConcurrency
string
MaxErrors
string
Name
string
ServiceRoleArn
string
Targets
Array<Target>
TaskInvocationParameters
TaskInvocationParameters
TaskParameters
object

Return Values

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

AttributeTypeDescription
WindowTaskIdstringUnique identifier of the maintenance window task.

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::MaintenanceWindowTask

Resources:
  MyResource:
    Type: AWS::SSM::MaintenanceWindowTask
    Properties:
      WindowId: "my-windowid"
      Priority: 1
      TaskType: "value"
      TaskArn: "arn:aws:service:region:account:resource"
      Description: !Ref "AWS::StackName"
      Name: !Ref "AWS::StackName"

Required IAM Permissions

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

create

iam:CreateServiceLinkedRoleiam:PassRolessm:GetMaintenanceWindowTaskssm:RegisterTaskWithMaintenanceWindow

read

ssm:GetMaintenanceWindowTask

update

iam:CreateServiceLinkedRoleiam:PassRolessm:UpdateMaintenanceWindowTask

delete

ssm:DeregisterTaskFromMaintenanceWindowssm:GetMaintenanceWindowTask

list

ssm:DescribeMaintenanceWindowTasks

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
Properties15
Required4
TaggingNot supported
Primary IDWindowId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

WindowIdTaskType

External Links