StreamGrantsProps Struct
Construction properties for StreamGrants.
Example
ts
// 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_dynamodb } from 'aws-cdk-lib/interfaces';
declare const key: kms.Key;
declare const tableRef: interfaces_dynamodb.ITableRef;
const streamGrantsProps: dynamodb.StreamGrantsProps = {
tableStreamArn: 'tableStreamArn',
// the properties below are optional
encryptionKey: key,
table: tableRef,
};
Properties
The encryption key of the table.
Required permissions will be added to the key as well.
tableITableReftableITableReftableITableRefTableITableRefTableITableRef= None, no longer requireddeprecated#This property is not used anymore
tableStreamArnstringtable_stream_arnstrtableStreamArnStringTableStreamArnstringTableStreamArn*stringrequired#The ARN of the Stream.