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.DataSource

Description

 
Synopsis

Documentation

data DataSource Source #

Describes an app's data source.

See: newDataSource smart constructor.

Constructors

DataSource' 

Fields

Instances

Instances details
Eq DataSource Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.DataSource

Read DataSource Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.DataSource

Show DataSource Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.DataSource

Generic DataSource Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.DataSource

Associated Types

type Rep DataSource :: Type -> Type #

NFData DataSource Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.DataSource

Methods

rnf :: DataSource -> () #

Hashable DataSource Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.DataSource

ToJSON DataSource Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.DataSource

FromJSON DataSource Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.DataSource

type Rep DataSource Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.DataSource

type Rep DataSource = D1 ('MetaData "DataSource" "Amazonka.OpsWorks.Types.DataSource" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "DataSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDataSource :: DataSource Source #

Create a value of DataSource 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:arn:DataSource', dataSource_arn - The data source's ARN.

$sel:databaseName:DataSource', dataSource_databaseName - The database name.

$sel:type':DataSource', dataSource_type - The data source's type, AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, RdsDbInstance, or None.

dataSource_arn :: Lens' DataSource (Maybe Text) Source #

The data source's ARN.

dataSource_type :: Lens' DataSource (Maybe Text) Source #

The data source's type, AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, RdsDbInstance, or None.