RepositoryLifecyclePolicy

data class RepositoryLifecyclePolicy(val lifecyclePolicyText: String? = null, val registryId: String? = null)

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: String? = null, registryId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The JSON repository policy text to apply to the repository.

Link copied to clipboard
val registryId: 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.