| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeDeploy.Types.InstanceTarget
Description
Synopsis
- data InstanceTarget = InstanceTarget' {}
- newInstanceTarget :: InstanceTarget
- instanceTarget_deploymentId :: Lens' InstanceTarget (Maybe Text)
- instanceTarget_instanceLabel :: Lens' InstanceTarget (Maybe TargetLabel)
- instanceTarget_lastUpdatedAt :: Lens' InstanceTarget (Maybe UTCTime)
- instanceTarget_lifecycleEvents :: Lens' InstanceTarget (Maybe [LifecycleEvent])
- instanceTarget_status :: Lens' InstanceTarget (Maybe TargetStatus)
- instanceTarget_targetArn :: Lens' InstanceTarget (Maybe Text)
- instanceTarget_targetId :: Lens' InstanceTarget (Maybe Text)
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
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: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, instanceTarget_status - The status an EC2/On-premises deployment's target instance.
$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.
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.
instanceTarget_status :: Lens' InstanceTarget (Maybe TargetStatus) Source #
The status an EC2/On-premises deployment's 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.