Skip to main content

repository_creation_templates_list_only

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

Overview

Namerepository_creation_templates_list_only
TypeResource
DescriptionAWS::ECR::RepositoryCreationTemplate is used to create repository with configuration from a pre-defined template.
Idaws.ecr.repository_creation_templates_list_only

Fields

NameDatatypeDescription
prefixstringThe prefix use to match the repository name and apply the template.
descriptionstringThe description of the template.
image_tag_mutabilitystringThe image tag mutability setting for the repository.
repository_policystringThe JSON repository policy text to apply to the repository. For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicyExamples.html
lifecycle_policystringThe JSON lifecycle policy text to apply to the repository. For information about lifecycle policy syntax, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html
encryption_configurationobjectThe encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest. By default, when no encryption configuration is set or the AES256 encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES-256 encryption algorithm. This does not require any action on your part.
For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html
resource_tagsarrayAn array of key-value pairs to apply to this resource.
applied_forarrayA list of enumerable Strings representing the repository creation scenarios that the template will apply towards.
created_atstringCreate timestamp of the template.
updated_atstringUpdate timestamp of the template.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all repository_creation_templates in a region.

SELECT
region,
prefix
FROM aws.ecr.repository_creation_templates_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the repository_creation_templates_list_only resource, see repository_creation_templates