interface Oauth2ProviderConfigInputProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnOAuth2CredentialProvider.Oauth2ProviderConfigInputProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnOAuth2CredentialProvider_Oauth2ProviderConfigInputProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnOAuth2CredentialProvider.Oauth2ProviderConfigInputProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnOAuth2CredentialProvider.Oauth2ProviderConfigInputProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnOAuth2CredentialProvider » Oauth2ProviderConfigInputProperty |
Input configuration for an OAuth2 provider.
Example
// 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 oauth2ProviderConfigInputProperty: bedrockagentcore.CfnOAuth2CredentialProvider.Oauth2ProviderConfigInputProperty = {
atlassianOauth2ProviderConfig: {
clientId: 'clientId',
clientSecret: 'clientSecret',
},
customOauth2ProviderConfig: {
clientId: 'clientId',
clientSecret: 'clientSecret',
oauthDiscovery: {
authorizationServerMetadata: {
authorizationEndpoint: 'authorizationEndpoint',
issuer: 'issuer',
tokenEndpoint: 'tokenEndpoint',
// the properties below are optional
responseTypes: ['responseTypes'],
},
discoveryUrl: 'discoveryUrl',
},
},
githubOauth2ProviderConfig: {
clientId: 'clientId',
clientSecret: 'clientSecret',
},
googleOauth2ProviderConfig: {
clientId: 'clientId',
clientSecret: 'clientSecret',
},
includedOauth2ProviderConfig: {
clientId: 'clientId',
clientSecret: 'clientSecret',
// the properties below are optional
authorizationEndpoint: 'authorizationEndpoint',
issuer: 'issuer',
tokenEndpoint: 'tokenEndpoint',
},
linkedinOauth2ProviderConfig: {
clientId: 'clientId',
clientSecret: 'clientSecret',
},
microsoftOauth2ProviderConfig: {
clientId: 'clientId',
clientSecret: 'clientSecret',
// the properties below are optional
tenantId: 'tenantId',
},
salesforceOauth2ProviderConfig: {
clientId: 'clientId',
clientSecret: 'clientSecret',
},
slackOauth2ProviderConfig: {
clientId: 'clientId',
clientSecret: 'clientSecret',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| atlassian | IResolvable | Atlassian | Input configuration for an Atlassian OAuth2 provider. |
| custom | IResolvable | Custom | Input configuration for a custom OAuth2 provider. |
| github | IResolvable | Github | Input configuration for a GitHub OAuth2 provider. |
| google | IResolvable | Google | Input configuration for a Google OAuth2 provider. |
| included | IResolvable | Included | Input configuration for a supported non-custom OAuth2 provider. |
| linkedin | IResolvable | Linkedin | Input configuration for a LinkedIn OAuth2 provider. |
| microsoft | IResolvable | Microsoft | Input configuration for a Microsoft OAuth2 provider. |
| salesforce | IResolvable | Salesforce | Input configuration for a Salesforce OAuth2 provider. |
| slack | IResolvable | Slack | Input configuration for a Slack OAuth2 provider. |
atlassianOauth2ProviderConfig?
Type:
IResolvable | Atlassian
(optional)
Input configuration for an Atlassian OAuth2 provider.
customOauth2ProviderConfig?
Type:
IResolvable | Custom
(optional)
Input configuration for a custom OAuth2 provider.
githubOauth2ProviderConfig?
Type:
IResolvable | Github
(optional)
Input configuration for a GitHub OAuth2 provider.
googleOauth2ProviderConfig?
Type:
IResolvable | Google
(optional)
Input configuration for a Google OAuth2 provider.
includedOauth2ProviderConfig?
Type:
IResolvable | Included
(optional)
Input configuration for a supported non-custom OAuth2 provider.
linkedinOauth2ProviderConfig?
Type:
IResolvable | Linkedin
(optional)
Input configuration for a LinkedIn OAuth2 provider.
microsoftOauth2ProviderConfig?
Type:
IResolvable | Microsoft
(optional)
Input configuration for a Microsoft OAuth2 provider.
salesforceOauth2ProviderConfig?
Type:
IResolvable | Salesforce
(optional)
Input configuration for a Salesforce OAuth2 provider.
slackOauth2ProviderConfig?
Type:
IResolvable | Slack
(optional)
Input configuration for a Slack OAuth2 provider.

.NET
Go
Java
Python
TypeScript