Class CfnTransitGatewayRouteTable
Specifies a route table for a transit gateway.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayRouteTable : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnTransitGatewayRouteTable
Inherits CfnResource
Implements IInspectable, 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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnTransitGatewayRouteTable(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnTransitGatewayRouteTable(Construct, String, ICfnTransitGatewayRouteTableProps) |
Properties
AttrTransitGatewayRouteTableId | The ID of the transit gateway route table. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnTransitGatewayRouteTable(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnTransitGatewayRouteTable(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnTransitGatewayRouteTable(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnTransitGatewayRouteTable(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnTransitGatewayRouteTable(Construct, String, ICfnTransitGatewayRouteTableProps)
public CfnTransitGatewayRouteTable(Construct scope, string id, ICfnTransitGatewayRouteTableProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnTransitGatewayRouteTableProps
Resource properties.
Properties
AttrTransitGatewayRouteTableId
The ID of the transit gateway route table.
public virtual string AttrTransitGatewayRouteTableId { get; }
Property Value
System.String
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
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Any tags assigned to the route table.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
TransitGatewayId
The ID of the transit gateway.
public virtual string TransitGatewayId { get; set; }
Property Value
System.String
Methods
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>