Interface CfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty.Jsii$Proxy
- Enclosing class:
CfnOAuth2CredentialProvider
@Stability(Stable)
public static interface CfnOAuth2CredentialProvider.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.services.bedrockagentcore.*;
CustomOauth2ProviderConfigInputProperty customOauth2ProviderConfigInputProperty = CustomOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.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())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The client ID for the custom OAuth2 provider.The client secret for the custom OAuth2 provider.Discovery information for an OAuth2 provider.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClientId
The client ID for the custom OAuth2 provider.- See Also:
-
getClientSecret
The client secret for the custom OAuth2 provider.- See Also:
-
getOauthDiscovery
Discovery information for an OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProvider.Oauth2DiscoveryProperty- See Also:
-
builder
@Stability(Stable) static CfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty.Builder builder()
-