StreamAttributes

class aws_cdk.aws_kinesis.StreamAttributes(*, stream_arn, encryption_key=None)

Bases: object

__init__(*, stream_arn, encryption_key=None)

A reference to a stream.

The easiest way to instantiate is to call stream.export(). Then, the consumer can use Stream.import(this, ref) and get a Stream.

Parameters
  • stream_arn (str) – The ARN of the stream.

  • encryption_key (Optional[IKey]) – The KMS key securing the contents of the stream if encryption is enabled.

stability :stability: experimental

Attributes

encryption_key

The KMS key securing the contents of the stream if encryption is enabled.

stability :stability: experimental

Return type

Optional[IKey]

stream_arn

The ARN of the stream.

stability :stability: experimental

Return type

str