interface OAuth2CredentialProviderAttributes
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.OAuth2CredentialProviderAttributes |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#OAuth2CredentialProviderAttributes |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.OAuth2CredentialProviderAttributes |
Python | aws_cdk.aws_bedrock_agentcore_alpha.OAuth2CredentialProviderAttributes |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป OAuth2CredentialProviderAttributes |
Attributes for importing an existing OAuth2 credential provider.
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 oAuth2CredentialProviderAttributes: bedrock_agentcore_alpha.OAuth2CredentialProviderAttributes = {
credentialProviderArn: 'credentialProviderArn',
credentialProviderVendor: 'credentialProviderVendor',
// the properties below are optional
callbackUrl: 'callbackUrl',
clientSecretArn: 'clientSecretArn',
createdTime: 'createdTime',
lastUpdatedTime: 'lastUpdatedTime',
};
Properties
| Name | Type | Description |
|---|---|---|
| credential | string | ARN of the credential provider. |
| credential | string | Vendor string for this provider. |
| callback | string | Callback URL from the deployed provider, if known. |
| client | string | ARN of the Secrets Manager secret for OAuth2 client credentials, if known. |
| created | string | Resource creation time. |
| last | string | Resource last-updated time. |
credentialProviderArn
Type:
string
ARN of the credential provider.
credentialProviderVendor
Type:
string
Vendor string for this provider.
callbackUrl?
Type:
string
(optional, default: not set)
Callback URL from the deployed provider, if known.
clientSecretArn?
Type:
string
(optional, default: not set; required for {@link OAuth2CredentialProvider.bindForGatewayOAuthTarget } on imported providers)
ARN of the Secrets Manager secret for OAuth2 client credentials, if known.
createdTime?
Type:
string
(optional, default: not set)
Resource creation time.
lastUpdatedTime?
Type:
string
(optional, default: not set)
Resource last-updated time.

.NET
Go
Java
Python
TypeScript (