CfnLocalGatewayVirtualInterfaceGroupProps Struct
Properties for defining a CfnLocalGatewayVirtualInterfaceGroup.
| 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_ec2 as ec2 } from 'aws-cdk-lib';
const cfnLocalGatewayVirtualInterfaceGroupProps: ec2.CfnLocalGatewayVirtualInterfaceGroupProps = {
localGatewayId: 'localGatewayId',
// the properties below are optional
localBgpAsn: 123,
localBgpAsnExtended: 123,
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2
cfn_local_gateway_virtual_interface_group_props = ec2.CfnLocalGatewayVirtualInterfaceGroupProps(
local_gateway_id="localGatewayId",
# the properties below are optional
local_bgp_asn=123,
local_bgp_asn_extended=123,
tags=[CfnTag(
key="key",
value="value"
)]
)
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.ec2.*;
CfnLocalGatewayVirtualInterfaceGroupProps cfnLocalGatewayVirtualInterfaceGroupProps = CfnLocalGatewayVirtualInterfaceGroupProps.builder()
.localGatewayId("localGatewayId")
// the properties below are optional
.localBgpAsn(123)
.localBgpAsnExtended(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.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.EC2;
var cfnLocalGatewayVirtualInterfaceGroupProps = new CfnLocalGatewayVirtualInterfaceGroupProps {
LocalGatewayId = "localGatewayId",
// the properties below are optional
LocalBgpAsn = 123,
LocalBgpAsnExtended = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
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"
cfnLocalGatewayVirtualInterfaceGroupProps := &CfnLocalGatewayVirtualInterfaceGroupProps{
LocalGatewayId: jsii.String("localGatewayId"),
// the properties below are optional
LocalBgpAsn: jsii.Number(123),
LocalBgpAsnExtended: jsii.Number(123),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
localBgpAsnoptionalnumberlocal_bgp_asnoptionalint | floatlocalBgpAsnoptionalNumberLocalBgpAsnoptionaldoubleLocalBgpAsnoptional*float64 #The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP).
localBgpAsnExtendedoptionalnumberlocal_bgp_asn_extendedoptionalint | floatlocalBgpAsnExtendedoptionalNumberLocalBgpAsnExtendedoptionaldoubleLocalBgpAsnExtendedoptional*float64 #The extended 32-bit ASN for the local BGP configuration.
localGatewayIdstringlocal_gateway_idstrlocalGatewayIdStringLocalGatewayIdstringLocalGatewayId*string required #The ID of the local gateway.