Class CfnLocalGatewayRouteProps
Properties for defining a CfnLocalGatewayRoute.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLocalGatewayRouteProps : ICfnLocalGatewayRouteProps
Syntax (vb)
Public Class CfnLocalGatewayRouteProps Implements ICfnLocalGatewayRouteProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 cfnLocalGatewayRouteProps = new CfnLocalGatewayRouteProps {
DestinationCidrBlock = "destinationCidrBlock",
LocalGatewayRouteTableId = "localGatewayRouteTableId",
// the properties below are optional
LocalGatewayVirtualInterfaceGroupId = "localGatewayVirtualInterfaceGroupId",
NetworkInterfaceId = "networkInterfaceId"
};
Synopsis
Constructors
| CfnLocalGatewayRouteProps() | Properties for defining a |
Properties
| DestinationCidrBlock | The CIDR block used for destination matches. |
| LocalGatewayRouteTableId | The ID of the local gateway route table. |
| LocalGatewayVirtualInterfaceGroupId | The ID of the virtual interface group. |
| NetworkInterfaceId | The ID of the network interface. |
Constructors
CfnLocalGatewayRouteProps()
Properties for defining a CfnLocalGatewayRoute.
public CfnLocalGatewayRouteProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 cfnLocalGatewayRouteProps = new CfnLocalGatewayRouteProps {
DestinationCidrBlock = "destinationCidrBlock",
LocalGatewayRouteTableId = "localGatewayRouteTableId",
// the properties below are optional
LocalGatewayVirtualInterfaceGroupId = "localGatewayVirtualInterfaceGroupId",
NetworkInterfaceId = "networkInterfaceId"
};
Properties
DestinationCidrBlock
The CIDR block used for destination matches.
public string DestinationCidrBlock { get; set; }
Property Value
Remarks
LocalGatewayRouteTableId
The ID of the local gateway route table.
public string LocalGatewayRouteTableId { get; set; }
Property Value
Remarks
LocalGatewayVirtualInterfaceGroupId
The ID of the virtual interface group.
public string? LocalGatewayVirtualInterfaceGroupId { get; set; }
Property Value
Remarks
NetworkInterfaceId
The ID of the network interface.
public string? NetworkInterfaceId { get; set; }