registry_policies_list_only
Lists registry_policies in a region or regions, for all properties use registry_policies
Overview
| Name | registry_policies_list_only |
| Type | Resource |
| Description | The 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. |
| Id | aws.ecr.registry_policies_list_only |
Fields
| Name | Datatype | Description |
|---|---|---|
registry_id | string | The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed. |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
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