Interface OAuth2CredentialProviderProps

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

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:04.955Z") @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")
                         // the properties below are optional
                         .clientSecret("clientSecret")
                         .clientSecretConfig(SecretReferenceProperty.builder()
                                 .jsonKey("jsonKey")
                                 .secretId("secretId")
                                 .build())
                         .clientSecretSource("clientSecretSource")
                         .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
                         .clientAuthenticationMethod("clientAuthenticationMethod")
                         .clientId("clientId")
                         .clientSecret("clientSecret")
                         .clientSecretConfig(SecretReferenceProperty.builder()
                                 .jsonKey("jsonKey")
                                 .secretId("secretId")
                                 .build())
                         .clientSecretSource("clientSecretSource")
                         .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())
                         .privateEndpoint(PrivateEndpointProperty.builder()
                                 .managedVpcResource(ManagedVpcResourceProperty.builder()
                                         .endpointIpAddressType("endpointIpAddressType")
                                         .subnetIds(List.of("subnetIds"))
                                         .vpcIdentifier("vpcIdentifier")
                                         // the properties below are optional
                                         .routingDomain("routingDomain")
                                         .securityGroupIds(List.of("securityGroupIds"))
                                         .tags(Map.of(
                                                 "tagsKey", "tags"))
                                         .build())
                                 .selfManagedLatticeResource(SelfManagedLatticeResourceProperty.builder()
                                         .resourceConfigurationIdentifier("resourceConfigurationIdentifier")
                                         .build())
                                 .build())
                         .privateEndpointOverrides(List.of(PrivateEndpointOverrideProperty.builder()
                                 .domain("domain")
                                 .privateEndpoint(PrivateEndpointProperty.builder()
                                         .managedVpcResource(ManagedVpcResourceProperty.builder()
                                                 .endpointIpAddressType("endpointIpAddressType")
                                                 .subnetIds(List.of("subnetIds"))
                                                 .vpcIdentifier("vpcIdentifier")
                                                 // the properties below are optional
                                                 .routingDomain("routingDomain")
                                                 .securityGroupIds(List.of("securityGroupIds"))
                                                 .tags(Map.of(
                                                         "tagsKey", "tags"))
                                                 .build())
                                         .selfManagedLatticeResource(SelfManagedLatticeResourceProperty.builder()
                                                 .resourceConfigurationIdentifier("resourceConfigurationIdentifier")
                                                 .build())
                                         .build())
                                 .build()))
                         .privateKeyJwtConfig(PrivateKeyJwtConfigProperty.builder()
                                 .additionalHeaderClaims(Map.of(
                                         "additionalHeaderClaimsKey", "additionalHeaderClaims"))
                                 .additionalPayloadClaims(Map.of(
                                         "additionalPayloadClaimsKey", "additionalPayloadClaims"))
                                 .privateKeySource(PrivateKeySourceProperty.builder()
                                         .kmsKeySource(KmsKeySourceTypeProperty.builder()
                                                 .kmsKeyArn("kmsKeyArn")
                                                 .build())
                                         .build())
                                 .signingAlgorithm("signingAlgorithm")
                                 .build())
                         .build())
                 .githubOauth2ProviderConfig(GithubOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         // the properties below are optional
                         .clientSecret("clientSecret")
                         .clientSecretConfig(SecretReferenceProperty.builder()
                                 .jsonKey("jsonKey")
                                 .secretId("secretId")
                                 .build())
                         .clientSecretSource("clientSecretSource")
                         .build())
                 .googleOauth2ProviderConfig(GoogleOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         // the properties below are optional
                         .clientSecret("clientSecret")
                         .clientSecretConfig(SecretReferenceProperty.builder()
                                 .jsonKey("jsonKey")
                                 .secretId("secretId")
                                 .build())
                         .clientSecretSource("clientSecretSource")
                         .build())
                 .includedOauth2ProviderConfig(IncludedOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         // the properties below are optional
                         .authorizationEndpoint("authorizationEndpoint")
                         .clientSecret("clientSecret")
                         .clientSecretConfig(SecretReferenceProperty.builder()
                                 .jsonKey("jsonKey")
                                 .secretId("secretId")
                                 .build())
                         .clientSecretSource("clientSecretSource")
                         .issuer("issuer")
                         .tokenEndpoint("tokenEndpoint")
                         .build())
                 .linkedinOauth2ProviderConfig(LinkedinOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         // the properties below are optional
                         .clientSecret("clientSecret")
                         .clientSecretConfig(SecretReferenceProperty.builder()
                                 .jsonKey("jsonKey")
                                 .secretId("secretId")
                                 .build())
                         .clientSecretSource("clientSecretSource")
                         .build())
                 .microsoftOauth2ProviderConfig(MicrosoftOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         // the properties below are optional
                         .clientSecret("clientSecret")
                         .clientSecretConfig(SecretReferenceProperty.builder()
                                 .jsonKey("jsonKey")
                                 .secretId("secretId")
                                 .build())
                         .clientSecretSource("clientSecretSource")
                         .tenantId("tenantId")
                         .build())
                 .salesforceOauth2ProviderConfig(SalesforceOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         // the properties below are optional
                         .clientSecret("clientSecret")
                         .clientSecretConfig(SecretReferenceProperty.builder()
                                 .jsonKey("jsonKey")
                                 .secretId("secretId")
                                 .build())
                         .clientSecretSource("clientSecretSource")
                         .build())
                 .slackOauth2ProviderConfig(SlackOauth2ProviderConfigInputProperty.builder()
                         .clientId("clientId")
                         // the properties below are optional
                         .clientSecret("clientSecret")
                         .clientSecretConfig(SecretReferenceProperty.builder()
                                 .jsonKey("jsonKey")
                                 .secretId("secretId")
                                 .build())
                         .clientSecretSource("clientSecretSource")
                         .build())
                 .build())
         // the properties below are optional
         .oAuth2CredentialProviderName("oAuth2CredentialProviderName")
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build();