amazonka-opsworks-0.1.1: Amazon OpsWorks SDK.

Safe HaskellNone




Creates an app for a specified stack. For more information, see Creating Apps.

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



Request constructor

Request lenses

caAppSource :: Lens' CreateApp (Maybe Source) Source

A Source object that specifies the app repository.

caAttributes :: Lens' CreateApp (HashMap AppAttributesKeys Text) Source

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

caDataSources :: Lens' CreateApp [DataSource] Source

The app's data source.

caDescription :: Lens' CreateApp (Maybe Text) Source

A description of the app.

caDomains :: Lens' CreateApp [Text] Source

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

caEnableSsl :: Lens' CreateApp (Maybe Bool) Source

Whether to enable SSL for the app.

caEnvironment :: Lens' CreateApp [EnvironmentVariable] Source

An array of EnvironmentVariable objects that specify environment variables to be associated with the app. You can specify up to ten environment variables. After you deploy the app, these variables are defined on the associated app server instance.

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.

caName :: Lens' CreateApp Text Source

The app name.

caShortname :: Lens' CreateApp (Maybe Text) Source

The app's short name.

caType :: Lens' CreateApp AppType Source

The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks deploys an application to those instances that are members of the corresponding layer.


Response constructor

createAppResponse :: CreateAppResponse Source

CreateAppResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses