Class Domain
(experimental) Provides an Elasticsearch domain.
Inherited Members
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.AWS.Elasticsearch.dll
Syntax (csharp)
public class Domain : Resource, IDomain, IResource, IConstruct, IConstruct, IDependable
Syntax (vb)
Public Class Domain
Inherits Resource
Implements IDomain, IResource, IConstruct, IConstruct, IDependable
Remarks
Stability: Experimental
Synopsis
Constructors
Domain(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Domain(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Domain(Construct, String, IDomainProps) |
Properties
AppLogGroup | (experimental) Log group that application logs are logged to. |
AuditLogGroup | (experimental) Log group that audit logs are logged to. |
DomainArn | (experimental) Arn of the Elasticsearch domain. |
DomainEndpoint | (experimental) Endpoint of the Elasticsearch domain. |
DomainName | (experimental) Domain name of the Elasticsearch domain. |
MasterUserPassword | (experimental) Master user password if fine grained access control is configured. |
SlowIndexLogGroup | (experimental) Log group that slow indices are logged to. |
SlowSearchLogGroup | (experimental) Log group that slow searches are logged to. |
Methods
FromDomainAttributes(Construct, String, IDomainAttributes) | (experimental) Creates a Domain construct that represents an external domain. |
FromDomainEndpoint(Construct, String, String) | (experimental) Creates a Domain construct that represents an external domain via domain endpoint. |
GrantIndexRead(String, IGrantable) | (experimental) Grant read permissions for an index in this domain to an IAM principal (Role/Group/User). |
GrantIndexReadWrite(String, IGrantable) | (experimental) Grant read/write permissions for an index in this domain to an IAM principal (Role/Group/User). |
GrantIndexWrite(String, IGrantable) | (experimental) Grant write permissions for an index in this domain to an IAM principal (Role/Group/User). |
GrantPathRead(String, IGrantable) | (experimental) Grant read permissions for a specific path in this domain to an IAM principal (Role/Group/User). |
GrantPathReadWrite(String, IGrantable) | (experimental) Grant read/write permissions for a specific path in this domain to an IAM principal (Role/Group/User). |
GrantPathWrite(String, IGrantable) | (experimental) Grant write permissions for a specific path in this domain to an IAM principal (Role/Group/User). |
GrantRead(IGrantable) | (experimental) Grant read permissions for this domain and its contents to an IAM principal (Role/Group/User). |
GrantReadWrite(IGrantable) | (experimental) Grant read/write permissions for this domain and its contents to an IAM principal (Role/Group/User). |
GrantWrite(IGrantable) | (experimental) Grant write permissions for this domain and its contents to an IAM principal (Role/Group/User). |
Metric(String, IMetricOptions) | (experimental) Return the given named metric for this Domain. |
MetricAutomatedSnapshotFailure(IMetricOptions) | (experimental) Metric for automated snapshot failures. |
MetricClusterIndexWriteBlocked(IMetricOptions) | (experimental) Metric for the cluster blocking index writes. |
MetricClusterStatusRed(IMetricOptions) | (experimental) Metric for the time the cluster status is red. |
MetricClusterStatusYellow(IMetricOptions) | (experimental) Metric for the time the cluster status is yellow. |
MetricCPUUtilization(IMetricOptions) | (experimental) Metric for CPU utilization. |
MetricFreeStorageSpace(IMetricOptions) | (experimental) Metric for the storage space of nodes in the cluster. |
MetricIndexingLatency(IMetricOptions) | (experimental) Metric for indexing latency. |
MetricJVMMemoryPressure(IMetricOptions) | (experimental) Metric for JVM memory pressure. |
MetricKMSKeyError(IMetricOptions) | (experimental) Metric for KMS key errors. |
MetricKMSKeyInaccessible(IMetricOptions) | (experimental) Metric for KMS key being inaccessible. |
MetricMasterCPUUtilization(IMetricOptions) | (experimental) Metric for master CPU utilization. |
MetricMasterJVMMemoryPressure(IMetricOptions) | (experimental) Metric for master JVM memory pressure. |
MetricNodes(IMetricOptions) | (experimental) Metric for the number of nodes. |
MetricSearchableDocuments(IMetricOptions) | (experimental) Metric for number of searchable documents. |
MetricSearchLatency(IMetricOptions) | (experimental) Metric for search latency. |
Constructors
Domain(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Domain(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Domain(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Domain(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Domain(Construct, String, IDomainProps)
public Domain(Construct scope, string id, IDomainProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IDomainProps
Remarks
Stability: Experimental
Properties
AppLogGroup
(experimental) Log group that application logs are logged to.
public virtual ILogGroup AppLogGroup { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
AuditLogGroup
(experimental) Log group that audit logs are logged to.
public virtual ILogGroup AuditLogGroup { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
DomainArn
(experimental) Arn of the Elasticsearch domain.
public virtual string DomainArn { get; }
Property Value
System.String
Remarks
Stability: Experimental
DomainEndpoint
(experimental) Endpoint of the Elasticsearch domain.
public virtual string DomainEndpoint { get; }
Property Value
System.String
Remarks
Stability: Experimental
DomainName
(experimental) Domain name of the Elasticsearch domain.
public virtual string DomainName { get; }
Property Value
System.String
Remarks
Stability: Experimental
MasterUserPassword
(experimental) Master user password if fine grained access control is configured.
public virtual SecretValue MasterUserPassword { get; }
Property Value
Remarks
Stability: Experimental
SlowIndexLogGroup
(experimental) Log group that slow indices are logged to.
public virtual ILogGroup SlowIndexLogGroup { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
SlowSearchLogGroup
(experimental) Log group that slow searches are logged to.
public virtual ILogGroup SlowSearchLogGroup { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
Methods
FromDomainAttributes(Construct, String, IDomainAttributes)
(experimental) Creates a Domain construct that represents an external domain.
public static IDomain FromDomainAttributes(Construct scope, string id, IDomainAttributes attrs)
Parameters
- scope Constructs.Construct
The parent creating construct (usually
this
).- id System.String
The construct's name.
- attrs IDomainAttributes
A
DomainAttributes
object.
Returns
Remarks
Stability: Experimental
FromDomainEndpoint(Construct, String, String)
(experimental) Creates a Domain construct that represents an external domain via domain endpoint.
public static IDomain FromDomainEndpoint(Construct scope, string id, string domainEndpoint)
Parameters
- scope Constructs.Construct
The parent creating construct (usually
this
).- id System.String
The construct's name.
- domainEndpoint System.String
The domain's endpoint.
Returns
Remarks
Stability: Experimental
GrantIndexRead(String, IGrantable)
(experimental) Grant read permissions for an index in this domain to an IAM principal (Role/Group/User).
public virtual Grant GrantIndexRead(string index, IGrantable identity)
Parameters
- index System.String
The index to grant permissions for.
- identity IGrantable
The principal.
Returns
Remarks
Stability: Experimental
GrantIndexReadWrite(String, IGrantable)
(experimental) Grant read/write permissions for an index in this domain to an IAM principal (Role/Group/User).
public virtual Grant GrantIndexReadWrite(string index, IGrantable identity)
Parameters
- index System.String
The index to grant permissions for.
- identity IGrantable
The principal.
Returns
Remarks
Stability: Experimental
GrantIndexWrite(String, IGrantable)
(experimental) Grant write permissions for an index in this domain to an IAM principal (Role/Group/User).
public virtual Grant GrantIndexWrite(string index, IGrantable identity)
Parameters
- index System.String
The index to grant permissions for.
- identity IGrantable
The principal.
Returns
Remarks
Stability: Experimental
GrantPathRead(String, IGrantable)
(experimental) Grant read permissions for a specific path in this domain to an IAM principal (Role/Group/User).
public virtual Grant GrantPathRead(string path, IGrantable identity)
Parameters
- path System.String
The path to grant permissions for.
- identity IGrantable
The principal.
Returns
Remarks
Stability: Experimental
GrantPathReadWrite(String, IGrantable)
(experimental) Grant read/write permissions for a specific path in this domain to an IAM principal (Role/Group/User).
public virtual Grant GrantPathReadWrite(string path, IGrantable identity)
Parameters
- path System.String
The path to grant permissions for.
- identity IGrantable
The principal.
Returns
Remarks
Stability: Experimental
GrantPathWrite(String, IGrantable)
(experimental) Grant write permissions for a specific path in this domain to an IAM principal (Role/Group/User).
public virtual Grant GrantPathWrite(string path, IGrantable identity)
Parameters
- path System.String
The path to grant permissions for.
- identity IGrantable
The principal.
Returns
Remarks
Stability: Experimental
GrantRead(IGrantable)
(experimental) Grant read permissions for this domain and its contents to an IAM principal (Role/Group/User).
public virtual Grant GrantRead(IGrantable identity)
Parameters
- identity IGrantable
The principal.
Returns
Remarks
Stability: Experimental
GrantReadWrite(IGrantable)
(experimental) Grant read/write permissions for this domain and its contents to an IAM principal (Role/Group/User).
public virtual Grant GrantReadWrite(IGrantable identity)
Parameters
- identity IGrantable
The principal.
Returns
Remarks
Stability: Experimental
GrantWrite(IGrantable)
(experimental) Grant write permissions for this domain and its contents to an IAM principal (Role/Group/User).
public virtual Grant GrantWrite(IGrantable identity)
Parameters
- identity IGrantable
The principal.
Returns
Remarks
Stability: Experimental
Metric(String, IMetricOptions)
(experimental) Return the given named metric for this Domain.
public virtual Metric Metric(string metricName, IMetricOptions props = null)
Parameters
- metricName System.String
- props IMetricOptions
Returns
Remarks
Stability: Experimental
MetricAutomatedSnapshotFailure(IMetricOptions)
(experimental) Metric for automated snapshot failures.
public virtual Metric MetricAutomatedSnapshotFailure(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: maximum over 5 minutes
Stability: Experimental
MetricClusterIndexWriteBlocked(IMetricOptions)
(experimental) Metric for the cluster blocking index writes.
public virtual Metric MetricClusterIndexWriteBlocked(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: maximum over 1 minute
Stability: Experimental
MetricClusterStatusRed(IMetricOptions)
(experimental) Metric for the time the cluster status is red.
public virtual Metric MetricClusterStatusRed(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: maximum over 5 minutes
Stability: Experimental
MetricClusterStatusYellow(IMetricOptions)
(experimental) Metric for the time the cluster status is yellow.
public virtual Metric MetricClusterStatusYellow(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: maximum over 5 minutes
Stability: Experimental
MetricCPUUtilization(IMetricOptions)
(experimental) Metric for CPU utilization.
public virtual Metric MetricCPUUtilization(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: maximum over 5 minutes
Stability: Experimental
MetricFreeStorageSpace(IMetricOptions)
(experimental) Metric for the storage space of nodes in the cluster.
public virtual Metric MetricFreeStorageSpace(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: minimum over 5 minutes
Stability: Experimental
MetricIndexingLatency(IMetricOptions)
(experimental) Metric for indexing latency.
public virtual Metric MetricIndexingLatency(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: p99 over 5 minutes
Stability: Experimental
MetricJVMMemoryPressure(IMetricOptions)
(experimental) Metric for JVM memory pressure.
public virtual Metric MetricJVMMemoryPressure(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: maximum over 5 minutes
Stability: Experimental
MetricKMSKeyError(IMetricOptions)
(experimental) Metric for KMS key errors.
public virtual Metric MetricKMSKeyError(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: maximum over 5 minutes
Stability: Experimental
MetricKMSKeyInaccessible(IMetricOptions)
(experimental) Metric for KMS key being inaccessible.
public virtual Metric MetricKMSKeyInaccessible(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: maximum over 5 minutes
Stability: Experimental
MetricMasterCPUUtilization(IMetricOptions)
(experimental) Metric for master CPU utilization.
public virtual Metric MetricMasterCPUUtilization(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: maximum over 5 minutes
Stability: Experimental
MetricMasterJVMMemoryPressure(IMetricOptions)
(experimental) Metric for master JVM memory pressure.
public virtual Metric MetricMasterJVMMemoryPressure(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: maximum over 5 minutes
Stability: Experimental
MetricNodes(IMetricOptions)
(experimental) Metric for the number of nodes.
public virtual Metric MetricNodes(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: minimum over 1 hour
Stability: Experimental
MetricSearchableDocuments(IMetricOptions)
(experimental) Metric for number of searchable documents.
public virtual Metric MetricSearchableDocuments(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: maximum over 5 minutes
Stability: Experimental
MetricSearchLatency(IMetricOptions)
(experimental) Metric for search latency.
public virtual Metric MetricSearchLatency(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Default: p99 over 5 minutes
Stability: Experimental