| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.FIS.Types.CreateExperimentTemplateTargetInput
Description
Synopsis
- data CreateExperimentTemplateTargetInput = CreateExperimentTemplateTargetInput' {}
- newCreateExperimentTemplateTargetInput :: Text -> Text -> CreateExperimentTemplateTargetInput
- createExperimentTemplateTargetInput_resourceTags :: Lens' CreateExperimentTemplateTargetInput (Maybe (HashMap Text Text))
- createExperimentTemplateTargetInput_filters :: Lens' CreateExperimentTemplateTargetInput (Maybe [ExperimentTemplateTargetInputFilter])
- createExperimentTemplateTargetInput_resourceArns :: Lens' CreateExperimentTemplateTargetInput (Maybe [Text])
- createExperimentTemplateTargetInput_resourceType :: Lens' CreateExperimentTemplateTargetInput Text
- createExperimentTemplateTargetInput_selectionMode :: Lens' CreateExperimentTemplateTargetInput Text
Documentation
data CreateExperimentTemplateTargetInput Source #
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.
See: newCreateExperimentTemplateTargetInput smart constructor.
Constructors
| CreateExperimentTemplateTargetInput' | |
Fields
| |
Instances
newCreateExperimentTemplateTargetInput Source #
Arguments
| :: Text | |
| -> Text | |
| -> CreateExperimentTemplateTargetInput |
Create a value of CreateExperimentTemplateTargetInput with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceTags:CreateExperimentTemplateTargetInput', createExperimentTemplateTargetInput_resourceTags - The tags for the target resources.
$sel:filters:CreateExperimentTemplateTargetInput', createExperimentTemplateTargetInput_filters - The filters to apply to identify target resources using specific
attributes.
$sel:resourceArns:CreateExperimentTemplateTargetInput', createExperimentTemplateTargetInput_resourceArns - The Amazon Resource Names (ARNs) of the resources.
$sel:resourceType:CreateExperimentTemplateTargetInput', createExperimentTemplateTargetInput_resourceType - The AWS resource type. The resource type must be supported for the
specified action.
$sel:selectionMode:CreateExperimentTemplateTargetInput', createExperimentTemplateTargetInput_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.
createExperimentTemplateTargetInput_resourceTags :: Lens' CreateExperimentTemplateTargetInput (Maybe (HashMap Text Text)) Source #
The tags for the target resources.
createExperimentTemplateTargetInput_filters :: Lens' CreateExperimentTemplateTargetInput (Maybe [ExperimentTemplateTargetInputFilter]) Source #
The filters to apply to identify target resources using specific attributes.
createExperimentTemplateTargetInput_resourceArns :: Lens' CreateExperimentTemplateTargetInput (Maybe [Text]) Source #
The Amazon Resource Names (ARNs) of the resources.
createExperimentTemplateTargetInput_resourceType :: Lens' CreateExperimentTemplateTargetInput Text Source #
The AWS resource type. The resource type must be supported for the specified action.
createExperimentTemplateTargetInput_selectionMode :: Lens' CreateExperimentTemplateTargetInput Text Source #
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.