Class CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty
Output configuration for an OAuth2 provider.
Inherited Members
Namespace: Amazon.CDK.AWS.BedrockAgentCore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty : CfnOAuth2CredentialProvider.IOauth2ProviderConfigOutputProperty
Syntax (vb)
Public Class CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty Implements CfnOAuth2CredentialProvider.IOauth2ProviderConfigOutputProperty
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.AWS.BedrockAgentCore;
var oauth2ProviderConfigOutputProperty = new Oauth2ProviderConfigOutputProperty {
ClientId = "clientId",
OauthDiscovery = new Oauth2DiscoveryProperty {
AuthorizationServerMetadata = new Oauth2AuthorizationServerMetadataProperty {
AuthorizationEndpoint = "authorizationEndpoint",
Issuer = "issuer",
TokenEndpoint = "tokenEndpoint",
// the properties below are optional
ResponseTypes = new [] { "responseTypes" }
},
DiscoveryUrl = "discoveryUrl"
},
OnBehalfOfTokenExchangeConfig = new OnBehalfOfTokenExchangeConfigProperty {
GrantType = "grantType",
// the properties below are optional
TokenExchangeGrantTypeConfig = new TokenExchangeGrantTypeConfigProperty {
ActorTokenContent = "actorTokenContent",
// the properties below are optional
ActorTokenScopes = new [] { "actorTokenScopes" }
}
}
};
Synopsis
Constructors
| Oauth2ProviderConfigOutputProperty() | Output configuration for an OAuth2 provider. |
Properties
| ClientId | Output configuration for an OAuth2 provider. |
| OauthDiscovery | Discovery information for an OAuth2 provider. |
| OnBehalfOfTokenExchangeConfig | Configuration for on-behalf-of token exchange. |
Constructors
Oauth2ProviderConfigOutputProperty()
Output configuration for an OAuth2 provider.
public Oauth2ProviderConfigOutputProperty()
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.AWS.BedrockAgentCore;
var oauth2ProviderConfigOutputProperty = new Oauth2ProviderConfigOutputProperty {
ClientId = "clientId",
OauthDiscovery = new Oauth2DiscoveryProperty {
AuthorizationServerMetadata = new Oauth2AuthorizationServerMetadataProperty {
AuthorizationEndpoint = "authorizationEndpoint",
Issuer = "issuer",
TokenEndpoint = "tokenEndpoint",
// the properties below are optional
ResponseTypes = new [] { "responseTypes" }
},
DiscoveryUrl = "discoveryUrl"
},
OnBehalfOfTokenExchangeConfig = new OnBehalfOfTokenExchangeConfigProperty {
GrantType = "grantType",
// the properties below are optional
TokenExchangeGrantTypeConfig = new TokenExchangeGrantTypeConfigProperty {
ActorTokenContent = "actorTokenContent",
// the properties below are optional
ActorTokenScopes = new [] { "actorTokenScopes" }
}
}
};
Properties
ClientId
Output configuration for an OAuth2 provider.
public string? ClientId { 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 CfnOAuth2CredentialProvider.IOauth2DiscoveryProperty
OnBehalfOfTokenExchangeConfig
Configuration for on-behalf-of token exchange.
public object? OnBehalfOfTokenExchangeConfig { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnOAuth2CredentialProvider.IOnBehalfOfTokenExchangeConfigProperty