@Stability(value=Stable) public static final class CfnCustomerGateway.Builder extends Object implements software.amazon.jsii.Builder<CfnCustomerGateway>
CfnCustomerGateway.| Modifier and Type | Method and Description |
|---|---|
CfnCustomerGateway.Builder |
bgpAsn(Number bgpAsn)
For devices that support BGP, the customer gateway's BGP ASN.
|
CfnCustomerGateway |
build() |
static CfnCustomerGateway.Builder |
create(software.constructs.Construct scope,
String id) |
CfnCustomerGateway.Builder |
ipAddress(String ipAddress)
The Internet-routable IP address for the customer gateway's outside interface.
|
CfnCustomerGateway.Builder |
tags(List<? extends CfnTag> tags)
One or more tags for the customer gateway.
|
CfnCustomerGateway.Builder |
type(String type)
The type of VPN connection that this customer gateway supports ( `ipsec.1` ).
|
@Stability(value=Stable) public static CfnCustomerGateway.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnCustomerGateway.Builder.@Stability(value=Stable) public CfnCustomerGateway.Builder bgpAsn(Number bgpAsn)
Default: 65000
bgpAsn - For devices that support BGP, the customer gateway's BGP ASN. This parameter is required.this@Stability(value=Stable) public CfnCustomerGateway.Builder ipAddress(String ipAddress)
The address must be static.
ipAddress - The Internet-routable IP address for the customer gateway's outside interface. This parameter is required.this@Stability(value=Stable) public CfnCustomerGateway.Builder type(String type)
type - The type of VPN connection that this customer gateway supports ( `ipsec.1` ). This parameter is required.this@Stability(value=Stable) public CfnCustomerGateway.Builder tags(List<? extends CfnTag> tags)
tags - One or more tags for the customer gateway. This parameter is required.this@Stability(value=Stable) public CfnCustomerGateway build()
build in interface software.amazon.jsii.Builder<CfnCustomerGateway>Copyright © 2022. All rights reserved.