Class CfnPlugin
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.qbusiness.CfnPlugin
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,IPluginRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:46.593Z")
@Stability(Stable)
public class CfnPlugin
extends CfnResource
implements IInspectable, IPluginRef, ITaggableV2
Information about an Amazon Q Business plugin and its configuration.
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;
CfnPlugin cfnPlugin = CfnPlugin.Builder.create(this, "MyCfnPlugin")
.authConfiguration(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())
.displayName("displayName")
.type("type")
// the properties below are optional
.applicationId("applicationId")
.customPluginConfiguration(CustomPluginConfigurationProperty.builder()
.apiSchema(APISchemaProperty.builder()
.payload("payload")
.s3(S3Property.builder()
.bucket("bucket")
.key("key")
.build())
.build())
.apiSchemaType("apiSchemaType")
.description("description")
.build())
.serverUrl("serverUrl")
.state("state")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceContains details about the OpenAPI schema for a custom plugin.static interfaceInformation about the basic authentication credentials used to configure a plugin.static final classA fluent builder forCfnPlugin.static interfaceConfiguration information required to create a custom plugin.static interfaceInformation about the OAuth 2.0 authentication credential/token used to configure a plugin.static interfaceAuthentication configuration information for an Amazon Q Business plugin.static interfaceInformation required for Amazon Q Business to find a specific file in an Amazon S3 bucket.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.qbusiness.IPluginRef
IPluginRef.Jsii$Default, IPluginRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnPlugin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPlugin(software.amazon.jsii.JsiiObjectRef objRef) CfnPlugin(software.constructs.Construct scope, String id, CfnPluginProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the application that will contain the plugin.The current status of a plugin.The timestamp for when the plugin was created.The Amazon Resource Name (ARN) of a plugin.The identifier of the plugin.The timestamp for when the plugin was last updated.Authentication configuration information for an Amazon Q Business plugin.Tag Manager which manages the tags for this resource.Configuration information required to create a custom plugin.The name of the plugin.A reference to a Plugin resource.The plugin server URL used for configuration.getState()The current status of the plugin.getTags()A list of key-value pairs that identify or categorize the data source connector.getType()The type of the plugin.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetApplicationId(String value) The identifier of the application that will contain the plugin.voidsetAuthConfiguration(IResolvable value) Authentication configuration information for an Amazon Q Business plugin.voidAuthentication configuration information for an Amazon Q Business plugin.voidConfiguration information required to create a custom plugin.voidConfiguration information required to create a custom plugin.voidsetDisplayName(String value) The name of the plugin.voidsetServerUrl(String value) The plugin server URL used for configuration.voidThe current status of the plugin.voidA list of key-value pairs that identify or categorize the data source connector.voidThe type of the plugin.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnPlugin
protected CfnPlugin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPlugin
protected CfnPlugin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPlugin
@Stability(Stable) public CfnPlugin(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPluginProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrBuildStatus
The current status of a plugin.A plugin is modified asynchronously.
-
getAttrCreatedAt
The timestamp for when the plugin was created. -
getAttrPluginArn
The Amazon Resource Name (ARN) of a plugin. -
getAttrPluginId
The identifier of the plugin. -
getAttrUpdatedAt
The timestamp for when the plugin was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getPluginRef
A reference to a Plugin resource.- Specified by:
getPluginRefin interfaceIPluginRef
-
getAuthConfiguration
Authentication configuration information for an Amazon Q Business plugin.Returns union: either
IResolvableorCfnPlugin.PluginAuthConfigurationProperty -
setAuthConfiguration
Authentication configuration information for an Amazon Q Business plugin. -
setAuthConfiguration
@Stability(Stable) public void setAuthConfiguration(@NotNull CfnPlugin.PluginAuthConfigurationProperty value) Authentication configuration information for an Amazon Q Business plugin. -
getDisplayName
The name of the plugin. -
setDisplayName
The name of the plugin. -
getType
The type of the plugin. -
setType
The type of the plugin. -
getApplicationId
The identifier of the application that will contain the plugin. -
setApplicationId
The identifier of the application that will contain the plugin. -
getCustomPluginConfiguration
Configuration information required to create a custom plugin.Returns union: either
IResolvableorCfnPlugin.CustomPluginConfigurationProperty -
setCustomPluginConfiguration
Configuration information required to create a custom plugin. -
setCustomPluginConfiguration
@Stability(Stable) public void setCustomPluginConfiguration(@Nullable CfnPlugin.CustomPluginConfigurationProperty value) Configuration information required to create a custom plugin. -
getServerUrl
The plugin server URL used for configuration. -
setServerUrl
The plugin server URL used for configuration. -
getState
The current status of the plugin. -
setState
The current status of the plugin. -
getTags
A list of key-value pairs that identify or categorize the data source connector. -
setTags
A list of key-value pairs that identify or categorize the data source connector.
-