Skip to content

CrossAccountPrimaryType

Source code in docs_src/capo_secrets_manager/types/cross_account_primary_type.py
class CrossAccountPrimaryType(TypedDict, closed=True):
    primary_secret_arn: NotRequired[
        "capo_secrets_manager.types.secret_arn_type.SecretARNType"
    ]
    """<p>The ARN of the primary secret replicating into this replica secret.</p>"""
    replication_status: NotRequired["capo_secrets_manager.types.status_type.StatusType"]
    """<p>The status of replication from the primary secret to this replica. The status can be:</p> <ul> <li> <p> <code>InSync</code>: Replication to the replica secret is complete.</p> </li> <li> <p> <code>Failed</code>: Replication to the replica secret was unable to be completed.</p> </li> <li> <p> <code>InProgress</code>: Replication to the replica secret has started but is not complete.</p> </li> <li> <p> <code>Pending</code>: Replication has not yet started for the replica secret.</p> </li> <li> <p> <code>Detached</code>: Replication to the replica secret was stopped by the primary.</p> </li> </ul>"""
    status_message: NotRequired[
        "capo_secrets_manager.types.status_message_type.StatusMessageType"
    ]
    """<p>A message that describes the replication status, if Secrets Manager has more information to provide.</p>"""

primary_secret_arn instance-attribute

primary_secret_arn: NotRequired[SecretARNType]

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

replication_status instance-attribute

replication_status: NotRequired[StatusType]

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 instance-attribute

status_message: NotRequired[StatusMessageType]

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