Skip to content
v2.274.0

Experimental

@aws-cdk/aws-ec2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

TransitGatewayBlackholeRouteProps Struct ​

Properties for a Transit Gateway Blackhole Route.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2_alpha from '@aws-cdk/aws-ec2-alpha';

declare const transitGatewayRouteTable: ec2_alpha.TransitGatewayRouteTable;
const transitGatewayBlackholeRouteProps: ec2_alpha.TransitGatewayBlackholeRouteProps = {
  destinationCidrBlock: 'destinationCidrBlock',
  transitGatewayRouteTable: transitGatewayRouteTable,

  // the properties below are optional
  transitGatewayRouteName: 'transitGatewayRouteName',
};

Properties ​

destinationCidrBlockstringdestination_cidr_blockstrdestinationCidrBlockStringDestinationCidrBlockstringDestinationCidrBlock*stringrequired#
The destination CIDR block for this route.

Destination Cidr cannot overlap for static routes but is allowed for propagated routes. When overlapping occurs, static routes take precedence over propagated routes.

transitGatewayRouteNamestringtransit_gateway_route_namestrtransitGatewayRouteNameStringTransitGatewayRouteNamestringTransitGatewayRouteName*string#
Physical name of this Transit Gateway Route.

Default: Assigned by CloudFormation.

transitGatewayRouteTableITransitGatewayRouteTabletransit_gateway_route_tableITransitGatewayRouteTabletransitGatewayRouteTableITransitGatewayRouteTableTransitGatewayRouteTableITransitGatewayRouteTableTransitGatewayRouteTableITransitGatewayRouteTablerequired#
The transit gateway route table you want to install this route into.