Interface StreamGrantsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StreamGrantsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)",
date="2026-05-19T19:44:40.005Z")
@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()
.tableStreamArn("tableStreamArn")
// the properties below are optional
.encryptionKey(key)
.table(tableRef)
.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.default ITableRefgetTable()Deprecated.This property is not used anymoreThe ARN of the Stream.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
-
getTable
Deprecated.This property is not used anymore(deprecated) The table this stream is for.Default: - None, no longer required
-
builder
- Returns:
- a
StreamGrantsProps.BuilderofStreamGrantsProps
-