Interface CfnRepository.LifecyclePolicyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRepository.LifecyclePolicyProperty.Jsii$Proxy
Enclosing class:
CfnRepository

@Stability(Stable) public static interface CfnRepository.LifecyclePolicyProperty extends software.amazon.jsii.JsiiSerializable
The LifecyclePolicy property type specifies a lifecycle policy.

For information about lifecycle policy syntax, see Lifecycle policy template in the Amazon ECR User Guide .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ecr.*;
 LifecyclePolicyProperty lifecyclePolicyProperty = LifecyclePolicyProperty.builder()
         .lifecyclePolicyText("lifecyclePolicyText")
         .registryId("registryId")
         .build();
 

See Also: