aws-cdk-lib.aws_appflow.CfnConnectorProfile.OAuthCredentialsProperty

interface OAuthCredentialsProperty

LanguageType name
.NETAmazon.CDK.AWS.AppFlow.CfnConnectorProfile.OAuthCredentialsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappflow#CfnConnectorProfile_OAuthCredentialsProperty
Javasoftware.amazon.awscdk.services.appflow.CfnConnectorProfile.OAuthCredentialsProperty
Pythonaws_cdk.aws_appflow.CfnConnectorProfile.OAuthCredentialsProperty
TypeScript aws-cdk-lib » aws_appflow » CfnConnectorProfile » OAuthCredentialsProperty

The OAuth credentials required for OAuth type 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 oAuthCredentialsProperty: appflow.CfnConnectorProfile.OAuthCredentialsProperty = {
  accessToken: 'accessToken',
  clientId: 'clientId',
  clientSecret: 'clientSecret',
  connectorOAuthRequest: {
    authCode: 'authCode',
    redirectUri: 'redirectUri',
  },
  refreshToken: 'refreshToken',
};

Properties

NameTypeDescription
accessToken?stringThe access token used to access protected SAPOData resources.
clientId?stringThe identifier for the desired client.
clientSecret?stringThe client secret used by the OAuth client to authenticate to the authorization server.
connectorOAuthRequest?IResolvable | ConnectorOAuthRequestPropertyCfnConnectorProfile.OAuthCredentialsProperty.ConnectorOAuthRequest.
refreshToken?stringThe refresh token used to refresh expired access token.

accessToken?

Type: string (optional)

The access token used to access protected SAPOData resources.


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.


connectorOAuthRequest?

Type: IResolvable | ConnectorOAuthRequestProperty (optional)

CfnConnectorProfile.OAuthCredentialsProperty.ConnectorOAuthRequest.


refreshToken?

Type: string (optional)

The refresh token used to refresh expired access token.