This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::BedrockAgentCore::OAuth2CredentialProvider GithubOauth2ProviderConfigInput
Input configuration for a GitHub OAuth2 provider.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "ClientId" :String, "ClientSecret" :String, "ClientSecretConfig" :SecretReference, "ClientSecretSource" :String}
YAML
ClientId:StringClientSecret:StringClientSecretConfig:SecretReferenceClientSecretSource:String
Properties
ClientId-
The client ID for the GitHub OAuth2 provider.
Required: Yes
Type: String
Minimum:
1Maximum:
256Update requires: No interruption
ClientSecret-
The client secret for the GitHub OAuth2 provider.
Required: No
Type: String
Minimum:
1Maximum:
2048Update requires: No interruption
ClientSecretConfig-
A reference to the AWS Secrets Manager secret that stores the client secret. This includes the secret ID and the JSON key used to extract the client secret value from the secret. Required when
clientSecretSourceis set toEXTERNAL.Required: No
Type: SecretReference
Update requires: No interruption
ClientSecretSource-
The source type of the client secret. Use
MANAGEDif the secret is managed by the service, orEXTERNALif you manage the secret yourself in AWS Secrets Manager.Required: No
Type: String
Allowed values:
MANAGED | EXTERNALUpdate requires: No interruption