Menu
Amazon ECR
User Guide (API Version 2015-09-21)

Deleting a Repository Policy Statement

If you no longer want an existing repository policy statement to apply to a repository, you can delete it.

To delete a repository policy statement

  1. Open the Amazon ECS console at https://console.aws.amazon.com/ecs/.

  2. From the navigation bar, choose the region that contains the repository to delete a policy statement from.

    Note

    Amazon ECR is available in the following regions:

    Region Name Region
    US East (N. Virginia) us-east-1
    US East (Ohio) us-east-2
    US West (N. California) us-west-1
    US West (Oregon) us-west-2
    EU (Ireland) eu-west-1
    EU (London) eu-west-2
    EU (Frankfurt) eu-central-1
    Asia Pacific (Tokyo) ap-northeast-1
    Asia Pacific (Singapore) ap-southeast-1
    Asia Pacific (Sydney) ap-southeast-2
    Canada (Central) ca-central-1

  3. In the navigation pane, choose Repositories.

  4. On the Repositories page, choose the repository to delete a policy statement from.

  5. On the All repositories : repository_name page, choose the Permissions tab.

  6. In the Permission statements list, expand the policy statement to delete and choose Remove at the bottom of the expanded statement.