aws-cdk-lib.aws_ec2.CfnNetworkInsightsAnalysis.AnalysisRouteTableRouteProperty

interface AnalysisRouteTableRouteProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnNetworkInsightsAnalysis.AnalysisRouteTableRouteProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnNetworkInsightsAnalysis_AnalysisRouteTableRouteProperty
Javasoftware.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis.AnalysisRouteTableRouteProperty
Pythonaws_cdk.aws_ec2.CfnNetworkInsightsAnalysis.AnalysisRouteTableRouteProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnNetworkInsightsAnalysis » AnalysisRouteTableRouteProperty

Describes a route table route.

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 analysisRouteTableRouteProperty: ec2.CfnNetworkInsightsAnalysis.AnalysisRouteTableRouteProperty = {
  destinationCidr: 'destinationCidr',
  destinationPrefixListId: 'destinationPrefixListId',
  egressOnlyInternetGatewayId: 'egressOnlyInternetGatewayId',
  gatewayId: 'gatewayId',
  instanceId: 'instanceId',
  natGatewayId: 'natGatewayId',
  networkInterfaceId: 'networkInterfaceId',
  origin: 'origin',
  state: 'state',
  transitGatewayId: 'transitGatewayId',
  vpcPeeringConnectionId: 'vpcPeeringConnectionId',
};

Properties

NameTypeDescription
destinationCidr?stringThe destination IPv4 address, in CIDR notation.
destinationPrefixListId?stringThe prefix of the AWS service .
egressOnlyInternetGatewayId?stringThe ID of an egress-only internet gateway.
gatewayId?stringThe ID of the gateway, such as an internet gateway or virtual private gateway.
instanceId?stringThe ID of the instance, such as a NAT instance.
natGatewayId?stringThe ID of a NAT gateway.
networkInterfaceId?stringThe ID of a network interface.
origin?stringDescribes how the route was created. The following are the possible values:.
state?stringThe state. The following are the possible values:.
transitGatewayId?stringThe ID of a transit gateway.
vpcPeeringConnectionId?stringThe ID of a VPC peering connection.

destinationCidr?

Type: string (optional)

The destination IPv4 address, in CIDR notation.


destinationPrefixListId?

Type: string (optional)

The prefix of the AWS service .


egressOnlyInternetGatewayId?

Type: string (optional)

The ID of an egress-only internet gateway.


gatewayId?

Type: string (optional)

The ID of the gateway, such as an internet gateway or virtual private gateway.


instanceId?

Type: string (optional)

The ID of the instance, such as a NAT instance.


natGatewayId?

Type: string (optional)

The ID of a NAT gateway.


networkInterfaceId?

Type: string (optional)

The ID of a network interface.


origin?

Type: string (optional)

Describes how the route was created. The following are the possible values:.

  • CreateRouteTable - The route was automatically created when the route table was created.
  • CreateRoute - The route was manually added to the route table.
  • EnableVgwRoutePropagation - The route was propagated by route propagation.

state?

Type: string (optional)

The state. The following are the possible values:.

  • active
  • blackhole

transitGatewayId?

Type: string (optional)

The ID of a transit gateway.


vpcPeeringConnectionId?

Type: string (optional)

The ID of a VPC peering connection.