Interface CfnDomain.IDomainEndpointOptionsProperty
Specifies additional options for the domain endpoint, such as whether to require HTTPS for all traffic or whether to use a custom endpoint rather than the default endpoint.
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDomain.IDomainEndpointOptionsProperty
Syntax (vb)
Public Interface CfnDomain.IDomainEndpointOptionsProperty
Remarks
The <code>AWS::Elasticsearch::Domain</code> resource is being replaced by the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html">AWS::OpenSearchService::Domain</a> resource. While the legacy Elasticsearch resource and options are still supported, we recommend modifying your existing Cloudformation templates to use the new OpenSearch Service resource, which supports both OpenSearch and Elasticsearch. For more information about the service rename, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/rename.html#rename-resource">New resource types</a> in the <em>Amazon OpenSearch Service Developer Guide</em> .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Elasticsearch;
var domainEndpointOptionsProperty = new DomainEndpointOptionsProperty {
CustomEndpoint = "customEndpoint",
CustomEndpointCertificateArn = "customEndpointCertificateArn",
CustomEndpointEnabled = false,
EnforceHttps = false,
TlsSecurityPolicy = "tlsSecurityPolicy"
};
Synopsis
Properties
| CustomEndpoint | The fully qualified URL for your custom endpoint. |
| CustomEndpointCertificateArn | The Certificate Manager ARN for your domain's SSL/TLS certificate. |
| CustomEndpointEnabled | True to enable a custom endpoint for the domain. |
| EnforceHttps | True to require that all traffic to the domain arrive over HTTPS. |
| TlsSecurityPolicy | The minimum TLS version required for traffic to the domain. Valid values are TLS 1.3 (recommended) or 1.2:. |
Properties
CustomEndpoint
The fully qualified URL for your custom endpoint.
string? CustomEndpoint { get; }
Property Value
Remarks
Required if you enabled a custom endpoint for the domain.
CustomEndpointCertificateArn
The Certificate Manager ARN for your domain's SSL/TLS certificate.
string? CustomEndpointCertificateArn { get; }
Property Value
Remarks
Required if you enabled a custom endpoint for the domain.
CustomEndpointEnabled
True to enable a custom endpoint for the domain.
object? CustomEndpointEnabled { get; }
Property Value
Remarks
If enabled, you must also provide values for CustomEndpoint and CustomEndpointCertificateArn .
Type union: either bool or IResolvable
EnforceHttps
True to require that all traffic to the domain arrive over HTTPS.
object? EnforceHttps { get; }
Property Value
Remarks
TlsSecurityPolicy
The minimum TLS version required for traffic to the domain. Valid values are TLS 1.3 (recommended) or 1.2:.
string? TlsSecurityPolicy { get; }