Class VpnGateway
The VPN Gateway that shall be added to the VPC.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class VpnGateway : Resource, IVpnGateway, IResource, IConstruct, IDependable
Syntax (vb)
Public Class VpnGateway
Inherits Resource
Implements IVpnGateway, IResource, IConstruct, IDependable
Remarks
Resource: AWS::EC2::VPNGateway
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 vpnGateway = new VpnGateway(this, "MyVpnGateway", new VpnGatewayProps {
Type = "type",
// the properties below are optional
AmazonSideAsn = 123
});
Synopsis
Constructors
VpnGateway(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
VpnGateway(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
VpnGateway(Construct, String, IVpnGatewayProps) |
Properties
GatewayId | The virtual private gateway Id. |
Constructors
VpnGateway(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected VpnGateway(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
VpnGateway(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected VpnGateway(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
VpnGateway(Construct, String, IVpnGatewayProps)
public VpnGateway(Construct scope, string id, IVpnGatewayProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IVpnGatewayProps
Properties
GatewayId
The virtual private gateway Id.
public virtual string GatewayId { get; }
Property Value
System.String
Implements
Constructs.IConstruct