RepositoryArgs

data class RepositoryArgs(val emptyOnDelete: Output<Boolean>? = null, val encryptionConfiguration: Output<RepositoryEncryptionConfigurationArgs>? = null, val imageScanningConfiguration: Output<RepositoryImageScanningConfigurationArgs>? = null, val imageTagMutability: Output<RepositoryImageTagMutability>? = null, val lifecyclePolicy: Output<RepositoryLifecyclePolicyArgs>? = null, val repositoryName: Output<String>? = null, val repositoryPolicyText: Output<Any>? = null, val tags: Output<List<RepositoryTagArgs>>? = null) : ConvertibleToJava<RepositoryArgs>

The AWS::ECR::Repository resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images. For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html

Example Usage

Example

No Java example available.

Example

No Java example available.

Constructors

Link copied to clipboard
fun RepositoryArgs(emptyOnDelete: Output<Boolean>? = null, encryptionConfiguration: Output<RepositoryEncryptionConfigurationArgs>? = null, imageScanningConfiguration: Output<RepositoryImageScanningConfigurationArgs>? = null, imageTagMutability: Output<RepositoryImageTagMutability>? = null, lifecyclePolicy: Output<RepositoryLifecyclePolicyArgs>? = null, repositoryName: Output<String>? = null, repositoryPolicyText: Output<Any>? = null, tags: Output<List<RepositoryTagArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): RepositoryArgs

Properties

Link copied to clipboard
val emptyOnDelete: Output<Boolean>? = null
Link copied to clipboard

The image tag mutability setting for the repository.

Link copied to clipboard
Link copied to clipboard
val repositoryName: Output<String>? = null

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.

Link copied to clipboard
val repositoryPolicyText: Output<Any>? = null

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.

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

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