#[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
sourceimpl 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.
sourceimpl FastLaunchConfiguration
impl FastLaunchConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FastLaunchConfiguration
Trait Implementations
sourceimpl Clone for FastLaunchConfiguration
impl Clone for FastLaunchConfiguration
sourcefn clone(&self) -> FastLaunchConfiguration
fn clone(&self) -> FastLaunchConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FastLaunchConfiguration
impl Debug for FastLaunchConfiguration
sourceimpl PartialEq<FastLaunchConfiguration> for FastLaunchConfiguration
impl PartialEq<FastLaunchConfiguration> for FastLaunchConfiguration
sourcefn eq(&self, other: &FastLaunchConfiguration) -> bool
fn eq(&self, other: &FastLaunchConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FastLaunchConfiguration) -> bool
fn ne(&self, other: &FastLaunchConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for FastLaunchConfiguration
Auto Trait Implementations
impl RefUnwindSafe for FastLaunchConfiguration
impl Send for FastLaunchConfiguration
impl Sync for FastLaunchConfiguration
impl Unpin for FastLaunchConfiguration
impl UnwindSafe for FastLaunchConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more