Skip to content
v2.274.0

CustomEndpointOptions Struct ​

Configures a custom domain endpoint for the Amazon OpenSearch Service domain.

Example ​

ts
new Domain(this, 'Domain', {
  version: EngineVersion.OPENSEARCH_1_0,
  customEndpoint: {
    domainName: 'search.example.com',
  },
});

Properties ​

certificateoptionalICertificateRefcertificateoptionalICertificateRefcertificateoptionalICertificateRefCertificateoptionalICertificateRefCertificateoptionalICertificateRef#
The certificate to use.

Default: create a new one

domainNamestringdomain_namestrdomainNameStringDomainNamestringDomainName*stringrequired#
The custom domain name to assign.
hostedZoneoptionalIHostedZonehosted_zoneoptionalIHostedZonehostedZoneoptionalIHostedZoneHostedZoneoptionalIHostedZoneHostedZoneoptionalIHostedZone#
The hosted zone in Route53 to create the CNAME record in.

Default: do not create a CNAME