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
accessTokenoptionalstringaccess_tokenoptionalstraccessTokenoptionalStringAccessTokenoptionalstringAccessTokenoptional*string#The access token used when the authentication type is OAuth2.
jwtTokenoptionalstringjwt_tokenoptionalstrjwtTokenoptionalStringJwtTokenoptionalstringJwtTokenoptional*string#The JSON Web Token (JWT) used when the authentication type is OAuth2.
refreshTokenoptionalstringrefresh_tokenoptionalstrrefreshTokenoptionalStringRefreshTokenoptionalstringRefreshTokenoptional*string#The refresh token used when the authentication type is OAuth2.
userManagedClientApplicationClientSecretoptionalstringuser_managed_client_application_client_secretoptionalstruserManagedClientApplicationClientSecretoptionalStringUserManagedClientApplicationClientSecretoptionalstringUserManagedClientApplicationClientSecretoptional*string#The client application client secret if the client application is user managed.