Interface CfnOAuth2CredentialProviderProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOAuth2CredentialProviderProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-14T18:31:50.122Z")
@Stability(Stable)
public interface CfnOAuth2CredentialProviderProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnOAuth2CredentialProvider.
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.*;
CfnOAuth2CredentialProviderProps cfnOAuth2CredentialProviderProps = CfnOAuth2CredentialProviderProps.builder()
.credentialProviderVendor("credentialProviderVendor")
.name("name")
// the properties below are optional
.oauth2ProviderConfigInput(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")
.tokenEndpoint("tokenEndpoint")
// the properties below are optional
.responseTypes(List.of("responseTypes"))
.build())
.discoveryUrl("discoveryUrl")
.build())
.build())
.githubOauth2ProviderConfig(GithubOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.googleOauth2ProviderConfig(GoogleOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.includedOauth2ProviderConfig(IncludedOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
// the properties below are optional
.authorizationEndpoint("authorizationEndpoint")
.issuer("issuer")
.tokenEndpoint("tokenEndpoint")
.build())
.linkedinOauth2ProviderConfig(LinkedinOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.microsoftOauth2ProviderConfig(MicrosoftOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
// the properties below are optional
.tenantId("tenantId")
.build())
.salesforceOauth2ProviderConfig(SalesforceOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.slackOauth2ProviderConfig(SlackOauth2ProviderConfigInputProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOAuth2CredentialProviderPropsstatic final classAn implementation forCfnOAuth2CredentialProviderProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCredentialProviderVendor
The vendor of the OAuth2 credential provider.- See Also:
-
getName
The name of the OAuth2 credential provider.- See Also:
-
getOauth2ProviderConfigInput
Input configuration for an OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProvider.Oauth2ProviderConfigInputProperty- See Also:
-
getTags
Tags to assign to the OAuth2 credential provider.- See Also:
-
builder
-