interface StreamGrantsProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.DynamoDB.StreamGrantsProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdynamodb#StreamGrantsProps |
Java | software.amazon.awscdk.services.dynamodb.StreamGrantsProps |
Python | aws_cdk.aws_dynamodb.StreamGrantsProps |
TypeScript (source) | aws-cdk-lib » aws_dynamodb » StreamGrantsProps |
Construction properties for StreamGrants.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dynamodb as dynamodb } from 'aws-cdk-lib';
import { aws_kms as kms } from 'aws-cdk-lib';
import { aws_dynamodb as interfaces_aws_dynamodb } from 'aws-cdk-lib/interfaces';
declare const key: kms.Key;
declare const tableRef: interfaces_aws_dynamodb.ITableRef;
const streamGrantsProps: dynamodb.StreamGrantsProps = {
table: tableRef,
tableStreamArn: 'tableStreamArn',
// the properties below are optional
encryptionKey: key,
};
Properties
| Name | Type | Description |
|---|---|---|
| table | ITable | The table this stream is for. |
| table | string | The ARN of the Stream. |
| encryption | IKey | The encryption key of the table. |
table
Type:
ITable
The table this stream is for.
tableStreamArn
Type:
string
The ARN of the Stream.
encryptionKey?
Type:
IKey
(optional, default: No key)
The encryption key of the table.
Required permissions will be added to the key as well.

.NET
Go
Java
Python
TypeScript (