Interface CfnCustomerGatewayProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCustomerGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.463Z")
@Stability(Stable)
public interface CfnCustomerGatewayProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCustomerGateway.
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
.deviceName("deviceName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCustomerGatewayPropsstatic final classAn implementation forCfnCustomerGatewayProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()For devices that support BGP, the customer gateway's BGP ASN.default StringThe name of customer gateway device.IPv4 address for the customer gateway device's outside interface.getTags()One or more tags for the customer gateway.getType()The type of VPN connection that this customer gateway supports (ipsec.1).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBgpAsn
For devices that support BGP, the customer gateway's BGP ASN.Default: 65000
-
getIpAddress
IPv4 address for the customer gateway device's outside interface.The address must be static.
-
getType
The type of VPN connection that this customer gateway supports (ipsec.1). -
getDeviceName
The name of customer gateway device. -
getTags
One or more tags for the customer gateway. -
builder
- Returns:
- a
CfnCustomerGatewayProps.BuilderofCfnCustomerGatewayProps
-