ApplicationVersionLifecycleConfig class

The application version lifecycle settings for an application. Defines the rules that Elastic Beanstalk applies to an application's versions in order to avoid hitting the per-region limit for application versions.

When Elastic Beanstalk deletes an application version from its database, you can no longer deploy that version to an environment. The source bundle remains in S3 unless you configure the rule to delete it.

  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: false, createToJson: true)


ApplicationVersionLifecycleConfig({MaxAgeRule maxAgeRule, MaxCountRule maxCountRule})
ApplicationVersionLifecycleConfig.fromXml(XmlElement elem)


hashCode int
The hash code for this object. [...]
read-only, inherited
maxAgeRule MaxAgeRule
Specify a max age rule to restrict the length of time that application versions are retained for an application.
@JsonKey(name: 'MaxAgeRule'), final
maxCountRule MaxCountRule
Specify a max count rule to restrict the number of application versions that are retained for an application.
@JsonKey(name: 'MaxCountRule'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]