class Amazonite::Kinesis::StartStreamEncryptionInput

Included Modules

Defined in:

kinesis/start_stream_encryption_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(encryption_type : EncryptionType, key_id : String, stream_name : String | Nil = nil, stream_arn : String | Nil = nil, stream_id : String | 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 encryption_type : EncryptionType #

The encryption type to use. The only valid value is KMS.


[View source]
def encryption_type=(encryption_type : EncryptionType) #

The encryption type to use. The only valid value is KMS.


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

See Object#hash(hasher)


def key_id : String #

The GUID for the customer-managed Amazon Web Services KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (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


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

The GUID for the customer-managed Amazon Web Services KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (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


[View source]
def stream_arn : String | Nil #

The ARN of the stream.


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

The ARN of the stream.


[View source]
def stream_id : String | Nil #

Not Implemented. Reserved for future use.


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

Not Implemented. Reserved for future use.


[View source]
def stream_name : String | Nil #

The name of the stream for which to start encrypting records.


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

The name of the stream for which to start encrypting records.


[View source]
def validate! : Nil #

[View source]