全部产品
Search
文档中心

资源编排:ALIYUN::GA::Accelerator

更新时间:Jul 15, 2026

ALIYUN::GA::Accelerator类型用于创建全球加速实例。

语法

{
  "Type": "ALIYUN::GA::Accelerator",
  "Properties": {
    "AcceleratorName": String,
    "AutoUseCoupon": String,
    "PricingCycle": String,
    "Duration": String,
    "AutoPay": Boolean,
    "Spec": String,
    "BandwidthBillingType": String,
    "InstanceChargeType": String,
    "ResourceGroupId": String,
    "DdosConfigList": List,
    "Bandwidth": Integer,
    "Tags": List,
    "CrossBorderMode": String,
    "IpSetConfig": Map,
    "EnableCrossBorder": Boolean
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

AcceleratorName

String

名称。

AutoPay

Boolean

是否自动付费。

取值:

  • True:自动付费。

  • False:不自动付费。

AutoUseCoupon

String

是否自动使用优惠券。

取值:

  • True:自动使用优惠券。

  • False:不自动使用优惠券。

Bandwidth

Integer

基础带宽包的带宽值。

单位:Mbps。

BandwidthBillingType

String

带宽计费方式。

取值:

  • BandwidthPackage:按带宽包计费。

  • CDT:按流量计费。

CrossBorderMode

String

用于带宽计费方式为按流量计费(CDT)的实例,显示其跨境加速类型

取值:

bpgPro:精品带宽跨境加速。

DdosConfigList

List

与全球加速实例绑定的 DDoS 高防实例列表。

更多信息,请参考DdosConfigList属性

Duration

String

购买时长。

取值:

  • 按月付费:1~9。

  • 按年付费:1~3。

EnableCrossBorder

Boolean

全局加速实例是否启用跨界线功能。 

取值:

  • true:启用跨界线功能。

  • false:不启用跨界线功能。

InstanceChargeType

String

全球加速实例付费类型。

取值:

  • PREPAY - 预付费

  • POSTPAY - 后付费

默认取值为 PREPAY (预付费)。

IpSetConfig

Map

加速区域配置。

更多信息,请参见IpSetConfig属性

PricingCycle

String

价格周期。

取值:

  • Month:按月付费。

  • Year:按年付费。

ResourceGroupId

String

标准型全球加速实例所属资源组ID。

Spec

String

实例规格。

取值:

  • 1:小型Ⅰ(规格单元)。

  • 2:小型Ⅱ。

  • 3:小型Ⅲ。

  • 5:中型Ⅰ。

  • 8:中型Ⅱ。

  • 10:中型Ⅲ。

Tags

List

资源标签。

更多信息,请参考Tags属性

IpSetConfig语法

"IpSetConfig": {
  "AccessMode": String
}

IpSetConfig属性

属性名称

类型

必须

允许更新

描述

约束

AccessMode

String

加速区域接入模式。

取值:

  • UserDefine:自定义就近接入模式。您可以根据业务需要,定向选择加速区域和地域,全球加速为每个加速地域提供独立的EIP。

  • Anycast:采用自动就近接入模式。您无需配置加速区域。全球加速在全球多地域提供一个Anycast EIP,用户可通过Anycast EIP从就近接入点进入阿里云加速网络。

DdosConfigList语法

"DdosConfigList": [{
  "DdosRegionId": String,
  "DdosId": String
}]

DdosConfigList属性

属性名称

类型

必须

允许更新

描述

约束

DdosId

String

与全球加速实例绑定的 DDoS 高防实例 ID。

DdosRegionId

String

DDoS 高防实例所在的地域

取值:

  • cn-hangzhou:中国内地。

  • ap-southeast-1:非中国内地。

Tags语法

"Tags": [{
  "Key": String,
  "Value": String
}]

Tags属性

属性名称

类型

必须

允许更新

描述

约束

Key

String

标签键。

Value

String

标签值。

返回值

Fn::GetAtt

  • AcceleratorName:实例名称。

  • AutoUseCoupon:是否自动使用优惠券。

  • PricingCycle:价格周期。

  • PaymentType:付费方式。

  • Duration:购买时长。

  • AutoPay:是否自动付费。

  • OrderId:订单ID。

  • Spec:实例规格。

  • AcceleratorId:实例ID。

  • DnsName:全球加速实例分配的 CNAME 地址。

示例

场景 1 :创建一个按量付费的全球加速实例。

ROSTemplateFormatVersion: '2015-09-01'
Description:
  zh-cn: 创建一个按量付费的全球加速实例。
  en: Create a pay-as-you-go Global Accelerator instance.
Parameters:
  AcceleratorName:
    Type: String
    Label:
      zh-cn: 加速实例名称
      en: Accelerator Name
    Description:
      zh-cn: 全球加速实例的名称。
      en: The name of the Global Accelerator instance.
    Default: ga-postpay-test
  Spec:
    Type: String
    Label:
      zh-cn: 实例规格
      en: Instance Spec
    Description:
      zh-cn: >-
        全球加速实例的规格。
        小型Ⅰ:最大10个监听、5个加速区域。
        小型Ⅱ:最大20个监听、10个加速区域。
        小型Ⅲ:最大30个监听、15个加速区域。
      en: >-
        GA instance spec.
        Small I: max 10 listeners, 5 acceleration regions.
        Small II: max 20 listeners, 10 acceleration regions.
        Small III: max 30 listeners, 15 acceleration regions.
    Default: '1'
    AllowedValues:
      - '1'
      - '2'
      - '3'
      - '5'
      - '8'
      - '10'
Resources:
  Accelerator:
    Type: ALIYUN::GA::Accelerator
    Properties:
      AcceleratorName:
        Ref: AcceleratorName
      Spec:
        Ref: Spec
      InstanceChargeType: POSTPAY
      BandwidthBillingType: CDT
Outputs:
  AcceleratorId:
    Label:
      zh-cn: 加速实例ID
      en: Accelerator ID
    Description:
      zh-cn: 全球加速实例的唯一标识。
      en: The unique identifier of the Global Accelerator instance.
    Value:
      Fn::GetAtt:
        - Accelerator
        - AcceleratorId
  DnsName:
    Label:
      zh-cn: CNAME地址
      en: DNS Name
    Description:
      zh-cn: 全球加速实例分配的CNAME地址,用于DNS解析指向。
      en: The CNAME address assigned to the GA instance for DNS resolution.
    Value:
      Fn::GetAtt:
        - Accelerator
        - DnsName
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Description": {
    "zh-cn": "创建一个按量付费的全球加速实例。",
    "en": "Create a pay-as-you-go Global Accelerator instance."
  },
  "Parameters": {
    "AcceleratorName": {
      "Type": "String",
      "Label": {
        "zh-cn": "加速实例名称",
        "en": "Accelerator Name"
      },
      "Description": {
        "zh-cn": "全球加速实例的名称。",
        "en": "The name of the Global Accelerator instance."
      },
      "Default": "ga-postpay-test"
    },
    "Spec": {
      "Type": "String",
      "Label": {
        "zh-cn": "实例规格",
        "en": "Instance Spec"
      },
      "Description": {
        "zh-cn": "全球加速实例的规格。小型Ⅰ:最大10个监听、5个加速区域。小型Ⅱ:最大20个监听、10个加速区域。小型Ⅲ:最大30个监听、15个加速区域。",
        "en": "GA instance spec. Small I: max 10 listeners, 5 acceleration regions. Small II: max 20 listeners, 10 acceleration regions. Small III: max 30 listeners, 15 acceleration regions."
      },
      "Default": "1",
      "AllowedValues": [
        "1",
        "2",
        "3",
        "5",
        "8",
        "10"
      ]
    }
  },
  "Resources": {
    "Accelerator": {
      "Type": "ALIYUN::GA::Accelerator",
      "Properties": {
        "AcceleratorName": {
          "Ref": "AcceleratorName"
        },
        "Spec": {
          "Ref": "Spec"
        },
        "InstanceChargeType": "POSTPAY",
        "BandwidthBillingType": "CDT"
      }
    }
  },
  "Outputs": {
    "AcceleratorId": {
      "Label": {
        "zh-cn": "加速实例ID",
        "en": "Accelerator ID"
      },
      "Description": {
        "zh-cn": "全球加速实例的唯一标识。",
        "en": "The unique identifier of the Global Accelerator instance."
      },
      "Value": {
        "Fn::GetAtt": [
          "Accelerator",
          "AcceleratorId"
        ]
      }
    },
    "DnsName": {
      "Label": {
        "zh-cn": "CNAME地址",
        "en": "DNS Name"
      },
      "Description": {
        "zh-cn": "全球加速实例分配的CNAME地址,用于DNS解析指向。",
        "en": "The CNAME address assigned to the GA instance for DNS resolution."
      },
      "Value": {
        "Fn::GetAtt": [
          "Accelerator",
          "DnsName"
        ]
      }
    }
  }
}

