Interface OAuth2CredentialProviderProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
OAuth2CredentialProviderProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.129.0 (build eaca441)", date="2026-05-19T08:18:44.486Z") @Stability(Stable) public interface OAuth2CredentialProviderProps extends software.amazon.jsii.JsiiSerializable
Low-level properties when you need full control (prefer
invalid reference
OAuth2CredentialProvider.usingSlack
and other factories).

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.bedrockagentcore.*;
 OAuth2CredentialProviderProps oAuth2CredentialProviderProps = OAuth2CredentialProviderProps.builder()
         .credentialProviderVendor("credentialProviderVendor")
         .oauth2ProviderConfigInput(Oauth2ProviderConfigInputProperty.builder()
                 .atlassianOauth2ProviderConfig(AtlassianOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         .clientSecret("clientSecret")
                         .build())
                 .customOauth2ProviderConfig(CustomOauth2ProviderConfigInputProperty.builder()
                         .oauthDiscovery(Oauth2DiscoveryProperty.builder()
                                 .authorizationServerMetadata(Oauth2AuthorizationServerMetadataProperty.builder()
                                         .authorizationEndpoint("authorizationEndpoint")
                                         .issuer("issuer")
                                         .tokenEndpoint("tokenEndpoint")
                                         // the properties below are optional
                                         .responseTypes(List.of("responseTypes"))
                                         .build())
                                 .discoveryUrl("discoveryUrl")
                                 .build())
                         // the properties below are optional
                         .clientId("clientId")
                         .clientSecret("clientSecret")
                         .onBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigProperty.builder()
                                 .grantType("grantType")
                                 // the properties below are optional
                                 .tokenExchangeGrantTypeConfig(TokenExchangeGrantTypeConfigProperty.builder()
                                         .actorTokenContent("actorTokenContent")
                                         // the properties below are optional
                                         .actorTokenScopes(List.of("actorTokenScopes"))
                                         .build())
                                 .build())
                         .build())
                 .githubOauth2ProviderConfig(GithubOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         .clientSecret("clientSecret")
                         .build())
                 .googleOauth2ProviderConfig(GoogleOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         .clientSecret("clientSecret")
                         .build())
                 .includedOauth2ProviderConfig(IncludedOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         .clientSecret("clientSecret")
                         // the properties below are optional
                         .authorizationEndpoint("authorizationEndpoint")
                         .issuer("issuer")
                         .tokenEndpoint("tokenEndpoint")
                         .build())
                 .linkedinOauth2ProviderConfig(LinkedinOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         .clientSecret("clientSecret")
                         .build())
                 .microsoftOauth2ProviderConfig(MicrosoftOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         .clientSecret("clientSecret")
                         // the properties below are optional
                         .tenantId("tenantId")
                         .build())
                 .salesforceOauth2ProviderConfig(SalesforceOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         .clientSecret("clientSecret")
                         .build())
                 .slackOauth2ProviderConfig(SlackOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         .clientSecret("clientSecret")
                         .build())
                 .build())
         // the properties below are optional
         .oAuth2CredentialProviderName("oAuth2CredentialProviderName")
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build();