Paws::OpsWorks::UpdateApp - Arguments for method UpdateApp on Paws::OpsWorks


This class represents the parameters used for calling the method UpdateApp on the AWS OpsWorks service. Use the attributes of this class as arguments to method UpdateApp.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateApp.


    my $opsworks = Paws->service('OpsWorks');
      AppId     => 'MyString',
      AppSource => {
        Password => 'MyString',
        Revision => 'MyString',
        SshKey   => 'MyString',
        Type     => 'git',        # values: git, svn, archive, s3; OPTIONAL
        Url      => 'MyString',
        Username => 'MyString',
      },    # OPTIONAL
      Attributes => {
        'DocumentRoot' => 'MyString'
        , # key: values: DocumentRoot, RailsEnv, AutoBundleOnDeploy, AwsFlowRubySettings
      },    # OPTIONAL
      DataSources => [
          Arn          => 'MyString',
          DatabaseName => 'MyString',
          Type         => 'MyString',
      ],    # OPTIONAL
      Description => 'MyString',             # OPTIONAL
      Domains     => [ 'MyString', ... ],    # OPTIONAL
      EnableSsl   => 1,                      # OPTIONAL
      Environment => [
          Key    => 'MyString',
          Value  => 'MyString',
          Secure => 1,
      ],                                     # OPTIONAL
      Name             => 'MyString',        # OPTIONAL
      SslConfiguration => {
        Certificate => 'MyString',
        PrivateKey  => 'MyString',
        Chain       => 'MyString',
      },                                     # OPTIONAL
      Type => 'aws-flow-ruby',               # OPTIONAL

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see



The app ID.

AppSource => Paws::OpsWorks::Source

A Source object that specifies the app repository.

Attributes => Paws::OpsWorks::AppAttributes

One or more user-defined key/value pairs to be added to the stack attributes.

DataSources => ArrayRef[Paws::OpsWorks::DataSource]

The app's data sources.

Description => Str

A description of the app.

Domains => ArrayRef[Str|Undef]

The app's virtual host settings, with multiple domains separated by commas. For example: ','

EnableSsl => Bool

Whether SSL is enabled for the app.

Environment => ArrayRef[Paws::OpsWorks::EnvironmentVariable]

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 (

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 10 KB (10240 Bytes). 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 10KB)."

This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version.

Name => Str

The app name.

SslConfiguration => Paws::OpsWorks::SslConfiguration

An SslConfiguration object with the SSL configuration.

Type => Str

The app type.

Valid values are: "aws-flow-ruby", "java", "rails", "php", "nodejs", "static", "other"


This class forms part of Paws, documenting arguments for method UpdateApp in Paws::OpsWorks


The source code is located here:

Please report bugs to: