@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.454Z") @Stability(value=Experimental) public interface ITable extends software.amazon.jsii.JsiiSerializable, IResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ITable.Jsii$Default
Internal default implementation for
ITable. |
static class |
ITable.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
default IKey |
getEncryptionKey()
(experimental) Optional KMS encryption key associated with this table.
|
String |
getTableArn()
(experimental) Arn of the dynamodb table.
|
String |
getTableName()
(experimental) Table name of the dynamodb table.
|
default String |
getTableStreamArn()
(experimental) ARN of the table's stream, if there is one.
|
Grant |
grant(IGrantable grantee,
String... actions)
(experimental) Adds an IAM policy statement associated with this table to an IAM principal's policy.
|
Grant |
grantFullAccess(IGrantable grantee)
(experimental) Permits all DynamoDB operations ("dynamodb:*") to an IAM principal.
|
Grant |
grantReadData(IGrantable grantee)
(experimental) Permits an IAM principal all data read operations from this table: BatchGetItem, GetRecords, GetShardIterator, Query, GetItem, Scan.
|
Grant |
grantReadWriteData(IGrantable grantee)
(experimental) Permits an IAM principal to all data read/write operations to this table.
|
Grant |
grantStream(IGrantable grantee,
String... actions)
(experimental) Adds an IAM policy statement associated with this table's stream to an IAM principal's policy.
|
Grant |
grantStreamRead(IGrantable grantee)
(experimental) Permits an IAM principal all stream data read operations for this table's stream: DescribeStream, GetRecords, GetShardIterator, ListStreams.
|
Grant |
grantTableListStreams(IGrantable grantee)
(experimental) Permits an IAM Principal to list streams attached to current dynamodb table.
|
Grant |
grantWriteData(IGrantable grantee)
(experimental) Permits an IAM principal all data write operations to this table: BatchWriteItem, PutItem, UpdateItem, DeleteItem.
|
Metric |
metric(String metricName)
(experimental) Metric for the number of Errors executing all Lambdas.
|
Metric |
metric(String metricName,
MetricOptions props)
(experimental) Metric for the number of Errors executing all Lambdas.
|
Metric |
metricConditionalCheckFailedRequests()
(experimental) Metric for the conditional check failed requests.
|
Metric |
metricConditionalCheckFailedRequests(MetricOptions props)
(experimental) Metric for the conditional check failed requests.
|
Metric |
metricConsumedReadCapacityUnits()
(experimental) Metric for the consumed read capacity units.
|
Metric |
metricConsumedReadCapacityUnits(MetricOptions props)
(experimental) Metric for the consumed read capacity units.
|
Metric |
metricConsumedWriteCapacityUnits()
(experimental) Metric for the consumed write capacity units.
|
Metric |
metricConsumedWriteCapacityUnits(MetricOptions props)
(experimental) Metric for the consumed write capacity units.
|
Metric |
metricSuccessfulRequestLatency()
(experimental) Metric for the successful request latency.
|
Metric |
metricSuccessfulRequestLatency(MetricOptions props)
(experimental) Metric for the successful request latency.
|
IMetric |
metricSystemErrorsForOperations()
(experimental) Metric for the system errors this table.
|
IMetric |
metricSystemErrorsForOperations(SystemErrorsForOperationsMetricOptions props)
(experimental) Metric for the system errors this table.
|
Metric |
metricThrottledRequests()
(experimental) Metric for throttled requests.
|
Metric |
metricThrottledRequests(MetricOptions props)
(experimental) Metric for throttled requests.
|
Metric |
metricUserErrors()
(experimental) Metric for the user errors.
|
Metric |
metricUserErrors(MetricOptions props)
(experimental) Metric for the user errors.
|
@Stability(value=Experimental) @NotNull String getTableArn()
@Stability(value=Experimental) @NotNull String getTableName()
@Stability(value=Experimental) @Nullable default IKey getEncryptionKey()
@Stability(value=Experimental) @Nullable default String getTableStreamArn()
@Stability(value=Experimental) @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
If encryptionKey is present, appropriate grants to the key needs to be added
separately using the table.encryptionKey.grant* methods.
grantee - The principal (no-op if undefined). This parameter is required.actions - The set of actions to allow (i.e. "dynamodb:PutItem", "dynamodb:GetItem", ...). This parameter is required.@Stability(value=Experimental) @NotNull Grant grantFullAccess(@NotNull IGrantable grantee)
Appropriate grants will also be added to the customer-managed KMS key if one was configured.
grantee - The principal to grant access to. This parameter is required.@Stability(value=Experimental) @NotNull Grant grantReadData(@NotNull IGrantable grantee)
Appropriate grants will also be added to the customer-managed KMS key if one was configured.
grantee - The principal to grant access to. This parameter is required.@Stability(value=Experimental) @NotNull Grant grantReadWriteData(@NotNull IGrantable grantee)
BatchGetItem, GetRecords, GetShardIterator, Query, GetItem, Scan, BatchWriteItem, PutItem, UpdateItem, DeleteItem
Appropriate grants will also be added to the customer-managed KMS key if one was configured.
grantee - The principal to grant access to. This parameter is required.@Stability(value=Experimental) @NotNull Grant grantStream(@NotNull IGrantable grantee, @NotNull String... actions)
If encryptionKey is present, appropriate grants to the key needs to be added
separately using the table.encryptionKey.grant* methods.
grantee - The principal (no-op if undefined). This parameter is required.actions - The set of actions to allow (i.e. "dynamodb:DescribeStream", "dynamodb:GetRecords", ...). This parameter is required.@Stability(value=Experimental) @NotNull Grant grantStreamRead(@NotNull IGrantable grantee)
Appropriate grants will also be added to the customer-managed KMS key if one was configured.
grantee - The principal to grant access to. This parameter is required.@Stability(value=Experimental) @NotNull Grant grantTableListStreams(@NotNull IGrantable grantee)
grantee - The principal (no-op if undefined). This parameter is required.@Stability(value=Experimental) @NotNull Grant grantWriteData(@NotNull IGrantable grantee)
Appropriate grants will also be added to the customer-managed KMS key if one was configured.
grantee - The principal to grant access to. This parameter is required.@Stability(value=Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
metricName - This parameter is required.props - @Stability(value=Experimental) @NotNull Metric metric(@NotNull String metricName)
metricName - This parameter is required.@Stability(value=Experimental) @NotNull Metric metricConditionalCheckFailedRequests(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Experimental) @NotNull Metric metricConditionalCheckFailedRequests()
@Stability(value=Experimental) @NotNull Metric metricConsumedReadCapacityUnits(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Experimental) @NotNull Metric metricConsumedReadCapacityUnits()
@Stability(value=Experimental) @NotNull Metric metricConsumedWriteCapacityUnits(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Experimental) @NotNull Metric metricConsumedWriteCapacityUnits()
@Stability(value=Experimental) @NotNull Metric metricSuccessfulRequestLatency(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Experimental) @NotNull Metric metricSuccessfulRequestLatency()
@Stability(value=Experimental) @NotNull IMetric metricSystemErrorsForOperations(@Nullable SystemErrorsForOperationsMetricOptions props)
props - properties of a metric.@Stability(value=Experimental) @NotNull IMetric metricSystemErrorsForOperations()
@Stability(value=Experimental) @NotNull Metric metricThrottledRequests(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Experimental) @NotNull Metric metricThrottledRequests()
@Stability(value=Experimental) @NotNull Metric metricUserErrors(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Experimental) @NotNull Metric metricUserErrors()
Copyright © 2021. All rights reserved.