interface LaunchTemplateSpecification
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Batch.LaunchTemplateSpecification | 
|  Java | software.amazon.awscdk.services.batch.LaunchTemplateSpecification | 
|  Python | aws_cdk.aws_batch.LaunchTemplateSpecification | 
|  TypeScript (source) | @aws-cdk/aws-batch»LaunchTemplateSpecification | 
Launch template property specification.
Example
declare const vpc: ec2.Vpc;
declare const myLaunchTemplate: ec2.CfnLaunchTemplate;
const myComputeEnv = new batch.ComputeEnvironment(this, 'ComputeEnv', {
  computeResources: {
    launchTemplate: {
      launchTemplateName: myLaunchTemplate.launchTemplateName as string, //or simply use an existing template name
    },
    vpc,
  },
  computeEnvironmentName: 'MyStorageCapableComputeEnvironment',
});
Properties
| Name | Type | Description | 
|---|---|---|
| launch | string | The Launch template name. | 
| version? | string | The launch template version to be used (optional). | 
launchTemplateName
Type:
string
The Launch template name.
version?
Type:
string
(optional, default: the default version of the launch template)
The launch template version to be used (optional).
