Skip to content

ecr

EcrRepository (PoliciedResource)

Attributes:

Name Type Description
repo_name str

The name of the ECR repository.

arn str

The ARN of the repository.

encryption_type str

The type of encryption used by the ECR repository.

kms_key_id str

The KMS key ID used to encrypt the ECR repository, if the encryption type is KMS.

kms_data Optional[KmsKey]

The actual KmsKey object referenced by the KMS ID.

image_tag_mutability str

Image tag mutability setting for the ECR repository.

is_image_scan_on_push bool

An indication whether images are scanned after being pushed to the ECR repository.

custom_invalidation(self) inherited

A list of manual reasons why this resource should be invalidated

exclude_from_invalidation(self) inherited

A list of attributes that should be excluded from the invalidation process

EcrRepositoryPolicy (ResourceBasedPolicy)

Attributes:

Name Type Description
repo_name str

The repository the policy applies to.

policy_statements

The statements included in the policy.

raw_document

The raw JSON code of the policy.

custom_invalidation(self) inherited

A list of manual reasons why this resource should be invalidated

exclude_from_invalidation(self) inherited

A list of attributes that should be excluded from the invalidation process