GetRepositoryResult

data class GetRepositoryResult(val arn: String? = null, val imageScanningConfiguration: RepositoryImageScanningConfiguration? = null, val imageTagMutability: RepositoryImageTagMutability? = null, val lifecyclePolicy: RepositoryLifecyclePolicy? = null, val repositoryPolicyText: Any? = null, val repositoryUri: String? = null, val tags: List<Tag>? = null)

Constructors

Link copied to clipboard
constructor(arn: String? = null, imageScanningConfiguration: RepositoryImageScanningConfiguration? = null, imageTagMutability: RepositoryImageTagMutability? = null, lifecyclePolicy: RepositoryLifecyclePolicy? = null, repositoryPolicyText: Any? = null, repositoryUri: String? = null, tags: List<Tag>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String? = null

Returns the Amazon Resource Name (ARN) for the specified AWS::ECR::Repository resource. For example, arn:aws:ecr: *eu-west-1* : *123456789012* :repository/ *test-repository* .

Link copied to clipboard

The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.

Link copied to clipboard

The tag mutability setting for the repository. If this parameter is omitted, the default setting of `MUTABLE` will be used which will allow image tags to be overwritten. If `IMMUTABLE` is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.

Link copied to clipboard

Creates or updates a lifecycle policy. For information about lifecycle policy syntax, see Lifecycle policy template.

Link copied to clipboard

The JSON repository policy text to apply to the repository. For more information, see Amazon ECR repository policies in the Amazon Elastic Container Registry User Guide. Search the CloudFormation User Guide for AWS::ECR::Repository for more information about the expected schema for this property.

Link copied to clipboard
val repositoryUri: String? = null

Returns the URI for the specified AWS::ECR::Repository resource. For example, *123456789012* .dkr.ecr. *us-west-2* .amazonaws.com/repository .

Link copied to clipboard
val tags: List<Tag>? = null

An array of key-value pairs to apply to this resource.