class Amazonite::Kinesis::S3StorageConfiguration

Overview

The Amazon S3 storage settings for a general purpose Amazon S3 destination.

Included Modules

Defined in:

kinesis/s3_storage_configuration.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(bucket_arn : String, expected_bucket_owner : String, compression_type : S3CompressionType, output_key_template : String | Nil = nil, storage_class : S3StorageClass | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def bucket_arn : String #

The Amazon Resource Name (ARN) of the destination Amazon S3 bucket.


[View source]
def bucket_arn=(bucket_arn : String) #

The Amazon Resource Name (ARN) of the destination Amazon S3 bucket.


[View source]
def compression_type : S3CompressionType #

The compression applied to delivered objects. Valid values:

  • NONE - No compression.

  • GZIP - gzip compression.

  • ZSTD - Zstandard compression.


[View source]
def compression_type=(compression_type : S3CompressionType) #

The compression applied to delivered objects. Valid values:

  • NONE - No compression.

  • GZIP - gzip compression.

  • ZSTD - Zstandard compression.


[View source]
def expected_bucket_owner : String #

The Amazon Web Services account ID of the expected owner of the destination bucket. This value helps prevent delivery to an unintended bucket if ownership changes.


[View source]
def expected_bucket_owner=(expected_bucket_owner : String) #

The Amazon Web Services account ID of the expected owner of the destination bucket. This value helps prevent delivery to an unintended bucket if ownership changes.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def output_key_template : String | Nil #

The template used to construct the Amazon S3 object key for delivered objects. If not specified, a default template is used.


[View source]
def output_key_template=(output_key_template : String | Nil) #

The template used to construct the Amazon S3 object key for delivered objects. If not specified, a default template is used.


[View source]
def storage_class : S3StorageClass | Nil #

The Amazon S3 storage class for delivered objects. Valid values:

  • STANDARD - Default storage class for frequently accessed data. (default)

  • INTELLIGENT_TIERING - Automatically moves objects to the most cost-effective access tier based on usage patterns.

  • GLACIER_IR - Low-cost storage for rarely accessed data that requires millisecond retrieval.


[View source]
def storage_class=(storage_class : S3StorageClass | Nil) #

The Amazon S3 storage class for delivered objects. Valid values:

  • STANDARD - Default storage class for frequently accessed data. (default)

  • INTELLIGENT_TIERING - Automatically moves objects to the most cost-effective access tier based on usage patterns.

  • GLACIER_IR - Low-cost storage for rarely accessed data that requires millisecond retrieval.


[View source]
def validate! : Nil #

[View source]