You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticBeanstalk::Types::UpdateApplicationResourceLifecycleMessage

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

Overview

Note:

When making an API call, you may pass UpdateApplicationResourceLifecycleMessage data as a hash:

{
  application_name: "ApplicationName", # required
  resource_lifecycle_config: { # required
    service_role: "String",
    version_lifecycle_config: {
      max_count_rule: {
        enabled: false, # required
        max_count: 1,
        delete_source_from_s3: false,
      },
      max_age_rule: {
        enabled: false, # required
        max_age_in_days: 1,
        delete_source_from_s3: false,
      },
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#application_nameString

The name of the application.

Returns:

  • (String)


4083
4084
4085
4086
4087
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4083

class UpdateApplicationResourceLifecycleMessage < Struct.new(
  :application_name,
  :resource_lifecycle_config)
  include Aws::Structure
end

#resource_lifecycle_configTypes::ApplicationResourceLifecycleConfig

The lifecycle configuration.



4083
4084
4085
4086
4087
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4083

class UpdateApplicationResourceLifecycleMessage < Struct.new(
  :application_name,
  :resource_lifecycle_config)
  include Aws::Structure
end