class Amazonite::SecretsManager::CreateSecretResponse

Included Modules

Defined in:

secrets_manager/create_secret_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(arn : String | Nil = nil, name : String | Nil = nil, version_id : String | Nil = nil, replication_status : Array(ReplicationStatusType) | 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 arn : String | Nil #

The ARN of the new secret. The ARN includes the name of the secret followed by six random characters. This ensures that if you create a new secret with the same name as a deleted secret, then users with access to the old secret don't get access to the new secret because the ARNs are different.


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

The ARN of the new secret. The ARN includes the name of the secret followed by six random characters. This ensures that if you create a new secret with the same name as a deleted secret, then users with access to the old secret don't get access to the new secret because the ARNs are different.


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

See Object#hash(hasher)


def name : String | Nil #

The name of the new secret.


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

The name of the new secret.


[View source]
def replication_status : Array(ReplicationStatusType) | Nil #

A list of the replicas of this secret and their status:

  • Failed, which indicates that the replica was not created.

  • InProgress, which indicates that Secrets Manager is in the process of creating the replica.

  • InSync, which indicates that the replica was created.


[View source]
def replication_status=(replication_status : Array(ReplicationStatusType) | Nil) #

A list of the replicas of this secret and their status:

  • Failed, which indicates that the replica was not created.

  • InProgress, which indicates that Secrets Manager is in the process of creating the replica.

  • InSync, which indicates that the replica was created.


[View source]
def validate! : Nil #

[View source]
def version_id : String | Nil #

The unique identifier associated with the version of the new secret.


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

The unique identifier associated with the version of the new secret.


[View source]