amazonka-opsworks-2.0: Amazon OpsWorks SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

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 #

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 #

NFData App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

Methods

rnf :: App -> () #

Eq App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

Methods

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

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

Hashable App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

Methods

hashWithSalt :: Int -> App -> Int #

hash :: App -> Int #

type Rep App Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.App

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

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:appId:App', app_appId - The app ID.

$sel:appSource:App', app_appSource - A Source object that describes the app repository.

$sel:attributes:App', app_attributes - The stack attributes.

$sel:createdAt:App', app_createdAt - When the app was created.

$sel:dataSources:App', app_dataSources - The app's data sources.

$sel:description:App', app_description - A description of the app.

$sel:domains:App', app_domains - The app vhost settings with multiple domains separated by commas. For example: 'www.example.com, example.com'

$sel:enableSsl:App', app_enableSsl - Whether to enable SSL for the app.

$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:name:App', app_name - The app name.

$sel:shortname:App', app_shortname - The app's short name.

$sel:sslConfiguration:App', app_sslConfiguration - An SslConfiguration object with the SSL configuration.

$sel:stackId:App', app_stackId - The app stack ID.

App, app_type - The app type.

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

The app ID.

app_appSource :: Lens' App (Maybe Source) Source #

A Source object that describes the app repository.

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

When the app was created.

app_dataSources :: Lens' App (Maybe [DataSource]) Source #

The app's data sources.

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

A description of the app.

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

Whether to enable SSL for the app.

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

The app name.

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

The app's short name.

app_sslConfiguration :: Lens' App (Maybe SslConfiguration) Source #

An SslConfiguration object with the SSL configuration.

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

The app stack ID.

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

The app type.