---
type: resource-type
title: ECRRegistryPolicy
description: aws resource type AWS::ECR::RegistryPolicy
name: ECRRegistryPolicy
lexicon: aws
resource_type: AWS::ECR::RegistryPolicy
---
`AWS::ECR::RegistryPolicy`, a resource type of the aws lexicon.

## Properties

- `PolicyText` (`Record<string, unknown>`, required): The JSON policy text for your registry.
- `RegistryId` (`string`, optional)

## Attributes

- `RegistryId`
