class Amazonite::SecretsManager::ReplicaRegionType

Overview

A custom type that specifies a Region and the KmsKeyId for a replica secret.

Included Modules

Defined in:

secrets_manager/replica_region_type.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(region : String | Nil = nil, kms_key_id : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable 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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def kms_key_id : String | Nil #

The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses aws/secretsmanager.


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

The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses aws/secretsmanager.


[View source]
def region : String | Nil #

A Region code. For a list of Region codes, see Name and code of Regions.


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

A Region code. For a list of Region codes, see Name and code of Regions.


[View source]
def validate! : Nil #

[View source]