#[non_exhaustive]pub struct EnableFastLaunchInput {
pub image_id: Option<String>,
pub resource_type: Option<String>,
pub snapshot_configuration: Option<FastLaunchSnapshotConfigurationRequest>,
pub launch_template: Option<FastLaunchLaunchTemplateSpecificationRequest>,
pub max_parallel_launches: Option<i32>,
pub dry_run: Option<bool>,
}
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.image_id: Option<String>
The ID of the image for which you’re enabling faster launching.
resource_type: Option<String>
The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include: snapshot
, which is the default value.
snapshot_configuration: Option<FastLaunchSnapshotConfigurationRequest>
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI for faster launching. The associated ResourceType
must be snapshot
.
launch_template: Option<FastLaunchLaunchTemplateSpecificationRequest>
The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch template parameters can include either the name or ID of the launch template, but not both.
max_parallel_launches: Option<i32>
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching. Value must be 6
or greater.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Implementations§
source§impl EnableFastLaunchInput
impl EnableFastLaunchInput
sourcepub fn image_id(&self) -> Option<&str>
pub fn image_id(&self) -> Option<&str>
The ID of the image for which you’re enabling faster launching.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include: snapshot
, which is the default value.
sourcepub fn snapshot_configuration(
&self
) -> Option<&FastLaunchSnapshotConfigurationRequest>
pub fn snapshot_configuration( &self ) -> Option<&FastLaunchSnapshotConfigurationRequest>
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI for faster launching. The associated ResourceType
must be snapshot
.
sourcepub fn launch_template(
&self
) -> Option<&FastLaunchLaunchTemplateSpecificationRequest>
pub fn launch_template( &self ) -> Option<&FastLaunchLaunchTemplateSpecificationRequest>
The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch template parameters can include either the name or ID of the launch template, but not both.
sourcepub fn max_parallel_launches(&self) -> Option<i32>
pub fn max_parallel_launches(&self) -> Option<i32>
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching. Value must be 6
or greater.
source§impl EnableFastLaunchInput
impl EnableFastLaunchInput
sourcepub fn builder() -> EnableFastLaunchInputBuilder
pub fn builder() -> EnableFastLaunchInputBuilder
Creates a new builder-style object to manufacture EnableFastLaunchInput
.
Trait Implementations§
source§impl Clone for EnableFastLaunchInput
impl Clone for EnableFastLaunchInput
source§fn clone(&self) -> EnableFastLaunchInput
fn clone(&self) -> EnableFastLaunchInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnableFastLaunchInput
impl Debug for EnableFastLaunchInput
source§impl PartialEq<EnableFastLaunchInput> for EnableFastLaunchInput
impl PartialEq<EnableFastLaunchInput> for EnableFastLaunchInput
source§fn eq(&self, other: &EnableFastLaunchInput) -> bool
fn eq(&self, other: &EnableFastLaunchInput) -> bool
self
and other
values to be equal, and is used
by ==
.