Interface CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty.Jsii$Proxy
- Enclosing class:
CfnOAuth2CredentialProviderPropsMixin
@Stability(Stable)
public static interface CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty
extends software.amazon.jsii.JsiiSerializable
Discovery information 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.cfnpropertymixins.services.bedrockagentcore.*;
Oauth2DiscoveryProperty oauth2DiscoveryProperty = Oauth2DiscoveryProperty.builder()
.authorizationServerMetadata(Oauth2AuthorizationServerMetadataProperty.builder()
.authorizationEndpoint("authorizationEndpoint")
.issuer("issuer")
.responseTypes(List.of("responseTypes"))
.tokenEndpoint("tokenEndpoint")
.build())
.discoveryUrl("discoveryUrl")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizationServerMetadata
Authorization server metadata for the OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.Oauth2AuthorizationServerMetadataProperty- See Also:
-
getDiscoveryUrl
The discovery URL for the OAuth2 provider.- See Also:
-
builder
@Stability(Stable) static CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty.Builder builder()
-