Skip to content

ResourcePackageProps

Properties for defining a ResourcePackage.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cdt-resourcepackage

Initializer

import ros_cdk_cdt
ros_cdk_cdt.ResourcePackageProps(
  capacity: typing.Union[typing.Union[int, float], IResolvable],
  pack: typing.Union[str, IResolvable],
  region: typing.Union[str, IResolvable],
  isp: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
capacity typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property capacity: The capacity of the specified CDT resource package.
pack typing.Union[str, ros_cdk_core.IResolvable] Property pack: The pack of the specified CDT resource package.
region typing.Union[str, ros_cdk_core.IResolvable] Property region: The region of the specified CDT resource package.
isp typing.Union[str, ros_cdk_core.IResolvable] Property isp: The ISP of the specified CDT resource package.

capacityRequired

capacity: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property capacity: The capacity of the specified CDT resource package.


packRequired

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

Property pack: The pack of the specified CDT resource package.

It can be obtained from the components field in the payload of the getPrice network request on the CDT common buy page.


regionRequired

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

Property region: The region of the specified CDT resource package.


ispOptional

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

Property isp: The ISP of the specified CDT resource package.