Class CfnPlugin.PluginAuthConfigurationProperty
Authentication configuration information for an Amazon Q Business plugin.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.QBusiness
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPlugin.PluginAuthConfigurationProperty : CfnPlugin.IPluginAuthConfigurationProperty
Syntax (vb)
Public Class CfnPlugin.PluginAuthConfigurationProperty Implements CfnPlugin.IPluginAuthConfigurationProperty
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.QBusiness;
var noAuthConfiguration;
var pluginAuthConfigurationProperty = new PluginAuthConfigurationProperty {
BasicAuthConfiguration = new BasicAuthConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
},
NoAuthConfiguration = noAuthConfiguration,
OAuth2ClientCredentialConfiguration = new OAuth2ClientCredentialConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn",
// the properties below are optional
AuthorizationUrl = "authorizationUrl",
TokenUrl = "tokenUrl"
}
};
Synopsis
Constructors
| PluginAuthConfigurationProperty() | Authentication configuration information for an Amazon Q Business plugin. |
Properties
| BasicAuthConfiguration | Information about the basic authentication credentials used to configure a plugin. |
| NoAuthConfiguration | Information about invoking a custom plugin without any authentication. |
| OAuth2ClientCredentialConfiguration | Information about the OAuth 2.0 authentication credential/token used to configure a plugin. |
Constructors
PluginAuthConfigurationProperty()
Authentication configuration information for an Amazon Q Business plugin.
public PluginAuthConfigurationProperty()
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.QBusiness;
var noAuthConfiguration;
var pluginAuthConfigurationProperty = new PluginAuthConfigurationProperty {
BasicAuthConfiguration = new BasicAuthConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn"
},
NoAuthConfiguration = noAuthConfiguration,
OAuth2ClientCredentialConfiguration = new OAuth2ClientCredentialConfigurationProperty {
RoleArn = "roleArn",
SecretArn = "secretArn",
// the properties below are optional
AuthorizationUrl = "authorizationUrl",
TokenUrl = "tokenUrl"
}
};
Properties
BasicAuthConfiguration
Information about the basic authentication credentials used to configure a plugin.
public object? BasicAuthConfiguration { get; set; }
Property Value
Remarks
NoAuthConfiguration
Information about invoking a custom plugin without any authentication.
public object? NoAuthConfiguration { get; set; }
Property Value
Remarks
OAuth2ClientCredentialConfiguration
Information about the OAuth 2.0 authentication credential/token used to configure a plugin.
public object? OAuth2ClientCredentialConfiguration { get; set; }