#[non_exhaustive]pub struct FastLaunchConfiguration {
pub enabled: bool,
pub snapshot_configuration: Option<FastLaunchSnapshotConfiguration>,
pub max_parallel_launches: Option<i32>,
pub launch_template: Option<FastLaunchLaunchTemplateSpecification>,
pub account_id: Option<String>,
}
Expand description
Define and configure faster launching for output Windows AMIs.
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.enabled: bool
A Boolean that represents the current state of faster launching for the Windows AMI. Set to true
to start using Windows faster launching, or false
to stop using it.
snapshot_configuration: Option<FastLaunchSnapshotConfiguration>
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
max_parallel_launches: Option<i32>
The maximum number of parallel instances that are launched for creating resources.
launch_template: Option<FastLaunchLaunchTemplateSpecification>
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
account_id: Option<String>
The owner account ID for the fast-launch enabled Windows AMI.
Implementations§
source§impl FastLaunchConfiguration
impl FastLaunchConfiguration
sourcepub fn enabled(&self) -> bool
pub fn enabled(&self) -> bool
A Boolean that represents the current state of faster launching for the Windows AMI. Set to true
to start using Windows faster launching, or false
to stop using it.
sourcepub fn snapshot_configuration(&self) -> Option<&FastLaunchSnapshotConfiguration>
pub fn snapshot_configuration(&self) -> Option<&FastLaunchSnapshotConfiguration>
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
sourcepub fn max_parallel_launches(&self) -> Option<i32>
pub fn max_parallel_launches(&self) -> Option<i32>
The maximum number of parallel instances that are launched for creating resources.
sourcepub fn launch_template(&self) -> Option<&FastLaunchLaunchTemplateSpecification>
pub fn launch_template(&self) -> Option<&FastLaunchLaunchTemplateSpecification>
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The owner account ID for the fast-launch enabled Windows AMI.
source§impl FastLaunchConfiguration
impl FastLaunchConfiguration
sourcepub fn builder() -> FastLaunchConfigurationBuilder
pub fn builder() -> FastLaunchConfigurationBuilder
Creates a new builder-style object to manufacture FastLaunchConfiguration
.
Trait Implementations§
source§impl Clone for FastLaunchConfiguration
impl Clone for FastLaunchConfiguration
source§fn clone(&self) -> FastLaunchConfiguration
fn clone(&self) -> FastLaunchConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FastLaunchConfiguration
impl Debug for FastLaunchConfiguration
source§impl PartialEq for FastLaunchConfiguration
impl PartialEq for FastLaunchConfiguration
source§fn eq(&self, other: &FastLaunchConfiguration) -> bool
fn eq(&self, other: &FastLaunchConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FastLaunchConfiguration
Auto Trait Implementations§
impl Freeze for FastLaunchConfiguration
impl RefUnwindSafe for FastLaunchConfiguration
impl Send for FastLaunchConfiguration
impl Sync for FastLaunchConfiguration
impl Unpin for FastLaunchConfiguration
impl UnwindSafe for FastLaunchConfiguration
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