ALIYUN::CEN::RouteEntryは、接続された仮想プライベートクラウド(VPC)または仮想ボーダールーター(VBR)のルートをクラウドエンタープライズネットワーク(CEN)インスタンスにアドバタイズするために使用されます。
構文
{
"Type": "ALIYUN::CEN::RouteEntry",
"Properties": {
"ChildInstanceRegionId": String,
"CenId": String,
"DestinationCidrBlock": String,
"ChildInstanceRouteTableId": String,
"ChildInstanceType": String,
"ChildInstanceId": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
CenId | String | はい | いいえ | CENインスタンスのID。 | なし |
ChildInstanceId | String | はい | いいえ | 接続されたネットワークインスタンスのID。 | なし |
ChildInstanceRegionId | String | はい | いいえ | 接続されたネットワークインスタンスのリージョンID。 | なし |
ChildInstanceRouteTableId | String | はい | いいえ | 接続されたネットワークインスタンスのルートテーブルのID。 | なし |
ChildInstanceType | String | はい | いいえ | 接続されたネットワークインスタンスのタイプ。 | 有効な値:
|
DestinationCidrBlock | String | はい | いいえ | ルートの宛先CIDRブロック。 | なし |
戻り値
Fn::GetAtt
なし
例
YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Resources:
RouteEntry:
Type: ALIYUN::CEN::RouteEntry
Properties:
ChildInstanceRegionId:
Ref: ChildInstanceRegionId
CenId:
Ref: CenId
DestinationCidrBlock:
Ref: DestinationCidrBlock
ChildInstanceRouteTableId:
Ref: ChildInstanceRouteTableId
ChildInstanceType:
Ref: ChildInstanceType
ChildInstanceId:
Ref: ChildInstanceId
Parameters:
ChildInstanceRegionId:
Type: String
Description: 接続されている VBR または VPC が配置されているリージョンの ID。
CenId:
Type: String
Description: ルートエントリがパブリッシュされる CEN インスタンスの ID。
DestinationCidrBlock:
Type: String
Description: パブリッシュするルートエントリの宛先 CIDR ブロック。
ChildInstanceRouteTableId:
Type: String
Description: 接続されている VBR または VPC のルートテーブル。
ChildInstanceType:
Type: String
Description: 'ネットワークのタイプ、値: VPC VBR'
AllowedValues:
- VPC
- VBR
ChildInstanceId:
Type: String
Description: 接続されているネットワーク (VPC または VBR) の ID。
Outputs: {}
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"RouteEntry": {
"Type": "ALIYUN::CEN::RouteEntry",
"Properties": {
"ChildInstanceRegionId": {
"Ref": "ChildInstanceRegionId"
},
"CenId": {
"Ref": "CenId"
},
"DestinationCidrBlock": {
"Ref": "DestinationCidrBlock"
},
"ChildInstanceRouteTableId": {
"Ref": "ChildInstanceRouteTableId"
},
"ChildInstanceType": {
"Ref": "ChildInstanceType"
},
"ChildInstanceId": {
"Ref": "ChildInstanceId"
}
}
}
},
"Parameters": {
"ChildInstanceRegionId": {
"Type": "String",
"Description": "接続されている VBR または VPC が配置されているリージョンの ID。" // The ID of the region where the attached VBR or VPC is located.
},
"CenId": {
"Type": "String",
"Description": "ルートエントリがパブリッシュされる CEN インスタンスの ID。" // The ID of the CEN instance where the route entry is published.
},
"DestinationCidrBlock": {
"Type": "String",
"Description": "パブリッシュするルートエントリの宛先 CIDR ブロック。" // The destination CIDR block of the route entry to publish.
},
"ChildInstanceRouteTableId": {
"Type": "String",
"Description": "接続されている VBR または VPC のルートテーブル。" // The route table of the attached VBR or VPC.
},
"ChildInstanceType": {
"Type": "String",
"Description": "ネットワークのタイプ、値: VPC VBR", // The type of the network, value: VPC VBR
"AllowedValues": [
"VPC",
"VBR"
]
},
"ChildInstanceId": {
"Type": "String",
"Description": "接続されているネットワーク (VPC または VBR) の ID。" // The ID of the attached network (VPC or VBR).
}
},
"Outputs": {}
}