Interface CfnPluginProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPluginProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:56.916Z")
@Stability(Stable)
public interface CfnPluginProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPlugin.
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;
CfnPluginProps cfnPluginProps = CfnPluginProps.builder()
.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 TypeInterfaceDescriptionstatic final classA builder forCfnPluginPropsstatic final classAn implementation forCfnPluginProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPluginProps.Builderbuilder()default StringThe identifier of the application that will contain the plugin.Authentication configuration information for an Amazon Q Business plugin.default ObjectConfiguration information required to create a custom plugin.The name of the plugin.default StringThe plugin server URL used for configuration.default StringgetState()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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthConfiguration
Authentication configuration information for an Amazon Q Business plugin.Returns union: either
IResolvableorCfnPlugin.PluginAuthConfigurationProperty- See Also:
-
getDisplayName
The name of the plugin.- See Also:
-
getType
The type of the plugin.- See Also:
-
getApplicationId
The identifier of the application that will contain the plugin.- See Also:
-
getCustomPluginConfiguration
Configuration information required to create a custom plugin.Returns union: either
IResolvableorCfnPlugin.CustomPluginConfigurationProperty- See Also:
-
getServerUrl
The plugin server URL used for configuration.- See Also:
-
getState
The current status of the plugin.- See Also:
-
getTags
A list of key-value pairs that identify or categorize the data source connector.You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -
- See Also:
-
builder
- Returns:
- a
CfnPluginProps.BuilderofCfnPluginProps
-