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.
DocumentVersionThe version of the document that you want to delete. If not provided, all versions of the document are deleted.
VersionNameThe version name of the document that you want to delete. If not provided, all versions of the document are deleted.
ForceSome SSM document types require that you specify a
Forceflag before you can delete the document. For example, you must specify aForceflag to delete a document of typeApplicationConfigurationSchema. You can restrict access to theForceflag in an Identity and Access Management (IAM) policy.
Value¶
An empty list.