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 |
Amazonka.OpsWorks.Types.DataSource
Description
Synopsis
- data DataSource = DataSource' {}
- newDataSource :: DataSource
- dataSource_arn :: Lens' DataSource (Maybe Text)
- dataSource_databaseName :: Lens' DataSource (Maybe Text)
- dataSource_type :: Lens' DataSource (Maybe Text)
Documentation
data DataSource Source #
Describes an app's data source.
See: newDataSource
smart constructor.
Constructors
DataSource' | |
Instances
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_databaseName :: Lens' DataSource (Maybe Text) Source #
The database name.
dataSource_type :: Lens' DataSource (Maybe Text) Source #
The data source's type, AutoSelectOpsworksMysqlInstance
,
OpsworksMysqlInstance
, RdsDbInstance
, or None
.