libZSservicesZSamazonka-fisZSamazonka-fis
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.FIS.Types.CreateExperimentTemplateTargetInput

Description

 
Synopsis

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

  • resourceTags :: Maybe (HashMap Text Text)

    The tags for the target resources.

  • filters :: Maybe [ExperimentTemplateTargetInputFilter]

    The filters to apply to identify target resources using specific attributes.

  • resourceArns :: Maybe [Text]

    The Amazon Resource Names (ARNs) of the resources.

  • resourceType :: Text

    The AWS resource type. The resource type must be supported for the specified action.

  • selectionMode :: Text

    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.

Instances

Instances details
Eq CreateExperimentTemplateTargetInput Source # 
Instance details

Defined in Amazonka.FIS.Types.CreateExperimentTemplateTargetInput

Read CreateExperimentTemplateTargetInput Source # 
Instance details

Defined in Amazonka.FIS.Types.CreateExperimentTemplateTargetInput

Show CreateExperimentTemplateTargetInput Source # 
Instance details

Defined in Amazonka.FIS.Types.CreateExperimentTemplateTargetInput

Generic CreateExperimentTemplateTargetInput Source # 
Instance details

Defined in Amazonka.FIS.Types.CreateExperimentTemplateTargetInput

NFData CreateExperimentTemplateTargetInput Source # 
Instance details

Defined in Amazonka.FIS.Types.CreateExperimentTemplateTargetInput

Hashable CreateExperimentTemplateTargetInput Source # 
Instance details

Defined in Amazonka.FIS.Types.CreateExperimentTemplateTargetInput

ToJSON CreateExperimentTemplateTargetInput Source # 
Instance details

Defined in Amazonka.FIS.Types.CreateExperimentTemplateTargetInput

type Rep CreateExperimentTemplateTargetInput Source # 
Instance details

Defined in Amazonka.FIS.Types.CreateExperimentTemplateTargetInput

type Rep CreateExperimentTemplateTargetInput = D1 ('MetaData "CreateExperimentTemplateTargetInput" "Amazonka.FIS.Types.CreateExperimentTemplateTargetInput" "libZSservicesZSamazonka-fisZSamazonka-fis" 'False) (C1 ('MetaCons "CreateExperimentTemplateTargetInput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExperimentTemplateTargetInputFilter]))) :*: (S1 ('MetaSel ('Just "resourceArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "selectionMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateExperimentTemplateTargetInput Source #

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_filters :: Lens' CreateExperimentTemplateTargetInput (Maybe [ExperimentTemplateTargetInputFilter]) Source #

The filters to apply to identify target resources using specific attributes.

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.