Skip to content

GetResourcePolicyResponse

Source code in docs_src/capo_secrets_manager/types/get_resource_policy_response.py
class GetResourcePolicyResponse(TypedDict, closed=True):
    arn: NotRequired["capo_secrets_manager.types.secret_arn_type.SecretARNType"]
    """<p>The ARN of the secret that the resource-based policy was retrieved for.</p>"""
    name: NotRequired["capo_secrets_manager.types.name_type.NameType"]
    """<p>The name of the secret that the resource-based policy was retrieved for.</p>"""
    resource_policy: NotRequired[
        "capo_secrets_manager.types.non_empty_resource_policy_type.NonEmptyResourcePolicyType"
    ]
    """<p>A JSON-formatted string that contains the permissions policy attached to the secret. For more information about permissions policies, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication and access control for Secrets Manager</a>.</p>"""

arn instance-attribute

arn: NotRequired[SecretARNType]

The ARN of the secret that the resource-based policy was retrieved for.

name instance-attribute

name: NotRequired[NameType]

The name of the secret that the resource-based policy was retrieved for.

resource_policy instance-attribute

resource_policy: NotRequired[NonEmptyResourcePolicyType]

A JSON-formatted string that contains the permissions policy attached to the secret. For more information about permissions policies, see Authentication and access control for Secrets Manager.