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,
      },
    },
  },
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

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)


1014
1015
1016
1017
1018
1019
1020
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1014

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

#descriptionString

Describes the application.

Returns:

  • (String)


1014
1015
1016
1017
1018
1019
1020
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1014

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

#resource_lifecycle_configTypes::ApplicationResourceLifecycleConfig

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



1014
1015
1016
1017
1018
1019
1020
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1014

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

#tagsArray<Types::Tag>

Specifies the tags applied to the application.

Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.

Returns:



1014
1015
1016
1017
1018
1019
1020
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1014

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