Interface CfnOAuth2CredentialProviderPropsMixin.Oauth2ProviderConfigInputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOAuth2CredentialProviderPropsMixin.Oauth2ProviderConfigInputProperty.Jsii$Proxy
- Enclosing class:
CfnOAuth2CredentialProviderPropsMixin
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.*;
Oauth2ProviderConfigInputProperty oauth2ProviderConfigInputProperty = Oauth2ProviderConfigInputProperty.builder()
.atlassianOauth2ProviderConfig(AtlassianOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.customOauth2ProviderConfig(CustomOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.oauthDiscovery(Oauth2DiscoveryProperty.builder()
.authorizationServerMetadata(Oauth2AuthorizationServerMetadataProperty.builder()
.authorizationEndpoint("authorizationEndpoint")
.issuer("issuer")
.responseTypes(List.of("responseTypes"))
.tokenEndpoint("tokenEndpoint")
.build())
.discoveryUrl("discoveryUrl")
.build())
.build())
.githubOauth2ProviderConfig(GithubOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.googleOauth2ProviderConfig(GoogleOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.includedOauth2ProviderConfig(IncludedOauth2ProviderConfigInputProperty.builder()
.authorizationEndpoint("authorizationEndpoint")
.clientId("clientId")
.clientSecret("clientSecret")
.issuer("issuer")
.tokenEndpoint("tokenEndpoint")
.build())
.linkedinOauth2ProviderConfig(LinkedinOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.microsoftOauth2ProviderConfig(MicrosoftOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.tenantId("tenantId")
.build())
.salesforceOauth2ProviderConfig(SalesforceOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.slackOauth2ProviderConfig(SlackOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnOAuth2CredentialProviderPropsMixin.Oauth2ProviderConfigInputProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectInput configuration for an Atlassian OAuth2 provider.default ObjectInput configuration for a custom OAuth2 provider.default ObjectInput configuration for a GitHub OAuth2 provider.default ObjectInput configuration for a Google OAuth2 provider.default ObjectInput configuration for a supported non-custom OAuth2 provider.default ObjectInput configuration for a LinkedIn OAuth2 provider.default ObjectInput configuration for a Microsoft OAuth2 provider.default ObjectInput configuration for a Salesforce OAuth2 provider.default ObjectInput configuration for a Slack OAuth2 provider.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAtlassianOauth2ProviderConfig
Input configuration for an Atlassian OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.AtlassianOauth2ProviderConfigInputProperty- See Also:
-
getCustomOauth2ProviderConfig
Input configuration for a custom OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty- See Also:
-
getGithubOauth2ProviderConfig
Input configuration for a GitHub OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.GithubOauth2ProviderConfigInputProperty- See Also:
-
getGoogleOauth2ProviderConfig
Input configuration for a Google OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.GoogleOauth2ProviderConfigInputProperty- See Also:
-
getIncludedOauth2ProviderConfig
Input configuration for a supported non-custom OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.IncludedOauth2ProviderConfigInputProperty- See Also:
-
getLinkedinOauth2ProviderConfig
Input configuration for a LinkedIn OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.LinkedinOauth2ProviderConfigInputProperty- See Also:
-
getMicrosoftOauth2ProviderConfig
Input configuration for a Microsoft OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.MicrosoftOauth2ProviderConfigInputProperty- See Also:
-
getSalesforceOauth2ProviderConfig
Input configuration for a Salesforce OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.SalesforceOauth2ProviderConfigInputProperty- See Also:
-
getSlackOauth2ProviderConfig
Input configuration for a Slack OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.SlackOauth2ProviderConfigInputProperty- See Also:
-
builder
@Stability(Stable) static CfnOAuth2CredentialProviderPropsMixin.Oauth2ProviderConfigInputProperty.Builder builder()
-