RepositoryLifecyclePolicyArgs

data class RepositoryLifecyclePolicyArgs(val lifecyclePolicyText: Output<String>? = null, val registryId: Output<String>? = null) : ConvertibleToJava<RepositoryLifecyclePolicyArgs>

The `LifecyclePolicy` property type specifies a lifecycle policy. For information about lifecycle policy syntax, see Lifecycle policy template in the Amazon ECR User Guide.

Constructors

Link copied to clipboard
constructor(lifecyclePolicyText: Output<String>? = null, registryId: Output<String>? = null)

Properties

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

The JSON repository policy text to apply to the repository.

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

The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

Functions

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