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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_nameString

The name of the application. Must be unique within your account.

Returns:

  • (String)


1073
1074
1075
1076
1077
1078
1079
1080
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1073

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

#descriptionString

Your description of the application.

Returns:

  • (String)


1073
1074
1075
1076
1077
1078
1079
1080
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1073

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

#resource_lifecycle_configTypes::ApplicationResourceLifecycleConfig

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



1073
1074
1075
1076
1077
1078
1079
1080
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1073

class CreateApplicationMessage < Struct.new(
  :application_name,
  :description,
  :resource_lifecycle_config,
  :tags)
  SENSITIVE = []
  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:



1073
1074
1075
1076
1077
1078
1079
1080
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1073

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