CustomEndpointOptions

class aws_cdk.aws_elasticsearch.CustomEndpointOptions(*, domain_name, certificate=None, hosted_zone=None)

Bases: object

(deprecated) Configures a custom domain endpoint for the ES domain.

Parameters:
  • domain_name (str) – (deprecated) The custom domain name to assign.

  • certificate (Optional[ICertificate]) – (deprecated) The certificate to use. Default: - create a new one

  • hosted_zone (Optional[IHostedZone]) – (deprecated) The hosted zone in Route53 to create the CNAME record in. Default: - do not create a CNAME

Deprecated:

use opensearchservice module instead

Stability:

deprecated

ExampleMetadata:

infused

Example:

es.Domain(self, "Domain",
    version=es.ElasticsearchVersion.V7_7,
    custom_endpoint=es.CustomEndpointOptions(
        domain_name="search.example.com"
    )
)

Attributes

certificate

(deprecated) The certificate to use.

Default:
  • create a new one

Deprecated:

use opensearchservice module instead

Stability:

deprecated

domain_name

(deprecated) The custom domain name to assign.

Deprecated:

use opensearchservice module instead

Stability:

deprecated

hosted_zone

(deprecated) The hosted zone in Route53 to create the CNAME record in.

Default:
  • do not create a CNAME

Deprecated:

use opensearchservice module instead

Stability:

deprecated