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$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IDependable
IDependable.Jsii$Default, IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.opensearchservice.IDomain
IDomain.Jsii$Default, IDomain.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.default StringArn of the Amazon OpenSearch Service domain.default StringEndpoint of the Amazon OpenSearch Service domain.default StringIdentifier of the Amazon OpenSearch Service domain.default StringDomain name of the Amazon OpenSearch Service domain.default ResourceEnvironmentgetEnv()The environment this resource belongs to.default ConstructNodegetNode()The construct tree node for this construct.default StackgetStack()The stack in which this resource is defined.default GrantgrantIndexRead(String index, IGrantable identity) Grant read permissions for an index in this domain to an IAM principal (Role/Group/User).default GrantgrantIndexReadWrite(String index, IGrantable identity) Grant read/write permissions for an index in this domain to an IAM principal (Role/Group/User).default GrantgrantIndexWrite(String index, IGrantable identity) Grant write permissions for an index in this domain to an IAM principal (Role/Group/User).default GrantgrantPathRead(String path, IGrantable identity) Grant read permissions for a specific path in this domain to an IAM principal (Role/Group/User).default GrantgrantPathReadWrite(String path, IGrantable identity) Grant read/write permissions for a specific path in this domain to an IAM principal (Role/Group/User).default GrantgrantPathWrite(String path, IGrantable identity) Grant write permissions for a specific path in this domain to an IAM principal (Role/Group/User).default GrantgrantRead(IGrantable identity) Grant read permissions for this domain and its contents to an IAM principal (Role/Group/User).default GrantgrantReadWrite(IGrantable identity) Grant read/write permissions for this domain and its contents to an IAM principal (Role/Group/User).default GrantgrantWrite(IGrantable identity) Grant write permissions for this domain and its contents to an IAM principal (Role/Group/User).default Metricmetric(String metricName, MetricOptions props) Return the given named metric for this domain.default MetricMetric for automated snapshot failures.default MetricMetric for the cluster blocking index writes.default MetricMetric for the time the cluster status is red.default MetricMetric for the time the cluster status is yellow.default MetricMetric for CPU utilization.default MetricMetric for the storage space of nodes in the cluster.default MetricMetric for indexing latency.default MetricMetric for JVM memory pressure.default MetricmetricKMSKeyError(MetricOptions props) Metric for KMS key errors.default MetricMetric for KMS key being inaccessible.default MetricMetric for master CPU utilization.default MetricMetric for master JVM memory pressure.default MetricmetricNodes(MetricOptions props) Metric for the number of nodes.default MetricMetric for number of searchable documents.default MetricmetricSearchLatency(MetricOptions props) Metric for search latency.Methods inherited from interface software.amazon.awscdk.services.opensearchservice.IDomain
metric, metricAutomatedSnapshotFailure, metricClusterIndexWritesBlocked, metricClusterStatusRed, metricClusterStatusYellow, metricCPUUtilization, metricFreeStorageSpace, metricIndexingLatency, metricJVMMemoryPressure, metricKMSKeyError, metricKMSKeyInaccessible, metricMasterCPUUtilization, metricMasterJVMMemoryPressure, metricNodes, metricSearchableDocuments, metricSearchLatencyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
The construct tree node for this construct.- Specified by:
getNodein interfaceIConstruct- Specified by:
getNodein interfaceIConstruct.Jsii$Default- Specified by:
getNodein 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:
getEnvin interfaceIResource- Specified by:
getEnvin interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getDomainArn
Arn of the Amazon OpenSearch Service domain.- Specified by:
getDomainArnin interfaceIDomain
-
getDomainEndpoint
Endpoint of the Amazon OpenSearch Service domain.- Specified by:
getDomainEndpointin interfaceIDomain
-
getDomainId
Identifier of the Amazon OpenSearch Service domain.- Specified by:
getDomainIdin interfaceIDomain
-
getDomainName
Domain name of the Amazon OpenSearch Service domain.- Specified by:
getDomainNamein 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:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Parameters:
policy- This parameter is required.
-
grantIndexRead
@Stability(Stable) @NotNull default 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:
grantIndexReadin interfaceIDomain- Parameters:
index- The index to grant permissions for. This parameter is required.identity- The principal. This parameter is required.
-
grantIndexReadWrite
@Stability(Stable) @NotNull default 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:
grantIndexReadWritein interfaceIDomain- Parameters:
index- The index to grant permissions for. This parameter is required.identity- The principal. This parameter is required.
-
grantIndexWrite
@Stability(Stable) @NotNull default 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:
grantIndexWritein interfaceIDomain- Parameters:
index- The index to grant permissions for. This parameter is required.identity- The principal. This parameter is required.
-
grantPathRead
@Stability(Stable) @NotNull default 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:
grantPathReadin interfaceIDomain- Parameters:
path- The path to grant permissions for. This parameter is required.identity- The principal. This parameter is required.
-
grantPathReadWrite
@Stability(Stable) @NotNull default 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:
grantPathReadWritein interfaceIDomain- Parameters:
path- The path to grant permissions for. This parameter is required.identity- The principal. This parameter is required.
-
grantPathWrite
@Stability(Stable) @NotNull default 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:
grantPathWritein interfaceIDomain- 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). -
grantReadWrite
Grant read/write permissions for this domain and its contents to an IAM principal (Role/Group/User).- Specified by:
grantReadWritein interfaceIDomain- 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:
grantWritein interfaceIDomain- Parameters:
identity- The principal. This parameter is required.
-
metric
@Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this domain. -
metricAutomatedSnapshotFailure
@Stability(Stable) @NotNull default Metric metricAutomatedSnapshotFailure(@Nullable MetricOptions props) Metric for automated snapshot failures.Default: maximum over 5 minutes
- Specified by:
metricAutomatedSnapshotFailurein interfaceIDomain- Parameters:
props-
-
metricClusterIndexWritesBlocked
@Stability(Stable) @NotNull default Metric metricClusterIndexWritesBlocked(@Nullable MetricOptions props) Metric for the cluster blocking index writes.Default: maximum over 1 minute
- Specified by:
metricClusterIndexWritesBlockedin interfaceIDomain- Parameters:
props-
-
metricClusterStatusRed
Metric for the time the cluster status is red.Default: maximum over 5 minutes
- Specified by:
metricClusterStatusRedin interfaceIDomain- Parameters:
props-
-
metricClusterStatusYellow
Metric for the time the cluster status is yellow.Default: maximum over 5 minutes
- Specified by:
metricClusterStatusYellowin interfaceIDomain- Parameters:
props-
-
metricCPUUtilization
Metric for CPU utilization.Default: maximum over 5 minutes
- Specified by:
metricCPUUtilizationin interfaceIDomain- Parameters:
props-
-
metricFreeStorageSpace
Metric for the storage space of nodes in the cluster.Default: minimum over 5 minutes
- Specified by:
metricFreeStorageSpacein interfaceIDomain- Parameters:
props-
-
metricIndexingLatency
Metric for indexing latency.Default: p99 over 5 minutes
- Specified by:
metricIndexingLatencyin interfaceIDomain- Parameters:
props-
-
metricJVMMemoryPressure
Metric for JVM memory pressure.Default: maximum over 5 minutes
- Specified by:
metricJVMMemoryPressurein interfaceIDomain- Parameters:
props-
-
metricKMSKeyError
Metric for KMS key errors.Default: maximum over 5 minutes
- Specified by:
metricKMSKeyErrorin interfaceIDomain- Parameters:
props-
-
metricKMSKeyInaccessible
Metric for KMS key being inaccessible.Default: maximum over 5 minutes
- Specified by:
metricKMSKeyInaccessiblein interfaceIDomain- Parameters:
props-
-
metricMasterCPUUtilization
@Stability(Stable) @NotNull default Metric metricMasterCPUUtilization(@Nullable MetricOptions props) Metric for master CPU utilization.Default: maximum over 5 minutes
- Specified by:
metricMasterCPUUtilizationin interfaceIDomain- Parameters:
props-
-
metricMasterJVMMemoryPressure
@Stability(Stable) @NotNull default Metric metricMasterJVMMemoryPressure(@Nullable MetricOptions props) Metric for master JVM memory pressure.Default: maximum over 5 minutes
- Specified by:
metricMasterJVMMemoryPressurein interfaceIDomain- Parameters:
props-
-
metricNodes
Metric for the number of nodes.Default: minimum over 1 hour
- Specified by:
metricNodesin interfaceIDomain- Parameters:
props-
-
metricSearchableDocuments
Metric for number of searchable documents.Default: maximum over 5 minutes
- Specified by:
metricSearchableDocumentsin interfaceIDomain- Parameters:
props-
-
metricSearchLatency
Metric for search latency.Default: p99 over 5 minutes
- Specified by:
metricSearchLatencyin interfaceIDomain- Parameters:
props-
-