Interface CfnOAuth2CredentialProvider.Oauth2ProviderConfigInputProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnOAuth2CredentialProvider.Oauth2ProviderConfigInputProperty.Jsii$Proxy
Enclosing class:
CfnOAuth2CredentialProvider

@Stability(Stable) public static interface CfnOAuth2CredentialProvider.Oauth2ProviderConfigInputProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.bedrockagentcore.*;
 Oauth2ProviderConfigInputProperty oauth2ProviderConfigInputProperty = 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();
 

See Also: