interface CfnTransitGatewayRouteMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnTransitGatewayRouteMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnTransitGatewayRouteMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayRouteMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnTransitGatewayRouteMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnTransitGatewayRouteMixinProps |
Properties for CfnTransitGatewayRoutePropsMixin.
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/cfn-property-mixins';
const cfnTransitGatewayRouteMixinProps: ec2.CfnTransitGatewayRouteMixinProps = {
blackhole: false,
destinationCidrBlock: 'destinationCidrBlock',
transitGatewayAttachmentId: 'transitGatewayAttachmentId',
transitGatewayRouteTableId: 'transitGatewayRouteTableId',
};
Properties
| Name | Type | Description |
|---|---|---|
| blackhole? | boolean | IResolvable | Indicates whether to drop traffic that matches this route. |
| destination | string | The CIDR block used for destination matches. |
| transit | string | ITransit | ITransit | The ID of the attachment. |
| transit | string | ITransit | The ID of the transit gateway route table. |
blackhole?
Type:
boolean | IResolvable
(optional)
Indicates whether to drop traffic that matches this route.
destinationCidrBlock?
Type:
string
(optional)
The CIDR block used for destination matches.
transitGatewayAttachmentId?
Type:
string | ITransit | ITransit
(optional)
The ID of the attachment.
transitGatewayRouteTableId?
Type:
string | ITransit
(optional)
The ID of the transit gateway route table.

.NET
Go
Java
Python
TypeScript