Show / Hide Table of Contents

Class CfnTransitGatewayRouteProps

Properties for defining a CfnTransitGatewayRoute.

Inheritance
object
CfnTransitGatewayRouteProps
Implements
ICfnTransitGatewayRouteProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayRouteProps : ICfnTransitGatewayRouteProps
Syntax (vb)
Public Class CfnTransitGatewayRouteProps Implements ICfnTransitGatewayRouteProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroute.html

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 CfnTransitGatewayRoute.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroute.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroute.html#cfn-ec2-transitgatewayroute-blackhole

Type union: either bool or IResolvable

DestinationCidrBlock

The CIDR block used for destination matches.

public string DestinationCidrBlock { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroute.html#cfn-ec2-transitgatewayroute-destinationcidrblock

TransitGatewayAttachmentId

The ID of the attachment.

public object? TransitGatewayAttachmentId { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroute.html#cfn-ec2-transitgatewayroute-transitgatewayattachmentid

Type union: either string or ITransitGatewayAttachmentRef or ITransitGatewayPeeringAttachmentRef

TransitGatewayRouteTableId

The ID of the transit gateway route table.

public object TransitGatewayRouteTableId { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroute.html#cfn-ec2-transitgatewayroute-transitgatewayroutetableid

Type union: either string or ITransitGatewayRouteTableRef

Implements

ICfnTransitGatewayRouteProps
Back to top Generated by DocFX