Class CfnVPNGateway.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVPNGateway.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPNGateway>
- Enclosing class:
CfnVPNGateway
@Stability(Stable)
public static final class CfnVPNGateway.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPNGateway>
A fluent builder for
CfnVPNGateway
.-
Method Summary
Modifier and TypeMethodDescriptionamazonSideAsn
(Number amazonSideAsn) The private Autonomous System Number (ASN) for the Amazon side of a BGP session.build()
static CfnVPNGateway.Builder
Any tags assigned to the virtual private gateway.The type of VPN connection the virtual private gateway supports.
-
Method Details
-
create
@Stability(Stable) public static CfnVPNGateway.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnVPNGateway.Builder
.
-
type
The type of VPN connection the virtual private gateway supports.- Parameters:
type
- The type of VPN connection the virtual private gateway supports. This parameter is required.- Returns:
this
- See Also:
-
amazonSideAsn
The private Autonomous System Number (ASN) for the Amazon side of a BGP session.- Parameters:
amazonSideAsn
- The private Autonomous System Number (ASN) for the Amazon side of a BGP session. This parameter is required.- Returns:
this
- See Also:
-
tags
Any tags assigned to the virtual private gateway.- Parameters:
tags
- Any tags assigned to the virtual private gateway. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVPNGateway>
- Returns:
- a newly built instance of
CfnVPNGateway
.
-