disable_fast_launch¶
Operation¶
disable_fast_launch
async
¶
disable_fast_launch(input: DisableFastLaunchInput, plugins: list[Plugin] | None = None) -> DisableFastLaunchOutput
Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned snapshots. After you disable Windows fast launch, the AMI uses the standard launch process for each new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable Windows fast launch again.
Note
You can only change these settings for Windows AMIs that you own or that have been shared with you.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DisableFastLaunchInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
DisableFastLaunchOutput
|
An instance of |
Input¶
DisableFastLaunchInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DisableFastLaunchInput structure.
Attributes¶
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | None = ...
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.
Output¶
DisableFastLaunchOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DisableFastLaunchOutput structure.
Attributes¶
image_id
class-attribute
instance-attribute
¶
image_id: str | None = ...
The ID of the image for which Windows fast launch was disabled.
launch_template
class-attribute
instance-attribute
¶
launch_template: FastLaunchLaunchTemplateSpecificationResponse | None = ...
The launch template that was used to launch Windows instances from pre-provisioned snapshots.
max_parallel_launches
class-attribute
instance-attribute
¶
max_parallel_launches: int | None = ...
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
owner_id
class-attribute
instance-attribute
¶
owner_id: str | None = ...
The owner of the Windows AMI for which Windows fast launch was disabled.
resource_type
class-attribute
instance-attribute
¶
resource_type: str | None = ...
The pre-provisioning resource type that must be cleaned after turning
off Windows fast launch for the Windows AMI. Supported values include:
snapshot.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
snapshot_configuration
class-attribute
instance-attribute
¶
snapshot_configuration: FastLaunchSnapshotConfigurationResponse | None = ...
Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled. This informs the clean-up process.
state
class-attribute
instance-attribute
¶
state: str | None = ...
The current state of Windows fast launch for the specified Windows AMI.