Skip to content

CommonBandwidthPackageProps

Properties for defining a CommonBandwidthPackage.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-commonbandwidthpackage

Initializer

import ros_cdk_vpc
ros_cdk_vpc.CommonBandwidthPackageProps(
  bandwidth: typing.Union[typing.Union[int, float], IResolvable],
  deletion_protection: typing.Union[bool, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  internet_charge_type: typing.Union[str, IResolvable] = None,
  isp: typing.Union[str, IResolvable] = None,
  name: typing.Union[str, IResolvable] = None,
  ratio: typing.Union[typing.Union[int, float], IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None,
  zone: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
bandwidth typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance.
deletion_protection typing.Union[bool, ros_cdk_core.IResolvable] Property deletionProtection: Whether to enable deletion protection.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the Internet Shared Bandwidth instance.
internet_charge_type typing.Union[str, ros_cdk_core.IResolvable] Property internetChargeType: The billing method of the Internet Shared Bandwidth instance.
isp typing.Union[str, ros_cdk_core.IResolvable] Property isp: The line type.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the Internet Shared Bandwidth instance.
ratio typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property ratio: The percentage of the minimum bandwidth commitment.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group.
tags typing.List[TagsProperty] Property tags: Tags to attach to instance.
zone typing.Union[str, ros_cdk_core.IResolvable] Property zone: The zone of the Internet Shared Bandwidth instance.

bandwidthRequired

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

Property bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance.

Unit: Mbit/s. Valid values: 1 to 1000. Default value: 1.


deletion_protectionOptional

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

Property deletionProtection: Whether to enable deletion protection.

Default to False.


descriptionOptional

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

Property description: The description of the Internet Shared Bandwidth instance.

The description must be 0 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.


internet_charge_typeOptional

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

Property internetChargeType: The billing method of the Internet Shared Bandwidth instance.

Set the value to PayByTraffic, which specifies the pay-by-data-transfer billing method.


ispOptional

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

Property isp: The line type.

Valid values:

  • BGP (default) All regions support BGP (Multi-ISP).
  • BGP_PRO BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions. If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
  • ChinaTelecom
  • ChinaUnicom
  • ChinaMobile
  • ChinaTelecom_L2
  • ChinaUnicom_L2
  • ChinaMobile_L2 If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to BGP_FinanceCloud.

nameOptional

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

Property name: The name of the Internet Shared Bandwidth instance.

The name must be 0 to 128 characters in length and cannot start with http:\/\/ or https:\/\/.


ratioOptional

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

Property ratio: The percentage of the minimum bandwidth commitment.

Set the parameter to 20.


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.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.


zoneOptional

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

Property zone: The zone of the Internet Shared Bandwidth instance.

This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.