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)
- caEnvironment :: Lens' CreateApp [EnvironmentVariable]
- 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:
caAppSource
::
Maybe
Source
caAttributes
::
HashMap
AppAttributesKeys
Text
caDataSources
::
[DataSource
]caDescription
::
Maybe
Text
caDomains
::
[Text
]caEnableSsl
::
Maybe
Bool
caEnvironment
::
[EnvironmentVariable
]caName
::
Text
caShortname
::
Maybe
Text
caSslConfiguration
::
Maybe
SslConfiguration
caStackId
::
Text
caType
::
AppType
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''
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.
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: