Show / Hide Table of Contents

Class VpnGateway

The VPN Gateway that shall be added to the VPC.

Inheritance
object
Resource
VpnGateway
Implements
IVpnGateway
IResource
IVPNGatewayRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VpnGateway : Resource, IVpnGateway, IResource, IVPNGatewayRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class VpnGateway Inherits Resource Implements IVpnGateway, IResource, IVPNGatewayRef, IConstruct, IDependable, IEnvironmentAware
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(Construct, string, IVpnGatewayProps)

The VPN Gateway that shall be added to the VPC.

Properties

GatewayId

The virtual private gateway Id.

PROPERTY_INJECTION_ID

Uniquely identifies this class.

VpnGatewayRef

A reference to a VPNGateway resource.

Constructors

VpnGateway(Construct, string, IVpnGatewayProps)

The VPN Gateway that shall be added to the VPC.

public VpnGateway(Construct scope, string id, IVpnGatewayProps props)
Parameters
scope Construct
id string
props IVpnGatewayProps
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
             });

Properties

GatewayId

The virtual private gateway Id.

public virtual string GatewayId { get; }
Property Value

string

Remarks

Resource: AWS::EC2::VPNGateway

ExampleMetadata: fixture=_generated

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Resource: AWS::EC2::VPNGateway

ExampleMetadata: fixture=_generated

VpnGatewayRef

A reference to a VPNGateway resource.

public virtual IVPNGatewayReference VpnGatewayRef { get; }
Property Value

IVPNGatewayReference

Remarks

Resource: AWS::EC2::VPNGateway

ExampleMetadata: fixture=_generated

Implements

IVpnGateway
IResource
IVPNGatewayRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX