Interface ITable.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IResource,IResource.Jsii$Default,ITable,ITableRef,ITableRef.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ITableV2.Jsii$Default
- All Known Implementing Classes:
ITable.Jsii$Proxy,ITableV2.Jsii$Proxy
- Enclosing interface:
ITable
ITable.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.dynamodb.ITable
ITable.Jsii$Default, ITable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.dynamodb.ITableRef
ITableRef.Jsii$Default, ITableRef.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault IKeyOptional KMS encryption key associated with this table.default StringArn of the dynamodb table.default StringTable name of the dynamodb table.default StringARN of the table's stream, if there is one.default Grantgrant(IGrantable grantee, String... actions) Adds an IAM policy statement associated with this table to an IAM principal's policy.default GrantgrantFullAccess(IGrantable grantee) Permits all DynamoDB operations ("dynamodb:*") to an IAM principal.default GrantgrantReadData(IGrantable grantee) Permits an IAM principal all data read operations from this table: BatchGetItem, GetRecords, GetShardIterator, Query, GetItem, Scan.default GrantgrantReadWriteData(IGrantable grantee) Permits an IAM principal to all data read/write operations to this table.default GrantgrantStream(IGrantable grantee, String... actions) Adds an IAM policy statement associated with this table's stream to an IAM principal's policy.default GrantgrantStreamRead(IGrantable grantee) Permits an IAM principal all stream data read operations for this table's stream: DescribeStream, GetRecords, GetShardIterator, ListStreams.default GrantgrantTableListStreams(IGrantable grantee) Permits an IAM Principal to list streams attached to current dynamodb table.default GrantgrantWriteData(IGrantable grantee) Permits an IAM principal all data write operations to this table: BatchWriteItem, PutItem, UpdateItem, DeleteItem.default MetricMetric for the number of Errors executing all Lambdas.default Metricmetric(String metricName, MetricOptions props) Metric for the number of Errors executing all Lambdas.default MetricMetric for the conditional check failed requests.default MetricMetric for the conditional check failed requests.default MetricMetric for the consumed read capacity units.default MetricMetric for the consumed read capacity units.default MetricMetric for the consumed write capacity units.default MetricMetric for the consumed write capacity units.default MetricMetric for the successful request latency.default MetricMetric for the successful request latency.default IMetricMetric for the system errors this table.default IMetricMetric for the system errors this table.default MetricDeprecated.default MetricDeprecated.usemetricThrottledRequestsForOperationsdefault IMetricMetric for throttled requests.default IMetricMetric for throttled requests.default MetricMetric for the user errors.default MetricmetricUserErrors(MetricOptions props) Metric for the user errors.Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.interfaces.dynamodb.ITableRef.Jsii$Default
getTableRefMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTableArn
Arn of the dynamodb table.- Specified by:
getTableArnin interfaceITable
-
getTableName
Table name of the dynamodb table.- Specified by:
getTableNamein interfaceITable
-
getEncryptionKey
Optional KMS encryption key associated with this table.- Specified by:
getEncryptionKeyin interfaceITable
-
getTableStreamArn
ARN of the table's stream, if there is one.- Specified by:
getTableStreamArnin interfaceITable
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) Adds 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. -
grantFullAccess
Permits all DynamoDB operations ("dynamodb:*") to an IAM principal.Appropriate grants will also be added to the customer-managed KMS key if one was configured.
- Specified by:
grantFullAccessin interfaceITable- Parameters:
grantee- The principal to grant access to. This parameter is required.
-
grantReadData
Permits 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.
- Specified by:
grantReadDatain interfaceITable- Parameters:
grantee- The principal to grant access to. This parameter is required.
-
grantReadWriteData
Permits 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.
- Specified by:
grantReadWriteDatain interfaceITable- Parameters:
grantee- The principal to grant access to. This parameter is required.
-
grantStream
@Stability(Stable) @NotNull default 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.- Specified by:
grantStreamin interfaceITable- 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.
-
grantStreamRead
Permits 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.
- Specified by:
grantStreamReadin interfaceITable- Parameters:
grantee- The principal to grant access to. This parameter is required.
-
grantTableListStreams
Permits an IAM Principal to list streams attached to current dynamodb table.- Specified by:
grantTableListStreamsin interfaceITable- Parameters:
grantee- The principal (no-op if undefined). This parameter is required.
-
grantWriteData
Permits 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.
- Specified by:
grantWriteDatain interfaceITable- Parameters:
grantee- The principal to grant access to. This parameter is required.
-
metric
@Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Metric for the number of Errors executing all Lambdas. -
metric
Metric for the number of Errors executing all Lambdas. -
metricConditionalCheckFailedRequests
@Stability(Stable) @NotNull default Metric metricConditionalCheckFailedRequests(@Nullable MetricOptions props) Metric for the conditional check failed requests.- Specified by:
metricConditionalCheckFailedRequestsin interfaceITable- Parameters:
props- properties of a metric.
-
metricConditionalCheckFailedRequests
Metric for the conditional check failed requests.- Specified by:
metricConditionalCheckFailedRequestsin interfaceITable
-
metricConsumedReadCapacityUnits
@Stability(Stable) @NotNull default Metric metricConsumedReadCapacityUnits(@Nullable MetricOptions props) Metric for the consumed read capacity units.- Specified by:
metricConsumedReadCapacityUnitsin interfaceITable- Parameters:
props- properties of a metric.
-
metricConsumedReadCapacityUnits
Metric for the consumed read capacity units.- Specified by:
metricConsumedReadCapacityUnitsin interfaceITable
-
metricConsumedWriteCapacityUnits
@Stability(Stable) @NotNull default Metric metricConsumedWriteCapacityUnits(@Nullable MetricOptions props) Metric for the consumed write capacity units.- Specified by:
metricConsumedWriteCapacityUnitsin interfaceITable- Parameters:
props- properties of a metric.
-
metricConsumedWriteCapacityUnits
Metric for the consumed write capacity units.- Specified by:
metricConsumedWriteCapacityUnitsin interfaceITable
-
metricSuccessfulRequestLatency
@Stability(Stable) @NotNull default Metric metricSuccessfulRequestLatency(@Nullable MetricOptions props) Metric for the successful request latency.- Specified by:
metricSuccessfulRequestLatencyin interfaceITable- Parameters:
props- properties of a metric.
-
metricSuccessfulRequestLatency
Metric for the successful request latency.- Specified by:
metricSuccessfulRequestLatencyin interfaceITable
-
metricSystemErrorsForOperations
@Stability(Stable) @NotNull default IMetric metricSystemErrorsForOperations(@Nullable SystemErrorsForOperationsMetricOptions props) Metric for the system errors this table.- Specified by:
metricSystemErrorsForOperationsin interfaceITable- Parameters:
props- properties of a metric.
-
metricSystemErrorsForOperations
Metric for the system errors this table.- Specified by:
metricSystemErrorsForOperationsin interfaceITable
-
metricThrottledRequests
@Stability(Deprecated) @Deprecated @NotNull default Metric metricThrottledRequests(@Nullable MetricOptions props) Deprecated.usemetricThrottledRequestsForOperations(deprecated) Metric for throttled requests.- Specified by:
metricThrottledRequestsin interfaceITable- Parameters:
props- properties of a metric.
-
metricThrottledRequests
Deprecated.usemetricThrottledRequestsForOperations(deprecated) Metric for throttled requests.- Specified by:
metricThrottledRequestsin interfaceITable
-
metricThrottledRequestsForOperations
@Stability(Stable) @NotNull default IMetric metricThrottledRequestsForOperations(@Nullable OperationsMetricOptions props) Metric for throttled requests.- Specified by:
metricThrottledRequestsForOperationsin interfaceITable- Parameters:
props- properties of a metric.
-
metricThrottledRequestsForOperations
Metric for throttled requests.- Specified by:
metricThrottledRequestsForOperationsin interfaceITable
-
metricUserErrors
Metric for the user errors.- Specified by:
metricUserErrorsin interfaceITable- Parameters:
props- properties of a metric.
-
metricUserErrors
Metric for the user errors.- Specified by:
metricUserErrorsin interfaceITable
-
metricThrottledRequestsForOperations