interface Oauth2DiscoveryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnOAuth2CredentialProvider.Oauth2DiscoveryProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnOAuth2CredentialProvider_Oauth2DiscoveryProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnOAuth2CredentialProvider.Oauth2DiscoveryProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnOAuth2CredentialProvider.Oauth2DiscoveryProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnOAuth2CredentialProvider » Oauth2DiscoveryProperty |
Discovery information for an 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 oauth2DiscoveryProperty: bedrockagentcore.CfnOAuth2CredentialProvider.Oauth2DiscoveryProperty = {
authorizationServerMetadata: {
authorizationEndpoint: 'authorizationEndpoint',
issuer: 'issuer',
tokenEndpoint: 'tokenEndpoint',
// the properties below are optional
responseTypes: ['responseTypes'],
},
discoveryUrl: 'discoveryUrl',
};
Properties
| Name | Type | Description |
|---|---|---|
| authorization | IResolvable | Oauth2 | Authorization server metadata for the OAuth2 provider. |
| discovery | string | The discovery URL for the OAuth2 provider. |
authorizationServerMetadata?
Type:
IResolvable | Oauth2
(optional)
Authorization server metadata for the OAuth2 provider.
discoveryUrl?
Type:
string
(optional)
The discovery URL for the OAuth2 provider.

.NET
Go
Java
Python
TypeScript