AWS::BedrockAgentCore::OAuth2CredentialProviderResource Type definition for AWS::BedrockAgentCore::OAuth2CredentialProvider
4 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
CredentialProviderVendor | string | RequiredCreate-only |
Name | string | RequiredCreate-only |
Oauth2ProviderConfigInput | Oauth2ProviderConfigInput | Write-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CallbackUrl | string | The callback URL for the OAuth2 authorization flow |
ClientSecretArn | ClientSecretArn | The ARN of the client secret in AWS Secrets Manager |
CreatedTime | string | The timestamp when the credential provider was created |
CredentialProviderArn | string | The Amazon Resource Name (ARN) of the OAuth2 credential provider |
LastUpdatedTime | string | The timestamp when the credential provider was last updated |
Oauth2ProviderConfigOutput | Oauth2ProviderConfigOutput | The output configuration for the OAuth2 provider |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::BedrockAgentCore::OAuth2CredentialProvider
Resources:
MyResource:
Type: AWS::BedrockAgentCore::OAuth2CredentialProvider
Properties:
Name: "my-name"
CredentialProviderVendor: "GoogleOauth2"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
bedrock-agentcore:CreateOauth2CredentialProviderbedrock-agentcore:GetOauth2CredentialProviderbedrock-agentcore:CreateTokenVaultbedrock-agentcore:TagResourcesecretsmanager:CreateSecretbedrock-agentcore:GetOauth2CredentialProviderbedrock-agentcore:ListTagsForResourcebedrock-agentcore:UpdateOauth2CredentialProviderbedrock-agentcore:GetOauth2CredentialProviderbedrock-agentcore:TagResourcebedrock-agentcore:UntagResourcebedrock-agentcore:ListTagsForResourcesecretsmanager:PutSecretValuebedrock-agentcore:DeleteOauth2CredentialProviderbedrock-agentcore:GetOauth2CredentialProvidersecretsmanager:DeleteSecretbedrock-agentcore:ListOauth2CredentialProvidersOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterCredentialProviderArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
NameCredentialProviderVendor