# UsernamePasswordProperty

The username and password of a connection.

- Source: Generated code
- Type last changed: v2.186.0 · 27 Mar 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const usernamePasswordProperty: datazone.CfnConnection.UsernamePasswordProperty = {
  password: 'password',
  username: 'username',
};
```

## Properties

- `password`: string (required) — The password of a connection.

- `username`: string (required) — The username of a connection.
