public_repository
Gets an individual public_repository
resource
Overview
Name | public_repository |
Type | Resource |
Description | public_repository |
Id | awscc.ecr.public_repository |
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. |
repository_policy_text | object | The JSON repository policy text to apply to the repository. For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicyExamples.html in the Amazon Elastic Container Registry User Guide. |
arn | string | |
repository_catalog_data | object | The CatalogData property type specifies Catalog data for ECR Public Repository. For information about Catalog Data, see <link> |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
repository_name,
repository_policy_text,
arn,
repository_catalog_data,
tags
FROM awscc.ecr.public_repository
WHERE data__Identifier = '<RepositoryName>';
Permissions
To operate on the public_repository
resource, the following permissions are required:
Read
ecr-public:DescribeRepositories,
ecr-public:GetRepositoryPolicy,
ecr-public:GetRepositoryCatalogData,
ecr-public:ListTagsForResource
Update
ecr-public:SetRepositoryPolicy,
ecr-public:DeleteRepositoryPolicy,
ecr-public:PutRepositoryCatalogData,
ecr-public:TagResource,
ecr-public:UntagResource
Delete
ecr-public:DeleteRepository