Class: Aws::ElasticBeanstalk::Types::MaxAgeRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delete_source_from_s3Boolean

Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.

Returns:

  • (Boolean)


3110
3111
3112
3113
3114
3115
3116
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3110

class MaxAgeRule < Struct.new(
  :enabled,
  :max_age_in_days,
  :delete_source_from_s3)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Specify true to apply the rule, or false to disable it.

Returns:

  • (Boolean)


3110
3111
3112
3113
3114
3115
3116
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3110

class MaxAgeRule < Struct.new(
  :enabled,
  :max_age_in_days,
  :delete_source_from_s3)
  SENSITIVE = []
  include Aws::Structure
end

#max_age_in_daysInteger

Specify the number of days to retain an application versions.

Returns:

  • (Integer)


3110
3111
3112
3113
3114
3115
3116
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3110

class MaxAgeRule < Struct.new(
  :enabled,
  :max_age_in_days,
  :delete_source_from_s3)
  SENSITIVE = []
  include Aws::Structure
end