AWS
create_document
Creates a Systems Manager (SSM) document
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosaws.ssm.actions |
Name | delete_document |
Return | mapping |
Usage
JSON
{
"name": "delete-document",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.ssm.actions",
"func": "delete_document",
"arguments": {
"name": ""
}
}
}
YAML
name: delete-document
provider:
arguments:
name: ""
func: delete_document
module: chaosaws.ssm.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
name | string | Yes | Document Name | ||
version_name | string | null | No | Version Name | |
force | boolean | true | No | Force |
An SSM document defines the actions that SSM performs on your managed instances.
More information about SSM documents:
Signature
def delete_document(
name: str,
version_name: str = None,
force: bool = True,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass