Class CustomEndpointOptions
Configures a custom domain endpoint for the Amazon OpenSearch Service domain.
Inheritance
System.Object
CustomEndpointOptions
Implements
Namespace: Amazon.CDK.AWS.OpenSearchService
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CustomEndpointOptions : Object, ICustomEndpointOptions
Syntax (vb)
Public Class CustomEndpointOptions
Inherits Object
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
Custom |
Properties
Certificate | The certificate to use. |
Domain |
The custom domain name to assign. |
Hosted |
The hosted zone in Route53 to create the CNAME record in. |
Constructors
CustomEndpointOptions()
public CustomEndpointOptions()
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
System.
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