@Internal public static final class IStream.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IStream.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeIStream.Jsii$Default, IStream.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
IKey |
getEncryptionKey()
(experimental) Optional KMS encryption key associated with this stream.
|
ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
ConstructNode |
getNode()
(experimental) The construct tree node for this construct.
|
Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
String |
getStreamArn()
(experimental) The ARN of the stream.
|
String |
getStreamName()
(experimental) The name of the stream.
|
Grant |
grant(IGrantable grantee,
String... actions)
(experimental) Grant the indicated permissions on this stream to the provided IAM principal.
|
Grant |
grantRead(IGrantable grantee)
(experimental) Grant read permissions for this stream and its contents to an IAM principal (Role/Group/User).
|
Grant |
grantReadWrite(IGrantable grantee)
(experimental) Grants read/write permissions for this stream and its contents to an IAM principal (Role/Group/User).
|
Grant |
grantWrite(IGrantable grantee)
(experimental) Grant write permissions for this stream and its contents to an IAM principal (Role/Group/User).
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) @NotNull public final ConstructNode getNode()
getNode in interface IResource.Jsii$DefaultgetNode in interface IStream.Jsii$Default@Stability(value=Experimental) @NotNull public final ResourceEnvironment getEnv()
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.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$DefaultgetEnv in interface IStream.Jsii$Default@Stability(value=Experimental) @NotNull public final Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$DefaultgetStack in interface IStream.Jsii$Default@Stability(value=Experimental) @NotNull public final String getStreamArn()
getStreamArn in interface IStreamgetStreamArn in interface IStream.Jsii$Default@Stability(value=Experimental) @NotNull public final String getStreamName()
getStreamName in interface IStreamgetStreamName in interface IStream.Jsii$Default@Stability(value=Experimental) @Nullable public final IKey getEncryptionKey()
getEncryptionKey in interface IStreamgetEncryptionKey in interface IStream.Jsii$Default@Stability(value=Experimental) @NotNull public final Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
grant in interface IStreamgrant in interface IStream.Jsii$Defaultgrantee - This parameter is required.actions - This parameter is required.@Stability(value=Experimental) @NotNull public final Grant grantRead(@NotNull IGrantable grantee)
If an encryption key is used, permission to ues the key to decrypt the contents of the stream will also be granted.
grantRead in interface IStreamgrantRead in interface IStream.Jsii$Defaultgrantee - This parameter is required.@Stability(value=Experimental) @NotNull public final Grant grantReadWrite(@NotNull IGrantable grantee)
If an encryption key is used, permission to use the key for encrypt/decrypt will also be granted.
grantReadWrite in interface IStreamgrantReadWrite in interface IStream.Jsii$Defaultgrantee - This parameter is required.@Stability(value=Experimental) @NotNull public final Grant grantWrite(@NotNull IGrantable grantee)
If an encryption key is used, permission to ues the key to encrypt the contents of the stream will also be granted.
grantWrite in interface IStreamgrantWrite in interface IStream.Jsii$Defaultgrantee - This parameter is required.Copyright © 2021. All rights reserved.