Skip to content

LaunchTemplateVersionProps

Properties for defining a LaunchTemplateVersion.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-launchtemplateversion

Initializer

import com.aliyun.ros.cdk.ecs.LaunchTemplateVersionProps;
LaunchTemplateVersionProps.builder()
//  .launchTemplateData(IResolvable)
//  .launchTemplateData(LaunchTemplateDataProperty)
//  .launchTemplateId(java.lang.String)
//  .launchTemplateId(IResolvable)
//  .launchTemplateName(java.lang.String)
//  .launchTemplateName(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .versionDescription(java.lang.String)
//  .versionDescription(IResolvable)
    .build();

Properties

Name Type Description
launchTemplateData com.aliyun.ros.cdk.core.IResolvable OR LaunchTemplateDataProperty Property launchTemplateData: The configurations of the launch template.
launchTemplateId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property launchTemplateId: The ID of the launch template.
launchTemplateName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property launchTemplateName: The name of the launch template.
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.
versionDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property versionDescription: The description of the launch template version.

launchTemplateDataOptional

public java.lang.Object getLaunchTemplateData();

Property launchTemplateData: The configurations of the launch template.


launchTemplateIdOptional

public java.lang.Object getLaunchTemplateId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property launchTemplateId: The ID of the launch template.

You must specify LaunchTemplateId or LaunchTemplateName to specify a launch template.


launchTemplateNameOptional

public java.lang.Object getLaunchTemplateName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property launchTemplateName: The name of the launch template.

The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • 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.


versionDescriptionOptional

public java.lang.Object getVersionDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property versionDescription: The description of the launch template version.

The description must be 2 to 256 characters in length and cannot start with http:// or https://.