IStream

class aws_cdk.aws_kinesis.IStream(*args, **kwargs)

Bases: aws_cdk.core.IResource, typing_extensions.Protocol

A Kinesis Stream.

stability :stability: experimental

__init__(*args, **kwargs)

Methods

grant_read(grantee)

Grant read permissions for this stream and its contents to an IAM principal (Role/Group/User).

If an encryption key is used, permission to ues the key to decrypt the contents of the stream will also be granted.

Parameters

grantee (IGrantable) –

stability :stability: experimental

Return type

Grant

grant_read_write(grantee)

Grants read/write permissions for this stream and its contents to an IAM principal (Role/Group/User).

If an encryption key is used, permission to use the key for encrypt/decrypt will also be granted.

Parameters

grantee (IGrantable) –

stability :stability: experimental

Return type

Grant

grant_write(grantee)

Grant write permissions for this stream and its contents to an IAM principal (Role/Group/User).

If an encryption key is used, permission to ues the key to encrypt the contents of the stream will also be granted.

Parameters

grantee (IGrantable) –

stability :stability: experimental

Return type

Grant

Attributes

encryption_key

Optional KMS encryption key associated with this stream.

stability :stability: experimental

Return type

Optional[IKey]

node

The construct tree node for this construct.

Return type

ConstructNode

stack

The stack in which this resource is defined.

Return type

Stack

stream_arn

The ARN of the stream.

stability :stability: experimental attribute: :attribute:: true

Return type

str

stream_name

The name of the stream.

stability :stability: experimental attribute: :attribute:: true

Return type

str