ALIYUN::GA::IpSets类型用于创建加速地域。
语法
{
"Type": "ALIYUN::GA::IpSets",
"Properties": {
"AccelerateRegion": List,
"AcceleratorId": String
}
}属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
AccelerateRegion | List | 是 | 是 | 要加速的地域。 | 最多创建5个加速地域。 更多信息请参见AccelerateRegion属性。 |
AcceleratorId | String | 是 | 否 | 全球加速实例ID。 | 无 |
AccelerateRegion语法
"AccelerateRegion": [
{
"AccelerateRegionId": String,
"Bandwidth": Integer,
"IpVersion": String,
"IspType": String
}
]AccelerateRegion属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
AccelerateRegionId | String | 是 | 否 | 加速地域ID。 | 无 |
Bandwidth | Integer | 是 | 是 | 加速地域分配的带宽。 | 单位:Mbps。 每个加速地域支持分配的最小带宽为2Mbps。 说明 加速地域带宽总额应小于或等于您购买的基础带宽包的带宽。 |
IpVersion | String | 否 | 否 | IP版本。 | 取值:
|
IspType | String | 否 | 否 | 加速地域公网线路类型。 | 取值:
如果您是单线带宽的白名单用户,您还可以选择以下类型:
说明 加速地域不同,支持的单线线路类型不同。 |
返回值
Fn::GetAtt
AccelerateRegionIds:加速地域ID。
IpSetIds:加速地域配置信息。
IpVersions:加速地域IP版本。
示例
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": {
}
}该文章对您有帮助吗?