Class CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty
Input configuration for a custom OAuth2 provider.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty : CfnOAuth2CredentialProviderPropsMixin.ICustomOauth2ProviderConfigInputProperty
Syntax (vb)
Public Class CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty Implements CfnOAuth2CredentialProviderPropsMixin.ICustomOauth2ProviderConfigInputProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore;
var customOauth2ProviderConfigInputProperty = new CustomOauth2ProviderConfigInputProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
OauthDiscovery = new Oauth2DiscoveryProperty {
AuthorizationServerMetadata = new Oauth2AuthorizationServerMetadataProperty {
AuthorizationEndpoint = "authorizationEndpoint",
Issuer = "issuer",
ResponseTypes = new [] { "responseTypes" },
TokenEndpoint = "tokenEndpoint"
},
DiscoveryUrl = "discoveryUrl"
}
};
Synopsis
Constructors
| CustomOauth2ProviderConfigInputProperty() | Input configuration for a custom OAuth2 provider. |
Properties
| ClientId | The client ID for the custom OAuth2 provider. |
| ClientSecret | The client secret for the custom OAuth2 provider. |
| OauthDiscovery | Discovery information for an OAuth2 provider. |
Constructors
CustomOauth2ProviderConfigInputProperty()
Input configuration for a custom OAuth2 provider.
public CustomOauth2ProviderConfigInputProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore;
var customOauth2ProviderConfigInputProperty = new CustomOauth2ProviderConfigInputProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
OauthDiscovery = new Oauth2DiscoveryProperty {
AuthorizationServerMetadata = new Oauth2AuthorizationServerMetadataProperty {
AuthorizationEndpoint = "authorizationEndpoint",
Issuer = "issuer",
ResponseTypes = new [] { "responseTypes" },
TokenEndpoint = "tokenEndpoint"
},
DiscoveryUrl = "discoveryUrl"
}
};
Properties
ClientId
The client ID for the custom OAuth2 provider.
public string? ClientId { get; set; }
Property Value
Remarks
ClientSecret
The client secret for the custom OAuth2 provider.
public string? ClientSecret { get; set; }
Property Value
Remarks
OauthDiscovery
Discovery information for an OAuth2 provider.
public object? OauthDiscovery { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnOAuth2CredentialProviderPropsMixin.IOauth2DiscoveryProperty