UpdateDocumentRequest
¶
Source code in docs_src/capo_ssm/types/update_document_request.py
attachments
instance-attribute
¶
attachments: NotRequired[AttachmentsSourceList]
A list of key-value pairs that describe attachments to a version of a document.
cloud_providers
instance-attribute
¶
cloud_providers: NotRequired[CloudProviderList]
The cloud providers that the new document version can run against. Valid values include the following:
-
AWS- The document runs against Amazon Web Services resources. -
Azure- The document runs against Microsoft Azure resources. -
GCP- The document runs against Google Cloud resources.
If you don't specify a value, the new version uses the cloud providers of the latest version.
display_name
instance-attribute
¶
display_name: NotRequired[DocumentDisplayName]
The friendly name of the SSM document that you want to update. This value can differ for each version of the document. If you don't specify a value for this parameter in your request, the existing value is applied to the new document version.
document_format
instance-attribute
¶
document_format: NotRequired[DocumentFormat]
Specify the document format for the new document version. The document format can be JSON, YAML, or TEXT. JSON is the default format.
document_version
instance-attribute
¶
document_version: NotRequired[DocumentVersion]
The version of the document that you want to update. Currently, Systems Manager supports updating only the latest version of the document. You can specify the version number of the latest version or use the $LATEST variable.
If you change a document version for a State Manager association, Systems Manager immediately runs the association unless you previously specifed the apply-only-at-cron-interval parameter.
target_type
instance-attribute
¶
target_type: NotRequired[TargetType]
Specify a new target type for the document.
version_name
instance-attribute
¶
version_name: NotRequired[DocumentVersionName]
An optional field specifying the version of the artifact you are updating with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.