Interface IDomain
- All Superinterfaces:
IConstruct
,software.constructs.IConstruct
,IDependable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IDomain.Jsii$Default
- All Known Implementing Classes:
Domain
,IDomain.Jsii$Proxy
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIDomain
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionArn of the Amazon OpenSearch Service domain.Endpoint of the Amazon OpenSearch Service domain.Identifier of the Amazon OpenSearch Service domain.Domain name of the Amazon OpenSearch Service domain.grantIndexRead
(String index, IGrantable identity) Grant read permissions for an index in this domain to an IAM principal (Role/Group/User).grantIndexReadWrite
(String index, IGrantable identity) Grant read/write permissions for an index in this domain to an IAM principal (Role/Group/User).grantIndexWrite
(String index, IGrantable identity) Grant write permissions for an index in this domain to an IAM principal (Role/Group/User).grantPathRead
(String path, IGrantable identity) Grant read permissions for a specific path in this domain to an IAM principal (Role/Group/User).grantPathReadWrite
(String path, IGrantable identity) Grant read/write permissions for a specific path in this domain to an IAM principal (Role/Group/User).grantPathWrite
(String path, IGrantable identity) Grant write permissions for a specific path in this domain to an IAM principal (Role/Group/User).grantRead
(IGrantable identity) Grant read permissions for this domain and its contents to an IAM principal (Role/Group/User).grantReadWrite
(IGrantable identity) Grant read/write permissions for this domain and its contents to an IAM principal (Role/Group/User).grantWrite
(IGrantable identity) Grant write permissions for this domain and its contents to an IAM principal (Role/Group/User).Return the given named metric for this domain.metric
(String metricName, MetricOptions props) Return the given named metric for this domain.Metric for automated snapshot failures.Metric for automated snapshot failures.Metric for the cluster blocking index writes.Metric for the cluster blocking index writes.Metric for the time the cluster status is red.Metric for the time the cluster status is red.Metric for the time the cluster status is yellow.Metric for the time the cluster status is yellow.Metric for CPU utilization.Metric for CPU utilization.Metric for the storage space of nodes in the cluster.Metric for the storage space of nodes in the cluster.Metric for indexing latency.Metric for indexing latency.Metric for JVM memory pressure.Metric for JVM memory pressure.Metric for KMS key errors.metricKMSKeyError
(MetricOptions props) Metric for KMS key errors.Metric for KMS key being inaccessible.Metric for KMS key being inaccessible.Metric for master CPU utilization.Metric for master CPU utilization.Metric for master JVM memory pressure.Metric for master JVM memory pressure.Metric for the number of nodes.metricNodes
(MetricOptions props) Metric for the number of nodes.Metric for number of searchable documents.Metric for number of searchable documents.Metric for search latency.metricSearchLatency
(MetricOptions props) Metric for search latency.Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainArn
Arn of the Amazon OpenSearch Service domain. -
getDomainEndpoint
Endpoint of the Amazon OpenSearch Service domain. -
getDomainId
Identifier of the Amazon OpenSearch Service domain. -
getDomainName
Domain name of the Amazon OpenSearch Service domain. -
grantIndexRead
@Stability(Stable) @NotNull Grant grantIndexRead(@NotNull String index, @NotNull IGrantable identity) Grant read permissions for an index in this domain to an IAM principal (Role/Group/User).- Parameters:
index
- The index to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantIndexReadWrite
@Stability(Stable) @NotNull Grant grantIndexReadWrite(@NotNull String index, @NotNull IGrantable identity) Grant read/write permissions for an index in this domain to an IAM principal (Role/Group/User).- Parameters:
index
- The index to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantIndexWrite
@Stability(Stable) @NotNull Grant grantIndexWrite(@NotNull String index, @NotNull IGrantable identity) Grant write permissions for an index in this domain to an IAM principal (Role/Group/User).- Parameters:
index
- The index to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantPathRead
Grant read permissions for a specific path in this domain to an IAM principal (Role/Group/User).- Parameters:
path
- The path to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantPathReadWrite
@Stability(Stable) @NotNull Grant grantPathReadWrite(@NotNull String path, @NotNull IGrantable identity) Grant read/write permissions for a specific path in this domain to an IAM principal (Role/Group/User).- Parameters:
path
- The path to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantPathWrite
@Stability(Stable) @NotNull Grant grantPathWrite(@NotNull String path, @NotNull IGrantable identity) Grant write permissions for a specific path in this domain to an IAM principal (Role/Group/User).- Parameters:
path
- The path to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantRead
Grant read permissions for this domain and its contents to an IAM principal (Role/Group/User).- Parameters:
identity
- The principal. This parameter is required.
-
grantReadWrite
Grant read/write permissions for this domain and its contents to an IAM principal (Role/Group/User).- Parameters:
identity
- The principal. This parameter is required.
-
grantWrite
Grant write permissions for this domain and its contents to an IAM principal (Role/Group/User).- Parameters:
identity
- The principal. This parameter is required.
-
metric
@Stability(Stable) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this domain.- Parameters:
metricName
- This parameter is required.props
-
-
metric
Return the given named metric for this domain.- Parameters:
metricName
- This parameter is required.
-
metricAutomatedSnapshotFailure
Metric for automated snapshot failures.Default: maximum over 5 minutes
- Parameters:
props
-
-
metricAutomatedSnapshotFailure
Metric for automated snapshot failures.Default: maximum over 5 minutes
-
metricClusterIndexWritesBlocked
Metric for the cluster blocking index writes.Default: maximum over 1 minute
- Parameters:
props
-
-
metricClusterIndexWritesBlocked
Metric for the cluster blocking index writes.Default: maximum over 1 minute
-
metricClusterStatusRed
Metric for the time the cluster status is red.Default: maximum over 5 minutes
- Parameters:
props
-
-
metricClusterStatusRed
Metric for the time the cluster status is red.Default: maximum over 5 minutes
-
metricClusterStatusYellow
Metric for the time the cluster status is yellow.Default: maximum over 5 minutes
- Parameters:
props
-
-
metricClusterStatusYellow
Metric for the time the cluster status is yellow.Default: maximum over 5 minutes
-
metricCPUUtilization
Metric for CPU utilization.Default: maximum over 5 minutes
- Parameters:
props
-
-
metricCPUUtilization
Metric for CPU utilization.Default: maximum over 5 minutes
-
metricFreeStorageSpace
Metric for the storage space of nodes in the cluster.Default: minimum over 5 minutes
- Parameters:
props
-
-
metricFreeStorageSpace
Metric for the storage space of nodes in the cluster.Default: minimum over 5 minutes
-
metricIndexingLatency
Metric for indexing latency.Default: p99 over 5 minutes
- Parameters:
props
-
-
metricIndexingLatency
Metric for indexing latency.Default: p99 over 5 minutes
-
metricJVMMemoryPressure
Metric for JVM memory pressure.Default: maximum over 5 minutes
- Parameters:
props
-
-
metricJVMMemoryPressure
Metric for JVM memory pressure.Default: maximum over 5 minutes
-
metricKMSKeyError
Metric for KMS key errors.Default: maximum over 5 minutes
- Parameters:
props
-
-
metricKMSKeyError
Metric for KMS key errors.Default: maximum over 5 minutes
-
metricKMSKeyInaccessible
Metric for KMS key being inaccessible.Default: maximum over 5 minutes
- Parameters:
props
-
-
metricKMSKeyInaccessible
Metric for KMS key being inaccessible.Default: maximum over 5 minutes
-
metricMasterCPUUtilization
Metric for master CPU utilization.Default: maximum over 5 minutes
- Parameters:
props
-
-
metricMasterCPUUtilization
Metric for master CPU utilization.Default: maximum over 5 minutes
-
metricMasterJVMMemoryPressure
Metric for master JVM memory pressure.Default: maximum over 5 minutes
- Parameters:
props
-
-
metricMasterJVMMemoryPressure
Metric for master JVM memory pressure.Default: maximum over 5 minutes
-
metricNodes
Metric for the number of nodes.Default: minimum over 1 hour
- Parameters:
props
-
-
metricNodes
Metric for the number of nodes.Default: minimum over 1 hour
-
metricSearchableDocuments
Metric for number of searchable documents.Default: maximum over 5 minutes
- Parameters:
props
-
-
metricSearchableDocuments
Metric for number of searchable documents.Default: maximum over 5 minutes
-
metricSearchLatency
Metric for search latency.Default: p99 over 5 minutes
- Parameters:
props
-
-
metricSearchLatency
Metric for search latency.Default: p99 over 5 minutes
-