Class CfnTransitGatewayRouteProps
Properties for defining a CfnTransitGatewayRoute.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayRouteProps : ICfnTransitGatewayRouteProps
Syntax (vb)
Public Class CfnTransitGatewayRouteProps Implements ICfnTransitGatewayRouteProps
Remarks
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;
var cfnTransitGatewayRouteProps = new CfnTransitGatewayRouteProps {
DestinationCidrBlock = "destinationCidrBlock",
TransitGatewayRouteTableId = "transitGatewayRouteTableId",
// the properties below are optional
Blackhole = false,
TransitGatewayAttachmentId = "transitGatewayAttachmentId"
};
Synopsis
Constructors
| CfnTransitGatewayRouteProps() | Properties for defining a |
Properties
| Blackhole | Indicates whether to drop traffic that matches this route. |
| DestinationCidrBlock | The CIDR block used for destination matches. |
| TransitGatewayAttachmentId | The ID of the attachment. |
| TransitGatewayRouteTableId | The ID of the transit gateway route table. |
Constructors
CfnTransitGatewayRouteProps()
Properties for defining a CfnTransitGatewayRoute.
public CfnTransitGatewayRouteProps()
Remarks
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;
var cfnTransitGatewayRouteProps = new CfnTransitGatewayRouteProps {
DestinationCidrBlock = "destinationCidrBlock",
TransitGatewayRouteTableId = "transitGatewayRouteTableId",
// the properties below are optional
Blackhole = false,
TransitGatewayAttachmentId = "transitGatewayAttachmentId"
};
Properties
Blackhole
Indicates whether to drop traffic that matches this route.
public object? Blackhole { get; set; }
Property Value
Remarks
DestinationCidrBlock
The CIDR block used for destination matches.
public string DestinationCidrBlock { get; set; }
Property Value
Remarks
TransitGatewayAttachmentId
The ID of the attachment.
public object? TransitGatewayAttachmentId { get; set; }
Property Value
Remarks
TransitGatewayRouteTableId
The ID of the transit gateway route table.
public object TransitGatewayRouteTableId { get; set; }