interface BasicAuthenticationCredentialsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnConnectionPropsMixin.BasicAuthenticationCredentialsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnConnectionPropsMixin_BasicAuthenticationCredentialsProperty |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnConnectionPropsMixin.BasicAuthenticationCredentialsProperty |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnConnectionPropsMixin.BasicAuthenticationCredentialsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » CfnConnectionPropsMixin » BasicAuthenticationCredentialsProperty |
For supplying basic auth credentials when not providing a SecretArn value.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as glue_mixins } from '@aws-cdk/mixins-preview/aws-glue';
const basicAuthenticationCredentialsProperty: glue_mixins.CfnConnectionPropsMixin.BasicAuthenticationCredentialsProperty = {
password: 'password',
username: 'username',
};
Properties
| Name | Type | Description |
|---|---|---|
| password? | string | The password to connect to the data source. |
| username? | string | The username to connect to the data source. |
password?
Type:
string
(optional)
The password to connect to the data source.
username?
Type:
string
(optional)
The username to connect to the data source.

.NET
Go
Java
Python
TypeScript