Struct aws_sdk_ec2::input::EnableFastLaunchInput
source · [−]#[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 parallel instances to launch for creating resources.
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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableFastLaunch, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableFastLaunch, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<EnableFastLaunch
>
Creates a new builder-style object to manufacture EnableFastLaunchInput
The ID of the image for which you’re enabling faster launching.
The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include: snapshot
, which is the default value.
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
.
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.
The maximum number of parallel instances to launch for creating resources.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EnableFastLaunchInput
impl Send for EnableFastLaunchInput
impl Sync for EnableFastLaunchInput
impl Unpin for EnableFastLaunchInput
impl UnwindSafe for EnableFastLaunchInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more