Simplified lifecycle policy model consisting of one or more rules that determine which images in a repository should be expired. See https://docs.aws.amazon.com/AmazonECR/latest/userguide/lifecycle_policy_examples.html for more details.

interface LifecyclePolicyArgs {
    rules?: any;
    skip?: boolean;
}

Properties

Properties

rules?: any

Specifies the rules to determine how images should be retired from this repository. Rules are ordered from lowest priority to highest. If there is a rule with a selection value of any, then it will have the highest priority.

skip?: boolean

Skips creation of the policy if set to true.

Generated using TypeDoc