repositories
Retrieves a list of repositories
in a region
Overview
Name | repositories |
Type | Resource |
Description | repositories |
Id | awscc.ecr.repositories |
Fields
Name | Datatype | Description |
---|---|---|
repository_name | string | The name to use for the repository. The repository name may be specified on its own (such as nginx-web-app) or it can be prepended with a namespace to group the repository into a category (such as project-a/nginx-web-app). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the repository name. For more information, see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
repository_name
FROM awscc.ecr.repositories
WHERE region = 'us-east-1'
Permissions
To operate on the repositories
resource, the following permissions are required:
Create
ecr:CreateRepository,
ecr:PutLifecyclePolicy,
ecr:SetRepositoryPolicy,
ecr:TagResource,
kms:DescribeKey,
kms:CreateGrant,
kms:RetireGrant
List
ecr:DescribeRepositories