interface CustomOauth2ProviderConfigInputProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnOAuth2CredentialProvider_CustomOauth2ProviderConfigInputProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnOAuth2CredentialProvider » CustomOauth2ProviderConfigInputProperty |
Input configuration for a custom OAuth2 provider.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const customOauth2ProviderConfigInputProperty: bedrockagentcore.CfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty = {
clientId: 'clientId',
clientSecret: 'clientSecret',
oauthDiscovery: {
authorizationServerMetadata: {
authorizationEndpoint: 'authorizationEndpoint',
issuer: 'issuer',
tokenEndpoint: 'tokenEndpoint',
// the properties below are optional
responseTypes: ['responseTypes'],
},
discoveryUrl: 'discoveryUrl',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| client | string | The client ID for the custom OAuth2 provider. |
| client | string | The client secret for the custom OAuth2 provider. |
| oauth | IResolvable | Oauth2 | Discovery information for an OAuth2 provider. |
clientId
Type:
string
The client ID for the custom OAuth2 provider.
clientSecret
Type:
string
The client secret for the custom OAuth2 provider.
oauthDiscovery
Type:
IResolvable | Oauth2
Discovery information for an OAuth2 provider.

.NET
Go
Java
Python
TypeScript