interface IVPNGatewayRef
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.EC2.IVPNGatewayRef |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsec2#IVPNGatewayRef |
Java | software.amazon.awscdk.interfaces.ec2.IVPNGatewayRef |
Python | aws_cdk.interfaces.aws_ec2.IVPNGatewayRef |
TypeScript | aws-cdk-lib » interfaces » aws_ec2 » IVPNGatewayRef |
Implemented by
Cfn, Vpn
Obtainable from
Cfn.fromVpnGatewayId()
Indicates that this resource can be referenced as a VPNGateway.
Properties
| Name | Type | Description |
|---|---|---|
| env | Resource | The environment this resource belongs to. |
| node | Node | The tree node. |
| vpn | VPNGateway | A reference to a VPNGateway resource. |
env
Type:
Resource
The environment this resource belongs to.
For resources that are created and managed in a Stack (those created by
creating new class instances like new Role(), new Bucket(), etc.), this
is always the same as the environment of the stack they belong to.
For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be
different than the stack they were imported into.
node
Type:
Node
The tree node.
vpnGatewayRef
Type:
VPNGateway
A reference to a VPNGateway resource.

.NET
Go
Java
Python
TypeScript