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 { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const oAuth2CredentialProviderAttributes: bedrockagentcore.OAuth2CredentialProviderAttributes = {
credentialProviderArn: 'credentialProviderArn',
credentialProviderVendor: 'credentialProviderVendor',
// the properties below are optional
callbackUrl: 'callbackUrl',
clientSecretArn: 'clientSecretArn',
createdTime: 'createdTime',
lastUpdatedTime: 'lastUpdatedTime',
};
Properties
Callback URL from the deployed provider, if known.
clientSecretArnstringclient_secret_arnstrclientSecretArnStringClientSecretArnstringClientSecretArn*string= not set; required for {@link OAu…#ARN of the Secrets Manager secret for OAuth2 client credentials, if known.
default
Default: not set; required for {@link OAuth2CredentialProvider.bindForGatewayOAuthTarget } on imported providers
Resource creation time.
credentialProviderArnstringcredential_provider_arnstrcredentialProviderArnStringCredentialProviderArnstringCredentialProviderArn*stringrequired#ARN of the credential provider.
credentialProviderVendorstringcredential_provider_vendorstrcredentialProviderVendorStringCredentialProviderVendorstringCredentialProviderVendor*stringrequired#Vendor string for this provider.
lastUpdatedTimestringlast_updated_timestrlastUpdatedTimeStringLastUpdatedTimestringLastUpdatedTime*string= not set#Resource last-updated time.