ALIYUN::GA::BasicEndpointGroup は、ベーシック Global Accelerator (GA) インスタンスのエンドポイントグループを作成するために使用されます。
構文
{
"Type": "ALIYUN::GA::BasicEndpointGroup",
"Properties": {
"AcceleratorId": String,
"EndpointGroupRegion": String,
"Description": String,
"EndpointType": String,
"EndpointSubAddress": String,
"EndpointAddress": String,
"Name": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
AcceleratorId | String | はい | いいえ | ベーシック GA インスタンスの ID。 | なし。 |
EndpointGroupRegion | String | はい | いいえ | エンドポイントグループのリージョン ID。 | ListAvailableBusiRegions 操作を呼び出して、最新のリージョンリストをクエリできます。 |
Description | String | いいえ | いいえ | エンドポイントグループの説明。 | 説明は最大 200 文字で、 |
EndpointType | String | いいえ | いいえ | エンドポイントタイプ。 | 有効な値:
|
EndpointSubAddress | String | いいえ | いいえ | エンドポイントのセカンダリアドレス。 | 高速化された IP アドレスが ECS インスタンスまたは ENI のセカンダリ プライベート IP アドレスに関連付けられている場合は、このプロパティを指定する必要があります。
|
EndpointAddress | String | いいえ | いいえ | エンドポイントのアドレス。 | なし。 |
Name | String | いいえ | いいえ | エンドポイントグループの名前。 | 名前は 1 ~ 128 文字で、文字、数字、ピリオド(.)、アンダースコア(_)、ハイフン(-) を使用できます。文字で始める必要があります。 |
戻り値
Fn::GetAtt
EndpointGroupId: エンドポイントグループの ID。
例
AcceleratorId や EndpointAddress などのプロパティのマスクされた値は、ビジネス要件に基づいて変更する必要があります。
YAML 形式
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: エンドポイントグループ ID。
Value:
Fn::GetAtt:
- ExtensionResource
- EndpointGroupId
JSON 形式
{
"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": "エンドポイントグループ ID。",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"EndpointGroupId"
]
}
}
}
}