interface OAuth2PropertiesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_datazone.CfnConnection.OAuth2PropertiesProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdatazone#CfnConnection_OAuth2PropertiesProperty |
Java | software.amazon.awscdk.services.datazone.CfnConnection.OAuth2PropertiesProperty |
Python | aws_cdk.aws_datazone.CfnConnection.OAuth2PropertiesProperty |
TypeScript | aws-cdk-lib » aws_datazone » CfnConnection » OAuth2PropertiesProperty |
The OAuth2 properties.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const oAuth2PropertiesProperty: datazone.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: {
tokenUrlParametersMapKey: 'tokenUrlParametersMap',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| authorization | IResolvable | Authorization | The authorization code properties of the OAuth2 properties. |
| o | IResolvable | OAuth2 | The OAuth2 client application of the OAuth2 properties. |
| o | IResolvable | Glue | The OAuth2 credentials of the OAuth2 properties. |
| o | string | The OAuth2 grant type of the OAuth2 properties. |
| token | string | The OAuth2 token URL of the OAuth2 properties. |
| token | { [string]: string } | IResolvable | The OAuth2 token URL parameter map of the OAuth2 properties. |
authorizationCodeProperties?
Type:
IResolvable | Authorization
(optional)
The authorization code properties of the OAuth2 properties.
oAuth2ClientApplication?
Type:
IResolvable | OAuth2
(optional)
The OAuth2 client application of the OAuth2 properties.
oAuth2Credentials?
Type:
IResolvable | Glue
(optional)
The OAuth2 credentials of the OAuth2 properties.
oAuth2GrantType?
Type:
string
(optional)
The OAuth2 grant type of the OAuth2 properties.
tokenUrl?
Type:
string
(optional)
The OAuth2 token URL of the OAuth2 properties.
tokenUrlParametersMap?
Type:
{ [string]: string } | IResolvable
(optional)
The OAuth2 token URL parameter map of the OAuth2 properties.

.NET
Go
Java
Python
TypeScript