Interface CfnLocalGatewayRouteProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocalGatewayRouteProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:49.603Z")
@Stability(Stable)
public interface CfnLocalGatewayRouteProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLocalGatewayRoute.
Example:
// 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.*;
CfnLocalGatewayRouteProps cfnLocalGatewayRouteProps = CfnLocalGatewayRouteProps.builder()
.destinationCidrBlock("destinationCidrBlock")
.localGatewayRouteTableId("localGatewayRouteTableId")
// the properties below are optional
.localGatewayVirtualInterfaceGroupId("localGatewayVirtualInterfaceGroupId")
.networkInterfaceId("networkInterfaceId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLocalGatewayRoutePropsstatic final classAn implementation forCfnLocalGatewayRouteProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinationCidrBlock
The CIDR block used for destination matches.- See Also:
-
getLocalGatewayRouteTableId
The ID of the local gateway route table.- See Also:
-
getLocalGatewayVirtualInterfaceGroupId
The ID of the virtual interface group.- See Also:
-
getNetworkInterfaceId
The ID of the network interface.- See Also:
-
builder
- Returns:
- a
CfnLocalGatewayRouteProps.BuilderofCfnLocalGatewayRouteProps
-