Skip to content
v2.277.0

FastLaunchLaunchTemplateSpecificationProperty Struct ​

Identifies the launch template that the associated Windows AMI uses for launching an instance when faster launching is enabled.

You can specify either the launchTemplateName or the launchTemplateId , but not both.

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 fastLaunchLaunchTemplateSpecificationProperty: imagebuilder.CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty = {
  launchTemplateId: 'launchTemplateId',
  launchTemplateName: 'launchTemplateName',
  launchTemplateVersion: 'launchTemplateVersion',
};
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_launch_template_specification_property = imagebuilder.CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty(
    launch_template_id="launchTemplateId",
    launch_template_name="launchTemplateName",
    launch_template_version="launchTemplateVersion"
)
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.*;

FastLaunchLaunchTemplateSpecificationProperty fastLaunchLaunchTemplateSpecificationProperty = FastLaunchLaunchTemplateSpecificationProperty.builder()
        .launchTemplateId("launchTemplateId")
        .launchTemplateName("launchTemplateName")
        .launchTemplateVersion("launchTemplateVersion")
        .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 fastLaunchLaunchTemplateSpecificationProperty = new FastLaunchLaunchTemplateSpecificationProperty {
    LaunchTemplateId = "launchTemplateId",
    LaunchTemplateName = "launchTemplateName",
    LaunchTemplateVersion = "launchTemplateVersion"
};
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"

fastLaunchLaunchTemplateSpecificationProperty := &FastLaunchLaunchTemplateSpecificationProperty{
	LaunchTemplateId: jsii.String("launchTemplateId"),
	LaunchTemplateName: jsii.String("launchTemplateName"),
	LaunchTemplateVersion: jsii.String("launchTemplateVersion"),
}

Properties ​

launchTemplateIdoptionalstringlaunch_template_idoptionalstrlaunchTemplateIdoptionalStringLaunchTemplateIdoptionalstringLaunchTemplateIdoptional*string#
The ID of the launch template to use for faster launching for a Windows AMI.
launchTemplateNameoptionalstringlaunch_template_nameoptionalstrlaunchTemplateNameoptionalStringLaunchTemplateNameoptionalstringLaunchTemplateNameoptional*string#
The name of the launch template to use for faster launching for a Windows AMI.
launchTemplateVersionoptionalstringlaunch_template_versionoptionalstrlaunchTemplateVersionoptionalStringLaunchTemplateVersionoptionalstringLaunchTemplateVersionoptional*string#
The version of the launch template to use for faster launching for a Windows AMI.