Interface CfnApplication.MaxCountRuleProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnApplication.MaxCountRuleProperty extends
Use the MaxAgeRule property type to specify a max count rule to restrict the number of application versions that are retained for an AWS Elastic Beanstalk application when defining an AWS::ElasticBeanstalk::Application resource in an AWS CloudFormation template.

A lifecycle rule that deletes the oldest application version when the maximum count is exceeded.

MaxCountRule is a property of the ApplicationVersionLifecycleConfig property type.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 MaxCountRuleProperty maxCountRuleProperty = MaxCountRuleProperty.builder()