Class ITableV2.Jsii$Proxy
- All Implemented Interfaces:
IResource,IResource.Jsii$Default,ITable,ITable.Jsii$Default,ITableV2,ITableV2.Jsii$Default,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
ITableV2
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested 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.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.services.dynamodb.ITableV2
ITableV2.Jsii$Default, ITableV2.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.final IKeyOptional KMS encryption key associated with this table.final ResourceEnvironmentgetEnv()The environment this resource belongs to.final software.constructs.NodegetNode()The tree node.final StackgetStack()The stack in which this resource is defined.final StringArn of the dynamodb table.final StringThe ID of the table.final StringTable name of the dynamodb table.final StringARN of the table's stream, if there is one.final Grantgrant(IGrantable grantee, String... actions) Adds an IAM policy statement associated with this table to an IAM principal's policy.final GrantgrantFullAccess(IGrantable grantee) Permits all DynamoDB operations ("dynamodb:*") to an IAM principal.final GrantgrantReadData(IGrantable grantee) Permits an IAM principal all data read operations from this table: BatchGetItem, GetRecords, GetShardIterator, Query, GetItem, Scan.final GrantgrantReadWriteData(IGrantable grantee) Permits an IAM principal to all data read/write operations to this table.final GrantgrantStream(IGrantable grantee, String... actions) Adds an IAM policy statement associated with this table's stream to an IAM principal's policy.final GrantgrantStreamRead(IGrantable grantee) Permits an IAM principal all stream data read operations for this table's stream: DescribeStream, GetRecords, GetShardIterator, ListStreams.final GrantgrantTableListStreams(IGrantable grantee) Permits an IAM Principal to list streams attached to current dynamodb table.final GrantgrantWriteData(IGrantable grantee) Permits an IAM principal all data write operations to this table: BatchWriteItem, PutItem, UpdateItem, DeleteItem.final MetricMetric for the number of Errors executing all Lambdas.final Metricmetric(String metricName, MetricOptions props) Metric for the number of Errors executing all Lambdas.final MetricMetric for the conditional check failed requests.final MetricMetric for the conditional check failed requests.final MetricMetric for the consumed read capacity units.final MetricMetric for the consumed read capacity units.final MetricMetric for the consumed write capacity units.final MetricMetric for the consumed write capacity units.final MetricMetric for the successful request latency.final MetricMetric for the successful request latency.final IMetricMetric for the system errors this table.final IMetricMetric for the system errors this table.final MetricDeprecated.final MetricDeprecated.usemetricThrottledRequestsForOperationsfinal IMetricMetric for throttled requests.final IMetricMetric for throttled requests.final MetricMetric for the user errors.final MetricmetricUserErrors(MetricOptions props) Metric for the user errors.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
@Stability(Stable) @NotNull public final software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default- Specified by:
getNodein interfaceITable.Jsii$Default- Specified by:
getNodein interfaceITableV2.Jsii$Default
-
getEnv
The environment this resource belongs to.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.
- Specified by:
getEnvin interfaceIResource- Specified by:
getEnvin interfaceIResource.Jsii$Default- Specified by:
getEnvin interfaceITable.Jsii$Default- Specified by:
getEnvin interfaceITableV2.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default- Specified by:
getStackin interfaceITable.Jsii$Default- Specified by:
getStackin interfaceITableV2.Jsii$Default
-
getTableArn
Arn of the dynamodb table.- Specified by:
getTableArnin interfaceITable- Specified by:
getTableArnin interfaceITable.Jsii$Default- Specified by:
getTableArnin interfaceITableV2.Jsii$Default
-
getTableName
Table name of the dynamodb table.- Specified by:
getTableNamein interfaceITable- Specified by:
getTableNamein interfaceITable.Jsii$Default- Specified by:
getTableNamein interfaceITableV2.Jsii$Default
-
getEncryptionKey
Optional KMS encryption key associated with this table.- Specified by:
getEncryptionKeyin interfaceITable- Specified by:
getEncryptionKeyin interfaceITable.Jsii$Default- Specified by:
getEncryptionKeyin interfaceITableV2.Jsii$Default
-
getTableStreamArn
ARN of the table's stream, if there is one.- Specified by:
getTableStreamArnin interfaceITable- Specified by:
getTableStreamArnin interfaceITable.Jsii$Default- Specified by:
getTableStreamArnin interfaceITableV2.Jsii$Default
-
getTableId
The ID of the table.- Specified by:
getTableIdin interfaceITableV2- Specified by:
getTableIdin interfaceITableV2.Jsii$Default
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceITable.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceITableV2.Jsii$Default- Parameters:
policy- This parameter is required.
-
grant
@Stability(Stable) @NotNull public final 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.- Specified by:
grantin interfaceITable- Specified by:
grantin interfaceITable.Jsii$Default- Specified by:
grantin interfaceITableV2.Jsii$Default- 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.
-
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- Specified by:
grantFullAccessin interfaceITable.Jsii$Default- Specified by:
grantFullAccessin interfaceITableV2.Jsii$Default- 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- Specified by:
grantReadDatain interfaceITable.Jsii$Default- Specified by:
grantReadDatain interfaceITableV2.Jsii$Default- 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- Specified by:
grantReadWriteDatain interfaceITable.Jsii$Default- Specified by:
grantReadWriteDatain interfaceITableV2.Jsii$Default- Parameters:
grantee- The principal to grant access to. This parameter is required.
-
grantStream
@Stability(Stable) @NotNull public final 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- Specified by:
grantStreamin interfaceITable.Jsii$Default- Specified by:
grantStreamin interfaceITableV2.Jsii$Default- 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- Specified by:
grantStreamReadin interfaceITable.Jsii$Default- Specified by:
grantStreamReadin interfaceITableV2.Jsii$Default- 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- Specified by:
grantTableListStreamsin interfaceITable.Jsii$Default- Specified by:
grantTableListStreamsin interfaceITableV2.Jsii$Default- 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- Specified by:
grantWriteDatain interfaceITable.Jsii$Default- Specified by:
grantWriteDatain interfaceITableV2.Jsii$Default- Parameters:
grantee- The principal to grant access to. This parameter is required.
-
metric
@Stability(Stable) @NotNull public final Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Metric for the number of Errors executing all Lambdas.- Specified by:
metricin interfaceITable- Specified by:
metricin interfaceITable.Jsii$Default- Specified by:
metricin interfaceITableV2.Jsii$Default- Parameters:
metricName- This parameter is required.props-
-
metric
Metric for the number of Errors executing all Lambdas. -
metricConditionalCheckFailedRequests
@Stability(Stable) @NotNull public final Metric metricConditionalCheckFailedRequests(@Nullable MetricOptions props) Metric for the conditional check failed requests.- Specified by:
metricConditionalCheckFailedRequestsin interfaceITable- Specified by:
metricConditionalCheckFailedRequestsin interfaceITable.Jsii$Default- Specified by:
metricConditionalCheckFailedRequestsin interfaceITableV2.Jsii$Default- Parameters:
props- properties of a metric.
-
metricConditionalCheckFailedRequests
Metric for the conditional check failed requests.- Specified by:
metricConditionalCheckFailedRequestsin interfaceITable
-
metricConsumedReadCapacityUnits
@Stability(Stable) @NotNull public final Metric metricConsumedReadCapacityUnits(@Nullable MetricOptions props) Metric for the consumed read capacity units.- Specified by:
metricConsumedReadCapacityUnitsin interfaceITable- Specified by:
metricConsumedReadCapacityUnitsin interfaceITable.Jsii$Default- Specified by:
metricConsumedReadCapacityUnitsin interfaceITableV2.Jsii$Default- Parameters:
props- properties of a metric.
-
metricConsumedReadCapacityUnits
Metric for the consumed read capacity units.- Specified by:
metricConsumedReadCapacityUnitsin interfaceITable
-
metricConsumedWriteCapacityUnits
@Stability(Stable) @NotNull public final Metric metricConsumedWriteCapacityUnits(@Nullable MetricOptions props) Metric for the consumed write capacity units.- Specified by:
metricConsumedWriteCapacityUnitsin interfaceITable- Specified by:
metricConsumedWriteCapacityUnitsin interfaceITable.Jsii$Default- Specified by:
metricConsumedWriteCapacityUnitsin interfaceITableV2.Jsii$Default- Parameters:
props- properties of a metric.
-
metricConsumedWriteCapacityUnits
Metric for the consumed write capacity units.- Specified by:
metricConsumedWriteCapacityUnitsin interfaceITable
-
metricSuccessfulRequestLatency
@Stability(Stable) @NotNull public final Metric metricSuccessfulRequestLatency(@Nullable MetricOptions props) Metric for the successful request latency.- Specified by:
metricSuccessfulRequestLatencyin interfaceITable- Specified by:
metricSuccessfulRequestLatencyin interfaceITable.Jsii$Default- Specified by:
metricSuccessfulRequestLatencyin interfaceITableV2.Jsii$Default- Parameters:
props- properties of a metric.
-
metricSuccessfulRequestLatency
Metric for the successful request latency.- Specified by:
metricSuccessfulRequestLatencyin interfaceITable
-
metricSystemErrorsForOperations
@Stability(Stable) @NotNull public final IMetric metricSystemErrorsForOperations(@Nullable SystemErrorsForOperationsMetricOptions props) Metric for the system errors this table.- Specified by:
metricSystemErrorsForOperationsin interfaceITable- Specified by:
metricSystemErrorsForOperationsin interfaceITable.Jsii$Default- Specified by:
metricSystemErrorsForOperationsin interfaceITableV2.Jsii$Default- Parameters:
props- properties of a metric.
-
metricSystemErrorsForOperations
Metric for the system errors this table.- Specified by:
metricSystemErrorsForOperationsin interfaceITable
-
metricThrottledRequests
@Stability(Deprecated) @Deprecated @NotNull public final Metric metricThrottledRequests(@Nullable MetricOptions props) Deprecated.usemetricThrottledRequestsForOperations(deprecated) Metric for throttled requests.- Specified by:
metricThrottledRequestsin interfaceITable- Specified by:
metricThrottledRequestsin interfaceITable.Jsii$Default- Specified by:
metricThrottledRequestsin interfaceITableV2.Jsii$Default- Parameters:
props- properties of a metric.
-
metricThrottledRequests
Deprecated.usemetricThrottledRequestsForOperations(deprecated) Metric for throttled requests.- Specified by:
metricThrottledRequestsin interfaceITable
-
metricThrottledRequestsForOperations
@Stability(Stable) @NotNull public final IMetric metricThrottledRequestsForOperations(@Nullable OperationsMetricOptions props) Metric for throttled requests.- Specified by:
metricThrottledRequestsForOperationsin interfaceITable- Specified by:
metricThrottledRequestsForOperationsin interfaceITable.Jsii$Default- Specified by:
metricThrottledRequestsForOperationsin interfaceITableV2.Jsii$Default- 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- Specified by:
metricUserErrorsin interfaceITable.Jsii$Default- Specified by:
metricUserErrorsin interfaceITableV2.Jsii$Default- Parameters:
props- properties of a metric.
-
metricUserErrors
Metric for the user errors.- Specified by:
metricUserErrorsin interfaceITable
-
metricThrottledRequestsForOperations