interface ClientCredentialsPropertiesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.CfnConnectionType.ClientCredentialsPropertiesProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnConnectionType_ClientCredentialsPropertiesProperty |
Java | software.amazon.awscdk.services.glue.CfnConnectionType.ClientCredentialsPropertiesProperty |
Python | aws_cdk.aws_glue.CfnConnectionType.ClientCredentialsPropertiesProperty |
TypeScript | aws-cdk-lib » aws_glue » CfnConnectionType » ClientCredentialsPropertiesProperty |
OAuth2 client credentials configuration.
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';
const clientCredentialsPropertiesProperty: glue.CfnConnectionType.ClientCredentialsPropertiesProperty = {
clientId: {
name: 'name',
propertyType: 'propertyType',
required: false,
// the properties below are optional
keyOverride: 'keyOverride',
propertyLocation: 'propertyLocation',
},
clientSecret: {
name: 'name',
propertyType: 'propertyType',
required: false,
// the properties below are optional
keyOverride: 'keyOverride',
propertyLocation: 'propertyLocation',
},
contentType: 'contentType',
requestMethod: 'requestMethod',
scope: {
name: 'name',
propertyType: 'propertyType',
required: false,
// the properties below are optional
allowedValues: ['allowedValues'],
defaultValue: 'defaultValue',
keyOverride: 'keyOverride',
propertyLocation: 'propertyLocation',
},
tokenUrl: {
name: 'name',
propertyType: 'propertyType',
required: false,
// the properties below are optional
allowedValues: ['allowedValues'],
defaultValue: 'defaultValue',
keyOverride: 'keyOverride',
propertyLocation: 'propertyLocation',
},
tokenUrlParameters: [{
name: 'name',
propertyType: 'propertyType',
required: false,
// the properties below are optional
allowedValues: ['allowedValues'],
defaultValue: 'defaultValue',
keyOverride: 'keyOverride',
propertyLocation: 'propertyLocation',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| client | IResolvable | Secret | Defines a secret property configuration. |
| client | IResolvable | Secret | Defines a secret property configuration. |
| content | string | |
| request | string | |
| scope? | IResolvable | Connector | Defines a property configuration for connection types. |
| token | IResolvable | Connector | Defines a property configuration for connection types. |
| token | IResolvable | (IResolvable | Connector)[] |
clientId?
Type:
IResolvable | Secret
(optional)
Defines a secret property configuration.
SECRET-type properties cannot have DefaultValue or AllowedValues.
clientSecret?
Type:
IResolvable | Secret
(optional)
Defines a secret property configuration.
SECRET-type properties cannot have DefaultValue or AllowedValues.
contentType?
Type:
string
(optional)
requestMethod?
Type:
string
(optional)
scope?
Type:
IResolvable | Connector
(optional)
Defines a property configuration for connection types.
tokenUrl?
Type:
IResolvable | Connector
(optional)
Defines a property configuration for connection types.
tokenUrlParameters?
Type:
IResolvable | (IResolvable | Connector)[]
(optional)

.NET
Go
Java
Python
TypeScript