Class LaunchTemplateSpecification
(experimental) Launch template property specification.
Inheritance
System.Object
LaunchTemplateSpecification
Implements
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.AWS.Batch.dll
Syntax (csharp)
public class LaunchTemplateSpecification : Object, ILaunchTemplateSpecification
Syntax (vb)
Public Class LaunchTemplateSpecification
Inherits Object
Implements ILaunchTemplateSpecification
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Vpc vpc;
CfnLaunchTemplate myLaunchTemplate;
var myComputeEnv = new ComputeEnvironment(this, "ComputeEnv", new ComputeEnvironmentProps {
ComputeResources = new ComputeResources {
LaunchTemplate = new LaunchTemplateSpecification {
LaunchTemplateName = (string)myLaunchTemplate.LaunchTemplateName
},
Vpc = vpc
},
ComputeEnvironmentName = "MyStorageCapableComputeEnvironment"
});
Synopsis
Constructors
LaunchTemplateSpecification() |
Properties
LaunchTemplateName | (experimental) The Launch template name. |
Version | (experimental) The launch template version to be used (optional). |
Constructors
LaunchTemplateSpecification()
public LaunchTemplateSpecification()
Properties
LaunchTemplateName
(experimental) The Launch template name.
public string LaunchTemplateName { get; set; }
Property Value
System.String
Remarks
Stability: Experimental
Version
(experimental) The launch template version to be used (optional).
public string Version { get; set; }
Property Value
System.String
Remarks
Default: - the default version of the launch template
Stability: Experimental