interface OAuth2PropertiesInputProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.CfnConnection.OAuth2PropertiesInputProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnConnection_OAuth2PropertiesInputProperty |
![]() | software.amazon.awscdk.services.glue.CfnConnection.OAuth2PropertiesInputProperty |
![]() | aws_cdk.aws_glue.CfnConnection.OAuth2PropertiesInputProperty |
![]() | aws-cdk-lib » aws_glue » CfnConnection » 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 { aws_glue as glue } from 'aws-cdk-lib';
declare const tokenUrlParametersMap: any;
const oAuth2PropertiesInputProperty: glue.CfnConnection.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.