Interface CfnVPNGatewayProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVPNGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:35.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();
- See Also:
-
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.- See Also:
-
getAmazonSideAsn
The private Autonomous System Number (ASN) for the Amazon side of a BGP session.- See Also:
-
getTags
Any tags assigned to the virtual private gateway.- See Also:
-
builder
- Returns:
- a
CfnVPNGatewayProps.BuilderofCfnVPNGatewayProps
-