Show / Hide Table of Contents

Class Domain

(deprecated) Provides an Elasticsearch domain.

Inheritance
System.Object
Construct
Resource
Domain
Implements
IDomain
IResource
IConstruct
Constructs.IConstruct
IDependable
IConnectable
Inherited Members
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(String, IArnComponents)
Resource.GetResourceNameAttribute(String)
Resource.Env
Resource.PhysicalName
Resource.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.AWS.Elasticsearch.dll
Syntax (csharp)
public class Domain : Resource, IDomain, IResource, IConstruct, IDependable, IConnectable
Syntax (vb)
Public Class Domain
    Inherits Resource
    Implements IDomain, IResource, IConstruct, IDependable, IConnectable
Remarks

Stability: Deprecated

ExampleMetadata: infused

Examples
var domain = new Domain(this, "Domain", new DomainProps {
    Version = ElasticsearchVersion.V7_4,
    Ebs = new EbsOptions {
        VolumeSize = 100,
        VolumeType = EbsDeviceVolumeType.GENERAL_PURPOSE_SSD
    },
    NodeToNodeEncryption = true,
    EncryptionAtRest = new EncryptionAtRestOptions {
        Enabled = true
    }
});

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

(deprecated) Log group that application logs are logged to.

AuditLogGroup

(deprecated) Log group that audit logs are logged to.

Connections

(deprecated) Manages network connections to the domain.

DomainArn

(deprecated) Arn of the Elasticsearch domain.

DomainEndpoint

(deprecated) Endpoint of the Elasticsearch domain.

DomainName

(deprecated) Domain name of the Elasticsearch domain.

MasterUserPassword

(deprecated) Master user password if fine grained access control is configured.

SlowIndexLogGroup

(deprecated) Log group that slow indices are logged to.

SlowSearchLogGroup

(deprecated) Log group that slow searches are logged to.

Methods

AddAccessPolicies(PolicyStatement[])

(deprecated) Add policy statements to the domain access policy.

FromDomainAttributes(Construct, String, IDomainAttributes)

(deprecated) Creates a Domain construct that represents an external domain.

FromDomainEndpoint(Construct, String, String)

(deprecated) Creates a Domain construct that represents an external domain via domain endpoint.

GrantIndexRead(String, IGrantable)

(deprecated) Grant read permissions for an index in this domain to an IAM principal (Role/Group/User).

GrantIndexReadWrite(String, IGrantable)

(deprecated) Grant read/write permissions for an index in this domain to an IAM principal (Role/Group/User).

GrantIndexWrite(String, IGrantable)

(deprecated) Grant write permissions for an index in this domain to an IAM principal (Role/Group/User).

GrantPathRead(String, IGrantable)

(deprecated) Grant read permissions for a specific path in this domain to an IAM principal (Role/Group/User).

GrantPathReadWrite(String, IGrantable)

(deprecated) Grant read/write permissions for a specific path in this domain to an IAM principal (Role/Group/User).

GrantPathWrite(String, IGrantable)

(deprecated) Grant write permissions for a specific path in this domain to an IAM principal (Role/Group/User).

GrantRead(IGrantable)

(deprecated) Grant read permissions for this domain and its contents to an IAM principal (Role/Group/User).

GrantReadWrite(IGrantable)

(deprecated) Grant read/write permissions for this domain and its contents to an IAM principal (Role/Group/User).

GrantWrite(IGrantable)

(deprecated) Grant write permissions for this domain and its contents to an IAM principal (Role/Group/User).

Metric(String, IMetricOptions)

(deprecated) Return the given named metric for this Domain.

MetricAutomatedSnapshotFailure(IMetricOptions)

(deprecated) Metric for automated snapshot failures.

MetricClusterIndexWritesBlocked(IMetricOptions)

(deprecated) Metric for the cluster blocking index writes.

MetricClusterStatusRed(IMetricOptions)

(deprecated) Metric for the time the cluster status is red.

MetricClusterStatusYellow(IMetricOptions)

(deprecated) Metric for the time the cluster status is yellow.

MetricCPUUtilization(IMetricOptions)

