CfnTransitGatewayRouteMixinProps
- class aws_cdk.mixins_preview.aws_ec2.mixins.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 (
Optional[str]) – The ID of the attachment.transit_gateway_route_table_id (
Optional[str]) – 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.mixins_preview.aws_ec2 import mixins as ec2_mixins cfn_transit_gateway_route_mixin_props = ec2_mixins.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.