Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 938 Bytes

File metadata and controls

29 lines (24 loc) · 938 Bytes

To get action details

The following get-action example gets the details of the specified action.

aws fis get-action \
    --id aws:ec2:stop-instances

Output:

{
    "action": {
        "id": "aws:ec2:stop-instances",
        "description": "Stop the specified EC2 instances.",
        "parameters": {
            "startInstancesAfterDuration": {
                "description": "The time to wait before restarting the instances (ISO 8601 duration).",
                "required": false
            }
        },
        "targets": {
            "Instances": {
                "resourceType": "aws:ec2:instance"
            }
        },
        "tags": {}
    }
}

For more information, see Actions in the AWS Fault Injection Simulator User Guide.