Class CustomEndpointOptions
Configures a custom domain endpoint for the Amazon OpenSearch Service domain.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.OpenSearchService
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CustomEndpointOptions : ICustomEndpointOptions
Syntax (vb)
Public Class CustomEndpointOptions Implements ICustomEndpointOptions
Remarks
ExampleMetadata: infused
Examples
new Domain(this, "Domain", new DomainProps {
Version = EngineVersion.OPENSEARCH_1_0,
CustomEndpoint = new CustomEndpointOptions {
DomainName = "search.example.com"
}
});
Synopsis
Constructors
CustomEndpointOptions() | Configures a custom domain endpoint for the Amazon OpenSearch Service domain. |
Properties
Certificate | The certificate to use. |
DomainName | The custom domain name to assign. |
HostedZone | The hosted zone in Route53 to create the CNAME record in. |
Constructors
CustomEndpointOptions()
Configures a custom domain endpoint for the Amazon OpenSearch Service domain.
public CustomEndpointOptions()
Remarks
ExampleMetadata: infused
Examples
new Domain(this, "Domain", new DomainProps {
Version = EngineVersion.OPENSEARCH_1_0,
CustomEndpoint = new CustomEndpointOptions {
DomainName = "search.example.com"
}
});
Properties
Certificate
The certificate to use.
public ICertificate? Certificate { get; set; }
Property Value
Remarks
Default: - create a new one
DomainName
The custom domain name to assign.
public string DomainName { get; set; }
Property Value
Remarks
ExampleMetadata: infused
HostedZone
The hosted zone in Route53 to create the CNAME record in.
public IHostedZone? HostedZone { get; set; }
Property Value
Remarks
Default: - do not create a CNAME