Skip to content
v2.278.0

IpAddressType Enum ​

Supported IP Address Types.

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 ​

MemberDescription
IPV4IPv4 address type.
DUAL_STACKIPv4 and IPv6 address type.

Referenced by ​

  • EndpointOptions.ipAddressTypeip_address_typeipAddressTypeIpAddressTypeIpAddressType
  • HttpApiProps.ipAddressTypeip_address_typeipAddressTypeIpAddressTypeIpAddressType
  • WebSocketApiProps.ipAddressTypeip_address_typeipAddressTypeIpAddressTypeIpAddressType