aws-cdk-lib.aws_opensearchservice.CustomEndpointOptions

interface CustomEndpointOptions

LanguageType name
.NETAmazon.CDK.AWS.OpenSearchService.CustomEndpointOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsopensearchservice#CustomEndpointOptions
Javasoftware.amazon.awscdk.services.opensearchservice.CustomEndpointOptions
Pythonaws_cdk.aws_opensearchservice.CustomEndpointOptions
TypeScript (source)aws-cdk-lib » aws_opensearchservice » CustomEndpointOptions

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

Example

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

Properties

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

domainName

Type: string

The custom domain name to assign.


certificate?

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

The certificate to use.


hostedZone?

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

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