interface TransitGatewayRouteTableRouteProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.EC2.CfnNetworkInsightsAnalysis.TransitGatewayRouteTableRouteProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnNetworkInsightsAnalysis_TransitGatewayRouteTableRouteProperty | 
|  Java | software.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis.TransitGatewayRouteTableRouteProperty | 
|  Python | aws_cdk.aws_ec2.CfnNetworkInsightsAnalysis.TransitGatewayRouteTableRouteProperty | 
|  TypeScript | aws-cdk-lib»aws_ec2»CfnNetworkInsightsAnalysis»TransitGatewayRouteTableRouteProperty | 
Describes a route in a transit gateway route table.
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 transitGatewayRouteTableRouteProperty: ec2.CfnNetworkInsightsAnalysis.TransitGatewayRouteTableRouteProperty = {
  attachmentId: 'attachmentId',
  destinationCidr: 'destinationCidr',
  prefixListId: 'prefixListId',
  resourceId: 'resourceId',
  resourceType: 'resourceType',
  routeOrigin: 'routeOrigin',
  state: 'state',
};
Properties
| Name | Type | Description | 
|---|---|---|
| attachment | string | The ID of the route attachment. | 
| destination | string | The CIDR block used for destination matches. | 
| prefix | string | The ID of the prefix list. | 
| resource | string | The ID of the resource for the route attachment. | 
| resource | string | The resource type for the route attachment. | 
| route | string | The route origin. The following are the possible values:. | 
| state? | string | The state of the route. | 
attachmentId?
Type:
string
(optional)
The ID of the route attachment.
destinationCidr?
Type:
string
(optional)
The CIDR block used for destination matches.
prefixListId?
Type:
string
(optional)
The ID of the prefix list.
resourceId?
Type:
string
(optional)
The ID of the resource for the route attachment.
resourceType?
Type:
string
(optional)
The resource type for the route attachment.
routeOrigin?
Type:
string
(optional)
The route origin. The following are the possible values:.
- static
- propagated
state?
Type:
string
(optional)
The state of the route.
