Class CfnLocalGatewayRouteTableVPCAssociation
Associates the specified VPC with the specified local gateway route table.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLocalGatewayRouteTableVPCAssociation : CfnResource, IInspectable, ILocalGatewayRouteTableVPCAssociationRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnLocalGatewayRouteTableVPCAssociation Inherits CfnResource Implements IInspectable, ILocalGatewayRouteTableVPCAssociationRef, IConstruct, IDependable, IEnvironmentAware, 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(Construct, string, ICfnLocalGatewayRouteTableVPCAssociationProps) | Create a new |
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 | Associates the specified VPC with the specified local gateway route table. |
| LocalGatewayRouteTableId | The ID of the local gateway route table. |
| LocalGatewayRouteTableVpcAssociationRef | A reference to a LocalGatewayRouteTableVPCAssociation resource. |
| Tags | Tag Manager which manages the tags for this resource. |
| TagsRaw | The tags assigned to the association. |
| VpcId | The ID of the VPC. |
Methods
| ArnForLocalGatewayRouteTableVPCAssociation(ILocalGatewayRouteTableVPCAssociationRef) | Associates the specified VPC with the specified local gateway route table. |
| FromLocalGatewayRouteTableVpcAssociationId(Construct, string, string) | Creates a new ILocalGatewayRouteTableVPCAssociationRef from a localGatewayRouteTableVpcAssociationId. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnLocalGatewayRouteTableVPCAssociation(object) | Checks whether the given object is a CfnLocalGatewayRouteTableVPCAssociation. |
| RenderProperties(IDictionary<string, object>) | Associates the specified VPC with the specified local gateway route table. |
Constructors
CfnLocalGatewayRouteTableVPCAssociation(Construct, string, ICfnLocalGatewayRouteTableVPCAssociationProps)
Create a new AWS::EC2::LocalGatewayRouteTableVPCAssociation.
public CfnLocalGatewayRouteTableVPCAssociation(Construct scope, string id, ICfnLocalGatewayRouteTableVPCAssociationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnLocalGatewayRouteTableVPCAssociationProps
Resource properties.
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
ExampleMetadata: fixture=_generated
Properties
AttrLocalGatewayId
The ID of the local gateway.
public virtual string AttrLocalGatewayId { get; }
Property Value
Remarks
CloudformationAttribute: LocalGatewayId
AttrLocalGatewayRouteTableVpcAssociationId
The ID of the association.
public virtual string AttrLocalGatewayRouteTableVpcAssociationId { get; }
Property Value
Remarks
CloudformationAttribute: LocalGatewayRouteTableVpcAssociationId
AttrState
The state of the association.
public virtual string AttrState { get; }
Property Value
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
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
ExampleMetadata: fixture=_generated
CfnProperties
Associates the specified VPC with the specified local gateway route table.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
ExampleMetadata: fixture=_generated
LocalGatewayRouteTableId
The ID of the local gateway route table.
public virtual string LocalGatewayRouteTableId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
ExampleMetadata: fixture=_generated
LocalGatewayRouteTableVpcAssociationRef
A reference to a LocalGatewayRouteTableVPCAssociation resource.
public virtual ILocalGatewayRouteTableVPCAssociationReference LocalGatewayRouteTableVpcAssociationRef { get; }
Property Value
ILocalGatewayRouteTableVPCAssociationReference
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
ExampleMetadata: fixture=_generated
TagsRaw
The tags assigned to the association.
public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value
ICfnTag[]
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
ExampleMetadata: fixture=_generated
VpcId
The ID of the VPC.
public virtual string VpcId { get; set; }
Property Value
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
ExampleMetadata: fixture=_generated
Methods
ArnForLocalGatewayRouteTableVPCAssociation(ILocalGatewayRouteTableVPCAssociationRef)
Associates the specified VPC with the specified local gateway route table.
public static string ArnForLocalGatewayRouteTableVPCAssociation(ILocalGatewayRouteTableVPCAssociationRef resource)
Parameters
Returns
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"
} }
});
FromLocalGatewayRouteTableVpcAssociationId(Construct, string, string)
Creates a new ILocalGatewayRouteTableVPCAssociationRef from a localGatewayRouteTableVpcAssociationId.
public static ILocalGatewayRouteTableVPCAssociationRef FromLocalGatewayRouteTableVpcAssociationId(Construct scope, string id, string localGatewayRouteTableVpcAssociationId)
Parameters
Returns
ILocalGatewayRouteTableVPCAssociationRef
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
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::LocalGatewayRouteTableVPCAssociation
ExampleMetadata: fixture=_generated
IsCfnLocalGatewayRouteTableVPCAssociation(object)
Checks whether the given object is a CfnLocalGatewayRouteTableVPCAssociation.
public static bool IsCfnLocalGatewayRouteTableVPCAssociation(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Associates the specified VPC with the specified local gateway route table.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::EC2::LocalGatewayRouteTableVPCAssociation
ExampleMetadata: fixture=_generated