场景 2 :创建包年包月的全球加速实例,配置带宽包计费和资源组。

ROSTemplateFormatVersion: '2015-09-01'
Description:
  zh-cn: 创建包年包月的全球加速实例,配置带宽包计费和资源组。
  en: Create a subscription GA instance with bandwidth package billing and resource group.
Parameters:
  AcceleratorName:
    Type: String
    Label:
      zh-cn: 加速实例名称
      en: Accelerator Name
    Description:
      zh-cn: 全球加速实例的名称。
      en: The name of the Global Accelerator instance.
    Default: ga-prod-accelerator
  Spec:
    Type: String
    Label:
      zh-cn: 实例规格
      en: Instance Spec
    Description:
      zh-cn: >-
        全球加速实例的规格。
        小型Ⅰ(1):最大10个监听、5个加速区域。
        中型Ⅰ(5):最大50个监听、25个加速区域。
        中型Ⅲ(10):最大100个监听、50个加速区域。
      en: >-
        GA instance spec.
        Small I(1): max 10 listeners, 5 regions.
        Medium I(5): max 50 listeners, 25 regions.
        Medium III(10): max 100 listeners, 50 regions.
    Default: '5'
    AllowedValues:
      - '1'
      - '2'
      - '3'
      - '5'
      - '8'
      - '10'
  PricingCycle:
    Type: String
    Label:
      zh-cn: 付费周期
      en: Pricing Cycle
    Description:
      zh-cn: 预付费的计费周期。
      en: The billing cycle for the subscription.
    Default: Month
    AllowedValues:
      - Month
      - Year
  Duration:
    Type: String
    Label:
      zh-cn: 购买时长
      en: Duration
    Description:
      zh-cn: >-
        购买时长。按月付费时取值1~9,按年付费时取值1~3。
      en: >-
        Purchase duration. 1-9 for monthly, 1-3 for yearly.
    Default: '3'
  ResourceGroupId:
    Type: String
    Label:
      zh-cn: 资源组
      en: Resource Group
    Description:
      zh-cn: 全球加速实例所属的资源组,用于权限隔离和成本管理。
      en: Resource group for permission isolation and cost management.
    AssociationProperty: ALIYUN::ResourceManager::ResourceGroup
    Default: Null
