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
IDomain
.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IDependable
IDependable.Jsii$Default, IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticsearch.IDomain
IDomain.Jsii$Default, IDomain.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.default String
Deprecated.use opensearchservice module insteaddefault String
Deprecated.use opensearchservice module insteaddefault String
Deprecated.use opensearchservice module insteaddefault 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 insteaddefault Grant
grantIndexReadWrite
(String index, IGrantable identity) Deprecated.use opensearchservice module insteaddefault Grant
grantIndexWrite
(String index, IGrantable identity) Deprecated.use opensearchservice module insteaddefault Grant
grantPathRead
(String path, IGrantable identity) Deprecated.use opensearchservice module insteaddefault Grant
grantPathReadWrite
(String path, IGrantable identity) Deprecated.use opensearchservice module insteaddefault Grant
grantPathWrite
(String path, IGrantable identity) Deprecated.use opensearchservice module insteaddefault Grant
grantRead
(IGrantable identity) Deprecated.use opensearchservice module insteaddefault Grant
grantReadWrite
(IGrantable identity) Deprecated.use opensearchservice module insteaddefault Grant
grantWrite
(IGrantable identity) Deprecated.use opensearchservice module insteaddefault Metric
metric
(String metricName, MetricOptions props) Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
metricKMSKeyError
(MetricOptions props) Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
metricNodes
(MetricOptions props) Deprecated.use opensearchservice module insteaddefault Metric
Deprecated.use opensearchservice module insteaddefault Metric
metricSearchLatency
(MetricOptions props) Deprecated.use opensearchservice module insteadMethods inherited from interface software.amazon.awscdk.services.elasticsearch.IDomain
metric, metricAutomatedSnapshotFailure, metricClusterIndexWritesBlocked, metricClusterStatusRed, metricClusterStatusYellow, metricCPUUtilization, metricFreeStorageSpace, metricIndexingLatency, metricJVMMemoryPressure, metricKMSKeyError, metricKMSKeyInaccessible, metricMasterCPUUtilization, metricMasterJVMMemoryPressure, metricNodes, metricSearchableDocuments, metricSearchLatency
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
The construct tree node for this construct.- Specified by:
getNode
in interfaceIConstruct
- Specified by:
getNode
in interfaceIConstruct.Jsii$Default
- Specified by:
getNode
in interfaceIResource.Jsii$Default
-
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 interfaceIResource
- Specified by:
getEnv
in interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getDomainArn
Deprecated.use opensearchservice module instead(deprecated) Arn of the Elasticsearch domain.- Specified by:
getDomainArn
in interfaceIDomain
-
getDomainEndpoint
Deprecated.use opensearchservice module instead(deprecated) Endpoint of the Elasticsearch domain.- Specified by:
getDomainEndpoint
in interfaceIDomain
-
getDomainName
Deprecated.use opensearchservice module instead(deprecated) Domain name of the Elasticsearch domain.- Specified by:
getDomainName
in interfaceIDomain
-
applyRemovalPolicy
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 interfaceIResource
- Specified by:
applyRemovalPolicy
in interfaceIResource.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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- Parameters:
path
- The path to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantRead
Deprecated.use opensearchservice module instead(deprecated) Grant read permissions for this domain and its contents to an IAM principal (Role/Group/User). -
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 interfaceIDomain
- Parameters:
identity
- The principal. This parameter is required.
-
grantWrite
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 interfaceIDomain
- 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. -
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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- 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 interfaceIDomain
- Parameters:
props
-
-