interface AnalysisRouteTableRouteProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnNetworkInsightsAnalysis.AnalysisRouteTableRouteProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnNetworkInsightsAnalysis_AnalysisRouteTableRouteProperty |
Java | software.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis.AnalysisRouteTableRouteProperty |
Python | aws_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
| Name | Type | Description |
|---|---|---|
| destination | string | The destination IPv4 address, in CIDR notation. |
| destination | string | The prefix of the AWS service. |
| egress | string | The ID of an egress-only internet gateway. |
| gateway | string | The ID of the gateway, such as an internet gateway or virtual private gateway. |
| instance | string | The ID of the instance, such as a NAT instance. |
| nat | string | The ID of a NAT gateway. |
| network | string | The ID of a network interface. |
| origin? | string | Describes how the route was created. The following are the possible values:. |
| state? | string | The state. The following are the possible values:. |
| transit | string | The ID of a transit gateway. |
| vpc | string | The 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.

.NET
Go
Java
Python
TypeScript