ALIYUN::GA::IpSets creates IP sets for one or more Global Accelerator (GA) acceleration regions.
Syntax
{
"Type": "ALIYUN::GA::IpSets",
"Properties": {
"AccelerateRegion": List,
"AcceleratorId": String
}
}
Properties
|
Parameter |
Type |
Required |
Updatable |
Description |
Constraint |
|
AccelerateRegion |
List |
Yes |
Yes |
Acceleration regions to create. |
Up to 5 acceleration regions. |
|
AcceleratorId |
String |
Yes |
No |
ID of the GA instance. |
None. |
AccelerateRegion syntax
"AccelerateRegion": [
{
"AccelerateRegionId": String,
"Bandwidth": Integer,
"IpVersion": String,
"IspType": String
}
]
AccelerateRegion properties
|
Parameter |
Type |
Required |
Updatable |
Description |
Constraint |
|
AccelerateRegionId |
String |
Yes |
No |
ID of the acceleration region. |
None. |
|
Bandwidth |
Integer |
Yes |
Yes |
Bandwidth allocated to the acceleration region. |
Unit: Mbps. Minimum: 2 Mbps per region. Note
Total bandwidth across all regions cannot exceed the purchased basic bandwidth plan. |
|
IpVersion |
String |
No |
No |
IP version. |
Valid values:
|
|
IspType |
String |
No |
No |
ISP line type for the acceleration region. |
Valid values:
Whitelisted users for single-ISP bandwidth can also specify:
Note
The supported single-ISP line types vary by acceleration region. |
Return values
Fn::GetAtt
-
AccelerateRegionIds: IDs of the acceleration regions.
-
IpSetIds: IDs of the IP sets.
-
IpVersions: IP versions of the acceleration regions.
Examples
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
AcceleratorId:
Type: String
Description: The ID of the GA instance.
Resources:
IpSets:
Type: ALIYUN::GA::IpSets
Properties:
AccelerateRegion:
- IpVersion: IPv6
Bandwidth: 2
AccelerateRegionId: cn-beijing
AcceleratorId: cn-beijing
Outputs: {}{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"AcceleratorId": {
"Type": "String",
"Description": "The ID of the GA instance."
}
},
"Resources": {
"IpSets": {
"Type": "ALIYUN::GA::IpSets",
"Properties": {
"AccelerateRegion": [
{
"IpVersion": "IPv6",
"Bandwidth": 2,
"AccelerateRegionId": "cn-beijing"
}
],
"AcceleratorId": "cn-beijing"
}
}
},
"Outputs": {
}
}