libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
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.CodeDeploy.Types.TargetInstances

Description

 
Synopsis

Documentation

data TargetInstances Source #

Information about the instances to be used in the replacement environment in a blue/green deployment.

See: newTargetInstances smart constructor.

Constructors

TargetInstances' 

Fields

  • ec2TagSet :: Maybe EC2TagSet

    Information about the groups of EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.

  • tagFilters :: Maybe [EC2TagFilter]

    The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.

  • autoScalingGroups :: Maybe [Text]

    The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.

Instances

Instances details
Eq TargetInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetInstances

Read TargetInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetInstances

Show TargetInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetInstances

Generic TargetInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetInstances

Associated Types

type Rep TargetInstances :: Type -> Type #

NFData TargetInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetInstances

Methods

rnf :: TargetInstances -> () #

Hashable TargetInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetInstances

ToJSON TargetInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetInstances

FromJSON TargetInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetInstances

type Rep TargetInstances Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetInstances

type Rep TargetInstances = D1 ('MetaData "TargetInstances" "Amazonka.CodeDeploy.Types.TargetInstances" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "TargetInstances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ec2TagSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EC2TagSet)) :*: (S1 ('MetaSel ('Just "tagFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EC2TagFilter])) :*: S1 ('MetaSel ('Just "autoScalingGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newTargetInstances :: TargetInstances Source #

Create a value of TargetInstances 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:ec2TagSet:TargetInstances', targetInstances_ec2TagSet - Information about the groups of EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.

$sel:tagFilters:TargetInstances', targetInstances_tagFilters - The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.

$sel:autoScalingGroups:TargetInstances', targetInstances_autoScalingGroups - The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.

targetInstances_ec2TagSet :: Lens' TargetInstances (Maybe EC2TagSet) Source #

Information about the groups of EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters.

targetInstances_tagFilters :: Lens' TargetInstances (Maybe [EC2TagFilter]) Source #

The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet.

targetInstances_autoScalingGroups :: Lens' TargetInstances (Maybe [Text]) Source #

The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.