Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::GA::Accelerator

Última atualização: Jul 24, 2026

O recurso ALIYUN::GA::Accelerator cria uma instância do Global Accelerator (GA).

Sintaxe

{
  "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
  }
}

Propriedades

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

AcceleratorName

String

Não

Não

Nome da instância do GA.

Nenhuma.

AutoPay

Boolean

Não

Não

Defina se o pagamento automático está ativado.

Valores válidos:

  • True

  • False

AutoUseCoupon

String

Não

Não

Indica se há uso de cupons.

Valores válidos:

  • True

  • False

Bandwidth

Integer

Não

Não

Largura de banda do pacote básico.

Unidade: Mbps.

BandwidthBillingType

String

Não

Não

Método de medição da largura de banda.

Valores válidos:

  • BandwidthPackage: cobrança por planos de largura de banda.

  • CDT: cobrança por transferência de dados.

CrossBorderMode

String

Não

Não

Tipo de aceleração transfronteiriça para instâncias do GA com faturamento CDT (transferência de dados).

Valores válidos:

  • bpgPro: aceleração transfronteiriça com largura de banda premium.

DdosConfigList

List

Não

Não

Lista de instâncias Anti-DDoS associadas à instância do GA.

Para mais informações, consulte DdosConfigList properties.

Duration

String

Não

Não

Ciclo de faturamento.

Valores válidos:

  • Se PricingCycle for Month: 1 a 9.

  • Se PricingCycle for Year: 1 a 3.

EnableCrossBorder

Boolean

Não

Não

Defina se o modo transfronteiriço está ativado.

Valores válidos:

  • true

  • false

InstanceChargeType

String

Não

Não

Método de faturamento.

Valores válidos:

  • PREPAY: assinatura.

  • POSTPAY: pagamento conforme o uso.

Valor padrão: PREPAY.

IpSetConfig

Map

Não

Não

Configurações da área de aceleração.

Para mais informações, consulte IpSetConfig properties.

PricingCycle

String

Não

Não

Unidade do ciclo de faturamento.

Valores válidos:

  • Month

  • Year

ResourceGroupId

String

Não

Não

ID do grupo de recursos da instância padrão do GA.

Nenhuma.

Spec

String

Não

Não

Especificação da instância do GA.

Valores válidos:

  • 1: Small Ⅰ (unidade de especificação).

  • 2: Small ⅠⅠ.

  • 3: Small ⅠⅠⅠ.

  • 5: Medium Ⅰ.

  • 8: Medium ⅠⅠ.

  • 10: Medium ⅠⅠⅠ.

Tags

List

Não

Sim

Tags do recurso.

Para mais informações, consulte Tags properties.

Sintaxe de IpSetConfig

"IpSetConfig": {
  "AccessMode": String
}

Propriedades de IpSetConfig

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

AccessMode

String

Não

Não

Modo de acesso da área de aceleração.

Valores válidos:

  • UserDefine: modo de acesso próximo personalizado. Selecione áreas e regiões de aceleração conforme as necessidades do negócio. O GA aloca um endereço IP elástico (EIP) separado para cada região de aceleração.

  • Anycast: modo de acesso próximo automático. Não é necessário especificar uma área de aceleração. O GA aloca um EIP Anycast para várias regiões globais. Envie solicitações ao EIP Anycast para conectar-se ao ponto de acesso mais próximo da rede de transmissão global da Alibaba Cloud.

Sintaxe de DdosConfigList

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

Propriedades de DdosConfigList

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

DdosId

String

Sim

Não

ID da instância Anti-DDoS associada à instância do GA.

Nenhuma.

DdosRegionId

String

Sim

Não

Região da instância Anti-DDoS.

Valores válidos:

  • cn-hangzhou: China Continental.

  • ap-southeast-1: Fora da China Continental.

Sintaxe de Tags

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

Propriedade de Tags

Propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

Key

String

Sim

Não

Chave da tag.

Nenhuma.

Value

String

Não

Não

Valor da tag.

Nenhuma.

Valores de retorno

Fn::GetAtt

  • AcceleratorName: nome da instância do GA.

  • AutoUseCoupon: indica se houve uso de cupons.

  • PricingCycle: unidade do ciclo de faturamento.

  • PaymentType: método de faturamento.

  • Duration: ciclo de faturamento.

  • AutoPay: indica se o pagamento automático está ativado.

  • OrderId: ID do pedido.

  • Spec: especificação da instância do GA.

  • AcceleratorId: ID da instância do GA.

  • DnsName: nome canônico (CNAME) atribuído à instância do GA.

Exemplos

Cenário 1: Criar uma instância do Global Accelerator com pagamento conforme o uso.

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"
        ]
      }
    }
  }
}

Cenário 2: Criar uma instância do GA por assinatura com faturamento por pacote de largura de banda e grupo de recursos.

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"
        ]
      }
    }
  }
}

Cenário 3: Criar uma instância do GA Anycast com aceleração transfronteiriça, pacote de largura de banda e listener.

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"
        ]
      }
    }
  }
}