Resources:
  Accelerator:
    Type: ALIYUN::GA::Accelerator
    Properties:
      AcceleratorName:
        Ref: AcceleratorName
      Spec:
        Ref: Spec
      InstanceChargeType: PREPAY
      BandwidthBillingType: BandwidthPackage
      PricingCycle:
        Ref: PricingCycle
      Duration:
        Ref: Duration
      AutoPay: true
      AutoUseCoupon: 'True'
      ResourceGroupId:
        Ref: ResourceGroupId
Outputs:
  AcceleratorId:
    Label:
      zh-cn: 加速实例ID
      en: Accelerator ID
    Description:
      zh-cn: 全球加速实例的唯一标识。
      en: The unique identifier of the Global Accelerator instance.
    Value:
      Fn::GetAtt:
        - Accelerator
        - AcceleratorId
  AcceleratorName:
    Label:
      zh-cn: 实例名称
      en: Accelerator Name
    Value:
      Fn::GetAtt:
        - Accelerator
        - AcceleratorName
  Spec:
    Label:
      zh-cn: 实例规格
      en: Instance Spec
    Value:
      Fn::GetAtt:
        - Accelerator
        - Spec
  OrderId:
    Label:
      zh-cn: 订单ID
      en: Order ID
    Description:
      zh-cn: 预付费订单的唯一标识,可在费用中心查看订单详情。
      en: The order ID for the subscription, viewable in the Billing Center.
    Value:
      Fn::GetAtt:
        - Accelerator
        - OrderId
  DnsName:
    Label:
      zh-cn: CNAME地址
      en: DNS Name
    Value:
      Fn::GetAtt:
        - Accelerator
        - DnsName
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Description": {
    "zh-cn": "创建包年包月的全球加速实例,配置带宽包计费和资源组。",
    "en": "Create a subscription GA instance with bandwidth package billing and resource group."
  },
  "Parameters": {
    "AcceleratorName": {
      "Type": "String",
      "Label": {
        "zh-cn": "加速实例名称",
        "en": "Accelerator Name"
      },
      "Description": {
        "zh-cn": "全球加速实例的名称。",
        "en": "The name of the Global Accelerator instance."
      },
      "Default": "ga-prod-accelerator"
    },
    "Spec": {
      "Type": "String",
      "Label": {
        "zh-cn": "实例规格",
        "en": "Instance Spec"
      },
      "Description": {
        "zh-cn": "全球加速实例的规格。小型Ⅰ(1):最大10个监听、5个加速区域。中型Ⅰ(5):最大50个监听、25个加速区域。中型Ⅲ(10):最大100个监听、50个加速区域。",
        "en": "GA instance spec. Small I(1): max 10 listeners, 5 regions. Medium I(5): max 50 listeners, 25 regions. Medium III(10): max 100 listeners, 50 regions."
      },
      "Default": "5",
      "AllowedValues": [
        "1",
        "2",
        "3",
        "5",
        "8",
        "10"
      ]
    },
    "PricingCycle": {
      "Type": "String",
      "Label": {
        "zh-cn": "付费周期",
        "en": "Pricing Cycle"
      },
      "Description": {
        "zh-cn": "预付费的计费周期。",
        "en": "The billing cycle for the subscription."
      },
      "Default": "Month",
      "AllowedValues": [
        "Month",
        "Year"
      ]
    },
    "Duration": {
      "Type": "String",
      "Label": {
        "zh-cn": "购买时长",
        "en": "Duration"
      },
      "Description": {
        "zh-cn": "购买时长。按月付费时取值1~9,按年付费时取值1~3。",
        "en": "Purchase duration. 1-9 for monthly, 1-3 for yearly."
      },
      "Default": "3"
    },
    "ResourceGroupId": {
      "Type": "String",
      "Label": {
        "zh-cn": "资源组",
        "en": "Resource Group"
      },
      "Description": {
        "zh-cn": "全球加速实例所属的资源组,用于权限隔离和成本管理。",
        "en": "Resource group for permission isolation and cost management."
      },
      "AssociationProperty": "ALIYUN::ResourceManager::ResourceGroup",
      "Default": null
    }
  },
  "Resources": {
    "Accelerator": {
      "Type": "ALIYUN::GA::Accelerator",
      "Properties": {
        "AcceleratorName": {
          "Ref": "AcceleratorName"
        },
        "Spec": {
          "Ref": "Spec"
        },
        "InstanceChargeType": "PREPAY",
        "BandwidthBillingType": "BandwidthPackage",
        "PricingCycle": {
          "Ref": "PricingCycle"
        },
        "Duration": {
          "Ref": "Duration"
        },
        "AutoPay": true,
        "AutoUseCoupon": "True",
        "ResourceGroupId": {
          "Ref": "ResourceGroupId"
        }
      }
    }
  },
  "Outputs": {
    "AcceleratorId": {
      "Label": {
        "zh-cn": "加速实例ID",
        "en": "Accelerator ID"
      },
      "Description": {
        "zh-cn": "全球加速实例的唯一标识。",
        "en": "The unique identifier of the Global Accelerator instance."
      },
      "Value": {
        "Fn::GetAtt": [
          "Accelerator",
          "AcceleratorId"
        ]
      }
    },
    "AcceleratorName": {
      "Label": {
        "zh-cn": "实例名称",
        "en": "Accelerator Name"
      },
      "Value": {
        "Fn::GetAtt": [
          "Accelerator",
          "AcceleratorName"
        ]
      }
    },
    "Spec": {
      "Label": {
        "zh-cn": "实例规格",
        "en": "Instance Spec"
      },
      "Value": {
        "Fn::GetAtt": [
          "Accelerator",
          "Spec"
        ]
      }
    },
    "OrderId": {
      "Label": {
        "zh-cn": "订单ID",
        "en": "Order ID"
      },
      "Description": {
        "zh-cn": "预付费订单的唯一标识,可在费用中心查看订单详情。",
        "en": "The order ID for the subscription, viewable in the Billing Center."
      },
      "Value": {
        "Fn::GetAtt": [
          "Accelerator",
          "OrderId"
        ]
      }
    },
    "DnsName": {
      "Label": {
        "zh-cn": "CNAME地址",
        "en": "DNS Name"
      },
      "Value": {
        "Fn::GetAtt": [
          "Accelerator",
          "DnsName"
        ]
      }
    }
  }
}

