CfnTransitGatewayRouteMixinProps
- class aws_cdk.cfn_property_mixins.aws_ec2.CfnTransitGatewayRouteMixinProps(*, blackhole=None, destination_cidr_block=None, transit_gateway_attachment_id=None, transit_gateway_route_table_id=None)
Bases:
objectProperties for CfnTransitGatewayRoutePropsMixin.
- Parameters:
blackhole (
Union[bool,IResolvable,None]) – Indicates whether to drop traffic that matches this route.destination_cidr_block (
Optional[str]) – The CIDR block used for destination matches.transit_gateway_attachment_id (
Union[str,ITransitGatewayAttachmentRef,ITransitGatewayPeeringAttachmentRef,None]) – The ID of the attachment.transit_gateway_route_table_id (
Union[str,ITransitGatewayRouteTableRef,None]) – The ID of the transit gateway route table.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_ec2 as ec2 cfn_transit_gateway_route_mixin_props = ec2.CfnTransitGatewayRouteMixinProps( blackhole=False, destination_cidr_block="destinationCidrBlock", transit_gateway_attachment_id="transitGatewayAttachmentId", transit_gateway_route_table_id="transitGatewayRouteTableId" )
Attributes
- blackhole
Indicates whether to drop traffic that matches this route.
- destination_cidr_block
The CIDR block used for destination matches.
- transit_gateway_attachment_id
The ID of the attachment.
- transit_gateway_route_table_id
The ID of the transit gateway route table.