Interface CfnCustomerGatewayProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCustomerGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:02.852Z")
@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()
.ipAddress("ipAddress")
.type("type")
// the properties below are optional
.bgpAsn(123)
.bgpAsnExtended(123)
.certificateArn("certificateArn")
.deviceName("deviceName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCustomerGatewayPropsstatic final classAn implementation forCfnCustomerGatewayProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberFor customer gateway devices that support BGP, specify the device's ASN.default NumberFor customer gateway devices that support BGP, specify the device's ASN.default StringThe Amazon Resource Name (ARN) for the customer gateway certificate.default StringThe name of customer gateway device.The IP 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
-
getIpAddress
The IP address for the customer gateway device's outside interface.The address must be static. If
OutsideIpAddressTypein your VPN connection options is set toPrivateIpv4, you can use an RFC6598 or RFC1918 private IPv4 address. IfOutsideIpAddressTypeis set toIpv6, you can use an IPv6 address.- See Also:
-
getType
The type of VPN connection that this customer gateway supports (ipsec.1).- See Also:
-
getBgpAsn
For customer gateway devices that support BGP, specify the device's ASN.You must specify either
BgpAsnorBgpAsnExtendedwhen creating the customer gateway. If the ASN is larger than2,147,483,647, you must useBgpAsnExtended.Default: 65000
Valid values:
1to2,147,483,647Default: - 65000
- See Also:
-
getBgpAsnExtended
For customer gateway devices that support BGP, specify the device's ASN.You must specify either
BgpAsnorBgpAsnExtendedwhen creating the customer gateway. If the ASN is larger than2,147,483,647, you must useBgpAsnExtended.Valid values:
2,147,483,648to4,294,967,295- See Also:
-
getCertificateArn
The Amazon Resource Name (ARN) for the customer gateway certificate.- See Also:
-
getDeviceName
The name of customer gateway device.- See Also:
-
getTags
One or more tags for the customer gateway.- See Also:
-
builder
- Returns:
- a
CfnCustomerGatewayProps.BuilderofCfnCustomerGatewayProps
-