public static interface CfnSpotFleet.FleetLaunchTemplateSpecificationProperty
For information about launch templates, see Launching an instance from a launch template in the Amazon EC2 User Guide for Linux Instances .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; FleetLaunchTemplateSpecificationProperty fleetLaunchTemplateSpecificationProperty = FleetLaunchTemplateSpecificationProperty.builder() .version("version") // the properties below are optional .launchTemplateId("launchTemplateId") .launchTemplateName("launchTemplateName") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.Builder
A builder for
CfnSpotFleet.FleetLaunchTemplateSpecificationProperty |
static class |
CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.Jsii$Proxy
An implementation for
CfnSpotFleet.FleetLaunchTemplateSpecificationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.Builder |
builder() |
default java.lang.String |
getLaunchTemplateId()
The ID of the launch template.
|
default java.lang.String |
getLaunchTemplateName()
The name of the launch template.
|
java.lang.String |
getVersion()
The version number of the launch template.
|
java.lang.String getVersion()
Minimum length of 1. Maximum length of 255. Versions must fit the following pattern: [\ u0020-\ uD7FF\ uE000-\ uFFFD\ uD800\ uDC00-\ uDBFF\ uDFFF\r\n\t]*
default java.lang.String getLaunchTemplateId()
If you specify the template ID, you can't specify the template name.
default java.lang.String getLaunchTemplateName()
Minimum length of 3. Maximum length of 128. Names must match the following pattern: [a-zA-Z0-9\(\)\.-/_]+