ALIYUN::GA::IpSets is used to create one or more acceleration regions.

Syntax

{
  "Type": "ALIYUN::GA::IpSets",
  "Properties": {
    "AccelerateRegion": List,
    "AcceleratorId": String
  }
}

Properties

Property Type Required Editable Description Constraint
AccelerateRegion List Yes Yes The regions where data transfer is to be accelerated. A maximum of five acceleration regions can be created.

For more information, see AccelerateRegion properties.

AcceleratorId String Yes No The ID of the Global Accelerator (GA) instance. None

AccelerateRegion syntax

"AccelerateRegion": [
  {
    "Bandwidth": Integer,
    "AccelerateRegionId": String,
    "IpVersion": String
  }
]

AccelerateRegion properties

Property Type Required Editable Description Constraint
Bandwidth Integer Yes Yes The bandwidth that is allocated to the acceleration region. Unit: Mbit/s.

Each acceleration region must be allocated a minimum of 2 Mbit/s bandwidth.

Note The total bandwidth for all acceleration regions cannot exceed the amount that is included in your basic bandwidth plan.
AccelerateRegionId String Yes No The ID of the acceleration region. None
IpVersion String No No The version of the Internet protocol. Valid values:
  • IPv4
  • IPv6

Response parameters

Fn::GetAtt

  • AccelerateRegionIds: the IDs of the acceleration regions.
  • IpSetIds: the configurations of the acceleration regions.
  • IpVersions: the IP versions of the acceleration regions.

Examples

  • YAMLformat

    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: {}
  • JSONformat

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