场景 3 :创建支持Anycast接入和跨境加速的全球加速实例,绑定带宽包和监听器实现端到端加速。

ROSTemplateFormatVersion: '2015-09-01'
Description:
  zh-cn: 创建Anycast全球加速实例,启用跨境加速,联动带宽包和监听器。
  en: Create an Anycast GA instance with cross-border, bandwidth package and listener.
Parameters:
  AcceleratorName:
    Type: String
    Label:
      zh-cn: 加速实例名称
      en: Accelerator Name
    Description:
      zh-cn: 全球加速实例的名称。
      en: The name of the Global Accelerator instance.
    Default: ga-global-anycast
  Spec:
    Type: String
    Label:
      zh-cn: 实例规格
      en: Instance Spec
    Description:
      zh-cn: >-
        全球加速实例的规格。
        中型Ⅰ(5):最大50个监听、25个加速区域,适合中大型业务。
        中型Ⅲ(10):最大100个监听、50个加速区域,适合大型全球化业务。
      en: >-
        GA instance spec.
        Medium I(5): max 50 listeners, 25 regions.
        Medium III(10): max 100 listeners, 50 regions.
    Default: '5'
    AllowedValues:
      - '5'
      - '8'
      - '10'
  Bandwidth:
    Type: Number
    Label:
      zh-cn: 带宽包带宽(Mbps)
      en: Bandwidth (Mbps)
    Description:
      zh-cn: 基础带宽包的带宽大小,单位为Mbps。
      en: Bandwidth of the basic bandwidth package, in Mbps.
    Default: 10
    MinValue: 2
    MaxValue: 2000
  ListenerPort:
    Type: Number
    Label:
      zh-cn: 监听端口
      en: Listener Port
    Description:
      zh-cn: 全球加速监听的端口号。
      en: The port number for the GA listener.
    Default: 443
    MinValue: 1
    MaxValue: 65499
  ResourceGroupId:
    Type: String
    Label:
      zh-cn: 资源组
      en: Resource Group
    Description:
      zh-cn: 全球加速实例所属的资源组。
      en: Resource group for the GA instance.
    AssociationProperty: ALIYUN::ResourceManager::ResourceGroup
    Default: Null
