Struct aws_sdk_codedeploy::model::InstanceTarget [−][src]
#[non_exhaustive]pub struct InstanceTarget {
pub deployment_id: Option<String>,
pub target_id: Option<String>,
pub target_arn: Option<String>,
pub status: Option<TargetStatus>,
pub last_updated_at: Option<DateTime>,
pub lifecycle_events: Option<Vec<LifecycleEvent>>,
pub instance_label: Option<TargetLabel>,
}
Expand description
A target Amazon EC2 or on-premises instance during a deployment that uses the EC2/On-premises compute platform.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.deployment_id: Option<String>
The unique ID of a deployment.
target_id: Option<String>
The unique ID of a deployment target that has a type of instanceTarget
.
target_arn: Option<String>
The Amazon Resource Name (ARN) of the target.
status: Option<TargetStatus>
The status an EC2/On-premises deployment's target instance.
last_updated_at: Option<DateTime>
The date and time when the target instance was updated by a deployment.
lifecycle_events: Option<Vec<LifecycleEvent>>
The lifecycle events of the deployment to this target instance.
instance_label: Option<TargetLabel>
A label that identifies whether the instance is an original target
(BLUE
) or a replacement target (GREEN
).
Implementations
The unique ID of a deployment.
The unique ID of a deployment target that has a type of instanceTarget
.
The Amazon Resource Name (ARN) of the target.
The status an EC2/On-premises deployment's target instance.
The date and time when the target instance was updated by a deployment.
The lifecycle events of the deployment to this target instance.
A label that identifies whether the instance is an original target
(BLUE
) or a replacement target (GREEN
).
Creates a new builder-style object to manufacture InstanceTarget
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InstanceTarget
impl Send for InstanceTarget
impl Sync for InstanceTarget
impl Unpin for InstanceTarget
impl UnwindSafe for InstanceTarget
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more