interface OAuth2PropertiesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Glue.CfnConnectionPropsMixin.OAuth2PropertiesProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsglue#CfnConnectionPropsMixin_OAuth2PropertiesProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.glue.CfnConnectionPropsMixin.OAuth2PropertiesProperty |
Python | aws_cdk.cfn_property_mixins.aws_glue.CfnConnectionPropsMixin.OAuth2PropertiesProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_glue » CfnConnectionPropsMixin » OAuth2PropertiesProperty |
A structure containing the authentication credentials in the CreateConnection request.
Example
// 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/cfn-property-mixins';
declare const tokenUrlParametersMap: any;
const oAuth2PropertiesProperty: glue.CfnConnectionPropsMixin.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
| Name | Type | Description |
|---|---|---|
| authorization | IResolvable | Authorization | A structure containing the authorization code used in the authentication configuration. |
| o | IResolvable | OAuth2 | The OAuth2 client app used for the connection. |
| o | IResolvable | OAuth2 | A structure containing the OAuth2 credentials used in the authentication configuration. |
| o | string | The grant type used in the authentication configuration. |
| token | string | The URL used in the authentication configuration. |
| token | any | A map of key-value pairs used in the authentication configuration. |
authorizationCodeProperties?
Type:
IResolvable | Authorization
(optional)
A structure containing the authorization code used in the authentication configuration.
oAuth2ClientApplication?
Type:
IResolvable | OAuth2
(optional)
The OAuth2 client app used for the connection.
oAuth2Credentials?
Type:
IResolvable | OAuth2
(optional)
A structure containing the OAuth2 credentials used in the authentication configuration.
oAuth2GrantType?
Type:
string
(optional)
The grant type used in the authentication configuration.
tokenUrl?
Type:
string
(optional)
The URL used in the authentication configuration.
tokenUrlParametersMap?
Type:
any
(optional)
A map of key-value pairs used in the authentication configuration.

.NET
Go
Java
Python
TypeScript