IpAddressType Enum
The IP address type for the domain.
| Source | aws-opensearchservice/lib/domain.ts |
|---|---|
| Type last changed |
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
| Member | Description |
|---|---|
IPV4 | IPv4 addresses only. |
DUAL_STACK | IPv4 and IPv6 addresses. |
Referenced by
DomainProps.ipAddressTypeip_address_typeipAddressTypeIpAddressTypeIpAddressType