Skip to content
v2.278.0

AssociationConfigurationDataProperty ​

Struct External

A typed union of the data of the configuration for an Amazon Q in Connect Assistant Association.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const associationConfigurationDataProperty: wisdom.CfnAIAgent.AssociationConfigurationDataProperty = {
  knowledgeBaseAssociationConfigurationData: {
    contentTagFilter: {
      andConditions: [{
        key: 'key',

        // the properties below are optional
        value: 'value',
      }],
      orConditions: [{
        andConditions: [{
          key: 'key',

          // the properties below are optional
          value: 'value',
        }],
        tagCondition: {
          key: 'key',

          // the properties below are optional
          value: 'value',
        },
      }],
      tagCondition: {
        key: 'key',

        // the properties below are optional
        value: 'value',
      },
    },
    maxResults: 123,
    overrideKnowledgeBaseSearchType: 'overrideKnowledgeBaseSearchType',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wisdom as wisdom

association_configuration_data_property = wisdom.CfnAIAgent.AssociationConfigurationDataProperty(
    knowledge_base_association_configuration_data=wisdom.CfnAIAgent.KnowledgeBaseAssociationConfigurationDataProperty(
        content_tag_filter=wisdom.CfnAIAgent.TagFilterProperty(
            and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
                key="key",

                # the properties below are optional
                value="value"
            )],
            or_conditions=[wisdom.CfnAIAgent.OrConditionProperty(
                and_conditions=[wisdom.CfnAIAgent.TagConditionProperty(
                    key="key",

                    # the properties below are optional
                    value="value"
                )],
                tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
                    key="key",

                    # the properties below are optional
                    value="value"
                )
            )],
            tag_condition=wisdom.CfnAIAgent.TagConditionProperty(
                key="key",

                # the properties below are optional
                value="value"
            )
        ),
        max_results=123,
        override_knowledge_base_search_type="overrideKnowledgeBaseSearchType"
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;

AssociationConfigurationDataProperty associationConfigurationDataProperty = AssociationConfigurationDataProperty.builder()
        .knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
                .contentTagFilter(TagFilterProperty.builder()
                        .andConditions(List.of(TagConditionProperty.builder()
                                .key("key")

                                // the properties below are optional
                                .value("value")
                                .build()))
                        .orConditions(List.of(OrConditionProperty.builder()
                                .andConditions(List.of(TagConditionProperty.builder()
                                        .key("key")

                                        // the properties below are optional
                                        .value("value")
                                        .build()))
                                .tagCondition(TagConditionProperty.builder()
                                        .key("key")

                                        // the properties below are optional
                                        .value("value")
                                        .build())
                                .build()))
                        .tagCondition(TagConditionProperty.builder()
                                .key("key")

                                // the properties below are optional
                                .value("value")
                                .build())
                        .build())
                .maxResults(123)
                .overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Wisdom;

var associationConfigurationDataProperty = new AssociationConfigurationDataProperty {
    KnowledgeBaseAssociationConfigurationData = new KnowledgeBaseAssociationConfigurationDataProperty {
        ContentTagFilter = new TagFilterProperty {
            AndConditions = new [] { new TagConditionProperty {
                Key = "key",

                // the properties below are optional
                Value = "value"
            } },
            OrConditions = new [] { new OrConditionProperty {
                AndConditions = new [] { new TagConditionProperty {
                    Key = "key",

                    // the properties below are optional
                    Value = "value"
                } },
                TagCondition = new TagConditionProperty {
                    Key = "key",

                    // the properties below are optional
                    Value = "value"
                }
            } },
            TagCondition = new TagConditionProperty {
                Key = "key",

                // the properties below are optional
                Value = "value"
            }
        },
        MaxResults = 123,
        OverrideKnowledgeBaseSearchType = "overrideKnowledgeBaseSearchType"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

associationConfigurationDataProperty := &AssociationConfigurationDataProperty{
	KnowledgeBaseAssociationConfigurationData: &KnowledgeBaseAssociationConfigurationDataProperty{
		ContentTagFilter: &TagFilterProperty{
			AndConditions: []interface{}{
				&TagConditionProperty{
					Key: jsii.String("key"),

					// the properties below are optional
					Value: jsii.String("value"),
				},
			},
			OrConditions: []interface{}{
				&OrConditionProperty{
					AndConditions: []interface{}{
						&TagConditionProperty{
							Key: jsii.String("key"),

							// the properties below are optional
							Value: jsii.String("value"),
						},
					},
					TagCondition: &TagConditionProperty{
						Key: jsii.String("key"),

						// the properties below are optional
						Value: jsii.String("value"),
					},
				},
			},
			TagCondition: &TagConditionProperty{
				Key: jsii.String("key"),

				// the properties below are optional
				Value: jsii.String("value"),
			},
		},
		MaxResults: jsii.Number(123),
		OverrideKnowledgeBaseSearchType: jsii.String("overrideKnowledgeBaseSearchType"),
	},
}

Properties ​

knowledgeBaseAssociationConfigurationDataIResolvable | CfnAIAgent.KnowledgeBaseAssociationConfigurationDataPropertyknowledge_base_association_configuration_datatyping.Union[IResolvable, KnowledgeBaseAssociationConfigurationDataProperty]knowledgeBaseAssociationConfigurationDataIResolvableKnowledgeBaseAssociationConfigurationDataIResolvableKnowledgeBaseAssociationConfigurationDatainterface{} required #
The data of the configuration for a `KNOWLEDGE_BASE` type Amazon Q in Connect Assistant Association.