aws fis get-action
Gets information about the specified FIS action. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To get action details
The following get-action example gets the details of the specified action.
aws fis get-action --id aws:ec2:stop-instancesIdentify--idThe ID of the action.Its 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 AWS FIS Actions reference in the AWS Fault Injection Simulator User Guide.
Options
--idThe ID of the action.