ExperimentTemplateTarget constructor

const ExperimentTemplateTarget({
  1. Input<List<ExperimentTemplateTargetFilter>?>? filters,
  2. required Input<String> name,
  3. Input<Map<String, String>?>? parameters,
  4. Input<List<String>?>? resourceArns,
  5. Input<List<ExperimentTemplateTargetResourceTag>?>? resourceTags,
  6. required Input<String> resourceType,
  7. required Input<String> selectionMode,
})

Creates a new ExperimentTemplateTarget. filters Filter(s) for the target. Filters can be used to select resources based on specific attributes returned by the respective describe action of the resource type. For more information, see Targets for AWS FIS. See below. name Friendly name given to the target. parameters Resource type parameters. resourceArns Set of ARNs of the resources to target with an action. Conflicts with resourceTag. resourceTags Tag(s) the resources need to have to be considered a valid target for an action. Conflicts with resourceArns. See below. resourceType AWS resource type. The resource type must be supported for the specified action. To find out what resource types are supported, see Targets for AWS FIS. selectionMode Scopes the identified resources. Valid values are ALL (all identified resources), COUNT(n) (randomly select n of the identified resources), PERCENT(n) (randomly select n percent of the identified resources).

Implementation

const ExperimentTemplateTarget({
  this.filters,
  required this.name,
  this.parameters,
  this.resourceArns,
  this.resourceTags,
  required this.resourceType,
  required this.selectionMode,
});