Class CfnTransitGatewayRouteTable
Specifies a route table for a transit gateway.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayRouteTable : CfnResource, IInspectable, ITransitGatewayRouteTableRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnTransitGatewayRouteTable Inherits CfnResource Implements IInspectable, ITransitGatewayRouteTableRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
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 cfnTransitGatewayRouteTable = new CfnTransitGatewayRouteTable(this, "MyCfnTransitGatewayRouteTable", new CfnTransitGatewayRouteTableProps {
TransitGatewayId = "transitGatewayId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
| CfnTransitGatewayRouteTable(Construct, string, ICfnTransitGatewayRouteTableProps) | Create a new |
Properties
| AttrTransitGatewayRouteTableId | The ID of the transit gateway route table. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Specifies a route table for a transit gateway. |
| Tags | Tag Manager which manages the tags for this resource. |
| TagsRaw | Any tags assigned to the route table. |
| TransitGatewayId | The ID of the transit gateway. |
| TransitGatewayRouteTableRef | A reference to a TransitGatewayRouteTable resource. |
Methods
| ArnForTransitGatewayRouteTable(ITransitGatewayRouteTableRef) | Specifies a route table for a transit gateway. |
| FromTransitGatewayRouteTableId(Construct, string, string) | Creates a new ITransitGatewayRouteTableRef from a transitGatewayRouteTableId. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnTransitGatewayRouteTable(object) | Checks whether the given object is a CfnTransitGatewayRouteTable. |
| RenderProperties(IDictionary<string, object>) | Specifies a route table for a transit gateway. |
Constructors
CfnTransitGatewayRouteTable(Construct, string, ICfnTransitGatewayRouteTableProps)
Create a new AWS::EC2::TransitGatewayRouteTable.
public CfnTransitGatewayRouteTable(Construct scope, string id, ICfnTransitGatewayRouteTableProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnTransitGatewayRouteTableProps
Resource properties.
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
ExampleMetadata: fixture=_generated
Properties
AttrTransitGatewayRouteTableId
The ID of the transit gateway route table.
public virtual string AttrTransitGatewayRouteTableId { get; }
Property Value
Remarks
CloudformationAttribute: TransitGatewayRouteTableId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
ExampleMetadata: fixture=_generated
CfnProperties
Specifies a route table for a transit gateway.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
ExampleMetadata: fixture=_generated
TagsRaw
Any tags assigned to the route table.
public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value
ICfnTag[]
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
ExampleMetadata: fixture=_generated
TransitGatewayId
The ID of the transit gateway.
public virtual string TransitGatewayId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
ExampleMetadata: fixture=_generated
TransitGatewayRouteTableRef
A reference to a TransitGatewayRouteTable resource.
public virtual ITransitGatewayRouteTableReference TransitGatewayRouteTableRef { get; }
Property Value
ITransitGatewayRouteTableReference
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
ExampleMetadata: fixture=_generated
Methods
ArnForTransitGatewayRouteTable(ITransitGatewayRouteTableRef)
Specifies a route table for a transit gateway.
public static string ArnForTransitGatewayRouteTable(ITransitGatewayRouteTableRef resource)
Parameters
- resource ITransitGatewayRouteTableRef
Returns
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
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 cfnTransitGatewayRouteTable = new CfnTransitGatewayRouteTable(this, "MyCfnTransitGatewayRouteTable", new CfnTransitGatewayRouteTableProps {
TransitGatewayId = "transitGatewayId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
FromTransitGatewayRouteTableId(Construct, string, string)
Creates a new ITransitGatewayRouteTableRef from a transitGatewayRouteTableId.
public static ITransitGatewayRouteTableRef FromTransitGatewayRouteTableId(Construct scope, string id, string transitGatewayRouteTableId)
Parameters
Returns
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
ExampleMetadata: fixture=_generated
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
ExampleMetadata: fixture=_generated
IsCfnTransitGatewayRouteTable(object)
Checks whether the given object is a CfnTransitGatewayRouteTable.
public static bool IsCfnTransitGatewayRouteTable(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Specifies a route table for a transit gateway.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::EC2::TransitGatewayRouteTable
ExampleMetadata: fixture=_generated