Experimental
@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
OAuth2CredentialProviderAttributes Struct
Attributes for importing an existing OAuth2 credential provider.
Example
ts
// 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
callbackUrloptionalstringcallback_urloptionalstrcallbackUrloptionalStringCallbackUrloptionalstringCallbackUrloptional*string#Callback URL from the deployed provider, if known.
Default: not set
clientSecretArnoptionalstringclient_secret_arnoptionalstrclientSecretArnoptionalStringClientSecretArnoptionalstringClientSecretArnoptional*string#ARN of the Secrets Manager secret for OAuth2 client credentials, if known.
Default: not set; required for {@link OAuth2CredentialProvider.bindForGatewayOAuthTarget } on imported providers
createdTimeoptionalstringcreated_timeoptionalstrcreatedTimeoptionalStringCreatedTimeoptionalstringCreatedTimeoptional*string#Resource creation time.
Default: not set
credentialProviderArnstringcredential_provider_arnstrcredentialProviderArnStringCredentialProviderArnstringCredentialProviderArn*stringrequired#ARN of the credential provider.
credentialProviderVendorstringcredential_provider_vendorstrcredentialProviderVendorStringCredentialProviderVendorstringCredentialProviderVendor*stringrequired#Vendor string for this provider.
lastUpdatedTimeoptionalstringlast_updated_timeoptionalstrlastUpdatedTimeoptionalStringLastUpdatedTimeoptionalstringLastUpdatedTimeoptional*string#Resource last-updated time.
Default: not set