class Aws::ElasticBeanstalk::Types::MaxCountRule

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

@note When making an API call, you may pass MaxCountRule

data as a hash:

    {
      enabled: false, # required
      max_count: 1,
      delete_source_from_s3: false,
    }

@!attribute [rw] enabled

Specify `true` to apply the rule, or `false` to disable it.
@return [Boolean]

@!attribute [rw] max_count

Specify the maximum number of application versions to retain.
@return [Integer]

@!attribute [rw] delete_source_from_s3

Set to `true` to delete a version's source bundle from Amazon S3
when Elastic Beanstalk deletes the application version.
@return [Boolean]

@see docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/MaxCountRule AWS API Documentation

Constants

SENSITIVE