Skip to content
v2.278.0

IpAddressType Enum ​

The IP address type for the domain.

Example ​

ts
const domain = new Domain(this, 'Domain', {
  version: EngineVersion.OPENSEARCH_1_3,
  ipAddressType: IpAddressType.DUAL_STACK,
});
python
domain = Domain(self, "Domain",
    version=EngineVersion.OPENSEARCH_1_3,
    ip_address_type=IpAddressType.DUAL_STACK
)
java
Domain domain = Domain.Builder.create(this, "Domain")
        .version(EngineVersion.OPENSEARCH_1_3)
        .ipAddressType(IpAddressType.DUAL_STACK)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
var domain = new Domain(this, "Domain", new DomainProps {
    Version = EngineVersion.OPENSEARCH_1_3,
    IpAddressType = IpAddressType.DUAL_STACK
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
domain := awscdk.NewDomain(this, jsii.String("Domain"), &DomainProps{
	Version: awscdk.EngineVersion_OPENSEARCH_1_3(),
	IpAddressType: awscdk.IpAddressType_DUAL_STACK,
})

Members ​

MemberDescription
IPV4IPv4 addresses only.
DUAL_STACKIPv4 and IPv6 addresses.

Referenced by ​

  • DomainProps.ipAddressTypeip_address_typeipAddressTypeIpAddressTypeIpAddressType