interface OAuth2CredentialsProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.AppFlow.CfnConnectorProfile.OAuth2CredentialsProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappflow#CfnConnectorProfile_OAuth2CredentialsProperty | 
  Java | software.amazon.awscdk.services.appflow.CfnConnectorProfile.OAuth2CredentialsProperty | 
  Python | aws_cdk.aws_appflow.CfnConnectorProfile.OAuth2CredentialsProperty | 
  TypeScript  | aws-cdk-lib » aws_appflow » CfnConnectorProfile » OAuth2CredentialsProperty | 
The OAuth 2.0 credentials required for OAuth 2.0 authentication.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appflow as appflow } from 'aws-cdk-lib';
const oAuth2CredentialsProperty: appflow.CfnConnectorProfile.OAuth2CredentialsProperty = {
  accessToken: 'accessToken',
  clientId: 'clientId',
  clientSecret: 'clientSecret',
  oAuthRequest: {
    authCode: 'authCode',
    redirectUri: 'redirectUri',
  },
  refreshToken: 'refreshToken',
};
Properties
| Name | Type | Description | 
|---|---|---|
| access | string | The access token used to access the connector on your behalf. | 
| client | string | The identifier for the desired client. | 
| client | string | The client secret used by the OAuth client to authenticate to the authorization server. | 
| o | IResolvable | Connector | |
| refresh | string | The refresh token used to refresh an expired access token. | 
accessToken?
Type:
string
(optional)
The access token used to access the connector on your behalf.
clientId?
Type:
string
(optional)
The identifier for the desired client.
clientSecret?
Type:
string
(optional)
The client secret used by the OAuth client to authenticate to the authorization server.
oAuthRequest?
Type:
IResolvable | Connector
(optional)
refreshToken?
Type:
string
(optional)
The refresh token used to refresh an expired access token.

 .NET
 Go
 Java
 Python
 TypeScript