interface CustomEndpointOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.OpenSearchService.CustomEndpointOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsopensearchservice#CustomEndpointOptions |
Java | software.amazon.awscdk.services.opensearchservice.CustomEndpointOptions |
Python | aws_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
Name | Type | Description |
---|---|---|
domain | string | The custom domain name to assign. |
certificate? | ICertificate | The certificate to use. |
hosted | IHosted | The 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:
IHosted
(optional, default: do not create a CNAME)
The hosted zone in Route53 to create the CNAME record in.