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 |
Synopsis
- data InstanceTarget = InstanceTarget' {}
- newInstanceTarget :: InstanceTarget
- instanceTarget_targetArn :: Lens' InstanceTarget (Maybe Text)
- instanceTarget_targetId :: Lens' InstanceTarget (Maybe Text)
- instanceTarget_status :: Lens' InstanceTarget (Maybe TargetStatus)
- instanceTarget_deploymentId :: Lens' InstanceTarget (Maybe Text)
- instanceTarget_instanceLabel :: Lens' InstanceTarget (Maybe TargetLabel)
- instanceTarget_lastUpdatedAt :: Lens' InstanceTarget (Maybe UTCTime)
- instanceTarget_lifecycleEvents :: Lens' InstanceTarget (Maybe [LifecycleEvent])
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.
InstanceTarget' | |
|
Instances
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_deploymentId :: Lens' InstanceTarget (Maybe Text) Source #
The unique ID of a deployment.
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.