Skip to main content

fast_launch_images

Creates, updates, deletes, gets or lists a fast_launch_images resource.

Overview

Namefast_launch_images
TypeResource
Idaws.ec2.fast_launch_images

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
image_idstringThe image ID that identifies the Windows fast launch enabled image.
launch_templatestringThe launch template that the Windows fast launch enabled AMI uses when it launches Windows instances from pre-provisioned snapshots.
max_parallel_launchesintegerThe maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
owner_idstringThe owner ID for the Windows fast launch enabled AMI.
resource_typestringThe resource type that Amazon EC2 uses for pre-provisioning the Windows AMI. Supported values include: snapshot.
snapshot_configurationstringA group of parameters that are used for pre-provisioning the associated Windows AMI using snapshots.
statestringThe current state of Windows fast launch for the specified Windows AMI.
state_transition_reasonstringThe reason that Windows fast launch for the AMI changed to the current state.
state_transition_timestringThe time that Windows fast launch for the AMI changed to the current state.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_fast_launch_imagesselectregionImageId, Filter, MaxResults, NextToken, DryRunDescribe details for Windows AMIs that are configured for Windows fast launch.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
DryRunbooleanChecks 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.
FilterarrayUse the following filters to streamline results. resource-type - The resource type for pre-provisioning. owner-id - The owner ID for the pre-provisioning resource. state - The current state of fast launching for the Windows AMI.
ImageIdarraySpecify one or more Windows AMI image IDs for the request.
MaxResultsintegerThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
NextTokenstringThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

SELECT examples

Describe details for Windows AMIs that are configured for Windows fast launch.

SELECT
image_id,
launch_template,
max_parallel_launches,
owner_id,
resource_type,
snapshot_configuration,
state,
state_transition_reason,
state_transition_time
FROM aws.ec2.fast_launch_images
WHERE region = '{{ region }}' -- required
AND ImageId = '{{ ImageId }}'
AND Filter = '{{ Filter }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND DryRun = '{{ DryRun }}'
;