@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:43.210Z") public class VpnGateway extends Resource implements IVpnGateway
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; VpnGateway vpnGateway = VpnGateway.Builder.create(this, "MyVpnGateway") .type("type") // the properties below are optional .amazonSideAsn(123) .build();
Modifier and Type | Class and Description |
---|---|
static class |
VpnGateway.Builder
A fluent builder for
VpnGateway . |
IVpnGateway.Jsii$Default, IVpnGateway.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
VpnGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
VpnGateway(software.amazon.jsii.JsiiObjectRef objRef) |
|
VpnGateway(software.constructs.Construct scope,
java.lang.String id,
VpnGatewayProps props) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGatewayId()
The virtual private gateway Id.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected VpnGateway(software.amazon.jsii.JsiiObjectRef objRef)
protected VpnGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public VpnGateway(software.constructs.Construct scope, java.lang.String id, VpnGatewayProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public java.lang.String getGatewayId()
getGatewayId
in interface IVpnGateway