class Amazonite::SecretsManager::ReplicationStatusType

Overview

A replication object consisting of a RegionReplicationStatus object and includes a Region, KMSKeyId, status, and status message.

Included Modules

Defined in:

secrets_manager/replication_status_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, status : StatusType | Nil = nil, status_message : String | Nil = nil, last_accessed_date : Time | Nil = nil) #

[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 #

Can be an ARN, Key ID, or Alias.


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

Can be an ARN, Key ID, or Alias.


[View source]
def last_accessed_date : Time | Nil #

The date that the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region.


[View source]
def last_accessed_date=(last_accessed_date : Time | Nil) #

The date that the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region.


[View source]
def region : String | Nil #

The Region where replication occurs.


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

The Region where replication occurs.


[View source]
def status : StatusType | Nil #

The status can be InProgress, Failed, or InSync.


[View source]
def status=(status : StatusType | Nil) #

The status can be InProgress, Failed, or InSync.


[View source]
def status_message : String | Nil #

Status message such as "Secret with this name already exists in this region".


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

Status message such as "Secret with this name already exists in this region".


[View source]
def validate! : Nil #

[View source]