Skip to content
v2.274.0

OAuth2CredentialsProperty Struct ​

The credentials used when the authentication type is OAuth2 authentication.

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 oAuth2CredentialsProperty: glue.CfnConnection.OAuth2CredentialsProperty = {
  accessToken: 'accessToken',
  jwtToken: 'jwtToken',
  refreshToken: 'refreshToken',
  userManagedClientApplicationClientSecret: 'userManagedClientApplicationClientSecret',
};

Properties ​

accessTokenstringaccess_tokenstraccessTokenStringAccessTokenstringAccessToken*string#
The access token used when the authentication type is OAuth2.
jwtTokenstringjwt_tokenstrjwtTokenStringJwtTokenstringJwtToken*string#
The JSON Web Token (JWT) used when the authentication type is OAuth2.
refreshTokenstringrefresh_tokenstrrefreshTokenStringRefreshTokenstringRefreshToken*string#
The refresh token used when the authentication type is OAuth2.
userManagedClientApplicationClientSecretstringuser_managed_client_application_client_secretstruserManagedClientApplicationClientSecretStringUserManagedClientApplicationClientSecretstringUserManagedClientApplicationClientSecret*string#
The client application client secret if the client application is user managed.