Class CfnLocalGatewayRouteTableVPCAssociation
Associates the specified VPC with the specified local gateway route table.
Inheritance
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLocalGatewayRouteTableVPCAssociation : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnLocalGatewayRouteTableVPCAssociation
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
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 cfnLocalGatewayRouteTableVPCAssociation = new CfnLocalGatewayRouteTableVPCAssociation(this, "MyCfnLocalGatewayRouteTableVPCAssociation", new CfnLocalGatewayRouteTableVPCAssociationProps {
LocalGatewayRouteTableId = "localGatewayRouteTableId",
VpcId = "vpcId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnLocalGatewayRouteTableVPCAssociation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnLocalGatewayRouteTableVPCAssociation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnLocalGatewayRouteTableVPCAssociation(Construct, String, ICfnLocalGatewayRouteTableVPCAssociationProps) |
Properties
AttrLocalGatewayId | The ID of the local gateway. |
AttrLocalGatewayRouteTableVpcAssociationId | The ID of the association. |
AttrState | The state of the association. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
LocalGatewayRouteTableId | The ID of the local gateway route table. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags assigned to the association. |
VpcId | The ID of the VPC. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnLocalGatewayRouteTableVPCAssociation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnLocalGatewayRouteTableVPCAssociation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnLocalGatewayRouteTableVPCAssociation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnLocalGatewayRouteTableVPCAssociation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnLocalGatewayRouteTableVPCAssociation(Construct, String, ICfnLocalGatewayRouteTableVPCAssociationProps)
public CfnLocalGatewayRouteTableVPCAssociation(Construct scope, string id, ICfnLocalGatewayRouteTableVPCAssociationProps 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 ICfnLocalGatewayRouteTableVPCAssociationProps
Resource properties.
Properties
AttrLocalGatewayId
The ID of the local gateway.
public virtual string AttrLocalGatewayId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LocalGatewayId
AttrLocalGatewayRouteTableVpcAssociationId
The ID of the association.
public virtual string AttrLocalGatewayRouteTableVpcAssociationId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LocalGatewayRouteTableVpcAssociationId
AttrState
The state of the association.
public virtual string AttrState { get; }
Property Value
System.String
Remarks
CloudformationAttribute: State
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
LocalGatewayRouteTableId
The ID of the local gateway route table.
public virtual string LocalGatewayRouteTableId { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags assigned to the association.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
VpcId
The ID of the VPC.
public virtual string VpcId { 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>