amazonka-opsworks-0.0.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 User Permissions.



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.

caName :: Lens' CreateApp Text Source

The app name.

caShortname :: Lens' CreateApp (Maybe Text) Source

The app's short name.

caSslConfiguration :: Lens' CreateApp (Maybe SslConfiguration) Source

An SslConfiguration object with the SSL configuration.

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