Interface IDomain.Jsii$Default

All Superinterfaces:
IConstruct, software.constructs.IConstruct, IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Default, IDependable, IDependable.Jsii$Default, IDomain, IResource, IResource.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IDomain.Jsii$Proxy
Enclosing interface:
IDomain

@Internal public static interface IDomain.Jsii$Default extends IDomain, IResource.Jsii$Default
Internal default implementation for IDomain.
  • Method Details

    • getNode

      @Stability(Stable) @NotNull default ConstructNode getNode()
      The construct tree node for this construct.
      Specified by:
      getNode in interface IConstruct
      Specified by:
      getNode in interface IConstruct.Jsii$Default
      Specified by:
      getNode in interface IResource.Jsii$Default
    • getEnv

      @Stability(Stable) @NotNull default ResourceEnvironment getEnv()
      The environment this resource belongs to.

      For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.

      Specified by:
      getEnv in interface IResource
      Specified by:
      getEnv in interface IResource.Jsii$Default
    • getStack

      @Stability(Stable) @NotNull default Stack getStack()
      The stack in which this resource is defined.
      Specified by:
      getStack in interface IResource
      Specified by:
      getStack in interface IResource.Jsii$Default
    • getDomainArn

      @Stability(Deprecated) @Deprecated @NotNull default String getDomainArn()
      Deprecated.
      use opensearchservice module instead
      (deprecated) Arn of the Elasticsearch domain.

      Specified by:
      getDomainArn in interface IDomain
    • getDomainEndpoint

      @Stability(Deprecated) @Deprecated @NotNull default String getDomainEndpoint()
      Deprecated.
      use opensearchservice module instead
      (deprecated) Endpoint of the Elasticsearch domain.

      Specified by:
      getDomainEndpoint in interface IDomain
    • getDomainName

      @Stability(Deprecated) @Deprecated @NotNull default String getDomainName()
      Deprecated.
      use opensearchservice module instead
      (deprecated) Domain name of the Elasticsearch domain.

      Specified by:
      getDomainName in interface IDomain
    • applyRemovalPolicy

      @Stability(Stable) default void applyRemovalPolicy(@NotNull RemovalPolicy policy)
      Apply the given removal policy to this resource.

      The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.

      The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).

      Specified by:
      applyRemovalPolicy in interface IResource
      Specified by:
      applyRemovalPolicy in interface IResource.Jsii$Default
      Parameters:
      policy - This parameter is required.
    • grantIndexRead

      @Stability(Deprecated) @Deprecated @NotNull default Grant grantIndexRead(@NotNull String index, @NotNull IGrantable identity)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Grant read permissions for an index in this domain to an IAM principal (Role/Group/User).

      Specified by:
      grantIndexRead in interface IDomain
      Parameters:
      index - The index to grant permissions for. This parameter is required.
      identity - The principal. This parameter is required.
    • grantIndexReadWrite

      @Stability(Deprecated) @Deprecated @NotNull default Grant grantIndexReadWrite(@NotNull String index, @NotNull IGrantable identity)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Grant read/write permissions for an index in this domain to an IAM principal (Role/Group/User).

      Specified by:
      grantIndexReadWrite in interface IDomain
      Parameters:
      index - The index to grant permissions for. This parameter is required.
      identity - The principal. This parameter is required.
    • grantIndexWrite

      @Stability(Deprecated) @Deprecated @NotNull default Grant grantIndexWrite(@NotNull String index, @NotNull IGrantable identity)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Grant write permissions for an index in this domain to an IAM principal (Role/Group/User).

      Specified by:
      grantIndexWrite in interface IDomain
      Parameters:
      index - The index to grant permissions for. This parameter is required.
      identity - The principal. This parameter is required.
    • grantPathRead

      @Stability(Deprecated) @Deprecated @NotNull default Grant grantPathRead(@NotNull String path, @NotNull IGrantable identity)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Grant read permissions for a specific path in this domain to an IAM principal (Role/Group/User).

      Specified by:
      grantPathRead in interface IDomain
      Parameters:
      path - The path to grant permissions for. This parameter is required.
      identity - The principal. This parameter is required.
    • grantPathReadWrite

      @Stability(Deprecated) @Deprecated @NotNull default Grant grantPathReadWrite(@NotNull String path, @NotNull IGrantable identity)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Grant read/write permissions for a specific path in this domain to an IAM principal (Role/Group/User).

      Specified by:
      grantPathReadWrite in interface IDomain
      Parameters:
      path - The path to grant permissions for. This parameter is required.
      identity - The principal. This parameter is required.
    • grantPathWrite

      @Stability(Deprecated) @Deprecated @NotNull default Grant grantPathWrite(@NotNull String path, @NotNull IGrantable identity)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Grant write permissions for a specific path in this domain to an IAM principal (Role/Group/User).

      Specified by:
      grantPathWrite in interface IDomain
      Parameters:
      path - The path to grant permissions for. This parameter is required.
      identity - The principal. This parameter is required.
    • grantRead

      @Stability(Deprecated) @Deprecated @NotNull default Grant grantRead(@NotNull IGrantable identity)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Grant read permissions for this domain and its contents to an IAM principal (Role/Group/User).

      Specified by:
      grantRead in interface IDomain
      Parameters:
      identity - The principal. This parameter is required.
    • grantReadWrite

      @Stability(Deprecated) @Deprecated @NotNull default Grant grantReadWrite(@NotNull IGrantable identity)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Grant read/write permissions for this domain and its contents to an IAM principal (Role/Group/User).

      Specified by:
      grantReadWrite in interface IDomain
      Parameters:
      identity - The principal. This parameter is required.
    • grantWrite

      @Stability(Deprecated) @Deprecated @NotNull default Grant grantWrite(@NotNull IGrantable identity)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Grant write permissions for this domain and its contents to an IAM principal (Role/Group/User).

      Specified by:
      grantWrite in interface IDomain
      Parameters:
      identity - The principal. This parameter is required.
    • metric

      @Stability(Deprecated) @Deprecated @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Return the given named metric for this Domain.

      Specified by:
      metric in interface IDomain
      Parameters:
      metricName - This parameter is required.
      props -
    • metricAutomatedSnapshotFailure

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricAutomatedSnapshotFailure(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for automated snapshot failures.

      Default: maximum over 5 minutes

      Specified by:
      metricAutomatedSnapshotFailure in interface IDomain
      Parameters:
      props -
    • metricClusterIndexWritesBlocked

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricClusterIndexWritesBlocked(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for the cluster blocking index writes.

      Default: maximum over 1 minute

      Specified by:
      metricClusterIndexWritesBlocked in interface IDomain
      Parameters:
      props -
    • metricClusterStatusRed

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricClusterStatusRed(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for the time the cluster status is red.

      Default: maximum over 5 minutes

      Specified by:
      metricClusterStatusRed in interface IDomain
      Parameters:
      props -
    • metricClusterStatusYellow

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricClusterStatusYellow(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for the time the cluster status is yellow.

      Default: maximum over 5 minutes

      Specified by:
      metricClusterStatusYellow in interface IDomain
      Parameters:
      props -
    • metricCPUUtilization

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricCPUUtilization(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for CPU utilization.

      Default: maximum over 5 minutes

      Specified by:
      metricCPUUtilization in interface IDomain
      Parameters:
      props -
    • metricFreeStorageSpace

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricFreeStorageSpace(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for the storage space of nodes in the cluster.

      Default: minimum over 5 minutes

      Specified by:
      metricFreeStorageSpace in interface IDomain
      Parameters:
      props -
    • metricIndexingLatency

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricIndexingLatency(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for indexing latency.

      Default: p99 over 5 minutes

      Specified by:
      metricIndexingLatency in interface IDomain
      Parameters:
      props -
    • metricJVMMemoryPressure

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricJVMMemoryPressure(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for JVM memory pressure.

      Default: maximum over 5 minutes

      Specified by:
      metricJVMMemoryPressure in interface IDomain
      Parameters:
      props -
    • metricKMSKeyError

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricKMSKeyError(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for KMS key errors.

      Default: maximum over 5 minutes

      Specified by:
      metricKMSKeyError in interface IDomain
      Parameters:
      props -
    • metricKMSKeyInaccessible

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricKMSKeyInaccessible(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for KMS key being inaccessible.

      Default: maximum over 5 minutes

      Specified by:
      metricKMSKeyInaccessible in interface IDomain
      Parameters:
      props -
    • metricMasterCPUUtilization

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricMasterCPUUtilization(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for master CPU utilization.

      Default: maximum over 5 minutes

      Specified by:
      metricMasterCPUUtilization in interface IDomain
      Parameters:
      props -
    • metricMasterJVMMemoryPressure

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricMasterJVMMemoryPressure(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for master JVM memory pressure.

      Default: maximum over 5 minutes

      Specified by:
      metricMasterJVMMemoryPressure in interface IDomain
      Parameters:
      props -
    • metricNodes

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricNodes(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for the number of nodes.

      Default: minimum over 1 hour

      Specified by:
      metricNodes in interface IDomain
      Parameters:
      props -
    • metricSearchableDocuments

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricSearchableDocuments(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for number of searchable documents.

      Default: maximum over 5 minutes

      Specified by:
      metricSearchableDocuments in interface IDomain
      Parameters:
      props -
    • metricSearchLatency

      @Stability(Deprecated) @Deprecated @NotNull default Metric metricSearchLatency(@Nullable MetricOptions props)
      Deprecated.
      use opensearchservice module instead
      (deprecated) Metric for search latency.

      Default: p99 over 5 minutes

      Specified by:
      metricSearchLatency in interface IDomain
      Parameters:
      props -