BgpOptionsProperty Struct
Describes the BGP options.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmanager as networkmanager } from 'aws-cdk-lib';
const bgpOptionsProperty: networkmanager.CfnConnectPeer.BgpOptionsProperty = {
peerAsn: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkmanager as networkmanager
bgp_options_property = networkmanager.CfnConnectPeer.BgpOptionsProperty(
peer_asn=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkmanager.*;
BgpOptionsProperty bgpOptionsProperty = BgpOptionsProperty.builder()
.peerAsn(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkManager;
var bgpOptionsProperty = new BgpOptionsProperty {
PeerAsn = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
bgpOptionsProperty := &BgpOptionsProperty{
PeerAsn: jsii.Number(123),
}
Properties
peerAsnoptionalnumberpeer_asnoptionalint | floatpeerAsnoptionalNumberPeerAsnoptionaldoublePeerAsnoptional*float64 #The Peer ASN of the BGP.