ALIYUN::GA::BasicEndpoint は、ベーシック Global Accelerator (GA) インスタンスのエンドポイントを作成するために使用されます。
構文
{
"Type": "ALIYUN::GA::BasicEndpoint",
"Properties": {
"AcceleratorId": String,
"EndpointGroupId": String,
"EndpointAddress": String,
"EndpointZoneId": String,
"EndpointType": String,
"EndpointSubAddressType": String,
"EndpointSubAddress": String,
"Name": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
AcceleratorId | String | はい | いいえ | ベーシック GA インスタンスの ID。 | なし。 |
EndpointGroupId | String | はい | いいえ | ベーシック GA インスタンスのエンドポイントグループ ID。 | なし。 |
EndpointAddress | String | はい | いいえ | エンドポイントのアドレス。 | なし。 |
EndpointZoneId | String | いいえ | いいえ | エンドポイントのゾーン ID。 | なし。 |
EndpointType | String | いいえ | いいえ | エンドポイントタイプ。 | 有効な値:
|
EndpointSubAddressType | String | いいえ | いいえ | エンドポイントのセカンダリアドレスタイプ。 | 有効な値:
EndpointType が ECS、ENI、または NLB に設定されている場合は、このプロパティを指定する必要があります。 EndpointType を NLB に設定する場合は、EndpointSubAddressType を primary に設定する必要があります。 |
EndpointSubAddress | String | いいえ | いいえ | エンドポイントのセカンダリアドレス。 | EndpointType が ECS、ENI、または NLB に設定されている場合は、このプロパティを指定する必要があります。
|
Name | String | いいえ | いいえ | ベーシック GA インスタンスに作成するエンドポイントの名前。 | 名前は 1 ~ 128 文字で、文字、数字、ピリオド(.)、アンダースコア(_)、ハイフン(-) を使用できます。文字で始める必要があります。 |
戻り値
Fn::GetAtt
EndpointId: ベーシック GA インスタンスのエンドポイント ID。
例
EndpointGroupId、AcceleratorId、EndpointAddress などのプロパティのマスクされた値は、ビジネス要件に基づいて変更する必要があります。
YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
ExtensionResource:
Type: ALIYUN::GA::BasicEndpoint
Properties:
EndpointGroupId: epg-bp1dmlohjjz4kqaun****
EndpointType: ENI
EndpointSubAddressType: primary
EndpointSubAddress: 192.168.0.8
AcceleratorId: ga-bp17frjjh0udz4qz****
Name: demo_28911
EndpointAddress: eni-bp1a05txelswuj8g****
Outputs:
EndpointId:
Description: エンドポイントの ID。
Value:
Fn::GetAtt:
- ExtensionResource
- EndpointId
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::GA::BasicEndpoint",
"Properties": {
"EndpointGroupId": "epg-bp1dmlohjjz4kqaun****",
"EndpointType": "ENI",
"EndpointSubAddressType": "primary",
"EndpointSubAddress": "192.168.0.8",
"AcceleratorId": "ga-bp17frjjh0udz4qz****",
"Name": "demo_28911",
"EndpointAddress": "eni-bp1a05txelswuj8g****"
}
}
},
"Outputs": {
"EndpointId": {
"Description": "エンドポイントの ID。",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"EndpointId"
]
}
}
}
}