Interface ITable
- All Superinterfaces:
- software.constructs.IConstruct,- software.constructs.IDependable,- IResource,- software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
- ITable.Jsii$Default,- ITableV2,- ITableV2.Jsii$Default
- All Known Implementing Classes:
- ITable.Jsii$Proxy,- ITableV2.Jsii$Proxy,- Table,- TableBase,- TableBaseV2,- TableV2
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forITable.static final classA proxy class which represents a concrete javascript instance of this type.
- 
Method SummaryModifier and TypeMethodDescriptiondefault IKeyOptional KMS encryption key associated with this table.Arn of the dynamodb table.Table name of the dynamodb table.default StringARN of the table's stream, if there is one.grant(IGrantable grantee, String... actions) Adds an IAM policy statement associated with this table to an IAM principal's policy.grantFullAccess(IGrantable grantee) Permits all DynamoDB operations ("dynamodb:*") to an IAM principal.grantReadData(IGrantable grantee) Permits an IAM principal all data read operations from this table: BatchGetItem, GetRecords, GetShardIterator, Query, GetItem, Scan.grantReadWriteData(IGrantable grantee) Permits an IAM principal to all data read/write operations to this table.grantStream(IGrantable grantee, String... actions) Adds an IAM policy statement associated with this table's stream to an IAM principal's policy.grantStreamRead(IGrantable grantee) Permits an IAM principal all stream data read operations for this table's stream: DescribeStream, GetRecords, GetShardIterator, ListStreams.grantTableListStreams(IGrantable grantee) Permits an IAM Principal to list streams attached to current dynamodb table.grantWriteData(IGrantable grantee) Permits an IAM principal all data write operations to this table: BatchWriteItem, PutItem, UpdateItem, DeleteItem.Metric for the number of Errors executing all Lambdas.metric(String metricName, MetricOptions props) Metric for the number of Errors executing all Lambdas.Metric for the conditional check failed requests.Metric for the conditional check failed requests.Metric for the consumed read capacity units.Metric for the consumed read capacity units.Metric for the consumed write capacity units.Metric for the consumed write capacity units.Metric for the successful request latency.Metric for the successful request latency.Metric for the system errors this table.Metric for the system errors this table.Deprecated.Deprecated.usemetricThrottledRequestsForOperationsMetric for throttled requests.Metric for throttled requests.Metric for the user errors.metricUserErrors(MetricOptions props) Metric for the user errors.Methods inherited from interface software.constructs.IConstructgetNodeMethods inherited from interface software.amazon.awscdk.IResourceapplyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getTableArnArn of the dynamodb table.
- 
getTableNameTable name of the dynamodb table.
- 
getEncryptionKeyOptional KMS encryption key associated with this table.
- 
getTableStreamArnARN of the table's stream, if there is one.
- 
grantAdds an IAM policy statement associated with this table to an IAM principal's policy.If encryptionKeyis present, appropriate grants to the key needs to be added separately using thetable.encryptionKey.grant*methods.- Parameters:
- 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.
 
- 
grantFullAccessPermits all DynamoDB operations ("dynamodb:*") to an IAM principal.Appropriate grants will also be added to the customer-managed KMS key if one was configured. - Parameters:
- grantee- The principal to grant access to. This parameter is required.
 
- 
grantReadDataPermits an IAM principal all data read operations from this table: BatchGetItem, GetRecords, GetShardIterator, Query, GetItem, Scan.Appropriate grants will also be added to the customer-managed KMS key if one was configured. - Parameters:
- grantee- The principal to grant access to. This parameter is required.
 
- 
grantReadWriteDataPermits an IAM principal to all data read/write operations to this table.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. - Parameters:
- grantee- The principal to grant access to. This parameter is required.
 
- 
grantStream@Stability(Stable) @NotNull Grant grantStream(@NotNull IGrantable grantee, @NotNull String... actions) Adds an IAM policy statement associated with this table's stream to an IAM principal's policy.If encryptionKeyis present, appropriate grants to the key needs to be added separately using thetable.encryptionKey.grant*methods.- Parameters:
- 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.
 
- 
grantStreamReadPermits an IAM principal all stream data read operations for this table's stream: DescribeStream, GetRecords, GetShardIterator, ListStreams.Appropriate grants will also be added to the customer-managed KMS key if one was configured. - Parameters:
- grantee- The principal to grant access to. This parameter is required.
 
- 
grantTableListStreamsPermits an IAM Principal to list streams attached to current dynamodb table.- Parameters:
- grantee- The principal (no-op if undefined). This parameter is required.
 
- 
grantWriteDataPermits an IAM principal all data write operations to this table: BatchWriteItem, PutItem, UpdateItem, DeleteItem.Appropriate grants will also be added to the customer-managed KMS key if one was configured. - Parameters:
- grantee- The principal to grant access to. This parameter is required.
 
- 
metric@Stability(Stable) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Metric for the number of Errors executing all Lambdas.- Parameters:
- metricName- This parameter is required.
- props-
 
- 
metricMetric for the number of Errors executing all Lambdas.- Parameters:
- metricName- This parameter is required.
 
- 
metricConditionalCheckFailedRequests@Stability(Stable) @NotNull Metric metricConditionalCheckFailedRequests(@Nullable MetricOptions props) Metric for the conditional check failed requests.- Parameters:
- props- properties of a metric.
 
- 
metricConditionalCheckFailedRequestsMetric for the conditional check failed requests.
- 
metricConsumedReadCapacityUnitsMetric for the consumed read capacity units.- Parameters:
- props- properties of a metric.
 
- 
metricConsumedReadCapacityUnitsMetric for the consumed read capacity units.
- 
metricConsumedWriteCapacityUnitsMetric for the consumed write capacity units.- Parameters:
- props- properties of a metric.
 
- 
metricConsumedWriteCapacityUnitsMetric for the consumed write capacity units.
- 
metricSuccessfulRequestLatencyMetric for the successful request latency.- Parameters:
- props- properties of a metric.
 
- 
metricSuccessfulRequestLatencyMetric for the successful request latency.
- 
metricSystemErrorsForOperations@Stability(Stable) @NotNull IMetric metricSystemErrorsForOperations(@Nullable SystemErrorsForOperationsMetricOptions props) Metric for the system errors this table.- Parameters:
- props- properties of a metric.
 
- 
metricSystemErrorsForOperationsMetric for the system errors this table.
- 
metricThrottledRequests@Stability(Deprecated) @Deprecated @NotNull Metric metricThrottledRequests(@Nullable MetricOptions props) Deprecated.usemetricThrottledRequestsForOperations(deprecated) Metric for throttled requests.- Parameters:
- props- properties of a metric.
 
- 
metricThrottledRequestsDeprecated.usemetricThrottledRequestsForOperations(deprecated) Metric for throttled requests.
- 
metricThrottledRequestsForOperations@Stability(Stable) @NotNull IMetric metricThrottledRequestsForOperations(@Nullable OperationsMetricOptions props) Metric for throttled requests.- Parameters:
- props- properties of a metric.
 
- 
metricThrottledRequestsForOperationsMetric for throttled requests.
- 
metricUserErrorsMetric for the user errors.- Parameters:
- props- properties of a metric.
 
- 
metricUserErrorsMetric for the user errors.
 
- 
metricThrottledRequestsForOperations