ALIYUN::ComputeNest::IntranetConnectorEndpoint は、エンドポイントを作成するために使用されます。
構文
{
"Type": "ALIYUN::ComputeNest::IntranetConnectorEndpoint",
"Properties": {
"EnablePrivateZone": Boolean,
"Type": String,
"EndpointRegionId": String,
"Description": String,
"VpcId": String,
"ResourceIds": List,
"Name": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
EndpointRegionId | String | はい | いいえ | エンドポイントのリージョン。 | なし。 |
VpcId | String | はい | いいえ | エンドポイントの仮想プライベートクラウド (VPC)。 | なし。 |
Description | String | いいえ | いいえ | エンドポイントの説明。 | 説明は最大 500 文字まで入力できます。 |
EnablePrivateZone | Boolean | いいえ | いいえ | プライベートゾーン機能を有効にするかどうかを指定します。 | なし。 |
Name | String | いいえ | いいえ | エンドポイント名。 | なし。 |
ResourceIds | List | いいえ | いいえ | エンドポイントに関連付けるインスタンスの ID。 | Elastic Compute Service (ECS) インスタンスをエンドポイントに関連付ける場合は、このプロパティを ECS インスタンスの ID に設定する必要があります。最大 2 つのインスタンスを指定できます。インスタンスは、指定された VPC 内に存在する必要があります。 |
Type | String | いいえ | いいえ | エンドポイントタイプ。 | 有効な値:
|
戻り値
Fn::GetAtt
EndpointId: エンドポイント ID。
例
YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Type:
Type: String
Description:
ja: |-
エンドポイントのタイプ。
- Private (デフォルト): プライベートアクセスポイント
- Managed: マネージドアクセスポイント。
AllowedValues:
- Private
- Managed
Required: false
EndpointRegionId:
Type: String
Description:
ja: エンドポイントのリージョン ID。
Required: true
VpcId:
AssociationProperty: ALIYUN::ECS::VPC::VPCId
Type: String
Description:
ja: エンドポイントが属する VPC の ID。
Required: true
ResourceIds:
AssociationPropertyMetadata:
Parameter:
Type: String
Required: false
AssociationProperty: List[Parameter]
Type: Json
Description:
ja: |-
エンドポイントインスタンス ID。ECS をアクセスポイントとして使用する場合、この ECS のインスタンス ID を入力します。複数のインスタンスを最大 2 つまで指定できます。インスタンスは、渡された VPC の下に配置する必要があります。
ホステッドアクセスポイントは受信を必要としません。
Required: false
MaxLength: 2
Resources:
IntranetConnectEndpoint:
Type: ALIYUN::ComputeNest::IntranetConnectorEndpoint
Properties:
Type:
Ref: Type
EndpointRegionId:
Ref: EndpointRegionId
VpcId:
Ref: VpcId
ResourceIds:
Ref: ResourceIds
Outputs:
EndpointId:
Description: エンドポイントの ID。
Value:
Fn::GetAtt:
- IntranetConnectEndpoint
- EndpointId
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Type": {
"Type": "String",
"Description": {
"ja": "エンドポイントのタイプ。\n- Private (デフォルト): プライベートアクセスポイント\n- Managed: マネージドアクセスポイント。"
},
"AllowedValues": [
"Private",
"Managed"
],
"Required": false
},
"EndpointRegionId": {
"Type": "String",
"Description": {
"ja": "エンドポイントのリージョン ID。"
},
"Required": true
},
"VpcId": {
"AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
"Type": "String",
"Description": {
"ja": "エンドポイントが属する VPC の ID。"
},
"Required": true
},
"ResourceIds": {
"AssociationPropertyMetadata": {
"Parameter": {
"Type": "String",
"Required": false
}
},
"AssociationProperty": "List[Parameter]",
"Type": "Json",
"Description": {
"ja": "エンドポイントインスタンス ID。ECS をアクセスポイントとして使用する場合、この ECS のインスタンス ID を入力します。複数のインスタンスを最大 2 つまで指定できます。インスタンスは、渡された VPC の下に配置する必要があります。\nホステッドアクセスポイントは受信を必要としません。"
},
"Required": false,
"MaxLength": 2
}
},
"Resources": {
"IntranetConnectEndpoint": {
"Type": "ALIYUN::ComputeNest::IntranetConnectorEndpoint",
"Properties": {
"Type": {
"Ref": "Type"
},
"EndpointRegionId": {
"Ref": "EndpointRegionId"
},
"VpcId": {
"Ref": "VpcId"
},
"ResourceIds": {
"Ref": "ResourceIds"
}
}
}
},
"Outputs": {
"EndpointId": {
"Description": "エンドポイントの ID。",
"Value": {
"Fn::GetAtt": [
"IntranetConnectEndpoint",
"EndpointId"
]
}
}
}
}