---
type: resource-type
title: Document
description: aws resource type AWS::SSM::Document
name: Document
lexicon: aws
resource_type: AWS::SSM::Document
---
`AWS::SSM::Document`, a resource type of the aws lexicon.

## Properties

- `Content` (`Record<string, unknown>`, required): The content for the Systems Manager document in JSON, YAML or String format.
- `Attachments` (`Document_AttachmentsSource[]`, optional): A list of key and value pairs that describe attachments to a version of a document.
- `DocumentFormat` (`"JSON" | "TEXT" | "YAML"`, optional): Specify the document format for the request. The document format can be either JSON or YAML. JSON is the default format.
- `DocumentType` (`"ApplicationConfiguration" | "ApplicationConfigurationSchema" | "AutoApprovalPolicy" | "Automation" | "Automation.ChangeTemplate" | "ChangeCalendar" | "CloudFormation" | "Command" | "DeploymentStrategy" | "ManualApprovalPolicy" | "Package" | "Policy" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "Session"`, optional): The type of document to create.
- `Name` (`string`, optional): A name for the Systems Manager document.
- `Requires` (`Document_DocumentRequires[]`, optional): A list of SSM documents required by a document. For example, an ApplicationConfiguration document requires an ApplicationConfigurationSchema document.
- `Tags` (`Document_Tag[]`, optional): Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment.
- `TargetType` (`string`, optional): Specify a target type to define the kinds of resources the document can run on.
- `UpdateMethod` (`"NewVersion" | "Replace"`, optional): Update method - when set to 'Replace', the update will replace the existing document; when set to 'NewVersion', the update will create a new version.
- `VersionName` (`string`, optional): An optional field specifying the version of the artifact you are creating with the document. This value is unique across all versions of a document, and cannot be changed.
