Skip to content
v2.274.0

AuthenticationConfigurationProperty Struct ​

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 customAuthenticationCredentials: any;
declare const tokenUrlParametersMap: any;
const authenticationConfigurationProperty: glue.CfnConnection.AuthenticationConfigurationProperty = {
  authenticationType: 'authenticationType',

  // the properties below are optional
  basicAuthenticationCredentials: {
    password: 'password',
    username: 'username',
  },
  customAuthenticationCredentials: customAuthenticationCredentials,
  kmsKeyArn: 'kmsKeyArn',
  oAuth2Properties: {
    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,
  },
  secretArn: 'secretArn',
};

Properties ​

authenticationTypestringauthentication_typestrauthenticationTypeStringAuthenticationTypestringAuthenticationType*stringrequired#
A structure containing the authentication configuration in the CreateConnection request.
basicAuthenticationCredentialsIResolvable | CfnConnection.BasicAuthenticationCredentialsPropertybasic_authentication_credentialstyping.Union[IResolvable, BasicAuthenticationCredentialsProperty]basicAuthenticationCredentialsIResolvableBasicAuthenticationCredentialsIResolvableBasicAuthenticationCredentialsinterface{}#
A structure containing the authentication credentials in the CreateConnection request.
customAuthenticationCredentialsanycustom_authentication_credentialsAnycustomAuthenticationCredentialsObjectCustomAuthenticationCredentialsobjectCustomAuthenticationCredentialsinterface{}#
A structure containing the authentication credentials in the CreateConnection request.
kmsKeyArnstringkms_key_arnstrkmsKeyArnStringKmsKeyArnstringKmsKeyArn*string#
The Amazon Resource Name (ARN) of the KMS key used in the authentication configuration.
oAuth2PropertiesIResolvable | CfnConnection.OAuth2PropertiesPropertyo_auth2_propertiestyping.Union[IResolvable, OAuth2PropertiesProperty]oAuth2PropertiesIResolvableOAuth2PropertiesIResolvableOAuth2Propertiesinterface{}#
A structure containing the authentication credentials in the CreateConnection request.
secretArnstringsecret_arnstrsecretArnStringSecretArnstringSecretArn*string#
The secret manager ARN to store credentials in the CreateConnection request.