Skip to main content

registry_policies_list_only

Lists registry_policies in a region or regions, for all properties use registry_policies

Overview

Nameregistry_policies_list_only
TypeResource
DescriptionThe AWS::ECR::RegistryPolicy resource creates or updates the permissions policy for a private registry.
A private registry policy is used to specify permissions for another AWS-account and is used when configuring cross-account replication. For more information, see [Registry permissions](https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html) in the *Amazon Elastic Container Registry User Guide*.
Idaws.ecr.registry_policies_list_only

Fields

NameDatatypeDescription
registry_idstringThe AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
policy_textobjectThe JSON policy text for your registry.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all registry_policies in a region.

SELECT
region,
registry_id
FROM aws.ecr.registry_policies_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the registry_policies_list_only resource, see registry_policies