CfnOAuth2CredentialProviderPropsMixin
- class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::BedrockAgentCore::OAuth2CredentialProvider.
- See:
- CloudformationResource:
AWS::BedrockAgentCore::OAuth2CredentialProvider
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_oAuth2_credential_provider_props_mixin = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin(bedrockagentcore.CfnOAuth2CredentialProviderMixinProps( credential_provider_vendor="credentialProviderVendor", name="name", oauth2_provider_config_input=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2ProviderConfigInputProperty( atlassian_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.AtlassianOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), custom_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret", oauth_discovery=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty( authorization_server_metadata=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2AuthorizationServerMetadataProperty( authorization_endpoint="authorizationEndpoint", issuer="issuer", response_types=["responseTypes"], token_endpoint="tokenEndpoint" ), discovery_url="discoveryUrl" ) ), github_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.GithubOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), google_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.GoogleOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), included_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.IncludedOauth2ProviderConfigInputProperty( authorization_endpoint="authorizationEndpoint", client_id="clientId", client_secret="clientSecret", issuer="issuer", token_endpoint="tokenEndpoint" ), linkedin_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.LinkedinOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), microsoft_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.MicrosoftOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret", tenant_id="tenantId" ), salesforce_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.SalesforceOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), slack_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.SlackOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ) ), tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::BedrockAgentCore::OAuth2CredentialProvider.- Parameters:
props (
Union[CfnOAuth2CredentialProviderMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['credentialProviderVendor', 'name', 'oauth2ProviderConfigInput', 'tags']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
AtlassianOauth2ProviderConfigInputProperty
- class CfnOAuth2CredentialProviderPropsMixin.AtlassianOauth2ProviderConfigInputProperty(*, client_id=None, client_secret=None)
Bases:
objectInput configuration for an Atlassian OAuth2 provider.
- Parameters:
client_id (
Optional[str])client_secret (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore atlassian_oauth2_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.AtlassianOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" )
Attributes
- client_id
-
- Type:
see
ClientSecretArnProperty
- class CfnOAuth2CredentialProviderPropsMixin.ClientSecretArnProperty(*, secret_arn=None)
Bases:
objectContains information about a secret in AWS Secrets Manager.
- Parameters:
secret_arn (
Optional[str]) – The ARN of the secret in AWS Secrets Manager.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore client_secret_arn_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.ClientSecretArnProperty( secret_arn="secretArn" )
Attributes
- secret_arn
The ARN of the secret in AWS Secrets Manager.
CustomOauth2ProviderConfigInputProperty
- class CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty(*, client_id=None, client_secret=None, oauth_discovery=None)
Bases:
objectInput configuration for a custom OAuth2 provider.
- Parameters:
client_id (
Optional[str]) – The client ID for the custom OAuth2 provider.client_secret (
Optional[str]) – The client secret for the custom OAuth2 provider.oauth_discovery (
Union[IResolvable,Oauth2DiscoveryProperty,Dict[str,Any],None]) – Discovery information for an OAuth2 provider.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore custom_oauth2_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret", oauth_discovery=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty( authorization_server_metadata=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2AuthorizationServerMetadataProperty( authorization_endpoint="authorizationEndpoint", issuer="issuer", response_types=["responseTypes"], token_endpoint="tokenEndpoint" ), discovery_url="discoveryUrl" ) )
Attributes
- client_id
The client ID for the custom OAuth2 provider.
- client_secret
The client secret for the custom OAuth2 provider.
- oauth_discovery
Discovery information for an OAuth2 provider.
GithubOauth2ProviderConfigInputProperty
- class CfnOAuth2CredentialProviderPropsMixin.GithubOauth2ProviderConfigInputProperty(*, client_id=None, client_secret=None)
Bases:
objectInput configuration for a GitHub OAuth2 provider.
- Parameters:
client_id (
Optional[str])client_secret (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore github_oauth2_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.GithubOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" )
Attributes
- client_id
-
- Type:
see
GoogleOauth2ProviderConfigInputProperty
- class CfnOAuth2CredentialProviderPropsMixin.GoogleOauth2ProviderConfigInputProperty(*, client_id=None, client_secret=None)
Bases:
objectInput configuration for a Google OAuth2 provider.
- Parameters:
client_id (
Optional[str])client_secret (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore google_oauth2_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.GoogleOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" )
Attributes
- client_id
-
- Type:
see
IncludedOauth2ProviderConfigInputProperty
- class CfnOAuth2CredentialProviderPropsMixin.IncludedOauth2ProviderConfigInputProperty(*, authorization_endpoint=None, client_id=None, client_secret=None, issuer=None, token_endpoint=None)
Bases:
objectInput configuration for a supported non-custom OAuth2 provider.
- Parameters:
authorization_endpoint (
Optional[str]) – OAuth2 authorization endpoint for your isolated OAuth2 application tenant.client_id (
Optional[str])client_secret (
Optional[str])issuer (
Optional[str]) – Token issuer of your isolated OAuth2 application tenant.token_endpoint (
Optional[str]) – OAuth2 token endpoint for your isolated OAuth2 application tenant.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore included_oauth2_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.IncludedOauth2ProviderConfigInputProperty( authorization_endpoint="authorizationEndpoint", client_id="clientId", client_secret="clientSecret", issuer="issuer", token_endpoint="tokenEndpoint" )
Attributes
- authorization_endpoint
OAuth2 authorization endpoint for your isolated OAuth2 application tenant.
- client_id
-
- Type:
see
- client_secret
-
- Type:
see
- issuer
Token issuer of your isolated OAuth2 application tenant.
- token_endpoint
OAuth2 token endpoint for your isolated OAuth2 application tenant.
LinkedinOauth2ProviderConfigInputProperty
- class CfnOAuth2CredentialProviderPropsMixin.LinkedinOauth2ProviderConfigInputProperty(*, client_id=None, client_secret=None)
Bases:
objectInput configuration for a LinkedIn OAuth2 provider.
- Parameters:
client_id (
Optional[str])client_secret (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore linkedin_oauth2_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.LinkedinOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" )
Attributes
- client_id
-
- Type:
see
MicrosoftOauth2ProviderConfigInputProperty
- class CfnOAuth2CredentialProviderPropsMixin.MicrosoftOauth2ProviderConfigInputProperty(*, client_id=None, client_secret=None, tenant_id=None)
Bases:
objectInput configuration for a Microsoft OAuth2 provider.
- Parameters:
client_id (
Optional[str])client_secret (
Optional[str])tenant_id (
Optional[str]) – The Microsoft Entra ID tenant ID.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore microsoft_oauth2_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.MicrosoftOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret", tenant_id="tenantId" )
Attributes
- client_id
-
- Type:
see
- client_secret
-
- Type:
see
Oauth2DiscoveryProperty
- class CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty(*, authorization_server_metadata=None, discovery_url=None)
Bases:
objectDiscovery information for an OAuth2 provider.
- Parameters:
authorization_server_metadata (
Union[IResolvable,Oauth2AuthorizationServerMetadataProperty,Dict[str,Any],None]) – Authorization server metadata for the OAuth2 provider.discovery_url (
Optional[str]) – The discovery URL for the OAuth2 provider.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore oauth2_discovery_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty( authorization_server_metadata=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2AuthorizationServerMetadataProperty( authorization_endpoint="authorizationEndpoint", issuer="issuer", response_types=["responseTypes"], token_endpoint="tokenEndpoint" ), discovery_url="discoveryUrl" )
Attributes
- authorization_server_metadata
Authorization server metadata for the OAuth2 provider.
- discovery_url
The discovery URL for the OAuth2 provider.
Oauth2ProviderConfigInputProperty
- class CfnOAuth2CredentialProviderPropsMixin.Oauth2ProviderConfigInputProperty(*, atlassian_oauth2_provider_config=None, custom_oauth2_provider_config=None, github_oauth2_provider_config=None, google_oauth2_provider_config=None, included_oauth2_provider_config=None, linkedin_oauth2_provider_config=None, microsoft_oauth2_provider_config=None, salesforce_oauth2_provider_config=None, slack_oauth2_provider_config=None)
Bases:
objectInput configuration for an OAuth2 provider.
- Parameters:
atlassian_oauth2_provider_config (
Union[IResolvable,AtlassianOauth2ProviderConfigInputProperty,Dict[str,Any],None]) – Input configuration for an Atlassian OAuth2 provider.custom_oauth2_provider_config (
Union[IResolvable,CustomOauth2ProviderConfigInputProperty,Dict[str,Any],None]) – Input configuration for a custom OAuth2 provider.github_oauth2_provider_config (
Union[IResolvable,GithubOauth2ProviderConfigInputProperty,Dict[str,Any],None]) – Input configuration for a GitHub OAuth2 provider.google_oauth2_provider_config (
Union[IResolvable,GoogleOauth2ProviderConfigInputProperty,Dict[str,Any],None]) – Input configuration for a Google OAuth2 provider.included_oauth2_provider_config (
Union[IResolvable,IncludedOauth2ProviderConfigInputProperty,Dict[str,Any],None]) – Input configuration for a supported non-custom OAuth2 provider.linkedin_oauth2_provider_config (
Union[IResolvable,LinkedinOauth2ProviderConfigInputProperty,Dict[str,Any],None]) – Input configuration for a LinkedIn OAuth2 provider.microsoft_oauth2_provider_config (
Union[IResolvable,MicrosoftOauth2ProviderConfigInputProperty,Dict[str,Any],None]) – Input configuration for a Microsoft OAuth2 provider.salesforce_oauth2_provider_config (
Union[IResolvable,SalesforceOauth2ProviderConfigInputProperty,Dict[str,Any],None]) – Input configuration for a Salesforce OAuth2 provider.slack_oauth2_provider_config (
Union[IResolvable,SlackOauth2ProviderConfigInputProperty,Dict[str,Any],None]) – Input configuration for a Slack OAuth2 provider.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore oauth2_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2ProviderConfigInputProperty( atlassian_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.AtlassianOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), custom_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret", oauth_discovery=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty( authorization_server_metadata=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2AuthorizationServerMetadataProperty( authorization_endpoint="authorizationEndpoint", issuer="issuer", response_types=["responseTypes"], token_endpoint="tokenEndpoint" ), discovery_url="discoveryUrl" ) ), github_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.GithubOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), google_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.GoogleOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), included_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.IncludedOauth2ProviderConfigInputProperty( authorization_endpoint="authorizationEndpoint", client_id="clientId", client_secret="clientSecret", issuer="issuer", token_endpoint="tokenEndpoint" ), linkedin_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.LinkedinOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), microsoft_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.MicrosoftOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret", tenant_id="tenantId" ), salesforce_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.SalesforceOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ), slack_oauth2_provider_config=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.SlackOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" ) )
Attributes
- atlassian_oauth2_provider_config
Input configuration for an Atlassian OAuth2 provider.
- custom_oauth2_provider_config
Input configuration for a custom OAuth2 provider.
- github_oauth2_provider_config
Input configuration for a GitHub OAuth2 provider.
- google_oauth2_provider_config
Input configuration for a Google OAuth2 provider.
- included_oauth2_provider_config
Input configuration for a supported non-custom OAuth2 provider.
- linkedin_oauth2_provider_config
Input configuration for a LinkedIn OAuth2 provider.
- microsoft_oauth2_provider_config
Input configuration for a Microsoft OAuth2 provider.
- salesforce_oauth2_provider_config
Input configuration for a Salesforce OAuth2 provider.
- slack_oauth2_provider_config
Input configuration for a Slack OAuth2 provider.
Oauth2ProviderConfigOutputProperty
- class CfnOAuth2CredentialProviderPropsMixin.Oauth2ProviderConfigOutputProperty(*, client_id=None, oauth_discovery=None)
Bases:
objectOutput configuration for an OAuth2 provider.
- Parameters:
client_id (
Optional[str])oauth_discovery (
Union[IResolvable,Oauth2DiscoveryProperty,Dict[str,Any],None]) – Discovery information for an OAuth2 provider.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore oauth2_provider_config_output_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2ProviderConfigOutputProperty( client_id="clientId", oauth_discovery=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty( authorization_server_metadata=bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.Oauth2AuthorizationServerMetadataProperty( authorization_endpoint="authorizationEndpoint", issuer="issuer", response_types=["responseTypes"], token_endpoint="tokenEndpoint" ), discovery_url="discoveryUrl" ) )
Attributes
- client_id
-
- Type:
see
- oauth_discovery
Discovery information for an OAuth2 provider.
SalesforceOauth2ProviderConfigInputProperty
- class CfnOAuth2CredentialProviderPropsMixin.SalesforceOauth2ProviderConfigInputProperty(*, client_id=None, client_secret=None)
Bases:
objectInput configuration for a Salesforce OAuth2 provider.
- Parameters:
client_id (
Optional[str])client_secret (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore salesforce_oauth2_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.SalesforceOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" )
Attributes
- client_id
-
- Type:
see
SlackOauth2ProviderConfigInputProperty
- class CfnOAuth2CredentialProviderPropsMixin.SlackOauth2ProviderConfigInputProperty(*, client_id=None, client_secret=None)
Bases:
objectInput configuration for a Slack OAuth2 provider.
- Parameters:
client_id (
Optional[str])client_secret (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore slack_oauth2_provider_config_input_property = bedrockagentcore.CfnOAuth2CredentialProviderPropsMixin.SlackOauth2ProviderConfigInputProperty( client_id="clientId", client_secret="clientSecret" )
Attributes
- client_id
-
- Type:
see