Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
http://docs.aws.amazon.com/opsworks/latest/APIReference/API_CreateApp.html
- data CreateApp
- createApp :: Text -> Text -> AppType -> CreateApp
- caAppSource :: Lens' CreateApp (Maybe Source)
- caAttributes :: Lens' CreateApp (HashMap AppAttributesKeys Text)
- caDataSources :: Lens' CreateApp [DataSource]
- caDescription :: Lens' CreateApp (Maybe Text)
- caDomains :: Lens' CreateApp [Text]
- caEnableSsl :: Lens' CreateApp (Maybe Bool)
- caName :: Lens' CreateApp Text
- caShortname :: Lens' CreateApp (Maybe Text)
- caSslConfiguration :: Lens' CreateApp (Maybe SslConfiguration)
- caStackId :: Lens' CreateApp Text
- caType :: Lens' CreateApp AppType
- data CreateAppResponse
- createAppResponse :: CreateAppResponse
- carAppId :: Lens' CreateAppResponse (Maybe Text)
Request
Request constructor
CreateApp
constructor.
The fields accessible through corresponding lenses are:
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.
caDomains :: Lens' CreateApp [Text] Source
The app virtual host settings, with multiple domains separated by commas. For example: ''www.example.com, example.com''
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
data CreateAppResponse Source
Response constructor
createAppResponse :: CreateAppResponse Source
CreateAppResponse
constructor.
The fields accessible through corresponding lenses are: