CfnOAuth2CredentialProviderProps
- class aws_cdk.aws_bedrockagentcore.CfnOAuth2CredentialProviderProps(*, credential_provider_vendor, name, oauth2_provider_config_input=None, tags=None)
Bases:
objectProperties for defining a
CfnOAuth2CredentialProvider.- Parameters:
credential_provider_vendor (
str) – The vendor of the OAuth2 credential provider.name (
str) – The name of the OAuth2 credential provider.oauth2_provider_config_input (
Union[IResolvable,Oauth2ProviderConfigInputProperty,Dict[str,Any],None]) – Input configuration for an OAuth2 provider.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Tags to assign to the OAuth2 credential provider.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_bedrockagentcore as bedrockagentcore cfn_oAuth2_credential_provider_props = bedrockagentcore.CfnOAuth2CredentialProviderProps( credential_provider_vendor="credentialProviderVendor", name="name", # the properties below are optional oauth2_provider_config_input=bedrockagentcore.CfnOAuth2CredentialProvider.Oauth2ProviderConfigInputProperty( atlassian_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProvider.AtlassianOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), custom_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret", oauth_discovery=bedrockagentcore.CfnOAuth2CredentialProvider.Oauth2DiscoveryProperty( authorization_server_metadata=bedrockagentcore.CfnOAuth2CredentialProvider.Oauth2AuthorizationServerMetadataProperty( authorization_endpoint="authorizationEndpoint", issuer="issuer", token_endpoint="tokenEndpoint", # the properties below are optional response_types=["responseTypes"] ), discovery_url="discoveryUrl" ) ), github_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProvider.GithubOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), google_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProvider.GoogleOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), included_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProvider.IncludedOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret", # the properties below are optional authorization_endpoint="authorizationEndpoint", issuer="issuer", token_endpoint="tokenEndpoint" ), linkedin_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProvider.LinkedinOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), microsoft_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProvider.MicrosoftOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret", # the properties below are optional tenant_id="tenantId" ), salesforce_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProvider.SalesforceOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), slack_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProvider.SlackOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ) ), tags=[CfnTag( key="key", value="value" )] )
Attributes
- credential_provider_vendor
The vendor of the OAuth2 credential provider.
- name
The name of the OAuth2 credential provider.
- oauth2_provider_config_input
Input configuration for an OAuth2 provider.
- tags
Tags to assign to the OAuth2 credential provider.