Struct aws_sdk_codedeploy::types::TargetInstances
source · #[non_exhaustive]pub struct TargetInstances {
pub tag_filters: Option<Vec<Ec2TagFilter>>,
pub auto_scaling_groups: Option<Vec<String>>,
pub ec2_tag_set: Option<Ec2TagSet>,
}
Expand description
Information about the instances to be used in the replacement environment in a blue/green deployment.
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.tag_filters: Option<Vec<Ec2TagFilter>>
The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet
.
auto_scaling_groups: Option<Vec<String>>
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
ec2_tag_set: Option<Ec2TagSet>
Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters
.
Implementations§
source§impl TargetInstances
impl TargetInstances
sourcepub fn tag_filters(&self) -> &[Ec2TagFilter]
pub fn tag_filters(&self) -> &[Ec2TagFilter]
The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tag_filters.is_none()
.
sourcepub fn auto_scaling_groups(&self) -> &[String]
pub fn auto_scaling_groups(&self) -> &[String]
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .auto_scaling_groups.is_none()
.
sourcepub fn ec2_tag_set(&self) -> Option<&Ec2TagSet>
pub fn ec2_tag_set(&self) -> Option<&Ec2TagSet>
Information about the groups of Amazon EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment. Cannot be used in the same call as tagFilters
.
source§impl TargetInstances
impl TargetInstances
sourcepub fn builder() -> TargetInstancesBuilder
pub fn builder() -> TargetInstancesBuilder
Creates a new builder-style object to manufacture TargetInstances
.
Trait Implementations§
source§impl Clone for TargetInstances
impl Clone for TargetInstances
source§fn clone(&self) -> TargetInstances
fn clone(&self) -> TargetInstances
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetInstances
impl Debug for TargetInstances
source§impl PartialEq for TargetInstances
impl PartialEq for TargetInstances
source§fn eq(&self, other: &TargetInstances) -> bool
fn eq(&self, other: &TargetInstances) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TargetInstances
Auto Trait Implementations§
impl Freeze for TargetInstances
impl RefUnwindSafe for TargetInstances
impl Send for TargetInstances
impl Sync for TargetInstances
impl Unpin for TargetInstances
impl UnwindSafe for TargetInstances
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more