AWS::SSM::MaintenanceWindowTaskResource Type definition for AWS::SSM::MaintenanceWindowTask
14 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
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 |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
WindowTaskId | string | Unique identifier of the maintenance window task. |
A minimal template with required properties and common optional ones.
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"Permissions CloudFormation needs in your IAM role to manage this resource.
iam:CreateServiceLinkedRoleiam:PassRolessm:GetMaintenanceWindowTaskssm:RegisterTaskWithMaintenanceWindowssm:GetMaintenanceWindowTaskiam:CreateServiceLinkedRoleiam:PassRolessm:UpdateMaintenanceWindowTaskssm:DeregisterTaskFromMaintenanceWindowssm:GetMaintenanceWindowTaskssm:DescribeMaintenanceWindowTasksOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterWindowIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
WindowIdTaskType