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:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:23.012Z")
@Stability(Stable)
public class CfnPlugin
extends CfnResource
implements IInspectable, 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
Modifier and TypeClassDescriptionstatic interface
Contains details about the OpenAPI schema for a custom plugin.static interface
Information about the basic authentication credentials used to configure a plugin.static final class
A fluent builder forCfnPlugin
.static interface
Configuration information required to create a custom plugin.static interface
Information about the OAuth 2.0 authentication credential/token used to configure a plugin.static interface
Authentication configuration information for an Amazon Q Business plugin.static interface
Information 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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnPlugin
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnPlugin
(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.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setApplicationId
(String value) The identifier of the application that will contain the plugin.void
setAuthConfiguration
(IResolvable value) Authentication configuration information for an Amazon Q Business plugin.void
Authentication configuration information for an Amazon Q Business plugin.void
Configuration information required to create a custom plugin.void
Configuration information required to create a custom plugin.void
setDisplayName
(String value) The name of the plugin.void
setServerUrl
(String value) The plugin server URL used for configuration.void
The current status of the plugin.void
A list of key-value pairs that identify or categorize the data source connector.void
The 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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in 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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getAuthConfiguration
Authentication configuration information for an Amazon Q Business plugin. -
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. -
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.
-