#[non_exhaustive]pub struct EnvironmentResourceDescription {
pub environment_name: Option<String>,
pub auto_scaling_groups: Option<Vec<AutoScalingGroup>>,
pub instances: Option<Vec<Instance>>,
pub launch_configurations: Option<Vec<LaunchConfiguration>>,
pub launch_templates: Option<Vec<LaunchTemplate>>,
pub load_balancers: Option<Vec<LoadBalancer>>,
pub triggers: Option<Vec<Trigger>>,
pub queues: Option<Vec<Queue>>,
}
Expand description
Describes the AWS resources in use by this environment. This data is live.
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.environment_name: Option<String>
The name of the environment.
auto_scaling_groups: Option<Vec<AutoScalingGroup>>
The AutoScalingGroups
used by this environment.
instances: Option<Vec<Instance>>
The Amazon EC2 instances used by this environment.
launch_configurations: Option<Vec<LaunchConfiguration>>
The Auto Scaling launch configurations in use by this environment.
launch_templates: Option<Vec<LaunchTemplate>>
The Amazon EC2 launch templates in use by this environment.
load_balancers: Option<Vec<LoadBalancer>>
The LoadBalancers in use by this environment.
triggers: Option<Vec<Trigger>>
The AutoScaling
triggers in use by this environment.
queues: Option<Vec<Queue>>
The queues used by this environment.
Implementations§
source§impl EnvironmentResourceDescription
impl EnvironmentResourceDescription
sourcepub fn environment_name(&self) -> Option<&str>
pub fn environment_name(&self) -> Option<&str>
The name of the environment.
sourcepub fn auto_scaling_groups(&self) -> &[AutoScalingGroup]
pub fn auto_scaling_groups(&self) -> &[AutoScalingGroup]
The AutoScalingGroups
used by this environment.
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 instances(&self) -> &[Instance]
pub fn instances(&self) -> &[Instance]
The Amazon EC2 instances used by this environment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instances.is_none()
.
sourcepub fn launch_configurations(&self) -> &[LaunchConfiguration]
pub fn launch_configurations(&self) -> &[LaunchConfiguration]
The Auto Scaling launch configurations in use by this environment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .launch_configurations.is_none()
.
sourcepub fn launch_templates(&self) -> &[LaunchTemplate]
pub fn launch_templates(&self) -> &[LaunchTemplate]
The Amazon EC2 launch templates in use by this environment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .launch_templates.is_none()
.
sourcepub fn load_balancers(&self) -> &[LoadBalancer]
pub fn load_balancers(&self) -> &[LoadBalancer]
The LoadBalancers in use by this environment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .load_balancers.is_none()
.
source§impl EnvironmentResourceDescription
impl EnvironmentResourceDescription
sourcepub fn builder() -> EnvironmentResourceDescriptionBuilder
pub fn builder() -> EnvironmentResourceDescriptionBuilder
Creates a new builder-style object to manufacture EnvironmentResourceDescription
.
Trait Implementations§
source§impl Clone for EnvironmentResourceDescription
impl Clone for EnvironmentResourceDescription
source§fn clone(&self) -> EnvironmentResourceDescription
fn clone(&self) -> EnvironmentResourceDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for EnvironmentResourceDescription
impl PartialEq for EnvironmentResourceDescription
source§fn eq(&self, other: &EnvironmentResourceDescription) -> bool
fn eq(&self, other: &EnvironmentResourceDescription) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnvironmentResourceDescription
Auto Trait Implementations§
impl Freeze for EnvironmentResourceDescription
impl RefUnwindSafe for EnvironmentResourceDescription
impl Send for EnvironmentResourceDescription
impl Sync for EnvironmentResourceDescription
impl Unpin for EnvironmentResourceDescription
impl UnwindSafe for EnvironmentResourceDescription
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