Skip to content
v2.274.0

OAuth2PropertiesProperty Struct ​

A structure containing the authentication credentials in the CreateConnection request.

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';

declare const tokenUrlParametersMap: any;
const oAuth2PropertiesProperty: glue.CfnConnection.OAuth2PropertiesProperty = {
  authorizationCodeProperties: {
    authorizationCode: 'authorizationCode',
    redirectUri: 'redirectUri',
  },
  oAuth2ClientApplication: {
    awsManagedClientApplicationReference: 'awsManagedClientApplicationReference',
    userManagedClientApplicationClientId: 'userManagedClientApplicationClientId',
  },
  oAuth2Credentials: {
    accessToken: 'accessToken',
    jwtToken: 'jwtToken',
    refreshToken: 'refreshToken',
    userManagedClientApplicationClientSecret: 'userManagedClientApplicationClientSecret',
  },
  oAuth2GrantType: 'oAuth2GrantType',
  tokenUrl: 'tokenUrl',
  tokenUrlParametersMap: tokenUrlParametersMap,
};

Properties ​

authorizationCodePropertiesoptionalIResolvable | CfnConnection.AuthorizationCodePropertiesPropertyauthorization_code_propertiesoptionaltyping.Union[IResolvable, AuthorizationCodePropertiesProperty]authorizationCodePropertiesoptionalIResolvableAuthorizationCodePropertiesoptionalIResolvableAuthorizationCodePropertiesoptionalinterface{}#
A structure containing the authorization code used in the authentication configuration.
oAuth2ClientApplicationoptionalIResolvable | CfnConnection.OAuth2ClientApplicationPropertyo_auth2_client_applicationoptionaltyping.Union[IResolvable, OAuth2ClientApplicationProperty]oAuth2ClientApplicationoptionalIResolvableOAuth2ClientApplicationoptionalIResolvableOAuth2ClientApplicationoptionalinterface{}#
The OAuth2 client app used for the connection.
oAuth2CredentialsoptionalIResolvable | CfnConnection.OAuth2CredentialsPropertyo_auth2_credentialsoptionaltyping.Union[IResolvable, OAuth2CredentialsProperty]oAuth2CredentialsoptionalIResolvableOAuth2CredentialsoptionalIResolvableOAuth2Credentialsoptionalinterface{}#
A structure containing the OAuth2 credentials used in the authentication configuration.
oAuth2GrantTypeoptionalstringo_auth2_grant_typeoptionalstroAuth2GrantTypeoptionalStringOAuth2GrantTypeoptionalstringOAuth2GrantTypeoptional*string#
The grant type used in the authentication configuration.
tokenUrloptionalstringtoken_urloptionalstrtokenUrloptionalStringTokenUrloptionalstringTokenUrloptional*string#
The URL used in the authentication configuration.
tokenUrlParametersMapoptionalanytoken_url_parameters_mapoptionalAnytokenUrlParametersMapoptionalObjectTokenUrlParametersMapoptionalobjectTokenUrlParametersMapoptionalinterface{}#
A map of key-value pairs used in the authentication configuration.