@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.137Z") @Stability(value=Stable) public interface CfnCustomerGatewayProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnCustomerGatewayProps cfnCustomerGatewayProps = CfnCustomerGatewayProps.builder()
.bgpAsn(123)
.ipAddress("ipAddress")
.type("type")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCustomerGatewayProps.Builder
A builder for
CfnCustomerGatewayProps |
static class |
CfnCustomerGatewayProps.Jsii$Proxy
An implementation for
CfnCustomerGatewayProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnCustomerGatewayProps.Builder |
builder() |
Number |
getBgpAsn()
For devices that support BGP, the customer gateway's BGP ASN.
|
String |
getIpAddress()
The Internet-routable IP address for the customer gateway's outside interface.
|
default List<CfnTag> |
getTags()
One or more tags for the customer gateway.
|
String |
getType()
The type of VPN connection that this customer gateway supports ( `ipsec.1` ).
|
@Stability(value=Stable) @NotNull Number getBgpAsn()
Default: 65000
@Stability(value=Stable) @NotNull String getIpAddress()
The address must be static.
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnCustomerGatewayProps.Builder builder()
CfnCustomerGatewayProps.Builder of CfnCustomerGatewayPropsCopyright © 2022. All rights reserved.