class Aws::OpsWorks::Types::UpdateAppRequest

@note When making an API call, you may pass UpdateAppRequest

data as a hash:

    {
      app_id: "String", # required
      name: "String",
      description: "String",
      data_sources: [
        {
          type: "String",
          arn: "String",
          database_name: "String",
        },
      ],
      type: "aws-flow-ruby", # accepts aws-flow-ruby, java, rails, php, nodejs, static, other
      app_source: {
        type: "git", # accepts git, svn, archive, s3
        url: "String",
        username: "String",
        password: "String",
        ssh_key: "String",
        revision: "String",
      },
      domains: ["String"],
      enable_ssl: false,
      ssl_configuration: {
        certificate: "String", # required
        private_key: "String", # required
        chain: "String",
      },
      attributes: {
        "DocumentRoot" => "String",
      },
      environment: [
        {
          key: "String", # required
          value: "String", # required
          secure: false,
        },
      ],
    }

@!attribute [rw] app_id

The app ID.
@return [String]

@!attribute [rw] name

The app name.
@return [String]

@!attribute [rw] description

A description of the app.
@return [String]

@!attribute [rw] data_sources

The app's data sources.
@return [Array<Types::DataSource>]

@!attribute [rw] type

The app type.
@return [String]

@!attribute [rw] app_source

A `Source` object that specifies the app repository.
@return [Types::Source]

@!attribute [rw] domains

The app's virtual host settings, with multiple domains separated by
commas. For example: `'www.example.com, example.com'`
@return [Array<String>]

@!attribute [rw] enable_ssl

Whether SSL is enabled for the app.
@return [Boolean]

@!attribute [rw] ssl_configuration

An `SslConfiguration` object with the SSL configuration.
@return [Types::SslConfiguration]

@!attribute [rw] attributes

One or more user-defined key/value pairs to be added to the stack
attributes.
@return [Hash<String,String>]

@!attribute [rw] environment

An array of `EnvironmentVariable` objects that specify environment
variables to be associated with the app. After you deploy the app,
these variables are defined on the associated app server
instances.For more information, see [ Environment Variables][1].

There is no specific limit on the number of environment variables.
However, the size of the associated data structure - which includes
the variables' names, values, and protected flag values - cannot
exceed 20 KB. This limit should accommodate most if not all use
cases. Exceeding it will cause an exception with the message,
"Environment: is too large (maximum is 20 KB)."

<note markdown="1"> If you have specified one or more environment variables, you cannot
modify the stack's Chef version.

 </note>

[1]: https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html#workingapps-creating-environment
@return [Array<Types::EnvironmentVariable>]

@see docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateAppRequest AWS API Documentation

Constants

SENSITIVE