FastLaunchConfiguration
- class aws_cdk.aws_imagebuilder_alpha.FastLaunchConfiguration(*, enabled=None, launch_template=None, max_parallel_launches=None, target_snapshot_count=None)
Bases:
object(experimental) The EC2 Fast Launch configuration to use for the Windows AMI.
- Parameters:
enabled (
Optional[bool]) – (experimental) Whether to enable fast launch for the AMI. Default: falselaunch_template (
Optional[ILaunchTemplate]) – (experimental) The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots. Default: Nonemax_parallel_launches (
Union[int,float,None]) – (experimental) The maximum number of parallel instances that are launched for creating resources. Default: A maximum of 6 instances are launched in paralleltarget_snapshot_count (
Union[int,float,None]) – (experimental) The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI. Default: 10 snapshots are kept pre-provisioned
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_imagebuilder_alpha as imagebuilder_alpha from aws_cdk import aws_ec2 as ec2 # launch_template: ec2.LaunchTemplate fast_launch_configuration = imagebuilder_alpha.FastLaunchConfiguration( enabled=False, launch_template=launch_template, max_parallel_launches=123, target_snapshot_count=123 )
Attributes
- enabled
(experimental) Whether to enable fast launch for the AMI.
- Default:
false
- Stability:
experimental
- launch_template
(experimental) The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
- Default:
None
- Stability:
experimental
- max_parallel_launches
(experimental) The maximum number of parallel instances that are launched for creating resources.
- Default:
A maximum of 6 instances are launched in parallel
- See:
- Stability:
experimental
- target_snapshot_count
(experimental) The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
- Default:
10 snapshots are kept pre-provisioned
- See:
- Stability:
experimental