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) -> Option<&[Ec2TagFilter]>
pub fn tag_filters(&self) -> Option<&[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
.
sourcepub fn auto_scaling_groups(&self) -> Option<&[String]>
pub fn auto_scaling_groups(&self) -> Option<&[String]>
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
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 ==
.