Class CfnVPNGatewayRoutePropagation
Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVPNGatewayRoutePropagation : CfnResource, IInspectable
Syntax (vb)
Public Class CfnVPNGatewayRoutePropagation
Inherits CfnResource
Implements IInspectable
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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnVPNGatewayRoutePropagation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnVPNGatewayRoutePropagation(Construct, String, ICfnVPNGatewayRoutePropagationProps) |
Properties
AttrId | The ID of the VPN gateway. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
RouteTableIds | The ID of the route table. |
VpnGatewayId | The ID of the virtual private gateway that is attached to a VPC. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnVPNGatewayRoutePropagation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnVPNGatewayRoutePropagation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnVPNGatewayRoutePropagation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnVPNGatewayRoutePropagation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnVPNGatewayRoutePropagation(Construct, String, ICfnVPNGatewayRoutePropagationProps)
public CfnVPNGatewayRoutePropagation(Construct scope, string id, ICfnVPNGatewayRoutePropagationProps 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 ICfnVPNGatewayRoutePropagationProps
Resource properties.
Properties
AttrId
The ID of the VPN gateway.
public virtual string AttrId { get; }
Property Value
System.String
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
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
RouteTableIds
The ID of the route table.
public virtual string[] RouteTableIds { get; set; }
Property Value
System.String[]
VpnGatewayId
The ID of the virtual private gateway that is attached to a VPC.
public virtual string VpnGatewayId { 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>