Class IDomain.Jsii$Proxy
- All Implemented Interfaces:
IConstruct
,IConstruct.Jsii$Default
,IDependable
,IDependable.Jsii$Default
,IResource
,IResource.Jsii$Default
,IDomain
,IDomain.Jsii$Default
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
- Enclosing interface:
IDomain
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
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.opensearchservice.IDomain
IDomain.Jsii$Default, IDomain.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.final String
Arn of the Amazon OpenSearch Service domain.final String
Endpoint of the Amazon OpenSearch Service domain.final String
Identifier of the Amazon OpenSearch Service domain.final String
Domain name of the Amazon OpenSearch Service domain.final ResourceEnvironment
getEnv()
The environment this resource belongs to.final ConstructNode
getNode()
The construct tree node for this construct.final Stack
getStack()
The stack in which this resource is defined.final Grant
grantIndexRead
(String index, IGrantable identity) Grant read permissions for an index in this domain to an IAM principal (Role/Group/User).final Grant
grantIndexReadWrite
(String index, IGrantable identity) Grant read/write permissions for an index in this domain to an IAM principal (Role/Group/User).final Grant
grantIndexWrite
(String index, IGrantable identity) Grant write permissions for an index in this domain to an IAM principal (Role/Group/User).final Grant
grantPathRead
(String path, IGrantable identity) Grant read permissions for a specific path in this domain to an IAM principal (Role/Group/User).final Grant
grantPathReadWrite
(String path, IGrantable identity) Grant read/write permissions for a specific path in this domain to an IAM principal (Role/Group/User).final Grant
grantPathWrite
(String path, IGrantable identity) Grant write permissions for a specific path in this domain to an IAM principal (Role/Group/User).final Grant
grantRead
(IGrantable identity) Grant read permissions for this domain and its contents to an IAM principal (Role/Group/User).final Grant
grantReadWrite
(IGrantable identity) Grant read/write permissions for this domain and its contents to an IAM principal (Role/Group/User).final Grant
grantWrite
(IGrantable identity) Grant write permissions for this domain and its contents to an IAM principal (Role/Group/User).final Metric
Return the given named metric for this domain.final Metric
metric
(String metricName, MetricOptions props) Return the given named metric for this domain.final Metric
Metric for automated snapshot failures.final Metric
Metric for automated snapshot failures.final Metric
Metric for the cluster blocking index writes.final Metric
Metric for the cluster blocking index writes.final Metric
Metric for the time the cluster status is red.final Metric
Metric for the time the cluster status is red.final Metric
Metric for the time the cluster status is yellow.final Metric
Metric for the time the cluster status is yellow.final Metric
Metric for CPU utilization.final Metric
Metric for CPU utilization.final Metric
Metric for the storage space of nodes in the cluster.final Metric
Metric for the storage space of nodes in the cluster.final Metric
Metric for indexing latency.final Metric
Metric for indexing latency.final Metric
Metric for JVM memory pressure.final Metric
Metric for JVM memory pressure.final Metric
Metric for KMS key errors.final Metric
metricKMSKeyError
(MetricOptions props) Metric for KMS key errors.final Metric
Metric for KMS key being inaccessible.final Metric
Metric for KMS key being inaccessible.final Metric
Metric for master CPU utilization.final Metric
Metric for master CPU utilization.final Metric
Metric for master JVM memory pressure.final Metric
Metric for master JVM memory pressure.final Metric
Metric for the number of nodes.final Metric
metricNodes
(MetricOptions props) Metric for the number of nodes.final Metric
Metric for number of searchable documents.final Metric
Metric for number of searchable documents.final Metric
Metric for search latency.final Metric
metricSearchLatency
(MetricOptions props) Metric for search latency.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
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 interfaceIDomain.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 interfaceIDomain.Jsii$Default
- 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 interfaceIDomain.Jsii$Default
- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getDomainArn
Arn of the Amazon OpenSearch Service domain.- Specified by:
getDomainArn
in interfaceIDomain
- Specified by:
getDomainArn
in interfaceIDomain.Jsii$Default
-
getDomainEndpoint
Endpoint of the Amazon OpenSearch Service domain.- Specified by:
getDomainEndpoint
in interfaceIDomain
- Specified by:
getDomainEndpoint
in interfaceIDomain.Jsii$Default
-
getDomainId
Identifier of the Amazon OpenSearch Service domain.- Specified by:
getDomainId
in interfaceIDomain
- Specified by:
getDomainId
in interfaceIDomain.Jsii$Default
-
getDomainName
Domain name of the Amazon OpenSearch Service domain.- Specified by:
getDomainName
in interfaceIDomain
- Specified by:
getDomainName
in interfaceIDomain.Jsii$Default
-
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 interfaceIDomain.Jsii$Default
- Specified by:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in interfaceIResource.Jsii$Default
- Parameters:
policy
- This parameter is required.
-
grantIndexRead
@Stability(Stable) @NotNull public final Grant grantIndexRead(@NotNull String index, @NotNull IGrantable identity) Grant read permissions for an index in this domain to an IAM principal (Role/Group/User).- Specified by:
grantIndexRead
in interfaceIDomain
- Specified by:
grantIndexRead
in interfaceIDomain.Jsii$Default
- Parameters:
index
- The index to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantIndexReadWrite
@Stability(Stable) @NotNull public final 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).- Specified by:
grantIndexReadWrite
in interfaceIDomain
- Specified by:
grantIndexReadWrite
in interfaceIDomain.Jsii$Default
- Parameters:
index
- The index to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantIndexWrite
@Stability(Stable) @NotNull public final Grant grantIndexWrite(@NotNull String index, @NotNull IGrantable identity) Grant write permissions for an index in this domain to an IAM principal (Role/Group/User).- Specified by:
grantIndexWrite
in interfaceIDomain
- Specified by:
grantIndexWrite
in interfaceIDomain.Jsii$Default
- Parameters:
index
- The index to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantPathRead
@Stability(Stable) @NotNull public final Grant grantPathRead(@NotNull String path, @NotNull IGrantable identity) Grant read permissions for a specific path in this domain to an IAM principal (Role/Group/User).- Specified by:
grantPathRead
in interfaceIDomain
- Specified by:
grantPathRead
in interfaceIDomain.Jsii$Default
- Parameters:
path
- The path to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantPathReadWrite
@Stability(Stable) @NotNull public final 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).- Specified by:
grantPathReadWrite
in interfaceIDomain
- Specified by:
grantPathReadWrite
in interfaceIDomain.Jsii$Default
- Parameters:
path
- The path to grant permissions for. This parameter is required.identity
- The principal. This parameter is required.
-
grantPathWrite
@Stability(Stable) @NotNull public final 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).- Specified by:
grantPathWrite
in interfaceIDomain
- Specified by:
grantPathWrite
in interfaceIDomain.Jsii$Default
- 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).- Specified by:
grantRead
in interfaceIDomain
- Specified by:
grantRead
in interfaceIDomain.Jsii$Default
- 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).- Specified by:
grantReadWrite
in interfaceIDomain
- Specified by:
grantReadWrite
in interfaceIDomain.Jsii$Default
- 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).- Specified by:
grantWrite
in interfaceIDomain
- Specified by:
grantWrite
in interfaceIDomain.Jsii$Default
- Parameters:
identity
- The principal. This parameter is required.
-
metric
@Stability(Stable) @NotNull public final Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this domain.- Specified by:
metric
in interfaceIDomain
- Specified by:
metric
in interfaceIDomain.Jsii$Default
- Parameters:
metricName
- This parameter is required.props
-
-
metric
Return the given named metric for this domain. -
metricAutomatedSnapshotFailure
@Stability(Stable) @NotNull public final Metric metricAutomatedSnapshotFailure(@Nullable MetricOptions props) Metric for automated snapshot failures.Default: maximum over 5 minutes
- Specified by:
metricAutomatedSnapshotFailure
in interfaceIDomain
- Specified by:
metricAutomatedSnapshotFailure
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricAutomatedSnapshotFailure
Metric for automated snapshot failures.Default: maximum over 5 minutes
- Specified by:
metricAutomatedSnapshotFailure
in interfaceIDomain
-
metricClusterIndexWritesBlocked
@Stability(Stable) @NotNull public final Metric metricClusterIndexWritesBlocked(@Nullable MetricOptions props) Metric for the cluster blocking index writes.Default: maximum over 1 minute
- Specified by:
metricClusterIndexWritesBlocked
in interfaceIDomain
- Specified by:
metricClusterIndexWritesBlocked
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricClusterIndexWritesBlocked
Metric for the cluster blocking index writes.Default: maximum over 1 minute
- Specified by:
metricClusterIndexWritesBlocked
in interfaceIDomain
-
metricClusterStatusRed
@Stability(Stable) @NotNull public final Metric metricClusterStatusRed(@Nullable MetricOptions props) Metric for the time the cluster status is red.Default: maximum over 5 minutes
- Specified by:
metricClusterStatusRed
in interfaceIDomain
- Specified by:
metricClusterStatusRed
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricClusterStatusRed
Metric for the time the cluster status is red.Default: maximum over 5 minutes
- Specified by:
metricClusterStatusRed
in interfaceIDomain
-
metricClusterStatusYellow
@Stability(Stable) @NotNull public final Metric metricClusterStatusYellow(@Nullable MetricOptions props) Metric for the time the cluster status is yellow.Default: maximum over 5 minutes
- Specified by:
metricClusterStatusYellow
in interfaceIDomain
- Specified by:
metricClusterStatusYellow
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricClusterStatusYellow
Metric for the time the cluster status is yellow.Default: maximum over 5 minutes
- Specified by:
metricClusterStatusYellow
in interfaceIDomain
-
metricCPUUtilization
Metric for CPU utilization.Default: maximum over 5 minutes
- Specified by:
metricCPUUtilization
in interfaceIDomain
- Specified by:
metricCPUUtilization
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricCPUUtilization
Metric for CPU utilization.Default: maximum over 5 minutes
- Specified by:
metricCPUUtilization
in interfaceIDomain
-
metricFreeStorageSpace
@Stability(Stable) @NotNull public final Metric metricFreeStorageSpace(@Nullable MetricOptions props) Metric for the storage space of nodes in the cluster.Default: minimum over 5 minutes
- Specified by:
metricFreeStorageSpace
in interfaceIDomain
- Specified by:
metricFreeStorageSpace
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricFreeStorageSpace
Metric for the storage space of nodes in the cluster.Default: minimum over 5 minutes
- Specified by:
metricFreeStorageSpace
in interfaceIDomain
-
metricIndexingLatency
@Stability(Stable) @NotNull public final Metric metricIndexingLatency(@Nullable MetricOptions props) Metric for indexing latency.Default: p99 over 5 minutes
- Specified by:
metricIndexingLatency
in interfaceIDomain
- Specified by:
metricIndexingLatency
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricIndexingLatency
Metric for indexing latency.Default: p99 over 5 minutes
- Specified by:
metricIndexingLatency
in interfaceIDomain
-
metricJVMMemoryPressure
@Stability(Stable) @NotNull public final Metric metricJVMMemoryPressure(@Nullable MetricOptions props) Metric for JVM memory pressure.Default: maximum over 5 minutes
- Specified by:
metricJVMMemoryPressure
in interfaceIDomain
- Specified by:
metricJVMMemoryPressure
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricJVMMemoryPressure
Metric for JVM memory pressure.Default: maximum over 5 minutes
- Specified by:
metricJVMMemoryPressure
in interfaceIDomain
-
metricKMSKeyError
Metric for KMS key errors.Default: maximum over 5 minutes
- Specified by:
metricKMSKeyError
in interfaceIDomain
- Specified by:
metricKMSKeyError
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricKMSKeyError
Metric for KMS key errors.Default: maximum over 5 minutes
- Specified by:
metricKMSKeyError
in interfaceIDomain
-
metricKMSKeyInaccessible
@Stability(Stable) @NotNull public final Metric metricKMSKeyInaccessible(@Nullable MetricOptions props) Metric for KMS key being inaccessible.Default: maximum over 5 minutes
- Specified by:
metricKMSKeyInaccessible
in interfaceIDomain
- Specified by:
metricKMSKeyInaccessible
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricKMSKeyInaccessible
Metric for KMS key being inaccessible.Default: maximum over 5 minutes
- Specified by:
metricKMSKeyInaccessible
in interfaceIDomain
-
metricMasterCPUUtilization
@Stability(Stable) @NotNull public final Metric metricMasterCPUUtilization(@Nullable MetricOptions props) Metric for master CPU utilization.Default: maximum over 5 minutes
- Specified by:
metricMasterCPUUtilization
in interfaceIDomain
- Specified by:
metricMasterCPUUtilization
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricMasterCPUUtilization
Metric for master CPU utilization.Default: maximum over 5 minutes
- Specified by:
metricMasterCPUUtilization
in interfaceIDomain
-
metricMasterJVMMemoryPressure
@Stability(Stable) @NotNull public final Metric metricMasterJVMMemoryPressure(@Nullable MetricOptions props) Metric for master JVM memory pressure.Default: maximum over 5 minutes
- Specified by:
metricMasterJVMMemoryPressure
in interfaceIDomain
- Specified by:
metricMasterJVMMemoryPressure
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricMasterJVMMemoryPressure
Metric for master JVM memory pressure.Default: maximum over 5 minutes
- Specified by:
metricMasterJVMMemoryPressure
in interfaceIDomain
-
metricNodes
Metric for the number of nodes.Default: minimum over 1 hour
- Specified by:
metricNodes
in interfaceIDomain
- Specified by:
metricNodes
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricNodes
Metric for the number of nodes.Default: minimum over 1 hour
- Specified by:
metricNodes
in interfaceIDomain
-
metricSearchableDocuments
@Stability(Stable) @NotNull public final Metric metricSearchableDocuments(@Nullable MetricOptions props) Metric for number of searchable documents.Default: maximum over 5 minutes
- Specified by:
metricSearchableDocuments
in interfaceIDomain
- Specified by:
metricSearchableDocuments
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricSearchableDocuments
Metric for number of searchable documents.Default: maximum over 5 minutes
- Specified by:
metricSearchableDocuments
in interfaceIDomain
-
metricSearchLatency
Metric for search latency.Default: p99 over 5 minutes
- Specified by:
metricSearchLatency
in interfaceIDomain
- Specified by:
metricSearchLatency
in interfaceIDomain.Jsii$Default
- Parameters:
props
-
-
metricSearchLatency
Metric for search latency.Default: p99 over 5 minutes
- Specified by:
metricSearchLatency
in interfaceIDomain
-