(deprecated) Metric for CPU utilization.

MetricFreeStorageSpace(IMetricOptions)

(deprecated) Metric for the storage space of nodes in the cluster.

MetricIndexingLatency(IMetricOptions)

(deprecated) Metric for indexing latency.

MetricJVMMemoryPressure(IMetricOptions)

(deprecated) Metric for JVM memory pressure.

MetricKMSKeyError(IMetricOptions)

(deprecated) Metric for KMS key errors.

MetricKMSKeyInaccessible(IMetricOptions)

(deprecated) Metric for KMS key being inaccessible.

MetricMasterCPUUtilization(IMetricOptions)

(deprecated) Metric for master CPU utilization.

MetricMasterJVMMemoryPressure(IMetricOptions)

(deprecated) Metric for master JVM memory pressure.

MetricNodes(IMetricOptions)

(deprecated) Metric for the number of nodes.

MetricSearchableDocuments(IMetricOptions)

(deprecated) Metric for number of searchable documents.

MetricSearchLatency(IMetricOptions)

(deprecated) 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: Deprecated

Properties

AppLogGroup

(deprecated) Log group that application logs are logged to.

public virtual ILogGroup AppLogGroup { get; }
Property Value

ILogGroup

Remarks

Stability: Deprecated

Attribute: true

AuditLogGroup

(deprecated) Log group that audit logs are logged to.

public virtual ILogGroup AuditLogGroup { get; }
Property Value

ILogGroup

Remarks

Stability: Deprecated

Attribute: true

Connections

(deprecated) Manages network connections to the domain.

public virtual Connections_ Connections { get; }
Property Value

Connections_

Remarks

This will throw an error in case the domain is not placed inside a VPC.

Stability: Deprecated

DomainArn

(deprecated) Arn of the Elasticsearch domain.

public virtual string DomainArn { get; }
Property Value

System.String

Remarks

Stability: Deprecated

DomainEndpoint

(deprecated) Endpoint of the Elasticsearch domain.

public virtual string DomainEndpoint { get; }
Property Value

System.String

Remarks

Stability: Deprecated

DomainName

(deprecated) Domain name of the Elasticsearch domain.

public virtual string DomainName { get; }
Property Value

System.String

Remarks

Stability: Deprecated

MasterUserPassword

(deprecated) Master user password if fine grained access control is configured.

public virtual SecretValue MasterUserPassword { get; }
Property Value

SecretValue

Remarks

Stability: Deprecated

SlowIndexLogGroup

(deprecated) Log group that slow indices are logged to.

public virtual ILogGroup SlowIndexLogGroup { get; }
Property Value

ILogGroup

Remarks

Stability: Deprecated

Attribute: true

SlowSearchLogGroup

(deprecated) Log group that slow searches are logged to.

public virtual ILogGroup SlowSearchLogGroup { get; }
Property Value

ILogGroup

Remarks

Stability: Deprecated

Attribute: true

Methods

AddAccessPolicies(PolicyStatement[])

(deprecated) Add policy statements to the domain access policy.

public virtual void AddAccessPolicies(params PolicyStatement[] accessPolicyStatements)
Parameters
accessPolicyStatements PolicyStatement[]
Remarks

Stability: Deprecated

FromDomainAttributes(Construct, String, IDomainAttributes)

(deprecated) 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

IDomain

Remarks

Stability: Deprecated

FromDomainEndpoint(Construct, String, String)

(deprecated) 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

IDomain

Remarks

Stability: Deprecated

GrantIndexRead(String, IGrantable)

(deprecated) 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

Grant

Remarks

Stability: Deprecated

GrantIndexReadWrite(String, IGrantable)

(deprecated) 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

Grant

Remarks

Stability: Deprecated

GrantIndexWrite(String, IGrantable)

(deprecated) 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

Grant

Remarks

Stability: Deprecated

GrantPathRead(String, IGrantable)

(deprecated) 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

Grant

Remarks

Stability: Deprecated

GrantPathReadWrite(String, IGrantable)

(deprecated) 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

Grant

Remarks

