aws-cdk-lib.aws_ec2.CfnNetworkInsightsAnalysis.TransitGatewayRouteTableRouteProperty

interface TransitGatewayRouteTableRouteProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnNetworkInsightsAnalysis.TransitGatewayRouteTableRouteProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnNetworkInsightsAnalysis_TransitGatewayRouteTableRouteProperty
Javasoftware.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis.TransitGatewayRouteTableRouteProperty
Pythonaws_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

NameTypeDescription
attachmentId?stringThe ID of the route attachment.
destinationCidr?stringThe CIDR block used for destination matches.
prefixListId?stringThe ID of the prefix list.
resourceId?stringThe ID of the resource for the route attachment.
resourceType?stringThe resource type for the route attachment.
routeOrigin?stringThe route origin. The following are the possible values:.
state?stringThe 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.