Class CfnDataSourcePropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.qbusiness.CfnDataSourcePropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:02.435Z")
@Stability(Stable)
public class CfnDataSourcePropsMixin
extends Mixin
implements software.constructs.IMixin
Creates a data source connector for an Amazon Q Business application.
CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.qbusiness.*;
import software.amazon.awscdk.*;
Object configuration;
IMergeStrategy mergeStrategy;
CfnDataSourcePropsMixin cfnDataSourcePropsMixin = CfnDataSourcePropsMixin.Builder.create(CfnDataSourceMixinProps.builder()
.applicationId("applicationId")
.configuration(configuration)
.description("description")
.displayName("displayName")
.documentEnrichmentConfiguration(DocumentEnrichmentConfigurationProperty.builder()
.inlineConfigurations(List.of(InlineDocumentEnrichmentConfigurationProperty.builder()
.condition(DocumentAttributeConditionProperty.builder()
.key("key")
.operator("operator")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.documentContentOperator("documentContentOperator")
.target(DocumentAttributeTargetProperty.builder()
.attributeValueOperator("attributeValueOperator")
.key("key")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.build()))
.postExtractionHookConfiguration(HookConfigurationProperty.builder()
.invocationCondition(DocumentAttributeConditionProperty.builder()
.key("key")
.operator("operator")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.lambdaArn("lambdaArn")
.roleArn("roleArn")
.s3BucketName("s3BucketName")
.build())
.preExtractionHookConfiguration(HookConfigurationProperty.builder()
.invocationCondition(DocumentAttributeConditionProperty.builder()
.key("key")
.operator("operator")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.lambdaArn("lambdaArn")
.roleArn("roleArn")
.s3BucketName("s3BucketName")
.build())
.build())
.indexId("indexId")
.mediaExtractionConfiguration(MediaExtractionConfigurationProperty.builder()
.audioExtractionConfiguration(AudioExtractionConfigurationProperty.builder()
.audioExtractionStatus("audioExtractionStatus")
.build())
.imageExtractionConfiguration(ImageExtractionConfigurationProperty.builder()
.imageExtractionStatus("imageExtractionStatus")
.build())
.videoExtractionConfiguration(VideoExtractionConfigurationProperty.builder()
.videoExtractionStatus("videoExtractionStatus")
.build())
.build())
.roleArn("roleArn")
.syncSchedule("syncSchedule")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcConfiguration(DataSourceVpcConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceConfiguration settings for audio content extraction and processing.static final classA fluent builder forCfnDataSourcePropsMixin.static interfaceProvides configuration information needed to connect to an Amazon VPC (Virtual Private Cloud).static interfaceThe condition used for the target document attribute or metadata field when ingesting documents into Amazon Q Business.static interfaceThe target document attribute or metadata field you want to alter when ingesting documents into Amazon Q Business.static interfaceThe value of a document attribute.static interfaceProvides the configuration information for altering document metadata and content during the document ingestion process.static interfaceProvides the configuration information for invoking a Lambda function in AWS Lambda to alter document metadata and content when ingesting documents into Amazon Q Business.static interfaceThe configuration for extracting semantic meaning from images in documents.static interfaceProvides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Q Business.static interfaceThe configuration for extracting information from media in documents.static interfaceConfiguration settings for video content extraction and processing.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::QBusiness::DataSource.CfnDataSourcePropsMixin(CfnDataSourceMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::QBusiness::DataSource.protectedCfnDataSourcePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDataSourcePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnDataSourceMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods 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, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnDataSourcePropsMixin
protected CfnDataSourcePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDataSourcePropsMixin
protected CfnDataSourcePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDataSourcePropsMixin
@Stability(Stable) public CfnDataSourcePropsMixin(@NotNull CfnDataSourceMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::QBusiness::DataSource.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnDataSourcePropsMixin
Create a mixin to apply properties toAWS::QBusiness::DataSource.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-