interface OAuth2PropertiesInputProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnConnectionPropsMixin.OAuth2PropertiesInputProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnConnectionPropsMixin_OAuth2PropertiesInputProperty |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnConnectionPropsMixin.OAuth2PropertiesInputProperty |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnConnectionPropsMixin.OAuth2PropertiesInputProperty |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » CfnConnectionPropsMixin » OAuth2PropertiesInputProperty |
A structure containing properties for OAuth2 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 { mixins as glue_mixins } from '@aws-cdk/mixins-preview/aws-glue';
declare const tokenUrlParametersMap: any;
const oAuth2PropertiesInputProperty: glue_mixins.CfnConnectionPropsMixin.OAuth2PropertiesInputProperty = {
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 | The set of properties required for the the OAuth2 AUTHORIZATION_CODE grant type. |
| o | IResolvable | OAuth2 | The client application type in the CreateConnection request. |
| o | IResolvable | OAuth2 | The credentials used when the authentication type is OAuth2 authentication. |
| o | string | The OAuth2 grant type in the CreateConnection request. |
| token | string | The URL of the provider's authentication server, to exchange an authorization code for an access token. |
| token | any | A map of parameters that are added to the token GET request. |
authorizationCodeProperties?
Type:
IResolvable | Authorization
(optional)
The set of properties required for the the OAuth2 AUTHORIZATION_CODE grant type.
oAuth2ClientApplication?
Type:
IResolvable | OAuth2
(optional)
The client application type in the CreateConnection request.
For example, AWS_MANAGED or USER_MANAGED .
oAuth2Credentials?
Type:
IResolvable | OAuth2
(optional)
The credentials used when the authentication type is OAuth2 authentication.
oAuth2GrantType?
Type:
string
(optional)
The OAuth2 grant type in the CreateConnection request.
For example, AUTHORIZATION_CODE , JWT_BEARER , or CLIENT_CREDENTIALS .
tokenUrl?
Type:
string
(optional)
The URL of the provider's authentication server, to exchange an authorization code for an access token.
tokenUrlParametersMap?
Type:
any
(optional)
A map of parameters that are added to the token GET request.

.NET
Go
Java
Python
TypeScript