Class TransitGatewayBlackholeRoute
(experimental) Create a Transit Gateway Blackhole Route.
Inherited Members
Namespace: Amazon.CDK.AWS.ec2.Alpha
Assembly: Amazon.CDK.AWS.ec2.Alpha.dll
Syntax (csharp)
public class TransitGatewayBlackholeRoute : Resource, ITransitGatewayRoute, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class TransitGatewayBlackholeRoute Inherits Resource Implements ITransitGatewayRoute, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks
Stability: Experimental
Resource: AWS::EC2::TransitGatewayRoute
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ec2.Alpha;
TransitGatewayRouteTable transitGatewayRouteTable;
var transitGatewayBlackholeRoute = new TransitGatewayBlackholeRoute(this, "MyTransitGatewayBlackholeRoute", new TransitGatewayBlackholeRouteProps {
DestinationCidrBlock = "destinationCidrBlock",
TransitGatewayRouteTable = transitGatewayRouteTable,
// the properties below are optional
TransitGatewayRouteName = "transitGatewayRouteName"
});
Synopsis
Constructors
| TransitGatewayBlackholeRoute(Construct, string, ITransitGatewayBlackholeRouteProps) | (experimental) Create a Transit Gateway Blackhole Route. |
Properties
| DestinationCidrBlock | (experimental) The destination CIDR block for this route. |
| PROPERTY_INJECTION_ID | (experimental) Uniquely identifies this class. |
| RouteTable | (experimental) The transit gateway route table this route belongs to. |
Constructors
TransitGatewayBlackholeRoute(Construct, string, ITransitGatewayBlackholeRouteProps)
(experimental) Create a Transit Gateway Blackhole Route.
public TransitGatewayBlackholeRoute(Construct scope, string id, ITransitGatewayBlackholeRouteProps props)
Parameters
- scope Construct
- id string
- props ITransitGatewayBlackholeRouteProps
Remarks
Stability: Experimental
Properties
DestinationCidrBlock
(experimental) The destination CIDR block for this route.
public virtual string DestinationCidrBlock { get; }
Property Value
Remarks
Destination Cidr cannot overlap for static routes but is allowed for propagated routes. When overlapping occurs, static routes take precedence over propagated routes.
Stability: Experimental
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Stability: Experimental
RouteTable
(experimental) The transit gateway route table this route belongs to.
public virtual ITransitGatewayRouteTable RouteTable { get; }
Property Value
Remarks
Stability: Experimental