@Internal public static interface IStream.Jsii$Default extends IStream, IResource.Jsii$Default
IStream.IStream.Jsii$Default, IStream.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default IKey |
getEncryptionKey()
(experimental) Optional KMS encryption key associated with this stream.
|
default ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
default ConstructNode |
getNode()
(experimental) The construct tree node for this construct.
|
default Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
default String |
getStreamArn()
(experimental) The ARN of the stream.
|
default String |
getStreamName()
(experimental) The name of the stream.
|
default Grant |
grant(IGrantable grantee,
String... actions)
(experimental) Grant the indicated permissions on this stream to the provided IAM principal.
|
default Grant |
grantRead(IGrantable grantee)
(experimental) Grant read permissions for this stream and its contents to an IAM principal (Role/Group/User).
|
default Grant |
grantReadWrite(IGrantable grantee)
(experimental) Grants read/write permissions for this stream and its contents to an IAM principal (Role/Group/User).
|
default Grant |
grantWrite(IGrantable grantee)
(experimental) Grant write permissions for this stream and its contents to an IAM principal (Role/Group/User).
|
@Stability(value=Experimental) @NotNull default ConstructNode getNode()
getNode in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default 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$Default@Stability(value=Experimental) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default String getStreamArn()
getStreamArn in interface IStream@Stability(value=Experimental) @NotNull default String getStreamName()
getStreamName in interface IStream@Stability(value=Experimental) @Nullable default IKey getEncryptionKey()
getEncryptionKey in interface IStream@Stability(value=Experimental) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
@Stability(value=Experimental) @NotNull default 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.
@Stability(value=Experimental) @NotNull default 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 IStreamgrantee - This parameter is required.@Stability(value=Experimental) @NotNull default 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 IStreamgrantee - This parameter is required.Copyright © 2021. All rights reserved.