AWS::FIS::ExperimentTemplate ExperimentTemplateTarget
Specifies a target for an experiment. You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both ARNs and tags.
For more information, see Targets in the AWS Fault Injection Simulator User Guide.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Filters" :
[ ExperimentTemplateTargetFilter, ... ]
, "Parameters" :{
, "ResourceArns" :Key
:Value
, ...}[ String, ... ]
, "ResourceTags" :{
, "ResourceType" :Key
:Value
, ...}String
, "SelectionMode" :String
}
YAML
Filters:
- ExperimentTemplateTargetFilter
Parameters:ResourceArns:
Key
:Value
- String
ResourceTags:ResourceType:
Key
:Value
String
SelectionMode:String
Properties
Filters
-
The filters to apply to identify target resources using specific attributes.
Required: No
Type: List of ExperimentTemplateTargetFilter
Update requires: No interruption
Parameters
-
The parameters for the resource type.
Required: No
Type: Map of String
Update requires: No interruption
ResourceArns
-
The Amazon Resource Names (ARNs) of the resources.
Required: No
Type: List of String
Maximum:
5
Update requires: No interruption
-
The tags for the target resources.
Required: No
Type: Map of String
Update requires: No interruption
ResourceType
-
The resource type. The resource type must be supported for the specified action.
Required: Yes
Type: String
Maximum:
128
Pattern:
[\S]+
Update requires: No interruption
SelectionMode
-
Scopes the identified resources to a specific count of the resources at random, or a percentage of the resources. All identified resources are included in the target.
-
ALL - Run the action on all identified targets. This is the default.
-
COUNT(n) - Run the action on the specified number of targets, chosen from the identified targets at random. For example, COUNT(1) selects one of the targets.
-
PERCENT(n) - Run the action on the specified percentage of targets, chosen from the identified targets at random. For example, PERCENT(25) selects 25% of the targets.
Required: Yes
Type: String
Maximum:
64
Pattern:
[\S]+
Update requires: No interruption
-