Class: Aws::SecretsManager::Types::CrossAccountPrimaryType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb

Overview

Contains information about the primary secret that a cross-account replica secret replicates from, including its ARN and replication status. This information is only available for cross-account replica secrets.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#primary_secret_arn ⇒ String

The ARN of the primary secret replicating into this replica secret.

Returns:

  • (String)


515
516
517
518
519
520
521
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 515

class CrossAccountPrimaryType < Struct.new(
  :primary_secret_arn,
  :replication_status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#replication_status ⇒ String

The status of replication from the primary secret to this replica. The status can be:

  • InSync: Replication to the replica secret is complete.

  • Failed: Replication to the replica secret was unable to be completed.

  • InProgress: Replication to the replica secret has started but is not complete.

  • Pending: Replication has not yet started for the replica secret.

  • Detached: Replication to the replica secret was stopped by the primary.

Returns:

  • (String)


515
516
517
518
519
520
521
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 515

class CrossAccountPrimaryType < Struct.new(
  :primary_secret_arn,
  :replication_status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#status_message ⇒ String

A message that describes the replication status, if Secrets Manager has more information to provide.

Returns:

  • (String)


515
516
517
518
519
520
521
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 515

class CrossAccountPrimaryType < Struct.new(
  :primary_secret_arn,
  :replication_status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end