# AuthenticationConfigurationInputProperty

The authentication configuration 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 authenticationConfigurationInputProperty: datazone.CfnConnection.AuthenticationConfigurationInputProperty = {
  authenticationType: 'authenticationType',
  basicAuthenticationCredentials: {
    password: 'password',
    userName: 'userName',
  },
  customAuthenticationCredentials: {
    customAuthenticationCredentialsKey: 'customAuthenticationCredentials',
  },
  kmsKeyArn: 'kmsKeyArn',
  oAuth2Properties: {
    authorizationCodeProperties: {
      authorizationCode: 'authorizationCode',
      redirectUri: 'redirectUri',
    },
    oAuth2ClientApplication: {
      awsManagedClientApplicationReference: 'awsManagedClientApplicationReference',
      userManagedClientApplicationClientId: 'userManagedClientApplicationClientId',
    },
    oAuth2Credentials: {
      accessToken: 'accessToken',
      jwtToken: 'jwtToken',
      refreshToken: 'refreshToken',
      userManagedClientApplicationClientSecret: 'userManagedClientApplicationClientSecret',
    },
    oAuth2GrantType: 'oAuth2GrantType',
    tokenUrl: 'tokenUrl',
    tokenUrlParametersMap: {
      tokenUrlParametersMapKey: 'tokenUrlParametersMap',
    },
  },
  secretArn: 'secretArn',
};
```

## Properties

- `authenticationType`: string — The authentication type of a connection.

- `basicAuthenticationCredentials`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnection.BasicAuthenticationCredentialsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_datazone.CfnConnection.BasicAuthenticationCredentialsProperty.html) — The basic authentication credentials of a connection.

- `customAuthenticationCredentials`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — The custom authentication credentials of a connection.

- `kmsKeyArn`: string — The KMS key ARN of a connection.

- `oAuth2Properties`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnection.OAuth2PropertiesProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_datazone.CfnConnection.OAuth2PropertiesProperty.html) — The oAuth2 properties of a connection.

- `secretArn`: string — The secret ARN of a connection.
