Systems Manager Document

AWS Systems Manager Document (SSM Document) defines actions that Systems Manager can perform on managed instances or AWS resources. It uses JSON or YAML to specify automation workflows, run commands, or configuration policies. These documents enable consistent, repeatable operations such as patching, software installation, or compliance checks across environments.

aws.ssm_document

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
account_idscorearray<string>The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account or All.
account_sharing_info_listcorejsonA list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
approved_versioncorestringThe version of the document currently approved for use in the organization.
attachments_informationcorejsonDetails about the document attachments, including names, locations, sizes, and so on.
authorcorestringThe user in your organization who created the document.
categorycorearray<string>The classification of a document to help you identify and categorize its use.
category_enumcorearray<string>The value that identifies a document's category.
created_datecoretimestampThe date when the document was created.
default_versioncorestringThe default version.
descriptioncorestringA description of the document.
document_arncorestring
document_formatcorestringThe document format, either JSON or YAML.
document_typecorestringThe type of document.
document_versioncorestringThe document version.
hashcorestringThe Sha256 or Sha1 hash created by the system when the document was created. Sha1 hashes have been deprecated.
hash_typecorestringThe hash type of the document. Valid values include Sha256 or Sha1. Sha1 hashes have been deprecated.
latest_versioncorestringThe latest version of the document.
namecorestringThe name of the SSM document.
ownercorestringThe Amazon Web Services user that created the document.
parameterscorejsonA description of the parameters for a document.
pending_review_versioncorestringThe version of the document that is currently under review.
platform_typescorearray<string>The list of operating system (OS) platforms compatible with this SSM document.
requirescorejsonA list of SSM documents required by a document. For example, an ApplicationConfiguration document requires an ApplicationConfigurationSchema document.
review_informationcorejsonDetails about the review of a document.
review_statuscorestringThe current status of the review.
schema_versioncorestringThe schema version.
sha1corestringThe SHA1 hash of the document, which you can use for verification.
statuscorestringThe status of the SSM document.
status_informationcorestringA message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a Failed status might be explained by the StatusInformation message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."
tagscorehstore
target_typecorestringThe target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance. For a list of valid resource types, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.
version_namecorestringThe version of the artifact associated with the document.