libZSservicesZSamazonka-opsworksZSamazonka-opsworks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpsWorks.Types.App

Description

 
Synopsis

Documentation

data App Source #

A description of the app.

See: newApp smart constructor.

Constructors

App' 

Fields

Instances

Instances details
Eq App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

Methods

(==) :: App -> App -> Bool #

(/=) :: App -> App -> Bool #

Read App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

Show App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

Methods

showsPrec :: Int -> App -> ShowS #

show :: App -> String #

showList :: [App] -> ShowS #

Generic App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

Associated Types

type Rep App :: Type -> Type #

Methods

from :: App -> Rep App x #

to :: Rep App x -> App #

NFData App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

Methods

rnf :: App -> () #

Hashable App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

Methods

hashWithSalt :: Int -> App -> Int #

hash :: App -> Int #

FromJSON App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

type Rep App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

type Rep App = D1 ('MetaData "App" "Amazonka.OpsWorks.Types.App" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "App'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "sslConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SslConfiguration)) :*: (S1 ('MetaSel ('Just "environment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EnvironmentVariable])) :*: S1 ('MetaSel ('Just "enableSsl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "shortname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dataSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataSource])) :*: S1 ('MetaSel ('Just "appSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Source))))) :*: ((S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap AppAttributesKeys Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppType)) :*: S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "domains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newApp :: App Source #

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_enableSsl :: Lens' App (Maybe Bool) Source #

Whether to enable SSL for the app.

app_createdAt :: Lens' App (Maybe Text) Source #

When the app was created.

app_shortname :: Lens' App (Maybe Text) Source #

The app's short name.

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_appId :: Lens' App (Maybe Text) Source #

The app ID.

app_name :: Lens' App (Maybe Text) Source #

The app name.

app_type :: Lens' App (Maybe AppType) Source #

The app type.

app_stackId :: Lens' App (Maybe Text) Source #

The app stack ID.

app_domains :: Lens' App (Maybe [Text]) Source #

The app vhost settings with multiple domains separated by commas. For example: 'www.example.com, example.com'

app_description :: Lens' App (Maybe Text) Source #

A description of the app.