Class CfnDomain.DomainEndpointOptionsProperty
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.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DomainEndpointOptionsProperty : Object, CfnDomain.IDomainEndpointOptionsProperty
Syntax (vb)
Public Class DomainEndpointOptionsProperty
Inherits Object
Implements CfnDomain.IDomainEndpointOptionsProperty
Remarks
The AWS::Elasticsearch::Domain
resource is being replaced by the AWS::OpenSearchService::Domain 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 New resource types in the Amazon OpenSearch Service Developer Guide .
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
Constructors
DomainEndpointOptionsProperty() |
Properties
CustomEndpoint | The fully qualified URL for your custom endpoint. |
CustomEndpointCertificateArn | The AWS 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:. |
Constructors
DomainEndpointOptionsProperty()
public DomainEndpointOptionsProperty()
Properties
CustomEndpoint
The fully qualified URL for your custom endpoint.
public string CustomEndpoint { get; set; }
Property Value
System.String
Remarks
Required if you enabled a custom endpoint for the domain.
CustomEndpointCertificateArn
The AWS Certificate Manager ARN for your domain's SSL/TLS certificate.
public string CustomEndpointCertificateArn { get; set; }
Property Value
System.String
Remarks
Required if you enabled a custom endpoint for the domain.
CustomEndpointEnabled
True to enable a custom endpoint for the domain.
public object CustomEndpointEnabled { get; set; }
Property Value
System.Object
Remarks
If enabled, you must also provide values for CustomEndpoint
and CustomEndpointCertificateArn
.
EnforceHttps
True to require that all traffic to the domain arrive over HTTPS.
public object EnforceHttps { get; set; }
Property Value
System.Object
Remarks
TlsSecurityPolicy
The minimum TLS version required for traffic to the domain. Valid values are TLS 1.3 (recommended) or 1.2:.
public string TlsSecurityPolicy { get; set; }
Property Value
System.String