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.LookoutMetrics.Types.RedshiftSourceConfig
Description
Synopsis
- data RedshiftSourceConfig = RedshiftSourceConfig' {}
- newRedshiftSourceConfig :: Text -> Text -> Natural -> Text -> Text -> Text -> Text -> VpcConfiguration -> RedshiftSourceConfig
- redshiftSourceConfig_clusterIdentifier :: Lens' RedshiftSourceConfig Text
- redshiftSourceConfig_databaseHost :: Lens' RedshiftSourceConfig Text
- redshiftSourceConfig_databasePort :: Lens' RedshiftSourceConfig Natural
- redshiftSourceConfig_secretManagerArn :: Lens' RedshiftSourceConfig Text
- redshiftSourceConfig_databaseName :: Lens' RedshiftSourceConfig Text
- redshiftSourceConfig_tableName :: Lens' RedshiftSourceConfig Text
- redshiftSourceConfig_roleArn :: Lens' RedshiftSourceConfig Text
- redshiftSourceConfig_vpcConfiguration :: Lens' RedshiftSourceConfig VpcConfiguration
Documentation
data RedshiftSourceConfig Source #
Provides information about the Amazon Redshift database configuration.
See: newRedshiftSourceConfig
smart constructor.
Constructors
RedshiftSourceConfig' | |
Fields
|
Instances
newRedshiftSourceConfig Source #
Arguments
:: Text | |
-> Text | |
-> Natural | |
-> Text | |
-> Text | |
-> Text | |
-> Text | |
-> VpcConfiguration | |
-> RedshiftSourceConfig |
Create a value of RedshiftSourceConfig
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:clusterIdentifier:RedshiftSourceConfig'
, redshiftSourceConfig_clusterIdentifier
- A string identifying the Redshift cluster.
$sel:databaseHost:RedshiftSourceConfig'
, redshiftSourceConfig_databaseHost
- The name of the database host.
$sel:databasePort:RedshiftSourceConfig'
, redshiftSourceConfig_databasePort
- The port number where the database can be accessed.
$sel:secretManagerArn:RedshiftSourceConfig'
, redshiftSourceConfig_secretManagerArn
- The Amazon Resource Name (ARN) of the AWS Secrets Manager role.
$sel:databaseName:RedshiftSourceConfig'
, redshiftSourceConfig_databaseName
- The Redshift database name.
$sel:tableName:RedshiftSourceConfig'
, redshiftSourceConfig_tableName
- The table name of the Redshift database.
$sel:roleArn:RedshiftSourceConfig'
, redshiftSourceConfig_roleArn
- The Amazon Resource Name (ARN) of the role providing access to the
database.
$sel:vpcConfiguration:RedshiftSourceConfig'
, redshiftSourceConfig_vpcConfiguration
- Contains information about the Amazon Virtual Private Cloud (VPC)
configuration.
redshiftSourceConfig_clusterIdentifier :: Lens' RedshiftSourceConfig Text Source #
A string identifying the Redshift cluster.
redshiftSourceConfig_databaseHost :: Lens' RedshiftSourceConfig Text Source #
The name of the database host.
redshiftSourceConfig_databasePort :: Lens' RedshiftSourceConfig Natural Source #
The port number where the database can be accessed.
redshiftSourceConfig_secretManagerArn :: Lens' RedshiftSourceConfig Text Source #
The Amazon Resource Name (ARN) of the AWS Secrets Manager role.
redshiftSourceConfig_databaseName :: Lens' RedshiftSourceConfig Text Source #
The Redshift database name.
redshiftSourceConfig_tableName :: Lens' RedshiftSourceConfig Text Source #
The table name of the Redshift database.
redshiftSourceConfig_roleArn :: Lens' RedshiftSourceConfig Text Source #
The Amazon Resource Name (ARN) of the role providing access to the database.
redshiftSourceConfig_vpcConfiguration :: Lens' RedshiftSourceConfig VpcConfiguration Source #
Contains information about the Amazon Virtual Private Cloud (VPC) configuration.