aws-cdk-lib.aws_elasticsearch.CustomEndpointOptions

interface CustomEndpointOptions ⚠️

LanguageType name
.NETAmazon.CDK.AWS.Elasticsearch.CustomEndpointOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awselasticsearch#CustomEndpointOptions
Javasoftware.amazon.awscdk.services.elasticsearch.CustomEndpointOptions
Pythonaws_cdk.aws_elasticsearch.CustomEndpointOptions
TypeScript (source)aws-cdk-lib » aws_elasticsearch » CustomEndpointOptions

⚠️ Deprecated: use opensearchservice module instead

Configures a custom domain endpoint for the ES domain.

Example

new es.Domain(this, 'Domain', {
  version: es.ElasticsearchVersion.V7_7,
  customEndpoint: {
    domainName: 'search.example.com',
  },
});

Properties

NameTypeDescription
domainName⚠️stringThe custom domain name to assign.
certificate?⚠️ICertificateThe certificate to use.
hostedZone?⚠️IHostedZoneThe hosted zone in Route53 to create the CNAME record in.

domainName⚠️

⚠️ Deprecated: use opensearchservice module instead

Type: string

The custom domain name to assign.


certificate?⚠️

⚠️ Deprecated: use opensearchservice module instead

Type: ICertificate (optional, default: create a new one)

The certificate to use.


hostedZone?⚠️

⚠️ Deprecated: use opensearchservice module instead

Type: IHostedZone (optional, default: do not create a CNAME)

The hosted zone in Route53 to create the CNAME record in.