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.InstanceTarget

Description

 
Synopsis

Documentation

data InstanceTarget Source #

A target Amazon EC2 or on-premises instance during a deployment that uses the EC2/On-premises compute platform.

See: newInstanceTarget smart constructor.

Constructors

InstanceTarget' 

Fields

Instances

Instances details
Eq InstanceTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.InstanceTarget

Read InstanceTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.InstanceTarget

Show InstanceTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.InstanceTarget

Generic InstanceTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.InstanceTarget

Associated Types

type Rep InstanceTarget :: Type -> Type #

NFData InstanceTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.InstanceTarget

Methods

rnf :: InstanceTarget -> () #

Hashable InstanceTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.InstanceTarget

FromJSON InstanceTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.InstanceTarget

type Rep InstanceTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.InstanceTarget

type Rep InstanceTarget = D1 ('MetaData "InstanceTarget" "Amazonka.CodeDeploy.Types.InstanceTarget" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "InstanceTarget'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetStatus)))) :*: ((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetLabel))) :*: (S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lifecycleEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LifecycleEvent]))))))

newInstanceTarget :: InstanceTarget Source #

Create a value of InstanceTarget 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:targetArn:InstanceTarget', instanceTarget_targetArn - The Amazon Resource Name (ARN) of the target.

$sel:targetId:InstanceTarget', instanceTarget_targetId - The unique ID of a deployment target that has a type of instanceTarget.

$sel:status:InstanceTarget', instanceTarget_status - The status an EC2/On-premises deployment's target instance.

$sel:deploymentId:InstanceTarget', instanceTarget_deploymentId - The unique ID of a deployment.

$sel:instanceLabel:InstanceTarget', instanceTarget_instanceLabel - A label that identifies whether the instance is an original target (BLUE) or a replacement target (GREEN).

$sel:lastUpdatedAt:InstanceTarget', instanceTarget_lastUpdatedAt - The date and time when the target instance was updated by a deployment.

$sel:lifecycleEvents:InstanceTarget', instanceTarget_lifecycleEvents - The lifecycle events of the deployment to this target instance.

instanceTarget_targetArn :: Lens' InstanceTarget (Maybe Text) Source #

The Amazon Resource Name (ARN) of the target.

instanceTarget_targetId :: Lens' InstanceTarget (Maybe Text) Source #

The unique ID of a deployment target that has a type of instanceTarget.

instanceTarget_status :: Lens' InstanceTarget (Maybe TargetStatus) Source #

The status an EC2/On-premises deployment's target instance.

instanceTarget_instanceLabel :: Lens' InstanceTarget (Maybe TargetLabel) Source #

A label that identifies whether the instance is an original target (BLUE) or a replacement target (GREEN).

instanceTarget_lastUpdatedAt :: Lens' InstanceTarget (Maybe UTCTime) Source #

The date and time when the target instance was updated by a deployment.

instanceTarget_lifecycleEvents :: Lens' InstanceTarget (Maybe [LifecycleEvent]) Source #

The lifecycle events of the deployment to this target instance.