Interface CfnCustomerGatewayProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCustomerGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-03-14T22:21:52.973Z")
@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();
- See Also:
-
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
Default: - 65000
- See Also:
-
getIpAddress
IPv4 address for the customer gateway device's outside interface.The address must be static.
- See Also:
-
getType
The type of VPN connection that this customer gateway supports (ipsec.1).- 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
-