Class CfnVPNGatewayPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPNGatewayPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPNGatewayPropsMixin>
- Enclosing class:
CfnVPNGatewayPropsMixin
@Stability(Stable)
public static final class CfnVPNGatewayPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPNGatewayPropsMixin>
A fluent builder for
CfnVPNGatewayPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionamazonSideAsn(Number amazonSideAsn) The private Autonomous System Number (ASN) for the Amazon side of a BGP session.build()create()create(CfnPropertyMixinOptions options) 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 CfnVPNGatewayPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnVPNGatewayPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnVPNGatewayPropsMixin.Builder.
-
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:
-
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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPNGatewayPropsMixin>- Returns:
- a newly built instance of
CfnVPNGatewayPropsMixin.
-