AWS::SSM::DocumentThe AWS::SSM::Document resource is an SSM document in AWS Systems Manager that defines the actions that Systems Manager performs, which can be used to set up and run commands on your instances.
10 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Content | objectstring | Required |
Attachments | Array<AttachmentsSource> | Write-only |
DocumentFormat | string | |
DocumentType | string | Create-only |
Name | string | Create-only |
Requires | Array<DocumentRequires> | |
Tags | Array<Tag> | |
TargetType | string | |
UpdateMethod | string | Write-only |
VersionName | string |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SSM::Document
Resources:
MyResource:
Type: AWS::SSM::Document
Properties:
Content: "value"
Tags:
- Key: Environment
Value: Production
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
ssm:DescribeDocumentssm:GetDocumentssm:ListTagsForResourcessm:CreateDocumentssm:GetDocumentssm:AddTagsToResourcessm:ListTagsForResources3:GetObjectiam:PassRolessm:UpdateDocuments3:GetObjectssm:AddTagsToResourcessm:RemoveTagsFromResourcessm:ListTagsForResourceiam:PassRolessm:UpdateDocumentDefaultVersionssm:DescribeDocumentssm:ListDocumentsssm:DeleteDocumentssm:GetDocumentOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
NameDocumentType