DeleteResourcePolicyRequest
¶
Source code in docs_src/capo_ssm/types/delete_resource_policy_request.py
deletion_mode
instance-attribute
¶
deletion_mode: NotRequired[DeletionMode]
Specifies the intended outcome of the operation. Applies only to the Document resource type. The operation ignores this parameter for other resource types. Optional. Defaults to RemoveSharing.
-
RemoveSharing– Deletes the resource policy and removes sharing of the document. -
RollbackMigration– Reverts the document to Custom sharing, preserving existing consumer access, instead of removing the policy.
policy_hash
instance-attribute
¶
policy_hash: PolicyHash
ID of the current policy version. The hash helps to prevent multiple calls from attempting to overwrite a policy.
resource_arn
instance-attribute
¶
resource_arn: ResourceArnString
Amazon Resource Name (ARN) of the resource to which the policies are attached.