interface LocalGatewayRouteReference
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.LocalGatewayRouteReference |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#LocalGatewayRouteReference |
![]() | software.amazon.awscdk.services.ec2.LocalGatewayRouteReference |
![]() | aws_cdk.aws_ec2.LocalGatewayRouteReference |
![]() | aws-cdk-lib » aws_ec2 » LocalGatewayRouteReference |
A reference to a LocalGatewayRoute resource.
Example
// 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 localGatewayRouteReference: ec2.LocalGatewayRouteReference = {
destinationCidrBlock: 'destinationCidrBlock',
localGatewayRouteTableId: 'localGatewayRouteTableId',
};
Properties
Name | Type | Description |
---|---|---|
destination | string | The DestinationCidrBlock of the LocalGatewayRoute resource. |
local | string | The LocalGatewayRouteTableId of the LocalGatewayRoute resource. |
destinationCidrBlock
Type:
string
The DestinationCidrBlock of the LocalGatewayRoute resource.
localGatewayRouteTableId
Type:
string
The LocalGatewayRouteTableId of the LocalGatewayRoute resource.