LaunchTemplate
This class encapsulates and extends the ROS resource type ALIYUN::ECS::LaunchTemplate, which is used to create a launch template.
You can use a launch template to create an Elastic Compute Service (ECS) instance.
Initializers
import com.aliyun.ros.cdk.ecs.LaunchTemplate;
LaunchTemplate.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.launchTemplateName(java.lang.String)
.launchTemplateName(IResolvable)
// .autoReleaseTime(java.lang.String)
// .autoReleaseTime(IResolvable)
// .deploymentSetId(java.lang.String)
// .deploymentSetId(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .diskMappings(IResolvable)
// .diskMappings(java.util.List<IResolvable)
// .diskMappings(DiskMappingsProperty>)
// .hostName(java.lang.String)
// .hostName(IResolvable)
// .imageId(java.lang.String)
// .imageId(IResolvable)
// .imageOwnerAlias(java.lang.String)
// .imageOwnerAlias(IResolvable)
// .instanceChargeType(java.lang.String)
// .instanceChargeType(IResolvable)
// .instanceName(java.lang.String)
// .instanceName(IResolvable)
// .instanceType(java.lang.String)
// .instanceType(IResolvable)
// .internetChargeType(java.lang.String)
// .internetChargeType(IResolvable)
// .internetMaxBandwidthOut(java.lang.Number)
// .internetMaxBandwidthOut(IResolvable)
// .ioOptimized(java.lang.String)
// .ioOptimized(IResolvable)
// .ipv6AddressCount(java.lang.Number)
// .ipv6AddressCount(IResolvable)
// .keyPairName(java.lang.String)
// .keyPairName(IResolvable)
// .networkInterfaces(IResolvable)
// .networkInterfaces(java.util.List<IResolvable)
// .networkInterfaces(NetworkInterfacesProperty>)
// .networkType(java.lang.String)
// .networkType(IResolvable)
// .passwordInherit(java.lang.Boolean)
// .passwordInherit(IResolvable)
// .period(java.lang.Number)
// .period(IResolvable)
// .privateIpAddress(java.lang.String)
// .privateIpAddress(IResolvable)
// .ramRoleName(java.lang.String)
// .ramRoleName(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .securityEnhancementStrategy(java.lang.String)
// .securityEnhancementStrategy(IResolvable)
// .securityGroupId(java.lang.String)
// .securityGroupId(IResolvable)
// .securityGroupIds(IResolvable)
// .securityGroupIds(java.util.List<java.lang.String)
// .securityGroupIds(IResolvable>)
// .spotDuration(java.lang.Number)
// .spotDuration(IResolvable)
// .spotPriceLimit(java.lang.String)
// .spotPriceLimit(IResolvable)
// .spotStrategy(java.lang.String)
// .spotStrategy(IResolvable)
// .systemDiskCategory(java.lang.String)
// .systemDiskCategory(IResolvable)
// .systemDiskDeleteWithInstance(java.lang.Boolean)
// .systemDiskDeleteWithInstance(IResolvable)
// .systemDiskDescription(java.lang.String)
// .systemDiskDescription(IResolvable)
// .systemDiskDiskName(java.lang.String)
// .systemDiskDiskName(IResolvable)
// .systemDiskPerformanceLevel(java.lang.String)
// .systemDiskPerformanceLevel(IResolvable)
// .systemDiskSize(java.lang.Number)
// .systemDiskSize(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .templateResourceGroupId(java.lang.String)
// .templateResourceGroupId(IResolvable)
// .templateTags(IResolvable)
// .templateTags(java.util.List<IResolvable)
// .templateTags(TemplateTagsProperty>)
// .userData(java.lang.String)
// .userData(IResolvable)
// .versionDescription(java.lang.String)
// .versionDescription(IResolvable)
// .vSwitchId(java.lang.String)
// .vSwitchId(IResolvable)
// .zoneId(java.lang.String)
// .zoneId(IResolvable)
.build();
| Name | Type | Description |
|---|---|---|
scope |
com.aliyun.ros.cdk.core.Construct |
No description. |
id |
java.lang.String |
No description. |
enableResourcePropertyConstraint |
java.lang.Boolean |
No description. |
launchTemplateName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property launchTemplateName: The name of launch template. |
autoReleaseTime |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property autoReleaseTime: Auto release time for created instance, Follow ISO8601 standard using UTC time. |
deploymentSetId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property deploymentSetId: The ID of the deployment set. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Description of the instance, [2, 256] characters. |
diskMappings |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property diskMappings: Disk mappings to attach to instance. |
hostName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property hostName: Host name of created ecs instance. |
imageId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property imageId: Image ID to create ecs instance. |
imageOwnerAlias |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property imageOwnerAlias: The source of the image. |
instanceChargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceChargeType: The billing method of the instance. |
instanceName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceName: Display name of the instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'. |
instanceType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceType: Ecs instance supported instance type, make sure it should be correct. |
internetChargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property internetChargeType: Instance internet access charge type.Support 'PayByBandwidth' and 'PayByTraffic' only. |
internetMaxBandwidthOut |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property internetMaxBandwidthOut: Max internet out bandwidth in Mbps(Mega bit per second). |
ioOptimized |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ioOptimized: The 'optimized' instance can provide better IO performance. |
ipv6AddressCount |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property ipv6AddressCount: The number of IPv6 addresses to be randomly generated for the primary ENI. |
keyPairName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property keyPairName: SSH key pair name. |
networkInterfaces |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property networkInterfaces: Elastic network interfaces to be attached to instance. |
networkType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property networkType: Instance network type. |
passwordInherit |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property passwordInherit: Specifies whether to use the password preset in the image. |
period |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property period: The subscription period of the instance. |
privateIpAddress |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property privateIpAddress: The private IP address of the instance. |
ramRoleName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ramRoleName: Instance RAM role name. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and elastic network interface (ENI). |
securityEnhancementStrategy |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property securityEnhancementStrategy: Activate or deactivate security enhancement,Value range: "Active" and "Deactive". |
securityGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property securityGroupId: Security group to create ecs instance. |
securityGroupIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property securityGroupIds: The ID of security group list to which to assign the instance. |
spotDuration |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property spotDuration: The protection period of the preemptible instance. |
spotPriceLimit |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property spotPriceLimit: The hourly price threshold of a instance, and it takes effect only when parameter InstanceChargeType is PostPaid. |
spotStrategy |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property spotStrategy: The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter InstanceChargeType is PostPaid. |
systemDiskCategory |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property systemDiskCategory: Category of system disk. |
systemDiskDeleteWithInstance |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property systemDiskDeleteWithInstance: Specifies whether to release the system disk when the instance is released. |
systemDiskDescription |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property systemDiskDescription: Description of created system disk. |
systemDiskDiskName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property systemDiskDiskName: Name of created system disk. |
systemDiskPerformanceLevel |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property systemDiskPerformanceLevel: The performance level of the ESSD that is used as the system disk. |
systemDiskSize |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property systemDiskSize: Disk size of the system disk, range from 20 to 500 GB. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags to attach to instance, security group, disk and network interface. |
templateResourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property templateResourceGroupId: The ID of the resource group to which to assign the launch template. |
templateTags |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property templateTags: Template tags to attach to launch template. |
userData |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property userData: User data to pass to instance. |
versionDescription |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property versionDescription: Description for version 1 of launch template. |
vSwitchId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vSwitchId: The vSwitch Id to create ecs instance. |
zoneId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property zoneId: Current zone to create the instance. |
scopeRequired
- Type: com.aliyun.ros.cdk.core.Construct
idRequired
- Type: java.lang.String
enableResourcePropertyConstraintOptional
- Type: java.lang.Boolean
launchTemplateNameRequired
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property launchTemplateName: The name of launch template.
autoReleaseTimeOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property autoReleaseTime: Auto release time for created instance, Follow ISO8601 standard using UTC time.
format is 'yyyy-MM-ddTHH:mm:ssZ'. Not bigger than 3 years from this day onwards
deploymentSetIdOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property deploymentSetId: The ID of the deployment set.
descriptionOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Description of the instance, [2, 256] characters.
diskMappingsOptional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
DiskMappingsProperty>
Property diskMappings: Disk mappings to attach to instance.
Max support 16 disks.
hostNameOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property hostName: Host name of created ecs instance.
at least 2 characters, and '.' '-' Is not the first and last characters as hostname, not continuous use. Windows platform can be up to 15 characters, allowing letters (without limiting case), numbers and '-', and does not support the number of points, not all is digital ('.').Other (Linux, etc.) platform up to 30 characters, allowing support number multiple points for the period between the points, each permit letters (without limiting case), numbers and '-' components.
imageIdOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property imageId: Image ID to create ecs instance.
imageOwnerAliasOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property imageOwnerAlias: The source of the image.
Valid values: system: public images provided by Alibaba Cloud. self: your custom images. others: shared images from other Alibaba Cloud accounts. marketplace: Alibaba Cloud Marketplace images. If Alibaba Cloud Marketplace images are found, you can use these images without prior subscription. You must pay attention to the billing details of Alibaba Cloud Marketplace images.
instanceChargeTypeOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceChargeType: The billing method of the instance.
Valid values: PrePaid: subscription. If you set this parameter to PrePaid, make sure that your account supports payment by credit. Otherwise, an InvalidPayMethod error is returned. PostPaid: pay-as-you-go.
instanceNameOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceName: Display name of the instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
instanceTypeOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceType: Ecs instance supported instance type, make sure it should be correct.
internetChargeTypeOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property internetChargeType: Instance internet access charge type.Support 'PayByBandwidth' and 'PayByTraffic' only.
internetMaxBandwidthOutOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property internetMaxBandwidthOut: Max internet out bandwidth in Mbps(Mega bit per second).
Range is [0,200].While the property is not 0, public ip will be assigned for instance.
ioOptimizedOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ioOptimized: The 'optimized' instance can provide better IO performance.
Support 'none' and 'optimized' only.
ipv6AddressCountOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property ipv6AddressCount: The number of IPv6 addresses to be randomly generated for the primary ENI.
Valid values: 1 to 10.
keyPairNameOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property keyPairName: SSH key pair name.
networkInterfacesOptional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
NetworkInterfacesProperty>
Property networkInterfaces: Elastic network interfaces to be attached to instance.
networkTypeOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property networkType: Instance network type.
Support 'vpc' and 'classic'
passwordInheritOptional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property passwordInherit: Specifies whether to use the password preset in the image.
Note When you use this parameter, leave Password empty and make sure that the selected image has a password preset.
periodOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property period: The subscription period of the instance.
Unit: months. This parameter is valid and required only when InstanceChargeType is set to PrePaid. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
privateIpAddressOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property privateIpAddress: The private IP address of the instance.
To assign a private IP address to an instance of the VPC type, make sure that the IP address is an idle IP address within the CIDR block of the vSwitch specified by the VSwitchId parameter.
ramRoleNameOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ramRoleName: Instance RAM role name.
The name is provided and maintained by Resource Access Management (RAM) and can be queried using ListRoles. For more information, see RAM API CreateRole and ListRoles.
resourceGroupIdOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group to which to assign the instance, Elastic Block Storage (EBS) device, and elastic network interface (ENI).
securityEnhancementStrategyOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property securityEnhancementStrategy: Activate or deactivate security enhancement,Value range: "Active" and "Deactive".
securityGroupIdOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property securityGroupId: Security group to create ecs instance.
For classic instance need the security group not belong to VPC, for VPC instance, please make sure the security group belong to specified VPC.
securityGroupIdsOptional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property securityGroupIds: The ID of security group list to which to assign the instance.
spotDurationOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property spotDuration: The protection period of the preemptible instance.
Unit: hours. Valid values: 0, 1, 2, 3, 4, 5, and 6. Protection periods of 2, 3, 4, 5, and 6 hours are in invitational preview. If you want to set this parameter to one of these values, submit a ticket. If this parameter is set to 0, no protection period is configured for the preemptible instance. Default value: 1.
spotPriceLimitOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property spotPriceLimit: The hourly price threshold of a instance, and it takes effect only when parameter InstanceChargeType is PostPaid.
Three decimals is allowed at most.
spotStrategyOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property spotStrategy: The spot strategy of a Pay-As-You-Go instance, and it takes effect only when parameter InstanceChargeType is PostPaid.
Value range: "NoSpot: A regular Pay-As-You-Go instance", "SpotWithPriceLimit: A price threshold for a spot instance, ""SpotAsPriceGo: A price that is based on the highest Pay-As-You-Go instance. "
systemDiskCategoryOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property systemDiskCategory: Category of system disk.
support cloud|cloud_efficiency|cloud_ssd|cloud_essd|ephemeral_ssd
systemDiskDeleteWithInstanceOptional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property systemDiskDeleteWithInstance: Specifies whether to release the system disk when the instance is released.
Valid values: true: releases the system disk when the instance is released. false: does not release the system disk when the instance is released. Default value: true.
systemDiskDescriptionOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property systemDiskDescription: Description of created system disk.
systemDiskDiskNameOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property systemDiskDiskName: Name of created system disk.
systemDiskPerformanceLevelOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property systemDiskPerformanceLevel: The performance level of the ESSD that is used as the system disk.
Valid values: PL0: A single ESSD can deliver up to 10,000 random read/write IOPS. PL1: A single ESSD can deliver up to 50,000 random read/write IOPS. PL2: A single ESSD can deliver up to 100,000 random read/write IOPS. PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
systemDiskSizeOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property systemDiskSize: Disk size of the system disk, range from 20 to 500 GB.
If you specify with your own image, make sure the system disk size bigger than image size.
tagsOptional
- Type: java.util.List<TagsProperty>
Property tags: Tags to attach to instance, security group, disk and network interface.
templateResourceGroupIdOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property templateResourceGroupId: The ID of the resource group to which to assign the launch template.
templateTagsOptional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
TemplateTagsProperty>
Property templateTags: Template tags to attach to launch template.
userDataOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property userData: User data to pass to instance.
[1, 16KB] characters.
versionDescriptionOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property versionDescription: Description for version 1 of launch template.
vSwitchIdOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vSwitchId: The vSwitch Id to create ecs instance.
zoneIdOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zoneId: Current zone to create the instance.
Methods
| Name | Description |
|---|---|
toString |
Returns a string representation of this construct. |
synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
addCondition |
No description. |
addCount |
No description. |
addDependency |
No description. |
addResourceDesc |
No description. |
applyRemovalPolicy |
No description. |
getAtt |
No description. |
setMetadata |
No description. |
toString
public java.lang.String toString()
Returns a string representation of this construct.
synthesize
public void synthesize(ISynthesisSession session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack and Asset
as they participate in synthesizing the cloud assembly.
- Type: com.aliyun.ros.cdk.core.ISynthesisSession
The synthesis session.
addCondition
public void addCondition(RosCondition condition)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
addDependency
public void addDependency(Resource resource)
- Type: com.aliyun.ros.cdk.core.Resource
addResourceDesc
public void addResourceDesc(java.lang.String desc)
- Type: java.lang.String
applyRemovalPolicy
public void applyRemovalPolicy(RemovalPolicy policy)
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
getAtt
public IResolvable getAtt(java.lang.String name)
- Type: java.lang.String
setMetadata
public void setMetadata(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- Type: java.lang.Object
Static Functions
| Name | Description |
|---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import com.aliyun.ros.cdk.ecs.LaunchTemplate;
LaunchTemplate.isConstruct(java.lang.Object x)
Return whether the given object is a Construct.
- Type: java.lang.Object
Properties
| Name | Type | Description |
|---|---|---|
node |
com.aliyun.ros.cdk.core.ConstructNode |
The construct tree node associated with this construct. |
ref |
java.lang.String |
No description. |
stack |
com.aliyun.ros.cdk.core.Stack |
The stack in which this resource is defined. |
resource |
com.aliyun.ros.cdk.core.RosResource |
No description. |
attrDefaultVersionNumber |
com.aliyun.ros.cdk.core.IResolvable |
Attribute DefaultVersionNumber: The default version number of launch template. |
attrLatestVersionNumber |
com.aliyun.ros.cdk.core.IResolvable |
Attribute LatestVersionNumber: The latest version number of launch template. |
attrLaunchTemplateId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute LaunchTemplateId: The id of launch template. |
attrLaunchTemplateName |
com.aliyun.ros.cdk.core.IResolvable |
Attribute LaunchTemplateName: The name of launch template. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
refRequired
public java.lang.String getRef();
- Type: java.lang.String
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
resourceOptional
public RosResource getResource();
- Type: com.aliyun.ros.cdk.core.RosResource
attrDefaultVersionNumberRequired
public IResolvable getAttrDefaultVersionNumber();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DefaultVersionNumber: The default version number of launch template.
attrLatestVersionNumberRequired
public IResolvable getAttrLatestVersionNumber();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute LatestVersionNumber: The latest version number of launch template.
attrLaunchTemplateIdRequired
public IResolvable getAttrLaunchTemplateId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute LaunchTemplateId: The id of launch template.
attrLaunchTemplateNameRequired
public IResolvable getAttrLaunchTemplateName();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute LaunchTemplateName: The name of launch template.