Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data DataSourceCredentials = DataSourceCredentials' {}
- newDataSourceCredentials :: DataSourceCredentials
- dataSourceCredentials_copySourceArn :: Lens' DataSourceCredentials (Maybe Text)
- dataSourceCredentials_credentialPair :: Lens' DataSourceCredentials (Maybe CredentialPair)
- dataSourceCredentials_secretArn :: Lens' DataSourceCredentials (Maybe Text)
Documentation
data DataSourceCredentials Source #
Data source credentials. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
See: newDataSourceCredentials
smart constructor.
DataSourceCredentials' | |
|
Instances
newDataSourceCredentials :: DataSourceCredentials Source #
Create a value of DataSourceCredentials
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:copySourceArn:DataSourceCredentials'
, dataSourceCredentials_copySourceArn
- The Amazon Resource Name (ARN) of a data source that has the credential
pair that you want to use. When CopySourceArn
is not null, the
credential pair from the data source in the ARN is used as the
credentials for the DataSourceCredentials
structure.
$sel:credentialPair:DataSourceCredentials'
, dataSourceCredentials_credentialPair
- Credential pair. For more information, see
CredentialPair
.
$sel:secretArn:DataSourceCredentials'
, dataSourceCredentials_secretArn
- The Amazon Resource Name (ARN) of the secret associated with the data
source in Amazon Secrets Manager.
dataSourceCredentials_copySourceArn :: Lens' DataSourceCredentials (Maybe Text) Source #
The Amazon Resource Name (ARN) of a data source that has the credential
pair that you want to use. When CopySourceArn
is not null, the
credential pair from the data source in the ARN is used as the
credentials for the DataSourceCredentials
structure.
dataSourceCredentials_credentialPair :: Lens' DataSourceCredentials (Maybe CredentialPair) Source #
Credential pair. For more information, see
CredentialPair
.
dataSourceCredentials_secretArn :: Lens' DataSourceCredentials (Maybe Text) Source #
The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.