Interface CfnCustomerGatewayProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCustomerGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-11T23:26:31.927Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCustomerGatewayProps
static final class
An implementation forCfnCustomerGatewayProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
For customer gateway devices that support BGP, specify the device's ASN.default Number
For customer gateway devices that support BGP, specify the device's ASN.default String
The Amazon Resource Name (ARN) for the customer gateway certificate.default String
The 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
-
getIpAddress
IPv4 address for the customer gateway device's outside interface.The address must be static. If
OutsideIpAddressType
in your VPN connection options is set toPrivateIpv4
, you can use an RFC6598 or RFC1918 private IPv4 address. IfOutsideIpAddressType
is set toPublicIpv4
, you can use a public IPv4 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
BgpAsn
orBgpAsnExtended
when creating the customer gateway. If the ASN is larger than2,147,483,647
, you must useBgpAsnExtended
.Default: 65000
Valid values:
1
to2,147,483,647
Default: - 65000
- See Also:
-
getBgpAsnExtended
For customer gateway devices that support BGP, specify the device's ASN.You must specify either
BgpAsn
orBgpAsnExtended
when creating the customer gateway. If the ASN is larger than2,147,483,647
, you must useBgpAsnExtended
.Valid values:
2,147,483,648
to4,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.Builder
ofCfnCustomerGatewayProps
-