# BasicAuthenticationPropertiesProperty

Basic authentication configuration.

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const basicAuthenticationPropertiesProperty: glue.CfnConnectionType.BasicAuthenticationPropertiesProperty = {
  password: {
    name: 'name',
    propertyType: 'propertyType',
    required: false,

    // the properties below are optional
    keyOverride: 'keyOverride',
    propertyLocation: 'propertyLocation',
  },
  username: {
    name: 'name',
    propertyType: 'propertyType',
    required: false,

    // the properties below are optional
    keyOverride: 'keyOverride',
    propertyLocation: 'propertyLocation',
  },
};
```

## Properties

- `password`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectionType.SecretConnectorPropertyProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnConnectionType.SecretConnectorPropertyProperty.html) — Defines a secret property configuration.

  SECRET-type properties cannot have DefaultValue or AllowedValues.

- `username`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectionType.SecretConnectorPropertyProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnConnectionType.SecretConnectorPropertyProperty.html) — Defines a secret property configuration.

  SECRET-type properties cannot have DefaultValue or AllowedValues.
