ALIYUN::GA::BasicEndpointGroup is used to create an endpoint group for a basic Global Accelerator (GA) instance.
Syntax
{
"Type": "ALIYUN::GA::BasicEndpointGroup",
"Properties": {
"AcceleratorId": String,
"EndpointGroupRegion": String,
"Description": String,
"EndpointType": String,
"EndpointSubAddress": String,
"EndpointAddress": String,
"Name": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
AcceleratorId | String | Yes | No | The ID of the basic GA instance. | None. |
EndpointGroupRegion | String | Yes | No | The region ID of the endpoint group. | You can call the ListAvailableBusiRegions operation to query the most recent region list. |
Description | String | No | No | The description of the endpoint group. | The description can be up to 200 characters in length, and cannot start with |
EndpointType | String | No | No | The endpoint type. | Valid values:
|
EndpointSubAddress | String | No | No | The secondary address of the endpoint. | You must specify this property when the accelerated IP address is associated with the secondary private IP address of an ECS instance or an ENI.
|
EndpointAddress | String | No | No | The address of the endpoint. | None. |
Name | String | No | No | The name of the endpoint group. | The name must be 1 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter. |
Return values
Fn::GetAtt
EndpointGroupId: the ID of the endpoint group.
Examples
You must change the masked values of properties, such as the AcceleratorId and EndpointAddress properties, based on your business requirements.
YAML
format
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
ExtensionResource:
Type: ALIYUN::GA::BasicEndpointGroup
Properties:
EndpointGroupRegion: cn-shanghai
EndpointType: ENI
EndpointSubAddress: 192.168.0.8
AcceleratorId: ga-bp17frjjh0udz4qz****
EndpointAddress: eni-bp1a05txelswuj8g****
Name: test_823
Outputs:
EndpointGroupId:
Description: The endpoint group ID.
Value:
Fn::GetAtt:
- ExtensionResource
- EndpointGroupId
JSON
format
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::GA::BasicEndpointGroup",
"Properties": {
"EndpointGroupRegion": "cn-shanghai",
"EndpointType": "ENI",
"EndpointSubAddress": "192.168.0.8",
"AcceleratorId": "ga-bp17frjjh0udz4qz****",
"EndpointAddress": "eni-bp1a05txelswuj8g****",
"Name": "test_823"
}
}
},
"Outputs": {
"EndpointGroupId": {
"Description": "The endpoint group ID.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"EndpointGroupId"
]
}
}
}
}