Delete Document
ssm_delete_document | R Documentation |
Deletes the Amazon Web Services Systems Manager document (SSM document) and all managed node associations to the document¶
Description¶
Deletes the Amazon Web Services Systems Manager document (SSM document) and all managed node associations to the document.
Before you delete the document, we recommend that you use
delete_association
to disassociate all managed nodes that are
associated with the document.
Usage¶
Arguments¶
Name
[required] The name of the document.
DocumentVersion
The version of the document that you want to delete. If not provided, all versions of the document are deleted.
VersionName
The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
Force
Some SSM document types require that you specify a
Force
flag before you can delete the document. For example, you must specify aForce
flag to delete a document of typeApplicationConfigurationSchema
. You can restrict access to theForce
flag in an Identity and Access Management (IAM) policy.
Value¶
An empty list.