ALIYUN::PrivateLink::VpcEndpointServiceAttachment は、エンドポイントサービスにサービスリソースを追加するために使用されます。
構文
{
"Type": "ALIYUN::PrivateLink::VpcEndpointServiceAttachment",
"Properties": {
"ResourceId": String,
"ResourceType": String,
"ServiceId": String,
"ZoneId": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
ResourceId | String | はい | いいえ | サービスリソースの ID。 | なし。 |
ResourceType | String | はい | いいえ | サービスリソースのタイプ。 | 有効な値:
|
ServiceId | String | はい | いいえ | サービスリソースを追加するエンドポイントサービスの ID。 | なし。 |
ZoneId | String | いいえ | いいえ | サービスリソースが存在するゾーンの ID。 | なし。 |
戻り値
Fn::GetAtt
ResourceId: サービスリソースの ID。
ServiceId: エンドポイントに関連付けられているエンドポイントサービスの ID。
ResourceType: サービスリソースのタイプ。
例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ResourceId:
Description: 'リソース ID。' # translated comment
Type: String
ResourceType:
Description: 'リソースタイプ。' # translated comment
Type: String
ServiceId:
Description: 'エンドポイントに関連付けられているエンドポイントサービス。' # translated comment
Type: String
Resources:
VpcEndpointServiceAttachment:
Properties:
ResourceId:
Ref: ResourceId
ResourceType:
Ref: ResourceType
ServiceId:
Ref: ServiceId
Type: ALIYUN::PrivateLink::VpcEndpointServiceAttachment
Outputs:
ResourceId:
Description: 'リソース ID。' # translated comment
Value:
Fn::GetAtt:
- VpcEndpointServiceAttachment
- ResourceId
ResourceType:
Description: 'リソースタイプ。' # translated comment
Value:
Fn::GetAtt:
- VpcEndpointServiceAttachment
- ResourceType
ServiceId:
Description: 'エンドポイントに関連付けられているエンドポイントサービス。' # translated comment
Value:
Fn::GetAtt:
- VpcEndpointServiceAttachment
- ServiceId{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ResourceId": {
"Type": "String",
"Description": "リソース ID。" // translated comment
},
"ResourceType": {
"Type": "String",
"Description": "リソースタイプ。" // translated comment
},
"ServiceId": {
"Type": "String",
"Description": "エンドポイントに関連付けられているエンドポイントサービス。" // translated comment
}
},
"Resources": {
"VpcEndpointServiceAttachment": {
"Type": "ALIYUN::PrivateLink::VpcEndpointServiceAttachment",
"Properties": {
"ResourceId": {
"Ref": "ResourceId"
},
"ResourceType": {
"Ref": "ResourceType"
},
"ServiceId": {
"Ref": "ServiceId"
}
}
}
},
"Outputs": {
"ResourceId": {
"Description": "リソース ID。", // translated comment
"Value": {
"Fn::GetAtt": [
"VpcEndpointServiceAttachment",
"ResourceId"
]
}
},
"ResourceType": {
"Description": "リソースタイプ。", // translated comment
"Value": {
"Fn::GetAtt": [
"VpcEndpointServiceAttachment",
"ResourceType"
]
}
},
"ServiceId": {
"Description": "エンドポイントに関連付けられているエンドポイントサービス。", // translated comment
"Value": {
"Fn::GetAtt": [
"VpcEndpointServiceAttachment",
"ServiceId"
]
}
}
}
}