pub struct InstanceTarget {
pub deployment_id: Option<String>,
pub instance_label: Option<String>,
pub last_updated_at: Option<f64>,
pub lifecycle_events: Option<Vec<LifecycleEvent>>,
pub status: Option<String>,
pub target_arn: Option<String>,
pub target_id: Option<String>,
}
Expand description
A target Amazon EC2 or on-premises instance during a deployment that uses the EC2/On-premises compute platform.
Fields§
§deployment_id: Option<String>
The unique ID of a deployment.
instance_label: Option<String>
A label that identifies whether the instance is an original target (BLUE
) or a replacement target (GREEN
).
last_updated_at: Option<f64>
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.
status: Option<String>
The status an EC2/On-premises deployment's target instance.
target_arn: Option<String>
The Amazon Resource Name (ARN) of the target.
target_id: Option<String>
The unique ID of a deployment target that has a type of instanceTarget
.
Trait Implementations§
Source§impl Clone for InstanceTarget
impl Clone for InstanceTarget
Source§fn clone(&self) -> InstanceTarget
fn clone(&self) -> InstanceTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InstanceTarget
impl Debug for InstanceTarget
Source§impl Default for InstanceTarget
impl Default for InstanceTarget
Source§fn default() -> InstanceTarget
fn default() -> InstanceTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstanceTarget
impl<'de> Deserialize<'de> for InstanceTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InstanceTarget
impl PartialEq for InstanceTarget
impl StructuralPartialEq for InstanceTarget
Auto Trait Implementations§
impl Freeze for InstanceTarget
impl RefUnwindSafe for InstanceTarget
impl Send for InstanceTarget
impl Sync for InstanceTarget
impl Unpin for InstanceTarget
impl UnwindSafe for InstanceTarget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more