Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data App = App' {
- sslConfiguration :: Maybe SslConfiguration
- environment :: Maybe [EnvironmentVariable]
- enableSsl :: Maybe Bool
- createdAt :: Maybe Text
- shortname :: Maybe Text
- dataSources :: Maybe [DataSource]
- appSource :: Maybe Source
- appId :: Maybe Text
- attributes :: Maybe (HashMap AppAttributesKeys Text)
- name :: Maybe Text
- type' :: Maybe AppType
- stackId :: Maybe Text
- domains :: Maybe [Text]
- description :: Maybe Text
- newApp :: App
- app_sslConfiguration :: Lens' App (Maybe SslConfiguration)
- app_environment :: Lens' App (Maybe [EnvironmentVariable])
- app_enableSsl :: Lens' App (Maybe Bool)
- app_createdAt :: Lens' App (Maybe Text)
- app_shortname :: Lens' App (Maybe Text)
- app_dataSources :: Lens' App (Maybe [DataSource])
- app_appSource :: Lens' App (Maybe Source)
- app_appId :: Lens' App (Maybe Text)
- app_attributes :: Lens' App (Maybe (HashMap AppAttributesKeys Text))
- app_name :: Lens' App (Maybe Text)
- app_type :: Lens' App (Maybe AppType)
- app_stackId :: Lens' App (Maybe Text)
- app_domains :: Lens' App (Maybe [Text])
- app_description :: Lens' App (Maybe Text)
Documentation
A description of the app.
See: newApp
smart constructor.
App' | |
|
Instances
Create a value of App
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sslConfiguration:App'
, app_sslConfiguration
- An SslConfiguration
object with the SSL configuration.
$sel:environment:App'
, app_environment
- 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 variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
$sel:enableSsl:App'
, app_enableSsl
- Whether to enable SSL for the app.
$sel:createdAt:App'
, app_createdAt
- When the app was created.
$sel:shortname:App'
, app_shortname
- The app's short name.
$sel:dataSources:App'
, app_dataSources
- The app's data sources.
$sel:appSource:App'
, app_appSource
- A Source
object that describes the app repository.
$sel:appId:App'
, app_appId
- The app ID.
$sel:attributes:App'
, app_attributes
- The stack attributes.
$sel:name:App'
, app_name
- The app name.
$sel:type':App'
, app_type
- The app type.
$sel:stackId:App'
, app_stackId
- The app stack ID.
$sel:domains:App'
, app_domains
- The app vhost settings with multiple domains separated by commas. For
example: 'www.example.com, example.com'
$sel:description:App'
, app_description
- A description of the app.
app_sslConfiguration :: Lens' App (Maybe SslConfiguration) Source #
An SslConfiguration
object with the SSL configuration.
app_environment :: Lens' App (Maybe [EnvironmentVariable]) Source #
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 variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
app_dataSources :: Lens' App (Maybe [DataSource]) Source #
The app's data sources.
app_appSource :: Lens' App (Maybe Source) Source #
A Source
object that describes the app repository.
app_attributes :: Lens' App (Maybe (HashMap AppAttributesKeys Text)) Source #
The stack attributes.