Class CfnVPNGatewayRoutePropagation
Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVPNGatewayRoutePropagation : CfnResource, IInspectable, IVPNGatewayRoutePropagationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnVPNGatewayRoutePropagation Inherits CfnResource Implements IInspectable, IVPNGatewayRoutePropagationRef, IConstruct, IDependable, IEnvironmentAware
Remarks
If you reference a VPN gateway that is in the same template as your VPN gateway route propagation, you must explicitly declare a dependency on the VPN gateway attachment. The AWS::EC2::VPNGatewayRoutePropagation resource cannot use the VPN gateway until it has successfully attached to the VPC. Add a DependsOn Attribute in the AWS::EC2::VPNGatewayRoutePropagation resource to explicitly declare a dependency on the VPN gateway attachment.
CloudformationResource: AWS::EC2::VPNGatewayRoutePropagation
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 cfnVPNGatewayRoutePropagation = new CfnVPNGatewayRoutePropagation(this, "MyCfnVPNGatewayRoutePropagation", new CfnVPNGatewayRoutePropagationProps {
RouteTableIds = new [] { "routeTableIds" },
VpnGatewayId = "vpnGatewayId"
});
Synopsis
Constructors
| CfnVPNGatewayRoutePropagation(Construct, string, ICfnVPNGatewayRoutePropagationProps) | Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC. |
Properties
| AttrId | The ID of the VPN gateway. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC. |
| RouteTableIds | The ID of the route table. |
| VpnGatewayId | The ID of the virtual private gateway that is attached to a VPC. |
| VpnGatewayRoutePropagationRef | A reference to a VPNGatewayRoutePropagation resource. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| RenderProperties(IDictionary<string, object>) | Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC. |
Constructors
CfnVPNGatewayRoutePropagation(Construct, string, ICfnVPNGatewayRoutePropagationProps)
Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.
public CfnVPNGatewayRoutePropagation(Construct scope, string id, ICfnVPNGatewayRoutePropagationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnVPNGatewayRoutePropagationProps
Resource properties.
Remarks
If you reference a VPN gateway that is in the same template as your VPN gateway route propagation, you must explicitly declare a dependency on the VPN gateway attachment. The AWS::EC2::VPNGatewayRoutePropagation resource cannot use the VPN gateway until it has successfully attached to the VPC. Add a DependsOn Attribute in the AWS::EC2::VPNGatewayRoutePropagation resource to explicitly declare a dependency on the VPN gateway attachment.
CloudformationResource: AWS::EC2::VPNGatewayRoutePropagation
ExampleMetadata: fixture=_generated
Properties
AttrId
The ID of the VPN gateway.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
If you reference a VPN gateway that is in the same template as your VPN gateway route propagation, you must explicitly declare a dependency on the VPN gateway attachment. The AWS::EC2::VPNGatewayRoutePropagation resource cannot use the VPN gateway until it has successfully attached to the VPC. Add a DependsOn Attribute in the AWS::EC2::VPNGatewayRoutePropagation resource to explicitly declare a dependency on the VPN gateway attachment.
CloudformationResource: AWS::EC2::VPNGatewayRoutePropagation
ExampleMetadata: fixture=_generated
CfnProperties
Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
If you reference a VPN gateway that is in the same template as your VPN gateway route propagation, you must explicitly declare a dependency on the VPN gateway attachment. The AWS::EC2::VPNGatewayRoutePropagation resource cannot use the VPN gateway until it has successfully attached to the VPC. Add a DependsOn Attribute in the AWS::EC2::VPNGatewayRoutePropagation resource to explicitly declare a dependency on the VPN gateway attachment.
CloudformationResource: AWS::EC2::VPNGatewayRoutePropagation
ExampleMetadata: fixture=_generated
RouteTableIds
The ID of the route table.
public virtual string[] RouteTableIds { get; set; }
Property Value
string[]
Remarks
If you reference a VPN gateway that is in the same template as your VPN gateway route propagation, you must explicitly declare a dependency on the VPN gateway attachment. The AWS::EC2::VPNGatewayRoutePropagation resource cannot use the VPN gateway until it has successfully attached to the VPC. Add a DependsOn Attribute in the AWS::EC2::VPNGatewayRoutePropagation resource to explicitly declare a dependency on the VPN gateway attachment.
CloudformationResource: AWS::EC2::VPNGatewayRoutePropagation
ExampleMetadata: fixture=_generated
VpnGatewayId
The ID of the virtual private gateway that is attached to a VPC.
public virtual string VpnGatewayId { get; set; }
Property Value
Remarks
If you reference a VPN gateway that is in the same template as your VPN gateway route propagation, you must explicitly declare a dependency on the VPN gateway attachment. The AWS::EC2::VPNGatewayRoutePropagation resource cannot use the VPN gateway until it has successfully attached to the VPC. Add a DependsOn Attribute in the AWS::EC2::VPNGatewayRoutePropagation resource to explicitly declare a dependency on the VPN gateway attachment.
CloudformationResource: AWS::EC2::VPNGatewayRoutePropagation
ExampleMetadata: fixture=_generated
VpnGatewayRoutePropagationRef
A reference to a VPNGatewayRoutePropagation resource.
public virtual IVPNGatewayRoutePropagationReference VpnGatewayRoutePropagationRef { get; }
Property Value
IVPNGatewayRoutePropagationReference
Remarks
If you reference a VPN gateway that is in the same template as your VPN gateway route propagation, you must explicitly declare a dependency on the VPN gateway attachment. The AWS::EC2::VPNGatewayRoutePropagation resource cannot use the VPN gateway until it has successfully attached to the VPC. Add a DependsOn Attribute in the AWS::EC2::VPNGatewayRoutePropagation resource to explicitly declare a dependency on the VPN gateway attachment.
CloudformationResource: AWS::EC2::VPNGatewayRoutePropagation
ExampleMetadata: fixture=_generated
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.
Remarks
If you reference a VPN gateway that is in the same template as your VPN gateway route propagation, you must explicitly declare a dependency on the VPN gateway attachment. The AWS::EC2::VPNGatewayRoutePropagation resource cannot use the VPN gateway until it has successfully attached to the VPC. Add a DependsOn Attribute in the AWS::EC2::VPNGatewayRoutePropagation resource to explicitly declare a dependency on the VPN gateway attachment.
CloudformationResource: AWS::EC2::VPNGatewayRoutePropagation
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
If you reference a VPN gateway that is in the same template as your VPN gateway route propagation, you must explicitly declare a dependency on the VPN gateway attachment. The AWS::EC2::VPNGatewayRoutePropagation resource cannot use the VPN gateway until it has successfully attached to the VPC. Add a DependsOn Attribute in the AWS::EC2::VPNGatewayRoutePropagation resource to explicitly declare a dependency on the VPN gateway attachment.
CloudformationResource: AWS::EC2::VPNGatewayRoutePropagation
ExampleMetadata: fixture=_generated