Experimental
@aws-cdk/aws-imagebuilder-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
FastLaunchConfiguration Struct
The EC2 Fast Launch configuration to use for the Windows AMI.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
declare const launchTemplate: ec2.LaunchTemplate;
const fastLaunchConfiguration: imagebuilder_alpha.FastLaunchConfiguration = {
enabled: false,
launchTemplate: launchTemplate,
maxParallelLaunches: 123,
targetSnapshotCount: 123,
};
Properties
enabledoptionalbooleanenabledoptionalboolenabledoptionalBooleanEnabledoptionalboolEnabledoptional*bool= false#Whether to enable fast launch for the AMI.
launchTemplateoptionalILaunchTemplatelaunch_templateoptionalILaunchTemplatelaunchTemplateoptionalILaunchTemplateLaunchTemplateoptionalILaunchTemplateLaunchTemplateoptionalILaunchTemplate= None#The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
maxParallelLaunchesoptionalnumbermax_parallel_launchesoptionalint | floatmaxParallelLaunchesoptionalNumberMaxParallelLaunchesoptionaldoubleMaxParallelLaunchesoptional*float64#The maximum number of parallel instances that are launched for creating resources.
Default: A maximum of 6 instances are launched in parallel
targetSnapshotCountoptionalnumbertarget_snapshot_countoptionalint | floattargetSnapshotCountoptionalNumberTargetSnapshotCountoptionaldoubleTargetSnapshotCountoptional*float64#The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
Default: 10 snapshots are kept pre-provisioned