DeleteResourcePolicyRequest
¶
Source code in docs_src/capo_secrets_manager/types/delete_resource_policy_request.py
policy_name
instance-attribute
¶
policy_name: NotRequired[ResourcePolicyNameType]
The name of the resource policy to delete. If you don't specify this field, Secrets Manager uses default. You can only delete the default policy; if you specify any other name, the operation returns an InvalidParameterException.
secret_id
instance-attribute
¶
secret_id: SecretIdType
The ARN or name of the secret to delete the attached resource-based policy for.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.