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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateApplicationMessage as input to an Aws::Client method, you can use a vanilla 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. Must be unique within your account.

Returns:

  • (String)

    The name of the application.

#descriptionString

Your description of the application.

Returns:

  • (String)

    Your description of the application.

#resource_lifecycle_configTypes::ApplicationResourceLifecycleConfig

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

Returns:

#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:

  • (Array<Types::Tag>)

    Specifies the tags applied to the application.