interface FromOauthIdentityOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.FromOauthIdentityOptions |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#FromOauthIdentityOptions |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.FromOauthIdentityOptions |
Python | aws_cdk.aws_bedrock_agentcore_alpha.FromOauthIdentityOptions |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป FromOauthIdentityOptions |
OAuth scopes (and optional custom parameters) when binding an {@link IOAuth2CredentialProvider} to a gateway target.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const fromOauthIdentityOptions: bedrock_agentcore_alpha.FromOauthIdentityOptions = {
scopes: ['scopes'],
// the properties below are optional
customParameters: {
customParametersKey: 'customParameters',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| scopes | string[] | OAuth scopes the gateway should request for this target. |
| custom | { [string]: string } | Additional OAuth parameters for the provider. |
scopes
Type:
string[]
OAuth scopes the gateway should request for this target.
customParameters?
Type:
{ [string]: string }
(optional, default: none)
Additional OAuth parameters for the provider.

.NET
Go
Java
Python
TypeScript (