Skip to content

/AWS1/CL_OWX=>UPDATEAPP()

About UpdateApp

Updates a specified app.

Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Method Signature

IMPORTING

Required arguments:

IV_APPID TYPE /AWS1/OWXSTRING /AWS1/OWXSTRING

The app ID.

Optional arguments:

IV_NAME TYPE /AWS1/OWXSTRING /AWS1/OWXSTRING

The app name.

IV_DESCRIPTION TYPE /AWS1/OWXSTRING /AWS1/OWXSTRING

A description of the app.

IT_DATASOURCES TYPE /AWS1/CL_OWXDATASOURCE=>TT_DATASOURCES TT_DATASOURCES

The app's data sources.

IV_TYPE TYPE /AWS1/OWXAPPTYPE /AWS1/OWXAPPTYPE

The app type.

IO_APPSOURCE TYPE REF TO /AWS1/CL_OWXSOURCE /AWS1/CL_OWXSOURCE

A Source object that specifies the app repository.

IT_DOMAINS TYPE /AWS1/CL_OWXSTRINGS_W=>TT_STRINGS TT_STRINGS

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

IV_ENABLESSL TYPE /AWS1/OWXBOOLEAN /AWS1/OWXBOOLEAN

Whether SSL is enabled for the app.

IO_SSLCONFIGURATION TYPE REF TO /AWS1/CL_OWXSSLCONFIGURATION /AWS1/CL_OWXSSLCONFIGURATION

An SslConfiguration object with the SSL configuration.

IT_ATTRIBUTES TYPE /AWS1/CL_OWXAPPATTRIBUTES_W=>TT_APPATTRIBUTES TT_APPATTRIBUTES

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

IT_ENVIRONMENT TYPE /AWS1/CL_OWXENVIRONMENTVARIA00=>TT_ENVIRONMENTVARIABLES TT_ENVIRONMENTVARIABLES

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 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)."

If you have specified one or more environment variables, you cannot modify the stack's Chef version.