Resources:
  Accelerator:
    Type: ALIYUN::GA::Accelerator
    Properties:
      AcceleratorName:
        Ref: AcceleratorName
      Spec:
        Ref: Spec
      InstanceChargeType: PREPAY
      BandwidthBillingType: BandwidthPackage
      PricingCycle: Month
      Duration: '1'
      AutoPay: true
      AutoUseCoupon: 'True'
      ResourceGroupId:
        Ref: ResourceGroupId
      IpSetConfig:
        AccessMode: Anycast
      EnableCrossBorder: true
  BandwidthPackage:
    Type: ALIYUN::GA::BandwidthPackage
    DependsOn: Accelerator
    Properties:
      Bandwidth:
        Ref: Bandwidth
      Type: Basic
      BandwidthType: Basic
      AutoPay: true
      PricingCycle: Month
      Duration: '1'
  BandwidthPackageAcceleratorRelation:
    Type: ALIYUN::GA::BandwidthPackageAcceleratorAddition
    DependsOn: BandwidthPackage
    Properties:
      AcceleratorId:
        Fn::GetAtt:
          - Accelerator
          - AcceleratorId
      BandwidthPackageId:
        Fn::GetAtt:
          - BandwidthPackage
          - BandwidthPackageId
  Listener:
    Type: ALIYUN::GA::Listener
    DependsOn: BandwidthPackageAcceleratorRelation
    Properties:
      AcceleratorId:
        Fn::GetAtt:
          - Accelerator
          - AcceleratorId
      Protocol: HTTPS
      PortRanges:
        - FromPort:
            Ref: ListenerPort
          ToPort:
            Ref: ListenerPort
Outputs:
  AcceleratorId:
    Label:
      zh-cn: 加速实例ID
      en: Accelerator ID
    Description:
      zh-cn: 全球加速实例的唯一标识。
      en: The unique identifier of the Global Accelerator instance.
    Value:
      Fn::GetAtt:
        - Accelerator
        - AcceleratorId
  DnsName:
    Label:
      zh-cn: CNAME地址
      en: DNS Name
    Description:
      zh-cn: >-
        全球加速实例分配的CNAME地址。
        Anycast模式下全球用户通过此地址自动就近接入。
      en: >-
        The CNAME address of the GA instance.
        In Anycast mode, global users access via nearest entry point.
    Value:
      Fn::GetAtt:
        - Accelerator
        - DnsName
  BandwidthPackageId:
    Label:
      zh-cn: 带宽包ID
      en: Bandwidth Package ID
    Value:
      Fn::GetAtt:
        - BandwidthPackage
        - BandwidthPackageId
  ListenerId:
    Label:
      zh-cn: 监听ID
      en: Listener ID
    Value:
      Fn::GetAtt:
        - Listener
        - ListenerId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Description": {
    "zh-cn": "创建Anycast全球加速实例,启用跨境加速,联动带宽包和监听器。",
    "en": "Create an Anycast GA instance with cross-border, bandwidth package and listener."
  },
  "Parameters": {
    "AcceleratorName": {
      "Type": "String",
      "Label": {
        "zh-cn": "加速实例名称",
        "en": "Accelerator Name"
      },
      "Description": {
        "zh-cn": "全球加速实例的名称。",
        "en": "The name of the Global Accelerator instance."
      },
      "Default": "ga-global-anycast"
    },
    "Spec": {
      "Type": "String",
      "Label": {
        "zh-cn": "实例规格",
        "en": "Instance Spec"
      },
      "Description": {
        "zh-cn": "全球加速实例的规格。中型Ⅰ(5):最大50个监听、25个加速区域,适合中大型业务。中型Ⅲ(10):最大100个监听、50个加速区域,适合大型全球化业务。",
        "en": "GA instance spec. Medium I(5): max 50 listeners, 25 regions. Medium III(10): max 100 listeners, 50 regions."
      },
      "Default": "5",
      "AllowedValues": [
        "5",
        "8",
        "10"
      ]
    },
    "Bandwidth": {
      "Type": "Number",
      "Label": {
        "zh-cn": "带宽包带宽(Mbps)",
        "en": "Bandwidth (Mbps)"
      },
      "Description": {
        "zh-cn": "基础带宽包的带宽大小,单位为Mbps。",
        "en": "Bandwidth of the basic bandwidth package, in Mbps."
      },
      "Default": 10,
      "MinValue": 2,
      "MaxValue": 2000
    },
    "ListenerPort": {
      "Type": "Number",
      "Label": {
        "zh-cn": "监听端口",
        "en": "Listener Port"
      },
      "Description": {
        "zh-cn": "全球加速监听的端口号。",
        "en": "The port number for the GA listener."
      },
      "Default": 443,
      "MinValue": 1,
      "MaxValue": 65499
    },
    "ResourceGroupId": {
      "Type": "String",
      "Label": {
        "zh-cn": "资源组",
        "en": "Resource Group"
      },
      "Description": {
        "zh-cn": "全球加速实例所属的资源组。",
        "en": "Resource group for the GA instance."
      },
      "AssociationProperty": "ALIYUN::ResourceManager::ResourceGroup",
      "Default": null
    }
  },
  "Resources": {
    "Accelerator": {
      "Type": "ALIYUN::GA::Accelerator",
      "Properties": {
        "AcceleratorName": {
          "Ref": "AcceleratorName"
        },
        "Spec": {
          "Ref": "Spec"
        },
        "InstanceChargeType": "PREPAY",
        "BandwidthBillingType": "BandwidthPackage",
        "PricingCycle": "Month",
        "Duration": "1",
        "AutoPay": true,
        "AutoUseCoupon": "True",
        "ResourceGroupId": {
          "Ref": "ResourceGroupId"
        },
        "IpSetConfig": {
          "AccessMode": "Anycast"
        },
        "EnableCrossBorder": true
      }
    },
    "BandwidthPackage": {
      "Type": "ALIYUN::GA::BandwidthPackage",
      "DependsOn": "Accelerator",
      "Properties": {
        "Bandwidth": {
          "Ref": "Bandwidth"
        },
        "Type": "Basic",
        "BandwidthType": "Basic",
        "AutoPay": true,
        "PricingCycle": "Month",
        "Duration": "1"
      }
    },
    "BandwidthPackageAcceleratorRelation": {
      "Type": "ALIYUN::GA::BandwidthPackageAcceleratorAddition",
      "DependsOn": "BandwidthPackage",
      "Properties": {
        "AcceleratorId": {
          "Fn::GetAtt": [
            "Accelerator",
            "AcceleratorId"
          ]
        },
        "BandwidthPackageId": {
          "Fn::GetAtt": [
            "BandwidthPackage",
            "BandwidthPackageId"
          ]
        }
      }
    },
    "Listener": {
      "Type": "ALIYUN::GA::Listener",
      "DependsOn": "BandwidthPackageAcceleratorRelation",
      "Properties": {
        "AcceleratorId": {
          "Fn::GetAtt": [
            "Accelerator",
            "AcceleratorId"
          ]
        },
        "Protocol": "HTTPS",
        "PortRanges": [
          {
            "FromPort": {
              "Ref": "ListenerPort"
            },
            "ToPort": {
              "Ref": "ListenerPort"
            }
          }
        ]
      }
    }
  },
  "Outputs": {
    "AcceleratorId": {
      "Label": {
        "zh-cn": "加速实例ID",
        "en": "Accelerator ID"
      },
      "Description": {
        "zh-cn": "全球加速实例的唯一标识。",
        "en": "The unique identifier of the Global Accelerator instance."
      },
      "Value": {
        "Fn::GetAtt": [
          "Accelerator",
          "AcceleratorId"
        ]
      }
    },
    "DnsName": {
      "Label": {
        "zh-cn": "CNAME地址",
        "en": "DNS Name"
      },
      "Description": {
        "zh-cn": "全球加速实例分配的CNAME地址。Anycast模式下全球用户通过此地址自动就近接入。",
        "en": "The CNAME address of the GA instance. In Anycast mode, global users access via nearest entry point."
      },
      "Value": {
        "Fn::GetAtt": [
          "Accelerator",
          "DnsName"
        ]
      }
    },
    "BandwidthPackageId": {
      "Label": {
        "zh-cn": "带宽包ID",
        "en": "Bandwidth Package ID"
      },
      "Value": {
        "Fn::GetAtt": [
          "BandwidthPackage",
          "BandwidthPackageId"
        ]
      }
    },
    "ListenerId": {
      "Label": {
        "zh-cn": "监听ID",
        "en": "Listener ID"
      },
      "Value": {
        "Fn::GetAtt": [
          "Listener",
          "ListenerId"
        ]
      }
    }
  }
}