Interface CfnVPNGatewayProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVPNGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.189Z")
@Stability(Stable)
public interface CfnVPNGatewayProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnVPNGateway.
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.*;
CfnVPNGatewayProps cfnVPNGatewayProps = CfnVPNGatewayProps.builder()
.type("type")
// the properties below are optional
.amazonSideAsn(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVPNGatewayPropsstatic final classAn implementation forCfnVPNGatewayProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnVPNGatewayProps.Builderbuilder()default NumberThe private Autonomous System Number (ASN) for the Amazon side of a BGP session.getTags()Any tags assigned to the virtual private gateway.getType()The type of VPN connection the virtual private gateway supports.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type of VPN connection the virtual private gateway supports. -
getAmazonSideAsn
The private Autonomous System Number (ASN) for the Amazon side of a BGP session. -
getTags
Any tags assigned to the virtual private gateway. -
builder
- Returns:
- a
CfnVPNGatewayProps.BuilderofCfnVPNGatewayProps
-