IpAddressType Enum
Supported IP Address Types.
| Source | aws-apigatewayv2/lib/common/api.ts |
|---|---|
| Type last changed |
Example
ts
new apigwv2.HttpApi(this, 'HttpApi', {
ipAddressType: apigwv2.IpAddressType.DUAL_STACK,
});
python
apigwv2.HttpApi(self, "HttpApi",
ip_address_type=apigwv2.IpAddressType.DUAL_STACK
)
java
HttpApi.Builder.create(this, "HttpApi")
.ipAddressType(IpAddressType.DUAL_STACK)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
new HttpApi(this, "HttpApi", new HttpApiProps {
IpAddressType = IpAddressType.DUAL_STACK
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
apigwv2.NewHttpApi(this, jsii.String("HttpApi"), &HttpApiProps{
IpAddressType: apigwv2.IpAddressType_DUAL_STACK,
})
Members
| Member | Description |
|---|---|
IPV4 | IPv4 address type. |
DUAL_STACK | IPv4 and IPv6 address type. |
Referenced by
EndpointOptions.ipAddressTypeip_address_typeipAddressTypeIpAddressTypeIpAddressTypeHttpApiProps.ipAddressTypeip_address_typeipAddressTypeIpAddressTypeIpAddressTypeWebSocketApiProps.ipAddressTypeip_address_typeipAddressTypeIpAddressTypeIpAddressType