Skip to content

LaunchTemplateVersionProps

Properties for defining a LaunchTemplateVersion.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.LaunchTemplateVersionProps {
    LaunchTemplateData: interface{},
    LaunchTemplateId: interface{},
    LaunchTemplateName: interface{},
    ResourceGroupId: interface{},
    VersionDescription: interface{},
}

Properties

Name Type Description
LaunchTemplateData interface{} Property launchTemplateData: The configurations of the launch template.
LaunchTemplateId interface{} Property launchTemplateId: The ID of the launch template.
LaunchTemplateName interface{} Property launchTemplateName: The name of the launch template.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group to which to assign the instance.
VersionDescription interface{} Property versionDescription: The description of the launch template version.

LaunchTemplateDataOptional

LaunchTemplateData interface{}
  • Type: interface{}

Property launchTemplateData: The configurations of the launch template.


LaunchTemplateIdOptional

LaunchTemplateId interface{}
  • Type: interface{}

Property launchTemplateId: The ID of the launch template.

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


LaunchTemplateNameOptional

LaunchTemplateName interface{}
  • Type: interface{}

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

ResourceGroupId interface{}
  • Type: interface{}

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


VersionDescriptionOptional

VersionDescription interface{}
  • Type: interface{}

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://.