interface ClientCredentialsPropertiesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Glue.CfnConnectionTypePropsMixin.ClientCredentialsPropertiesProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsglue#CfnConnectionTypePropsMixin_ClientCredentialsPropertiesProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.glue.CfnConnectionTypePropsMixin.ClientCredentialsPropertiesProperty |
Python | aws_cdk.cfn_property_mixins.aws_glue.CfnConnectionTypePropsMixin.ClientCredentialsPropertiesProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_glue » CfnConnectionTypePropsMixin » 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/cfn-property-mixins';
const clientCredentialsPropertiesProperty: glue.CfnConnectionTypePropsMixin.ClientCredentialsPropertiesProperty = {
clientId: {
keyOverride: 'keyOverride',
name: 'name',
propertyLocation: 'propertyLocation',
propertyType: 'propertyType',
required: false,
},
clientSecret: {
keyOverride: 'keyOverride',
name: 'name',
propertyLocation: 'propertyLocation',
propertyType: 'propertyType',
required: false,
},
contentType: 'contentType',
requestMethod: 'requestMethod',
scope: {
allowedValues: ['allowedValues'],
defaultValue: 'defaultValue',
keyOverride: 'keyOverride',
name: 'name',
propertyLocation: 'propertyLocation',
propertyType: 'propertyType',
required: false,
},
tokenUrl: {
allowedValues: ['allowedValues'],
defaultValue: 'defaultValue',
keyOverride: 'keyOverride',
name: 'name',
propertyLocation: 'propertyLocation',
propertyType: 'propertyType',
required: false,
},
tokenUrlParameters: [{
allowedValues: ['allowedValues'],
defaultValue: 'defaultValue',
keyOverride: 'keyOverride',
name: 'name',
propertyLocation: 'propertyLocation',
propertyType: 'propertyType',
required: false,
}],
};
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