@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.066Z") @Stability(value=Stable) 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()
Optional KMS encryption key associated with this table.
|
String |
getTableArn()
Arn of the dynamodb table.
|
String |
getTableName()
Table name of the dynamodb table.
|
default String |
getTableStreamArn()
ARN of the table's stream, if there is one.
|
Grant |
grant(IGrantable grantee,
String... actions)
Adds an IAM policy statement associated with this table to an IAM principal's policy.
|
Grant |
grantFullAccess(IGrantable grantee)
Permits all DynamoDB operations ("dynamodb:*") to an IAM principal.
|
Grant |
grantReadData(IGrantable grantee)
Permits an IAM principal all data read operations from this table: BatchGetItem, GetRecords, GetShardIterator, Query, GetItem, Scan.
|
Grant |
grantReadWriteData(IGrantable grantee)
Permits an IAM principal to all data read/write operations to this table.
|
Grant |
grantStream(IGrantable grantee,
String... actions)
Adds an IAM policy statement associated with this table's stream to an IAM principal's policy.
|
Grant |
grantStreamRead(IGrantable grantee)
Permits an IAM principal all stream data read operations for this table's stream: DescribeStream, GetRecords, GetShardIterator, ListStreams.
|
Grant |
grantTableListStreams(IGrantable grantee)
Permits an IAM Principal to list streams attached to current dynamodb table.
|
Grant |
grantWriteData(IGrantable grantee)
Permits an IAM principal all data write operations to this table: BatchWriteItem, PutItem, UpdateItem, DeleteItem.
|
Metric |
metric(String metricName)
Metric for the number of Errors executing all Lambdas.
|
Metric |
metric(String metricName,
MetricOptions props)
Metric for the number of Errors executing all Lambdas.
|
Metric |
metricConditionalCheckFailedRequests()
Metric for the conditional check failed requests.
|
Metric |
metricConditionalCheckFailedRequests(MetricOptions props)
Metric for the conditional check failed requests.
|
Metric |
metricConsumedReadCapacityUnits()
Metric for the consumed read capacity units.
|
Metric |
metricConsumedReadCapacityUnits(MetricOptions props)
Metric for the consumed read capacity units.
|
Metric |
metricConsumedWriteCapacityUnits()
Metric for the consumed write capacity units.
|
Metric |
metricConsumedWriteCapacityUnits(MetricOptions props)
Metric for the consumed write capacity units.
|
Metric |
metricSuccessfulRequestLatency()
Metric for the successful request latency.
|
Metric |
metricSuccessfulRequestLatency(MetricOptions props)
Metric for the successful request latency.
|
IMetric |
metricSystemErrorsForOperations()
Metric for the system errors this table.
|
IMetric |
metricSystemErrorsForOperations(SystemErrorsForOperationsMetricOptions props)
Metric for the system errors this table.
|
Metric |
metricThrottledRequests()
Metric for throttled requests.
|
Metric |
metricThrottledRequests(MetricOptions props)
Metric for throttled requests.
|
Metric |
metricUserErrors()
Metric for the user errors.
|
Metric |
metricUserErrors(MetricOptions props)
Metric for the user errors.
|
applyRemovalPolicy, getEnv, getStack@Stability(value=Stable) @NotNull String getTableArn()
@Stability(value=Stable) @NotNull String getTableName()
@Stability(value=Stable) @Nullable default IKey getEncryptionKey()
@Stability(value=Stable) @Nullable default String getTableStreamArn()
@Stability(value=Stable) @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=Stable) @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=Stable) @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=Stable) @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=Stable) @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=Stable) @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=Stable) @NotNull Grant grantTableListStreams(@NotNull IGrantable grantee)
grantee - The principal (no-op if undefined). This parameter is required.@Stability(value=Stable) @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=Stable) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
metricName - This parameter is required.props - @Stability(value=Stable) @NotNull Metric metric(@NotNull String metricName)
metricName - This parameter is required.@Stability(value=Stable) @NotNull Metric metricConditionalCheckFailedRequests(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Stable) @NotNull Metric metricConditionalCheckFailedRequests()
@Stability(value=Stable) @NotNull Metric metricConsumedReadCapacityUnits(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Stable) @NotNull Metric metricConsumedReadCapacityUnits()
@Stability(value=Stable) @NotNull Metric metricConsumedWriteCapacityUnits(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Stable) @NotNull Metric metricConsumedWriteCapacityUnits()
@Stability(value=Stable) @NotNull Metric metricSuccessfulRequestLatency(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Stable) @NotNull Metric metricSuccessfulRequestLatency()
@Stability(value=Stable) @NotNull IMetric metricSystemErrorsForOperations(@Nullable SystemErrorsForOperationsMetricOptions props)
props - properties of a metric.@Stability(value=Stable) @NotNull IMetric metricSystemErrorsForOperations()
@Stability(value=Stable) @NotNull Metric metricThrottledRequests(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Stable) @NotNull Metric metricThrottledRequests()
@Stability(value=Stable) @NotNull Metric metricUserErrors(@Nullable MetricOptions props)
props - properties of a metric.@Stability(value=Stable) @NotNull Metric metricUserErrors()
Copyright © 2022. All rights reserved.