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())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe client authentication method to use when authenticating with the token endpoint.default StringThe client ID for the custom OAuth2 provider.default StringThe client secret for the custom OAuth2 provider.default ObjectA reference to a customer-provided secret stored in AWS Secrets Manager.default StringThe source of the client secret.default ObjectDiscovery information for an OAuth2 provider.default ObjectConfiguration for on-behalf-of token exchange.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClientAuthenticationMethod
The client authentication method to use when authenticating with the token endpoint.- See Also:
-
getClientId
The client ID for the custom OAuth2 provider.- See Also:
-
getClientSecret
The client secret for the custom OAuth2 provider.- See Also:
-
getClientSecretConfig
A reference to a customer-provided secret stored in AWS Secrets Manager.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.SecretReferenceProperty- See Also:
-
getClientSecretSource
The source of the client secret.- See Also:
-
getOauthDiscovery
Discovery information for an OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty- See Also:
-
getOnBehalfOfTokenExchangeConfig
Configuration for on-behalf-of token exchange.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty- See Also:
-
builder
@Stability(Stable) static CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty.Builder builder()
-