@Internal public static interface ITable.Jsii$Default extends ITable, IResource.Jsii$Default
ITable.ITable.Jsii$Default, ITable.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default IKey |
getEncryptionKey()
(experimental) Optional KMS encryption key associated with this table.
|
default ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
default software.constructs.Node |
getNode()
The tree node.
|
default Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
default String |
getTableArn()
(experimental) Arn of the dynamodb table.
|
default String |
getTableName()
(experimental) Table name of the dynamodb table.
|
default String |
getTableStreamArn()
(experimental) ARN of the table's stream, if there is one.
|
default Grant |
grant(IGrantable grantee,
String... actions)
(experimental) Adds an IAM policy statement associated with this table to an IAM principal's policy.
|
default Grant |
grantFullAccess(IGrantable grantee)
(experimental) Permits all DynamoDB operations ("dynamodb:*") to an IAM principal.
|
default Grant |
grantReadData(IGrantable grantee)
(experimental) Permits an IAM principal all data read operations from this table: BatchGetItem, GetRecords, GetShardIterator, Query, GetItem, Scan.
|
default Grant |
grantReadWriteData(IGrantable grantee)
(experimental) Permits an IAM principal to all data read/write operations to this table.
|
default Grant |
grantStream(IGrantable grantee,
String... actions)
(experimental) Adds an IAM policy statement associated with this table's stream to an IAM principal's policy.
|
default Grant |
grantStreamRead(IGrantable grantee)
(experimental) Permits an IAM principal all stream data read operations for this table's stream: DescribeStream, GetRecords, GetShardIterator, ListStreams.
|
default Grant |
grantTableListStreams(IGrantable grantee)
(experimental) Permits an IAM Principal to list streams attached to current dynamodb table.
|
default Grant |
grantWriteData(IGrantable grantee)
(experimental) Permits an IAM principal all data write operations to this table: BatchWriteItem, PutItem, UpdateItem, DeleteItem.
|
default Metric |
metric(String metricName,
MetricOptions props)
(experimental) Metric for the number of Errors executing all Lambdas.
|
default Metric |
metricConditionalCheckFailedRequests(MetricOptions props)
(experimental) Metric for the conditional check failed requests.
|
default Metric |
metricConsumedReadCapacityUnits(MetricOptions props)
(experimental) Metric for the consumed read capacity units.
|
default Metric |
metricConsumedWriteCapacityUnits(MetricOptions props)
(experimental) Metric for the consumed write capacity units.
|
default Metric |
metricSuccessfulRequestLatency(MetricOptions props)
(experimental) Metric for the successful request latency.
|
default IMetric |
metricSystemErrorsForOperations(SystemErrorsForOperationsMetricOptions props)
(experimental) Metric for the system errors this table.
|
default Metric |
metricThrottledRequests(MetricOptions props)
(experimental) Metric for throttled requests.
|
default Metric |
metricUserErrors(MetricOptions props)
(experimental) Metric for the user errors.
|
metric, metricConditionalCheckFailedRequests, metricConsumedReadCapacityUnits, metricConsumedWriteCapacityUnits, metricSuccessfulRequestLatency, metricSystemErrorsForOperations, metricThrottledRequests, metricUserErrors@Stability(value=Stable) @NotNull default software.constructs.Node getNode()
getNode in interface software.constructs.IConstructgetNode in interface software.constructs.IConstruct.Jsii$DefaultgetNode in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default ResourceEnvironment getEnv()
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.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default String getTableArn()
getTableArn in interface ITable@Stability(value=Experimental) @NotNull default String getTableName()
getTableName in interface ITable@Stability(value=Experimental) @Nullable default IKey getEncryptionKey()
getEncryptionKey in interface ITable@Stability(value=Experimental) @Nullable default String getTableStreamArn()
getTableStreamArn in interface ITable@Stability(value=Experimental) @NotNull default 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.
@Stability(value=Experimental) @NotNull default Grant grantFullAccess(@NotNull IGrantable grantee)
Appropriate grants will also be added to the customer-managed KMS key if one was configured.
grantFullAccess in interface ITablegrantee - The principal to grant access to. This parameter is required.@Stability(value=Experimental) @NotNull default Grant grantReadData(@NotNull IGrantable grantee)
Appropriate grants will also be added to the customer-managed KMS key if one was configured.
grantReadData in interface ITablegrantee - The principal to grant access to. This parameter is required.@Stability(value=Experimental) @NotNull default 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.
grantReadWriteData in interface ITablegrantee - The principal to grant access to. This parameter is required.@Stability(value=Experimental) @NotNull default 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.
grantStream in interface ITablegrantee - 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 default Grant grantStreamRead(@NotNull IGrantable grantee)
Appropriate grants will also be added to the customer-managed KMS key if one was configured.
grantStreamRead in interface ITablegrantee - The principal to grant access to. This parameter is required.@Stability(value=Experimental) @NotNull default Grant grantTableListStreams(@NotNull IGrantable grantee)
grantTableListStreams in interface ITablegrantee - The principal (no-op if undefined). This parameter is required.@Stability(value=Experimental) @NotNull default Grant grantWriteData(@NotNull IGrantable grantee)
Appropriate grants will also be added to the customer-managed KMS key if one was configured.
grantWriteData in interface ITablegrantee - The principal to grant access to. This parameter is required.@Stability(value=Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
@Stability(value=Experimental) @NotNull default Metric metricConditionalCheckFailedRequests(@Nullable MetricOptions props)
metricConditionalCheckFailedRequests in interface ITableprops - properties of a metric.@Stability(value=Experimental) @NotNull default Metric metricConsumedReadCapacityUnits(@Nullable MetricOptions props)
metricConsumedReadCapacityUnits in interface ITableprops - properties of a metric.@Stability(value=Experimental) @NotNull default Metric metricConsumedWriteCapacityUnits(@Nullable MetricOptions props)
metricConsumedWriteCapacityUnits in interface ITableprops - properties of a metric.@Stability(value=Experimental) @NotNull default Metric metricSuccessfulRequestLatency(@Nullable MetricOptions props)
metricSuccessfulRequestLatency in interface ITableprops - properties of a metric.@Stability(value=Experimental) @NotNull default IMetric metricSystemErrorsForOperations(@Nullable SystemErrorsForOperationsMetricOptions props)
metricSystemErrorsForOperations in interface ITableprops - properties of a metric.@Stability(value=Experimental) @NotNull default Metric metricThrottledRequests(@Nullable MetricOptions props)
metricThrottledRequests in interface ITableprops - properties of a metric.@Stability(value=Experimental) @NotNull default Metric metricUserErrors(@Nullable MetricOptions props)
metricUserErrors in interface ITableprops - properties of a metric.Copyright © 2021. All rights reserved.