aws fis get-experiment-template
Gets information about the specified experiment template. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To get experiment template details
The following get-experiment-template example gets the details of the specified experiment template.
aws fis get-experiment-template --id ABCDE1fgHIJkLmNopIdentify--idThe ID of the experiment template.Its output, shortened
{
"experimentTemplate": {
"id": "ABCDE1fgHIJkLmNop",
"description": "myExperimentTemplate",
"targets": {
"Instances-Target-1": {
"resourceType": "aws:ec2:instance",
"resourceArns": [
"arn:aws:ec2:us-west-2:123456789012:instance/i-12a3b4c56d78e9012"
],
"selectionMode": "ALL"
}
},
"actions": {
"testaction": {
"actionId": "aws:ec2:stop-instances",
"parameters": {},
"targets": {
"Instances": "Instances-Target-1"
}
}
},
"stopConditions": [
{
"source": "none"
}
],
"creationTime": 1616017191.124,
"lastUpdateTime": 1616017331.51,
"roleArn": "arn:aws:iam::123456789012:role/FISRole",
… 5 more linesFor more information, see Experiment templates in the AWS Fault Injection Simulator User Guide.
Options
--idThe ID of the experiment template.