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

Class: Aws::ElasticBeanstalk::Types::CreateApplicationMessage

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 CreateApplicationMessage data as a hash:

{
  application_name: "ApplicationName", # required
  description: "Description",
  resource_lifecycle_config: {
    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,
      },
    },
  },
}

Request to create an application.

Instance Attribute Summary collapse

Instance Attribute Details

#application_nameString

The name of the application.

Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.

Returns:

  • (String)


941
942
943
944
945
946
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 941

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

#descriptionString

Describes the application.

Returns:

  • (String)


941
942
943
944
945
946
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 941

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

#resource_lifecycle_configTypes::ApplicationResourceLifecycleConfig

Specify an application resource lifecycle configuration to prevent your application from accumulating too many versions.



941
942
943
944
945
946
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 941

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