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 | send_command |
Return | mapping |
Usage
JSON
{
"name": "send-command",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.ssm.actions",
"func": "send_command",
"arguments": {
"document_name": ""
}
}
}
YAML
name: send-command
provider:
arguments:
document_name: ""
func: send_command
module: chaosaws.ssm.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
document_name | string | Yes | SSM Document | Name of the SSM document to apply | |
document_version | string | null | No | Version | Document version |
targets | list | null | No | Targets | List of targets for this document |
parameters | mapping | null | No | Parameters | Document parameters to set |
timeout_seconds | integer | null | No | Timeout | Timeout in seconds for the operation |
max_concurrency | string | null | No | Concurrency | Maximum concurrency |
max_errors | string | null | No | Tolerated Errors | Maximum number of errors |
region | string | null | No | Region | Region where to apply this document to |
An SSM document defines the actions that SSM performs on your managed instances.
More information about SSM documents:
Signature
def send_command(document_name: str,
targets: List[Dict[str, Any]] = None,
document_version: str = None,
parameters: Dict[str, Any] = None,
timeout_seconds: int = None,
max_concurrency: str = None,
max_errors: str = None,
region: str = None,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass