Class CfnTransitGatewayRouteTable
A CloudFormation AWS::EC2::TransitGatewayRouteTable
.
Inheritance
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnTransitGatewayRouteTable : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnTransitGatewayRouteTable
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a route table for a transit gateway.
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 |
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 |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Tags | 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(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 System.String
- scoped id of the resource.
- props ICfnTransitGatewayRouteTableProps
- resource properties.
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
Properties
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
Any tags assigned to the route table.
public virtual TagManager Tags { get; }
Property Value
Remarks
TransitGatewayId
The ID of the transit gateway.
public virtual string TransitGatewayId { get; set; }
Property Value
System.String
Remarks
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>