Skip to content

CrossAccountPrimaryType

Structure Class

CrossAccountPrimaryType dataclass

Bases: _SerdeShape

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.

Attributes

primary_secret_arn class-attribute instance-attribute
primary_secret_arn: str | None = ...

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

replication_status class-attribute instance-attribute
replication_status: str | None = ...

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.

status_message class-attribute instance-attribute
status_message: str | None = ...

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