Show / Hide Table of Contents

Class TransitGatewayRoute

(experimental) Create a Transit Gateway Active Route.

Inheritance
object
Resource
TransitGatewayRoute
Implements
ITransitGatewayRoute
IResource
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.ec2.Alpha
Assembly: Amazon.CDK.AWS.ec2.Alpha.dll
Syntax (csharp)
public class TransitGatewayRoute : Resource, ITransitGatewayRoute, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class TransitGatewayRoute 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;

             ITransitGatewayAttachment transitGatewayAttachment;
             TransitGatewayRouteTable transitGatewayRouteTable;

             var transitGatewayRoute = new TransitGatewayRoute(this, "MyTransitGatewayRoute", new TransitGatewayRouteProps {
                 DestinationCidrBlock = "destinationCidrBlock",
                 TransitGatewayAttachment = transitGatewayAttachment,
                 TransitGatewayRouteTable = transitGatewayRouteTable,

                 // the properties below are optional
                 TransitGatewayRouteName = "transitGatewayRouteName"
             });

Synopsis

Constructors

TransitGatewayRoute(Construct, string, ITransitGatewayRouteProps)

(experimental) Create a Transit Gateway Active Route.

Properties

DestinationCidrBlock

(experimental) The destination CIDR block for this route.

PROPERTY_INJECTION_ID

(experimental) Uniquely identifies this class.

Resource

(experimental) The AWS CloudFormation resource representing the Transit Gateway Route.

RouteTable

(experimental) The transit gateway route table this route belongs to.

Constructors

TransitGatewayRoute(Construct, string, ITransitGatewayRouteProps)

(experimental) Create a Transit Gateway Active Route.

public TransitGatewayRoute(Construct scope, string id, ITransitGatewayRouteProps props)
Parameters
scope Construct
id string
props ITransitGatewayRouteProps
Remarks

Stability: Experimental

Properties

DestinationCidrBlock

(experimental) The destination CIDR block for this route.

public virtual string DestinationCidrBlock { get; }
Property Value

string

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

string

Remarks

Stability: Experimental

Resource

(experimental) The AWS CloudFormation resource representing the Transit Gateway Route.

public virtual CfnTransitGatewayRoute Resource { get; }
Property Value

CfnTransitGatewayRoute

Remarks

Stability: Experimental

RouteTable

(experimental) The transit gateway route table this route belongs to.

public virtual ITransitGatewayRouteTable RouteTable { get; }
Property Value

ITransitGatewayRouteTable

Remarks

Stability: Experimental

Implements

ITransitGatewayRoute
IResource
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX