Skip to content

LaunchTemplateVersionProps

Properties for defining a LaunchTemplateVersion.

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

Initializer

import { LaunchTemplateVersionProps } from '@alicloud/ros-cdk-ecs'
const launchTemplateVersionProps: LaunchTemplateVersionProps = { ... }

Properties

Name Type Description
launchTemplateData @alicloud/ros-cdk-core.IResolvable | LaunchTemplateDataProperty Property launchTemplateData: The configurations of the launch template.
launchTemplateId string | @alicloud/ros-cdk-core.IResolvable Property launchTemplateId: The ID of the launch template.
launchTemplateName string | @alicloud/ros-cdk-core.IResolvable Property launchTemplateName: The name of the launch template.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group to which to assign the instance.
versionDescription string | @alicloud/ros-cdk-core.IResolvable Property versionDescription: The description of the launch template version.

launchTemplateDataOptional

public readonly launchTemplateData: IResolvable | LaunchTemplateDataProperty;

Property launchTemplateData: The configurations of the launch template.


launchTemplateIdOptional

public readonly launchTemplateId: string | IResolvable;
  • Type: string | @alicloud/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 readonly launchTemplateName: string | IResolvable;
  • Type: string | @alicloud/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 readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: The ID of the resource group to which to assign the instance.


versionDescriptionOptional

public readonly versionDescription: string | IResolvable;
  • Type: string | @alicloud/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:\/\/.