ALIYUN::GA::Accelerator is used to create a Global Accelerator (GA) instance.
Syntax
{
"Type": "ALIYUN::GA::Accelerator",
"Properties": {
"AcceleratorName": String,
"AutoUseCoupon": String,
"PricingCycle": String,
"Duration": String,
"AutoPay": Boolean,
"Spec": String,
"BandwidthBillingType": String,
"InstanceChargeType": String,
"ResourceGroupId": String,
"IpSetConfig": Map,
"EnableCrossBorder": Boolean
}
}Properties
Property | Type | Required | Editable | Description | Constraint |
AcceleratorName | String | No | No | The name of the GA instance. | None. |
AutoUseCoupon | String | No | No | Specifies whether to use coupons. | Valid values:
|
PricingCycle | String | No | No | The unit of the billing cycle. | Valid values:
|
Duration | String | No | No | The billing cycle. | Valid values:
|
AutoPay | Boolean | No | No | Specifies whether to enable automatic payment. | Valid values:
|
Spec | String | No | No | The specification of the GA instance. | Valid values:
|
BandwidthBillingType | String | No | No | The metering method for the bandwidth. | Valid values:
|
InstanceChargeType | String | No | No | The billing method. | Valid values:
Default value: PREPAY. |
ResourceGroupId | String | No | No | The ID of the resource group to which the standard GA instance belongs. | None. |
IpSetConfig | Map | No | No | The configurations of the acceleration area. | For more information, see IpSetConfig property. |
EnableCrossBorder | Boolean | No | No | Specifies whether to enable the cross-border mode. | Valid values:
|
IpSetConfig syntax
"IpSetConfig": {
"AccessMode": String
}IpSetConfig property
Property | Type | Required | Editable | Description | Constraint |
AccessMode | String | No | No | The access mode of the acceleration area. | Valid values:
|
Return values
Fn::GetAtt
AcceleratorName: the name of the GA instance.
AutoUseCoupon: indicates whether coupons are used.
PricingCycle: the unit of the billing cycle.
PaymentType: the billing method.
Duration: the billing cycle.
AutoPay: indicates whether automatic payment is enabled.
OrderId: the ID of the order.
Spec: the specification of the GA instance.
AcceleratorId: the ID of the GA instance.
DnsName: the canonical name (CNAME) assigned to the GA instance.
Examples
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
GaAccelerator:
Type: ALIYUN::GA::Accelerator
Properties:
AcceleratorName: GATest
AutoUseCoupon: 'True'
PricingCycle: Month
Duration: 3
AutoPay: 'True'
Spec: 1
Outputs: {}{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
},
"Resources": {
"GaAccelerator": {
"Type": "ALIYUN::GA::Accelerator",
"Properties": {
"AcceleratorName": "GATest",
"AutoUseCoupon": "True",
"PricingCycle": "Month",
"Duration": 3,
"AutoPay": "True",
"Spec": 1
}
}
},
"Outputs": {
}
}