# FastLaunchLaunchTemplateSpecificationProperty

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.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `launchTemplateId`: string — The ID of the launch template to use for faster launching for a Windows AMI.

- `launchTemplateName`: string — The name of the launch template to use for faster launching for a Windows AMI.

- `launchTemplateVersion`: string — The version of the launch template to use for faster launching for a Windows AMI.
