Skip to content

Deletes the resource policy of the S3 Access Grants instance

Description

Deletes the resource policy of the S3 Access Grants instance. The resource policy is used to manage cross-account access to your S3 Access Grants instance. By deleting the resource policy, you delete any cross-account permissions to your S3 Access Grants instance.

Permissions

You must have the s3:DeleteAccessGrantsInstanceResourcePolicy permission to use this operation.

Usage

s3control_delete_access_grants_instance_resource_policy(AccountId)

Arguments

  • AccountId

    [required] The Amazon Web Services account ID of the S3 Access Grants instance.

Value

An empty list.

Request syntax

svc$delete_access_grants_instance_resource_policy(
  AccountId = "string"
)