Interface StreamGrantsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StreamGrantsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:18.536Z")
@Stability(Stable)
public interface StreamGrantsProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.dynamodb.*;
import software.amazon.awscdk.services.kms.*;
import software.amazon.awscdk.interfaces.dynamodb.*;
Key key;
ITableRef tableRef;
StreamGrantsProps streamGrantsProps = StreamGrantsProps.builder()
.table(tableRef)
.tableStreamArn("tableStreamArn")
// the properties below are optional
.encryptionKey(key)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStreamGrantsPropsstatic final classAn implementation forStreamGrantsProps -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamGrantsProps.Builderbuilder()default IKeyThe encryption key of the table.getTable()The table this stream is for.The ARN of the Stream.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTable
The table this stream is for. -
getTableStreamArn
The ARN of the Stream. -
getEncryptionKey
The encryption key of the table.Required permissions will be added to the key as well.
Default: - No key
-
builder
- Returns:
- a
StreamGrantsProps.BuilderofStreamGrantsProps
-