Skip to content

ProductVersionProps

Properties for defining a ProductVersion.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-servicecatalog-productversion

Initializer

import ros_cdk_servicecatalog
ros_cdk_servicecatalog.ProductVersionProps(
  product_id: typing.Union[str, IResolvable],
  product_version_name: typing.Union[str, IResolvable],
  template_type: typing.Union[str, IResolvable],
  template_url: typing.Union[str, IResolvable],
  active: typing.Union[bool, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  guidance: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
product_id typing.Union[str, ros_cdk_core.IResolvable] Property productId: The ID of the product to which the product version belongs.
product_version_name typing.Union[str, ros_cdk_core.IResolvable] Property productVersionName: The name of the product version.
template_type typing.Union[str, ros_cdk_core.IResolvable] Property templateType: The type of the product template.
template_url typing.Union[str, ros_cdk_core.IResolvable] Property templateUrl: The URL of the template.
active typing.Union[bool, ros_cdk_core.IResolvable] Property active: Specifies whether the product version is active.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the product version.
guidance typing.Union[str, ros_cdk_core.IResolvable] Property guidance: The recommendation information.

product_idRequired

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

Property productId: The ID of the product to which the product version belongs.


product_version_nameRequired

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

Property productVersionName: The name of the product version.


template_typeRequired

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

Property templateType: The type of the product template.

Valid values:

  • RosTerraformTemplate: the Terraform template that is supported by Resource Orchestration Service (ROS).
  • RosStandardTemplate: the standard ROS template.

template_urlRequired

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

Property templateUrl: The URL of the template.


activeOptional

active: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property active: Specifies whether the product version is active.


descriptionOptional

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

Property description: The description of the product version.

The value must be 1 to 128 characters in length.


guidanceOptional

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

Property guidance: The recommendation information.

Valid values:

  • Default: No recommendation information is provided. This is the default value.
  • Recommended: the recommendation version.
  • Latest: the latest version.
  • Deprecated: the version that is about to be discontinued.