ALIYUN::VPC::BgpPeer digunakan untuk menambahkan peer Border Gateway Protocol (BGP) ke grup BGP tertentu.
Sintaksis
{
"Type": "ALIYUN::VPC::BgpPeer",
"Properties": {
"PeerIpAddress": String,
"EnableBfd": Boolean,
"BgpGroupId": String
}
}Properti
| Properti | Tipe | Diperlukan | Dapat Diedit | Deskripsi | Kendala |
| PeerIpAddress | String | Tidak | Ya | Alamat IP dari peer BGP. | Tidak ada |
| EnableBfd | Boolean | Tidak | Ya | Menentukan apakah akan mengaktifkan fitur Bidirectional Forwarding Detection (BFD). | Nilai yang valid:
|
| BgpGroupId | String | Ya | Tidak | ID dari grup BGP. | Tidak ada |
Parameter respons
Fn::GetAtt
BgpPeerId: ID dari peer BGP.
Contoh
JSONFormat{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "BgpGroupId": { "Type": "String", "Description": "ID dari grup BGP." } }, "Resources": { "BgpPeer": { "Type": "ALIYUN::VPC::BgpPeer", "Properties": { "PeerIpAddress": "192.168.1.1", "EnableBfd": false, "BgpGroupId": { "Ref": "BgpGroupId" } } } }, "Outputs": { "BgpPeerId": { "Description": "ID dari peer BGP.", "Value": { "Fn::GetAtt": [ "BgpPeer", "BgpPeerId" ] } } } }