MaxCountRule class

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

Constructors

MaxCountRule({required bool enabled, bool? deleteSourceFromS3, int? maxCount})
MaxCountRule.fromXml(XmlElement elem)
factory

Properties

deleteSourceFromS3 bool?
Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
final
enabled bool
Specify true to apply the rule, or false to disable it.
final
hashCode int
The hash code for this object.
no setterinherited
maxCount int?
Specify the maximum number of application versions to retain.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited