ALIYUN::VPC::CommonBandwidthPackage is used to create an elastic IP address (EIP) bandwidth plan.
You can use this resource type to create only pay-as-you-go EIP bandwidth plans.
Syntax
{
"Type": "ALIYUN::VPC::CommonBandwidthPackage",
"Properties": {
"Description": String,
"Zone": String,
"ISP": String,
"ResourceGroupId": String,
"Bandwidth": Integer,
"InternetChargeType": String,
"Name": String,
"DeletionProtection": Boolean
"Tags": List
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
Description | String | No | Yes | The description of the EIP bandwidth plan. | The description must be 2 to 256 characters in length. It must start with a letter but cannot start with |
Zone | String | No | No | The zone of the EIP bandwidth plan. | You do not need to specify this property. |
ISP | String | No | No | The line type of the EIP. | Set the value to BGP (Multi-ISP). |
ResourceGroupId | String | No | Yes | The ID of the resource group. | None |
Bandwidth | Integer | Yes | Yes | The maximum bandwidth of the EIP bandwidth plan. | Valid values: 2 to 5000. Unit: Mbit/s. |
InternetChargeType | String | No | No | The metering method of the EIP bandwidth plan. | Valid values:
|
Name | String | No | Yes | The name of the EIP bandwidth plan. | The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter but cannot start with |
Tags | List | No | Yes | The tags of the EIP bandwidth plan. | You can specify up to 20 tags. For more information, see Tags properties. |
DeletionProtection | Boolean | No | No | Specifies whether to enable deletion protection. | Valid values:
|
Tags syntax
"Tags": [
{
"Key": String,
"Value": String
}
]
Tags properties
Property | Type | Required | Editable | Description | Constraint |
Key | String | Yes | No | The tag key. | The tag key must be 1 to 128 characters in length, and cannot contain |
Value | String | No | Released | The tag value. | The tag value can be up to 128 characters in length, and cannot contain |
Return values
Fn::GetAtt
BandwidthPackageId: the ID of the EIP bandwidth plan.
Examples
In the examples, the following resource types are used: ALIYUN::ECS::VPC, ALIYUN::ECS::VSwitch, ALIYUN::VPC::SnatEntry, ALIYUN::VPC::CommonBandwidthPackage, ALIYUN::VPC::CommonBandwidthPackageIp, ALIYUN::VPC::Ipv6Gateway, and ALIYUN::VPC::Ipv6InternetBandwidth.