MaxCountRule class

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

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

Constructors

MaxCountRule({@_s.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.
@_s.JsonKey(name: 'DeleteSourceFromS3'), final
enabled bool
Specify true to apply the rule, or false to disable it.
@_s.JsonKey(name: 'Enabled'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
maxCount int
Specify the maximum number of application versions to retain.
@_s.JsonKey(name: 'MaxCount'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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