FastLaunchConfigurationProperty Struct
Define and configure faster launching for output Windows AMIs.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const fastLaunchConfigurationProperty: imagebuilder.CfnDistributionConfiguration.FastLaunchConfigurationProperty = {
accountId: 'accountId',
enabled: false,
launchTemplate: {
launchTemplateId: 'launchTemplateId',
launchTemplateName: 'launchTemplateName',
launchTemplateVersion: 'launchTemplateVersion',
},
maxParallelLaunches: 123,
snapshotConfiguration: {
targetResourceCount: 123,
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_imagebuilder as imagebuilder
fast_launch_configuration_property = imagebuilder.CfnDistributionConfiguration.FastLaunchConfigurationProperty(
account_id="accountId",
enabled=False,
launch_template=imagebuilder.CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty(
launch_template_id="launchTemplateId",
launch_template_name="launchTemplateName",
launch_template_version="launchTemplateVersion"
),
max_parallel_launches=123,
snapshot_configuration=imagebuilder.CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty(
target_resource_count=123
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.imagebuilder.*;
FastLaunchConfigurationProperty fastLaunchConfigurationProperty = FastLaunchConfigurationProperty.builder()
.accountId("accountId")
.enabled(false)
.launchTemplate(FastLaunchLaunchTemplateSpecificationProperty.builder()
.launchTemplateId("launchTemplateId")
.launchTemplateName("launchTemplateName")
.launchTemplateVersion("launchTemplateVersion")
.build())
.maxParallelLaunches(123)
.snapshotConfiguration(FastLaunchSnapshotConfigurationProperty.builder()
.targetResourceCount(123)
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ImageBuilder;
var fastLaunchConfigurationProperty = new FastLaunchConfigurationProperty {
AccountId = "accountId",
Enabled = false,
LaunchTemplate = new FastLaunchLaunchTemplateSpecificationProperty {
LaunchTemplateId = "launchTemplateId",
LaunchTemplateName = "launchTemplateName",
LaunchTemplateVersion = "launchTemplateVersion"
},
MaxParallelLaunches = 123,
SnapshotConfiguration = new FastLaunchSnapshotConfigurationProperty {
TargetResourceCount = 123
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
fastLaunchConfigurationProperty := &FastLaunchConfigurationProperty{
AccountId: jsii.String("accountId"),
Enabled: jsii.Boolean(false),
LaunchTemplate: &FastLaunchLaunchTemplateSpecificationProperty{
LaunchTemplateId: jsii.String("launchTemplateId"),
LaunchTemplateName: jsii.String("launchTemplateName"),
LaunchTemplateVersion: jsii.String("launchTemplateVersion"),
},
MaxParallelLaunches: jsii.Number(123),
SnapshotConfiguration: &FastLaunchSnapshotConfigurationProperty{
TargetResourceCount: jsii.Number(123),
},
}
Properties
accountIdoptionalstringaccount_idoptionalstraccountIdoptionalStringAccountIdoptionalstringAccountIdoptional*string#The owner account ID for the fast-launch enabled Windows AMI.
enabledoptionalboolean | IResolvableenabledoptionaltyping.Union[bool, IResolvable]enabledoptionalBooleanEnabledoptionalboolEnabledoptionalinterface{}#A Boolean that represents the current state of faster launching for the Windows AMI.
Set to true to start using Windows faster launching, or false to stop using it.
launchTemplateoptionalIResolvable | CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationPropertylaunch_templateoptionaltyping.Union[IResolvable, FastLaunchLaunchTemplateSpecificationProperty]launchTemplateoptionalIResolvableLaunchTemplateoptionalIResolvableLaunchTemplateoptionalinterface{}#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.
snapshotConfigurationoptionalIResolvable | CfnDistributionConfiguration.FastLaunchSnapshotConfigurationPropertysnapshot_configurationoptionaltyping.Union[IResolvable, FastLaunchSnapshotConfigurationProperty]snapshotConfigurationoptionalIResolvableSnapshotConfigurationoptionalIResolvableSnapshotConfigurationoptionalinterface{}#Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.