Interface CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty

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

@Stability(Stable) public static interface CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty extends software.amazon.jsii.JsiiSerializable
Input configuration for a custom 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.cfnpropertymixins.services.bedrockagentcore.*;
 CustomOauth2ProviderConfigInputProperty customOauth2ProviderConfigInputProperty = CustomOauth2ProviderConfigInputProperty.builder()
         .clientAuthenticationMethod("clientAuthenticationMethod")
         .clientId("clientId")
         .clientSecret("clientSecret")
         .clientSecretConfig(SecretReferenceProperty.builder()
                 .jsonKey("jsonKey")
                 .secretId("secretId")
                 .build())
         .clientSecretSource("clientSecretSource")
         .oauthDiscovery(Oauth2DiscoveryProperty.builder()
                 .authorizationServerMetadata(Oauth2AuthorizationServerMetadataProperty.builder()
                         .authorizationEndpoint("authorizationEndpoint")
                         .issuer("issuer")
                         .responseTypes(List.of("responseTypes"))
                         .tokenEndpoint("tokenEndpoint")
                         .build())
                 .discoveryUrl("discoveryUrl")
                 .build())
         .onBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigProperty.builder()
                 .grantType("grantType")
                 .tokenExchangeGrantTypeConfig(TokenExchangeGrantTypeConfigProperty.builder()
                         .actorTokenContent("actorTokenContent")
                         .actorTokenScopes(List.of("actorTokenScopes"))
                         .build())
                 .build())
         .privateEndpoint(PrivateEndpointProperty.builder()
                 .managedVpcResource(ManagedVpcResourceProperty.builder()
                         .endpointIpAddressType("endpointIpAddressType")
                         .routingDomain("routingDomain")
                         .securityGroupIds(List.of("securityGroupIds"))
                         .subnetIds(List.of("subnetIds"))
                         .tags(Map.of(
                                 "tagsKey", "tags"))
                         .vpcIdentifier("vpcIdentifier")
                         .build())
                 .selfManagedLatticeResource(SelfManagedLatticeResourceProperty.builder()
                         .resourceConfigurationIdentifier("resourceConfigurationIdentifier")
                         .build())
                 .build())
         .privateEndpointOverrides(List.of(PrivateEndpointOverrideProperty.builder()
                 .domain("domain")
                 .privateEndpoint(PrivateEndpointProperty.builder()
                         .managedVpcResource(ManagedVpcResourceProperty.builder()
                                 .endpointIpAddressType("endpointIpAddressType")
                                 .routingDomain("routingDomain")
                                 .securityGroupIds(List.of("securityGroupIds"))
                                 .subnetIds(List.of("subnetIds"))
                                 .tags(Map.of(
                                         "tagsKey", "tags"))
                                 .vpcIdentifier("vpcIdentifier")
                                 .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();
 

See Also: