Interface CfnPlugin.PluginAuthConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlugin.PluginAuthConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlugin
@Stability(Stable)
public static interface CfnPlugin.PluginAuthConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Authentication configuration information for an Amazon Q Business plugin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.qbusiness.*;
Object noAuthConfiguration;
PluginAuthConfigurationProperty pluginAuthConfigurationProperty = PluginAuthConfigurationProperty.builder()
.basicAuthConfiguration(BasicAuthConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.noAuthConfiguration(noAuthConfiguration)
.oAuth2ClientCredentialConfiguration(OAuth2ClientCredentialConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
// the properties below are optional
.authorizationUrl("authorizationUrl")
.tokenUrl("tokenUrl")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPlugin.PluginAuthConfigurationPropertystatic final classAn implementation forCfnPlugin.PluginAuthConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectInformation about the basic authentication credentials used to configure a plugin.default ObjectInformation about invoking a custom plugin without any authentication.default ObjectInformation about the OAuth 2.0 authentication credential/token used to configure a plugin.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBasicAuthConfiguration
Information about the basic authentication credentials used to configure a plugin.Returns union: either
IResolvableorCfnPlugin.BasicAuthConfigurationProperty- See Also:
-
getNoAuthConfiguration
Information about invoking a custom plugin without any authentication.- See Also:
-
getOAuth2ClientCredentialConfiguration
Information about the OAuth 2.0 authentication credential/token used to configure a plugin.Returns union: either
IResolvableorCfnPlugin.OAuth2ClientCredentialConfigurationProperty- See Also:
-
builder
-