Skip to content

LaunchTemplateVersionProps

Properties for defining a LaunchTemplateVersion.

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

Initializer

import ros_cdk_ecs
ros_cdk_ecs.LaunchTemplateVersionProps(
  launch_template_data: typing.Union[IResolvable, LaunchTemplateDataProperty] = None,
  launch_template_id: typing.Union[str, IResolvable] = None,
  launch_template_name: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  version_description: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
launch_template_data typing.Union[ros_cdk_core.IResolvable, LaunchTemplateDataProperty] Property launchTemplateData: The configurations of the launch template.
launch_template_id typing.Union[str, ros_cdk_core.IResolvable] Property launchTemplateId: The ID of the launch template.
launch_template_name typing.Union[str, ros_cdk_core.IResolvable] Property launchTemplateName: The name of the launch template.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group to which to assign the instance.
version_description typing.Union[str, ros_cdk_core.IResolvable] Property versionDescription: The description of the launch template version.

launch_template_dataOptional

launch_template_data: typing.Union[IResolvable, LaunchTemplateDataProperty]

Property launchTemplateData: The configurations of the launch template.


launch_template_idOptional

launch_template_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property launchTemplateId: The ID of the launch template.

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


launch_template_nameOptional

launch_template_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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 (-).


resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


version_descriptionOptional

version_description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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://.