@Internal public static interface IDomain.Jsii$Default extends IDomain, IResource.Jsii$Default
IDomain.IDomain.Jsii$Default, IDomain.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
default String |
getDomainArn()
Deprecated.
use opensearchservice module instead
|
default String |
getDomainEndpoint()
Deprecated.
use opensearchservice module instead
|
default String |
getDomainName()
Deprecated.
use opensearchservice module instead
|
default ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
default ConstructNode |
getNode()
The construct tree node for this construct.
|
default Stack |
getStack()
The stack in which this resource is defined.
|
default Grant |
grantIndexRead(String index,
IGrantable identity)
Deprecated.
use opensearchservice module instead
|
default Grant |
grantIndexReadWrite(String index,
IGrantable identity)
Deprecated.
use opensearchservice module instead
|
default Grant |
grantIndexWrite(String index,
IGrantable identity)
Deprecated.
use opensearchservice module instead
|
default Grant |
grantPathRead(String path,
IGrantable identity)
Deprecated.
use opensearchservice module instead
|
default Grant |
grantPathReadWrite(String path,
IGrantable identity)
Deprecated.
use opensearchservice module instead
|
default Grant |
grantPathWrite(String path,
IGrantable identity)
Deprecated.
use opensearchservice module instead
|
default Grant |
grantRead(IGrantable identity)
Deprecated.
use opensearchservice module instead
|
default Grant |
grantReadWrite(IGrantable identity)
Deprecated.
use opensearchservice module instead
|
default Grant |
grantWrite(IGrantable identity)
Deprecated.
use opensearchservice module instead
|
default Metric |
metric(String metricName,
MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricAutomatedSnapshotFailure(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricClusterIndexWritesBlocked(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricClusterStatusRed(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricClusterStatusYellow(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricCPUUtilization(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricFreeStorageSpace(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricIndexingLatency(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricJVMMemoryPressure(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricKMSKeyError(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricKMSKeyInaccessible(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricMasterCPUUtilization(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricMasterJVMMemoryPressure(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricNodes(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricSearchableDocuments(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
default Metric |
metricSearchLatency(MetricOptions props)
Deprecated.
use opensearchservice module instead
|
metric, metricAutomatedSnapshotFailure, metricClusterIndexWritesBlocked, metricClusterStatusRed, metricClusterStatusYellow, metricCPUUtilization, metricFreeStorageSpace, metricIndexingLatency, metricJVMMemoryPressure, metricKMSKeyError, metricKMSKeyInaccessible, metricMasterCPUUtilization, metricMasterJVMMemoryPressure, metricNodes, metricSearchableDocuments, metricSearchLatency@Stability(value=Stable) @NotNull default ConstructNode getNode()
getNode in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default ResourceEnvironment getEnv()
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.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Deprecated) @Deprecated @NotNull default String getDomainArn()
getDomainArn in interface IDomain@Stability(value=Deprecated) @Deprecated @NotNull default String getDomainEndpoint()
getDomainEndpoint in interface IDomain@Stability(value=Deprecated) @Deprecated @NotNull default String getDomainName()
getDomainName in interface IDomain@Stability(value=Stable)
default void applyRemovalPolicy(@NotNull
RemovalPolicy policy)
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).
applyRemovalPolicy in interface IResourceapplyRemovalPolicy in interface IResource.Jsii$Defaultpolicy - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull default Grant grantIndexRead(@NotNull String index, @NotNull IGrantable identity)
grantIndexRead in interface IDomainindex - The index to grant permissions for. This parameter is required.identity - The principal. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull default Grant grantIndexReadWrite(@NotNull String index, @NotNull IGrantable identity)
grantIndexReadWrite in interface IDomainindex - The index to grant permissions for. This parameter is required.identity - The principal. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull default Grant grantIndexWrite(@NotNull String index, @NotNull IGrantable identity)
grantIndexWrite in interface IDomainindex - The index to grant permissions for. This parameter is required.identity - The principal. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull default Grant grantPathRead(@NotNull String path, @NotNull IGrantable identity)
grantPathRead in interface IDomainpath - The path to grant permissions for. This parameter is required.identity - The principal. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull default Grant grantPathReadWrite(@NotNull String path, @NotNull IGrantable identity)
grantPathReadWrite in interface IDomainpath - The path to grant permissions for. This parameter is required.identity - The principal. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull default Grant grantPathWrite(@NotNull String path, @NotNull IGrantable identity)
grantPathWrite in interface IDomainpath - The path to grant permissions for. This parameter is required.identity - The principal. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull default Grant grantRead(@NotNull IGrantable identity)
@Stability(value=Deprecated) @Deprecated @NotNull default Grant grantReadWrite(@NotNull IGrantable identity)
grantReadWrite in interface IDomainidentity - The principal. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull default Grant grantWrite(@NotNull IGrantable identity)
grantWrite in interface IDomainidentity - The principal. This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
@Stability(value=Deprecated) @Deprecated @NotNull default Metric metricAutomatedSnapshotFailure(@Nullable MetricOptions props)
Default: maximum over 5 minutes
metricAutomatedSnapshotFailure in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricClusterIndexWritesBlocked(@Nullable MetricOptions props)
Default: maximum over 1 minute
metricClusterIndexWritesBlocked in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricClusterStatusRed(@Nullable MetricOptions props)
Default: maximum over 5 minutes
metricClusterStatusRed in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricClusterStatusYellow(@Nullable MetricOptions props)
Default: maximum over 5 minutes
metricClusterStatusYellow in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricCPUUtilization(@Nullable MetricOptions props)
Default: maximum over 5 minutes
metricCPUUtilization in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricFreeStorageSpace(@Nullable MetricOptions props)
Default: minimum over 5 minutes
metricFreeStorageSpace in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricIndexingLatency(@Nullable MetricOptions props)
Default: p99 over 5 minutes
metricIndexingLatency in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricJVMMemoryPressure(@Nullable MetricOptions props)
Default: maximum over 5 minutes
metricJVMMemoryPressure in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricKMSKeyError(@Nullable MetricOptions props)
Default: maximum over 5 minutes
metricKMSKeyError in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricKMSKeyInaccessible(@Nullable MetricOptions props)
Default: maximum over 5 minutes
metricKMSKeyInaccessible in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricMasterCPUUtilization(@Nullable MetricOptions props)
Default: maximum over 5 minutes
metricMasterCPUUtilization in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricMasterJVMMemoryPressure(@Nullable MetricOptions props)
Default: maximum over 5 minutes
metricMasterJVMMemoryPressure in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricNodes(@Nullable MetricOptions props)
Default: minimum over 1 hour
metricNodes in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricSearchableDocuments(@Nullable MetricOptions props)
Default: maximum over 5 minutes
metricSearchableDocuments in interface IDomainprops - @Stability(value=Deprecated) @Deprecated @NotNull default Metric metricSearchLatency(@Nullable MetricOptions props)
Default: p99 over 5 minutes
metricSearchLatency in interface IDomainprops - Copyright © 2022. All rights reserved.