You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Kinesis::Types::StreamDescriptionSummary

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#consumer_count ⇒ Integer

The number of enhanced fan-out consumers registered with the stream.

Returns:

  • (Integer) —

    The number of enhanced fan-out consumers registered with the stream.

#encryption_type ⇒ String

The encryption type used. This value is one of the following:

  • KMS

  • NONE

    Possible values:

    • NONE
    • KMS

Returns:

  • (String) —

    The encryption type used.

#enhanced_monitoring ⇒ Array<Types::EnhancedMetrics>

Represents the current enhanced monitoring settings of the stream.

Returns:

#key_id ⇒ String

The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by \"alias/\".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.

  • Key ARN example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012

  • Alias ARN example: arn:aws:kms:us-east-1:123456789012:alias/MyAliasName

  • Globally unique key ID example: 12345678-1234-1234-1234-123456789012

  • Alias name example: alias/MyAliasName

  • Master key owned by Kinesis Data Streams: alias/aws/kinesis

Returns:

  • (String) —

    The GUID for the customer-managed AWS KMS key to use for encryption.

#open_shard_count ⇒ Integer

The number of open shards in the stream.

Returns:

  • (Integer) —

    The number of open shards in the stream.

#retention_period_hours ⇒ Integer

The current retention period, in hours.

Returns:

  • (Integer) —

    The current retention period, in hours.

#stream_arn ⇒ String

The Amazon Resource Name (ARN) for the stream being described.

Returns:

  • (String) —

    The Amazon Resource Name (ARN) for the stream being described.

#stream_creation_timestamp ⇒ Time

The approximate time that the stream was created.

Returns:

  • (Time) —

    The approximate time that the stream was created.

#stream_name ⇒ String

The name of the stream being described.

Returns:

  • (String) —

    The name of the stream being described.

#stream_status ⇒ String

The current status of the stream being described. The stream status is one of the following states:

  • CREATING - The stream is being created. Kinesis Data Streams immediately returns and sets StreamStatus to CREATING.

  • DELETING - The stream is being deleted. The specified stream is in the DELETING state until Kinesis Data Streams completes the deletion.

  • ACTIVE - The stream exists and is ready for read and write operations or deletion. You should perform read and write operations only on an ACTIVE stream.

  • UPDATING - Shards in the stream are being merged or split. Read and write operations continue to work while the stream is in the UPDATING state.

    Possible values:

    • CREATING
    • DELETING
    • ACTIVE
    • UPDATING

Returns:

  • (String) —

    The current status of the stream being described.