Stability: Deprecated

GrantPathWrite(String, IGrantable)

(deprecated) 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

Grant

Remarks

Stability: Deprecated

GrantRead(IGrantable)

(deprecated) 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

Grant

Remarks

Stability: Deprecated

GrantReadWrite(IGrantable)

(deprecated) 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

Grant

Remarks

Stability: Deprecated

GrantWrite(IGrantable)

(deprecated) 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

Grant

Remarks

Stability: Deprecated

Metric(String, IMetricOptions)

(deprecated) Return the given named metric for this Domain.

public virtual Metric Metric(string metricName, IMetricOptions props = null)
Parameters
metricName System.String
props IMetricOptions
Returns

Metric

Remarks

Stability: Deprecated

MetricAutomatedSnapshotFailure(IMetricOptions)

(deprecated) Metric for automated snapshot failures.

public virtual Metric MetricAutomatedSnapshotFailure(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: maximum over 5 minutes

Stability: Deprecated

MetricClusterIndexWritesBlocked(IMetricOptions)

(deprecated) Metric for the cluster blocking index writes.

public virtual Metric MetricClusterIndexWritesBlocked(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: maximum over 1 minute

Stability: Deprecated

MetricClusterStatusRed(IMetricOptions)

(deprecated) Metric for the time the cluster status is red.

public virtual Metric MetricClusterStatusRed(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: maximum over 5 minutes

Stability: Deprecated

MetricClusterStatusYellow(IMetricOptions)

(deprecated) Metric for the time the cluster status is yellow.

public virtual Metric MetricClusterStatusYellow(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: maximum over 5 minutes

Stability: Deprecated

MetricCPUUtilization(IMetricOptions)

(deprecated) Metric for CPU utilization.

public virtual Metric MetricCPUUtilization(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: maximum over 5 minutes

Stability: Deprecated

MetricFreeStorageSpace(IMetricOptions)

(deprecated) Metric for the storage space of nodes in the cluster.

public virtual Metric MetricFreeStorageSpace(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: minimum over 5 minutes

Stability: Deprecated

MetricIndexingLatency(IMetricOptions)

(deprecated) Metric for indexing latency.

public virtual Metric MetricIndexingLatency(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: p99 over 5 minutes

Stability: Deprecated

MetricJVMMemoryPressure(IMetricOptions)

(deprecated) Metric for JVM memory pressure.

public virtual Metric MetricJVMMemoryPressure(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: maximum over 5 minutes

Stability: Deprecated

MetricKMSKeyError(IMetricOptions)

(deprecated) Metric for KMS key errors.

public virtual Metric MetricKMSKeyError(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: maximum over 5 minutes

Stability: Deprecated

MetricKMSKeyInaccessible(IMetricOptions)

(deprecated) Metric for KMS key being inaccessible.

public virtual Metric MetricKMSKeyInaccessible(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: maximum over 5 minutes

Stability: Deprecated

MetricMasterCPUUtilization(IMetricOptions)

(deprecated) Metric for master CPU utilization.

public virtual Metric MetricMasterCPUUtilization(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: maximum over 5 minutes

Stability: Deprecated

MetricMasterJVMMemoryPressure(IMetricOptions)

(deprecated) Metric for master JVM memory pressure.

public virtual Metric MetricMasterJVMMemoryPressure(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: maximum over 5 minutes

Stability: Deprecated

MetricNodes(IMetricOptions)

(deprecated) Metric for the number of nodes.

public virtual Metric MetricNodes(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: minimum over 1 hour

Stability: Deprecated

MetricSearchableDocuments(IMetricOptions)

(deprecated) Metric for number of searchable documents.

public virtual Metric MetricSearchableDocuments(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: maximum over 5 minutes

Stability: Deprecated

MetricSearchLatency(IMetricOptions)

(deprecated) Metric for search latency.

public virtual Metric MetricSearchLatency(IMetricOptions props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Default: p99 over 5 minutes

Stability: Deprecated

Implements

IDomain
IResource
IConstruct
Constructs.IConstruct
IDependable
IConnectable
Back to top Generated by DocFX