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