MaxAgeRule class

A lifecycle rule that deletes application versions after the specified number of days.

Constructors

MaxAgeRule({required bool enabled, bool? deleteSourceFromS3, int? maxAgeInDays})
MaxAgeRule.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
maxAgeInDays int?
Specify the number of days to retain an application versions.
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