Show / Hide Table of Contents

Class CfnKnowledgeBase

Specifies a knowledge base as a resource in a top-level template. Minimally, you must specify the following properties:.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnKnowledgeBase
Implements
IInspectable
IKnowledgeBaseRef
IConstruct
IDependable
IEnvironmentAware
ITaggableV2
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.AddResourceDependency(CfnResource, string)
CfnResource.ApplyCrossStackReferenceStrength(ReferenceStrength)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.CfnPropertyName(string)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.RemoveResourceDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.With(params IMixin[])
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnKnowledgeBase : CfnResource, IInspectable, IKnowledgeBaseRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnKnowledgeBase Inherits CfnResource Implements IInspectable, IKnowledgeBaseRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks
    Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
    

    For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

    See the Properties section below for descriptions of both the required and optional properties.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

    CloudformationResource: AWS::Bedrock::KnowledgeBase

    ExampleMetadata: fixture=_generated

    Examples
    // The code below shows an example of how to instantiate this type.
                 // The values are placeholders you should change.
                 using Amazon.CDK.AWS.Bedrock;
    
                 var cfnKnowledgeBase = new CfnKnowledgeBase(this, "MyCfnKnowledgeBase", new CfnKnowledgeBaseProps {
                     KnowledgeBaseConfiguration = new KnowledgeBaseConfigurationProperty {
                         Type = "type",
    
                         // the properties below are optional
                         KendraKnowledgeBaseConfiguration = new KendraKnowledgeBaseConfigurationProperty {
                             KendraIndexArn = "kendraIndexArn"
                         },
                         ManagedKnowledgeBaseConfiguration = new ManagedKnowledgeBaseConfigurationProperty {
                             EmbeddingModelArn = "embeddingModelArn",
                             EmbeddingModelConfiguration = new EmbeddingModelConfigurationProperty {
                                 BedrockEmbeddingModelConfiguration = new BedrockEmbeddingModelConfigurationProperty {
                                     Audio = new [] { new AudioConfigurationProperty {
                                         SegmentationConfiguration = new AudioSegmentationConfigurationProperty {
                                             FixedLengthDuration = 123
                                         }
                                     } },
                                     Dimensions = 123,
                                     EmbeddingDataType = "embeddingDataType",
                                     Video = new [] { new VideoConfigurationProperty {
                                         SegmentationConfiguration = new VideoSegmentationConfigurationProperty {
                                             FixedLengthDuration = 123
                                         }
                                     } }
                                 }
                             },
                             EmbeddingModelType = "embeddingModelType",
                             ServerSideEncryptionConfiguration = new ManagedKnowledgeBaseServerSideEncryptionConfigurationProperty {
                                 KmsKeyArn = "kmsKeyArn"
                             }
                         },
                         SqlKnowledgeBaseConfiguration = new SqlKnowledgeBaseConfigurationProperty {
                             Type = "type",
    
                             // the properties below are optional
                             RedshiftConfiguration = new RedshiftConfigurationProperty {
                                 QueryEngineConfiguration = new RedshiftQueryEngineConfigurationProperty {
                                     Type = "type",
    
                                     // the properties below are optional
                                     ProvisionedConfiguration = new RedshiftProvisionedConfigurationProperty {
                                         AuthConfiguration = new RedshiftProvisionedAuthConfigurationProperty {
                                             Type = "type",
    
                                             // the properties below are optional
                                             DatabaseUser = "databaseUser",
                                             UsernamePasswordSecretArn = "usernamePasswordSecretArn"
                                         },
                                         ClusterIdentifier = "clusterIdentifier"
                                     },
                                     ServerlessConfiguration = new RedshiftServerlessConfigurationProperty {
                                         AuthConfiguration = new RedshiftServerlessAuthConfigurationProperty {
                                             Type = "type",
    
                                             // the properties below are optional
                                             UsernamePasswordSecretArn = "usernamePasswordSecretArn"
                                         },
                                         WorkgroupArn = "workgroupArn"
                                     }
                                 },
                                 StorageConfigurations = new [] { new RedshiftQueryEngineStorageConfigurationProperty {
                                     Type = "type",
    
                                     // the properties below are optional
                                     AwsDataCatalogConfiguration = new RedshiftQueryEngineAwsDataCatalogStorageConfigurationProperty {
                                         TableNames = new [] { "tableNames" }
                                     },
                                     RedshiftConfiguration = new RedshiftQueryEngineRedshiftStorageConfigurationProperty {
                                         DatabaseName = "databaseName"
                                     }
                                 } },
    
                                 // the properties below are optional
                                 QueryGenerationConfiguration = new QueryGenerationConfigurationProperty {
                                     ExecutionTimeoutSeconds = 123,
                                     GenerationContext = new QueryGenerationContextProperty {
                                         CuratedQueries = new [] { new CuratedQueryProperty {
                                             NaturalLanguage = "naturalLanguage",
                                             Sql = "sql"
                                         } },
                                         Tables = new [] { new QueryGenerationTableProperty {
                                             Name = "name",
    
                                             // the properties below are optional
                                             Columns = new [] { new QueryGenerationColumnProperty {
                                                 Description = "description",
                                                 Inclusion = "inclusion",
                                                 Name = "name"
                                             } },
                                             Description = "description",
                                             Inclusion = "inclusion"
                                         } }
                                     }
                                 }
                             }
                         },
                         VectorKnowledgeBaseConfiguration = new VectorKnowledgeBaseConfigurationProperty {
                             EmbeddingModelArn = "embeddingModelArn",
    
                             // the properties below are optional
                             EmbeddingModelConfiguration = new EmbeddingModelConfigurationProperty {
                                 BedrockEmbeddingModelConfiguration = new BedrockEmbeddingModelConfigurationProperty {
                                     Audio = new [] { new AudioConfigurationProperty {
                                         SegmentationConfiguration = new AudioSegmentationConfigurationProperty {
                                             FixedLengthDuration = 123
                                         }
                                     } },
                                     Dimensions = 123,
                                     EmbeddingDataType = "embeddingDataType",
                                     Video = new [] { new VideoConfigurationProperty {
                                         SegmentationConfiguration = new VideoSegmentationConfigurationProperty {
                                             FixedLengthDuration = 123
                                         }
                                     } }
                                 }
                             },
                             SupplementalDataStorageConfiguration = new SupplementalDataStorageConfigurationProperty {
                                 SupplementalDataStorageLocations = new [] { new SupplementalDataStorageLocationProperty {
                                     SupplementalDataStorageLocationType = "supplementalDataStorageLocationType",
    
                                     // the properties below are optional
                                     S3Location = new S3LocationProperty {
                                         Uri = "uri"
                                     }
                                 } }
                             }
                         }
                     },
                     Name = "name",
                     RoleArn = "roleArn",
    
                     // the properties below are optional
                     Description = "description",
                     StorageConfiguration = new StorageConfigurationProperty {
                         Type = "type",
    
                         // the properties below are optional
                         MongoDbAtlasConfiguration = new MongoDbAtlasConfigurationProperty {
                             CollectionName = "collectionName",
                             CredentialsSecretArn = "credentialsSecretArn",
                             DatabaseName = "databaseName",
                             Endpoint = "endpoint",
                             FieldMapping = new MongoDbAtlasFieldMappingProperty {
                                 MetadataField = "metadataField",
                                 TextField = "textField",
                                 VectorField = "vectorField"
                             },
                             VectorIndexName = "vectorIndexName",
    
                             // the properties below are optional
                             EndpointServiceName = "endpointServiceName",
                             TextIndexName = "textIndexName"
                         },
                         NeptuneAnalyticsConfiguration = new NeptuneAnalyticsConfigurationProperty {
                             FieldMapping = new NeptuneAnalyticsFieldMappingProperty {
                                 MetadataField = "metadataField",
                                 TextField = "textField"
                             },
                             GraphArn = "graphArn"
                         },
                         OpensearchManagedClusterConfiguration = new OpenSearchManagedClusterConfigurationProperty {
                             DomainArn = "domainArn",
                             DomainEndpoint = "domainEndpoint",
                             FieldMapping = new OpenSearchManagedClusterFieldMappingProperty {
                                 MetadataField = "metadataField",
                                 TextField = "textField",
                                 VectorField = "vectorField"
                             },
                             VectorIndexName = "vectorIndexName"
                         },
                         OpensearchServerlessConfiguration = new OpenSearchServerlessConfigurationProperty {
                             CollectionArn = "collectionArn",
                             FieldMapping = new OpenSearchServerlessFieldMappingProperty {
                                 MetadataField = "metadataField",
                                 TextField = "textField",
                                 VectorField = "vectorField"
                             },
                             VectorIndexName = "vectorIndexName"
                         },
                         PineconeConfiguration = new PineconeConfigurationProperty {
                             ConnectionString = "connectionString",
                             CredentialsSecretArn = "credentialsSecretArn",
                             FieldMapping = new PineconeFieldMappingProperty {
                                 MetadataField = "metadataField",
                                 TextField = "textField"
                             },
    
                             // the properties below are optional
                             Namespace = "namespace"
                         },
                         RdsConfiguration = new RdsConfigurationProperty {
                             CredentialsSecretArn = "credentialsSecretArn",
                             DatabaseName = "databaseName",
                             FieldMapping = new RdsFieldMappingProperty {
                                 MetadataField = "metadataField",
                                 PrimaryKeyField = "primaryKeyField",
                                 TextField = "textField",
                                 VectorField = "vectorField",
    
                                 // the properties below are optional
                                 CustomMetadataField = "customMetadataField"
                             },
                             ResourceArn = "resourceArn",
                             TableName = "tableName"
                         },
                         S3VectorsConfiguration = new S3VectorsConfigurationProperty {
                             IndexArn = "indexArn",
                             IndexName = "indexName",
                             VectorBucketArn = "vectorBucketArn"
                         }
                     },
                     Tags = new Dictionary<string, string> {
                         { "tagsKey", "tags" }
                     }
                 });

    Synopsis

    Constructors

    CfnKnowledgeBase(Construct, string, ICfnKnowledgeBaseProps)

    Create a new AWS::Bedrock::KnowledgeBase.

    Properties

    AttrCreatedAt

    The time the knowledge base was created.

    AttrFailureReasons

    A list of reasons that the API operation on the knowledge base failed.

    AttrKnowledgeBaseArn

    The Amazon Resource Name (ARN) of the knowledge base.

    AttrKnowledgeBaseId

    The unique identifier for a knowledge base associated with the inline agent.

    AttrStatus

    The status of the knowledge base.

    AttrUpdatedAt

    The time the knowledge base was last updated.

    CFN_RESOURCE_TYPE_NAME

    The CloudFormation resource type name for this resource class.

    CdkTagManager

    Tag Manager which manages the tags for this resource.

    CfnProperties

    Specifies a knowledge base as a resource in a top-level template. Minimally, you must specify the following properties:.

    CfnPropertyNames

    Specifies a knowledge base as a resource in a top-level template. Minimally, you must specify the following properties:.

    Description

    The description of the knowledge base associated with the inline agent.

    KnowledgeBaseConfiguration

    Contains details about the embeddings configuration of the knowledge base.

    KnowledgeBaseRef

    A reference to a KnowledgeBase resource.

    Name

    The name of the knowledge base.

    RoleArn

    The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.

    StorageConfiguration

    Contains details about the storage configuration of the knowledge base.

    Tags

    Metadata that you can assign to a resource as key-value pairs.

    Methods

    ArnForKnowledgeBase(IKnowledgeBaseRef)

    Specifies a knowledge base as a resource in a top-level template. Minimally, you must specify the following properties:.

    FromKnowledgeBaseArn(Construct, string, string)

    Creates a new IKnowledgeBaseRef from an ARN.

    FromKnowledgeBaseId(Construct, string, string)

    Creates a new IKnowledgeBaseRef from a knowledgeBaseId.

    Inspect(TreeInspector)

    Examines the CloudFormation resource and discloses attributes.

    IsCfnKnowledgeBase(object)

    Checks whether the given object is a CfnKnowledgeBase.

    RenderProperties(IDictionary<string, object>)

    Specifies a knowledge base as a resource in a top-level template. Minimally, you must specify the following properties:.

    Constructors

    CfnKnowledgeBase(Construct, string, ICfnKnowledgeBaseProps)

    Create a new AWS::Bedrock::KnowledgeBase.

    public CfnKnowledgeBase(Construct scope, string id, ICfnKnowledgeBaseProps props)
    Parameters
    scope Construct

    Scope in which this resource is defined.

    id string

    Construct identifier for this resource (unique in its scope).

    props ICfnKnowledgeBaseProps

    Resource properties.

    Remarks
      Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
      

      For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

      See the Properties section below for descriptions of both the required and optional properties.

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

      CloudformationResource: AWS::Bedrock::KnowledgeBase

      ExampleMetadata: fixture=_generated

      Properties

      AttrCreatedAt

      The time the knowledge base was created.

      public virtual string AttrCreatedAt { get; }
      Property Value

      string

      Remarks

      CloudformationAttribute: CreatedAt

      AttrFailureReasons

      A list of reasons that the API operation on the knowledge base failed.

      public virtual string[] AttrFailureReasons { get; }
      Property Value

      string[]

      Remarks

      CloudformationAttribute: FailureReasons

      AttrKnowledgeBaseArn

      The Amazon Resource Name (ARN) of the knowledge base.

      public virtual string AttrKnowledgeBaseArn { get; }
      Property Value

      string

      Remarks

      CloudformationAttribute: KnowledgeBaseArn

      AttrKnowledgeBaseId

      The unique identifier for a knowledge base associated with the inline agent.

      public virtual string AttrKnowledgeBaseId { get; }
      Property Value

      string

      Remarks

      CloudformationAttribute: KnowledgeBaseId

      AttrStatus

      The status of the knowledge base.

      public virtual string AttrStatus { get; }
      Property Value

      string

      Remarks

      CloudformationAttribute: Status

      AttrUpdatedAt

      The time the knowledge base was last updated.

      public virtual string AttrUpdatedAt { get; }
      Property Value

      string

      Remarks

      CloudformationAttribute: UpdatedAt

      CFN_RESOURCE_TYPE_NAME

      The CloudFormation resource type name for this resource class.

      public static string CFN_RESOURCE_TYPE_NAME { get; }
      Property Value

      string

      Remarks
        Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
        

        For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

        See the Properties section below for descriptions of both the required and optional properties.

        See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

        CloudformationResource: AWS::Bedrock::KnowledgeBase

        ExampleMetadata: fixture=_generated

        CdkTagManager

        Tag Manager which manages the tags for this resource.

        public virtual TagManager CdkTagManager { get; }
        Property Value

        TagManager

        Remarks
          Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
          

          For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

          See the Properties section below for descriptions of both the required and optional properties.

          See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

          CloudformationResource: AWS::Bedrock::KnowledgeBase

          ExampleMetadata: fixture=_generated

          CfnProperties

          Specifies a knowledge base as a resource in a top-level template. Minimally, you must specify the following properties:.

          protected override IDictionary<string, object> CfnProperties { get; }
          Property Value

          IDictionary<string, object>

          Overrides
          CfnResource.CfnProperties
          Remarks
            Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
            

            For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

            See the Properties section below for descriptions of both the required and optional properties.

            See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

            CloudformationResource: AWS::Bedrock::KnowledgeBase

            ExampleMetadata: fixture=_generated

            CfnPropertyNames

            Specifies a knowledge base as a resource in a top-level template. Minimally, you must specify the following properties:.

            protected override IDictionary<string, string> CfnPropertyNames { get; }
            Property Value

            IDictionary<string, string>

            Overrides
            CfnResource.CfnPropertyNames
            Remarks
              Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
              

              For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

              See the Properties section below for descriptions of both the required and optional properties.

              See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

              CloudformationResource: AWS::Bedrock::KnowledgeBase

              ExampleMetadata: fixture=_generated

              Description

              The description of the knowledge base associated with the inline agent.

              public virtual string? Description { get; set; }
              Property Value

              string

              Remarks
                Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
                

                For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

                See the Properties section below for descriptions of both the required and optional properties.

                See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

                CloudformationResource: AWS::Bedrock::KnowledgeBase

                ExampleMetadata: fixture=_generated

                KnowledgeBaseConfiguration

                Contains details about the embeddings configuration of the knowledge base.

                public virtual object KnowledgeBaseConfiguration { get; set; }
                Property Value

                object

                Remarks

                Type union: either IResolvable or CfnKnowledgeBase.IKnowledgeBaseConfigurationProperty

                KnowledgeBaseRef

                A reference to a KnowledgeBase resource.

                public virtual IKnowledgeBaseReference KnowledgeBaseRef { get; }
                Property Value

                IKnowledgeBaseReference

                Remarks
                  Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
                  

                  For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

                  See the Properties section below for descriptions of both the required and optional properties.

                  See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

                  CloudformationResource: AWS::Bedrock::KnowledgeBase

                  ExampleMetadata: fixture=_generated

                  Name

                  The name of the knowledge base.

                  public virtual string Name { get; set; }
                  Property Value

                  string

                  Remarks
                    Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
                    

                    For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

                    See the Properties section below for descriptions of both the required and optional properties.

                    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

                    CloudformationResource: AWS::Bedrock::KnowledgeBase

                    ExampleMetadata: fixture=_generated

                    RoleArn

                    The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.

                    public virtual string RoleArn { get; set; }
                    Property Value

                    string

                    Remarks
                      Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
                      

                      For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

                      See the Properties section below for descriptions of both the required and optional properties.

                      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

                      CloudformationResource: AWS::Bedrock::KnowledgeBase

                      ExampleMetadata: fixture=_generated

                      StorageConfiguration

                      Contains details about the storage configuration of the knowledge base.

                      public virtual object? StorageConfiguration { get; set; }
                      Property Value

                      object

                      Remarks

                      Type union: either IResolvable or CfnKnowledgeBase.IStorageConfigurationProperty

                      Tags

                      Metadata that you can assign to a resource as key-value pairs.

                      public virtual IDictionary<string, string>? Tags { get; set; }
                      Property Value

                      IDictionary<string, string>

                      Remarks

                      For more information, see the following resources:.

                      Methods

                      ArnForKnowledgeBase(IKnowledgeBaseRef)

                      Specifies a knowledge base as a resource in a top-level template. Minimally, you must specify the following properties:.

                      public static string ArnForKnowledgeBase(IKnowledgeBaseRef resource)
                      Parameters
                      resource IKnowledgeBaseRef
                      Returns

                      string

                      Remarks
                        Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
                        

                        For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

                        See the Properties section below for descriptions of both the required and optional properties.

                        See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

                        CloudformationResource: AWS::Bedrock::KnowledgeBase

                        ExampleMetadata: fixture=_generated

                        Examples
                        // The code below shows an example of how to instantiate this type.
                                     // The values are placeholders you should change.
                                     using Amazon.CDK.AWS.Bedrock;
                        
                                     var cfnKnowledgeBase = new CfnKnowledgeBase(this, "MyCfnKnowledgeBase", new CfnKnowledgeBaseProps {
                                         KnowledgeBaseConfiguration = new KnowledgeBaseConfigurationProperty {
                                             Type = "type",
                        
                                             // the properties below are optional
                                             KendraKnowledgeBaseConfiguration = new KendraKnowledgeBaseConfigurationProperty {
                                                 KendraIndexArn = "kendraIndexArn"
                                             },
                                             ManagedKnowledgeBaseConfiguration = new ManagedKnowledgeBaseConfigurationProperty {
                                                 EmbeddingModelArn = "embeddingModelArn",
                                                 EmbeddingModelConfiguration = new EmbeddingModelConfigurationProperty {
                                                     BedrockEmbeddingModelConfiguration = new BedrockEmbeddingModelConfigurationProperty {
                                                         Audio = new [] { new AudioConfigurationProperty {
                                                             SegmentationConfiguration = new AudioSegmentationConfigurationProperty {
                                                                 FixedLengthDuration = 123
                                                             }
                                                         } },
                                                         Dimensions = 123,
                                                         EmbeddingDataType = "embeddingDataType",
                                                         Video = new [] { new VideoConfigurationProperty {
                                                             SegmentationConfiguration = new VideoSegmentationConfigurationProperty {
                                                                 FixedLengthDuration = 123
                                                             }
                                                         } }
                                                     }
                                                 },
                                                 EmbeddingModelType = "embeddingModelType",
                                                 ServerSideEncryptionConfiguration = new ManagedKnowledgeBaseServerSideEncryptionConfigurationProperty {
                                                     KmsKeyArn = "kmsKeyArn"
                                                 }
                                             },
                                             SqlKnowledgeBaseConfiguration = new SqlKnowledgeBaseConfigurationProperty {
                                                 Type = "type",
                        
                                                 // the properties below are optional
                                                 RedshiftConfiguration = new RedshiftConfigurationProperty {
                                                     QueryEngineConfiguration = new RedshiftQueryEngineConfigurationProperty {
                                                         Type = "type",
                        
                                                         // the properties below are optional
                                                         ProvisionedConfiguration = new RedshiftProvisionedConfigurationProperty {
                                                             AuthConfiguration = new RedshiftProvisionedAuthConfigurationProperty {
                                                                 Type = "type",
                        
                                                                 // the properties below are optional
                                                                 DatabaseUser = "databaseUser",
                                                                 UsernamePasswordSecretArn = "usernamePasswordSecretArn"
                                                             },
                                                             ClusterIdentifier = "clusterIdentifier"
                                                         },
                                                         ServerlessConfiguration = new RedshiftServerlessConfigurationProperty {
                                                             AuthConfiguration = new RedshiftServerlessAuthConfigurationProperty {
                                                                 Type = "type",
                        
                                                                 // the properties below are optional
                                                                 UsernamePasswordSecretArn = "usernamePasswordSecretArn"
                                                             },
                                                             WorkgroupArn = "workgroupArn"
                                                         }
                                                     },
                                                     StorageConfigurations = new [] { new RedshiftQueryEngineStorageConfigurationProperty {
                                                         Type = "type",
                        
                                                         // the properties below are optional
                                                         AwsDataCatalogConfiguration = new RedshiftQueryEngineAwsDataCatalogStorageConfigurationProperty {
                                                             TableNames = new [] { "tableNames" }
                                                         },
                                                         RedshiftConfiguration = new RedshiftQueryEngineRedshiftStorageConfigurationProperty {
                                                             DatabaseName = "databaseName"
                                                         }
                                                     } },
                        
                                                     // the properties below are optional
                                                     QueryGenerationConfiguration = new QueryGenerationConfigurationProperty {
                                                         ExecutionTimeoutSeconds = 123,
                                                         GenerationContext = new QueryGenerationContextProperty {
                                                             CuratedQueries = new [] { new CuratedQueryProperty {
                                                                 NaturalLanguage = "naturalLanguage",
                                                                 Sql = "sql"
                                                             } },
                                                             Tables = new [] { new QueryGenerationTableProperty {
                                                                 Name = "name",
                        
                                                                 // the properties below are optional
                                                                 Columns = new [] { new QueryGenerationColumnProperty {
                                                                     Description = "description",
                                                                     Inclusion = "inclusion",
                                                                     Name = "name"
                                                                 } },
                                                                 Description = "description",
                                                                 Inclusion = "inclusion"
                                                             } }
                                                         }
                                                     }
                                                 }
                                             },
                                             VectorKnowledgeBaseConfiguration = new VectorKnowledgeBaseConfigurationProperty {
                                                 EmbeddingModelArn = "embeddingModelArn",
                        
                                                 // the properties below are optional
                                                 EmbeddingModelConfiguration = new EmbeddingModelConfigurationProperty {
                                                     BedrockEmbeddingModelConfiguration = new BedrockEmbeddingModelConfigurationProperty {
                                                         Audio = new [] { new AudioConfigurationProperty {
                                                             SegmentationConfiguration = new AudioSegmentationConfigurationProperty {
                                                                 FixedLengthDuration = 123
                                                             }
                                                         } },
                                                         Dimensions = 123,
                                                         EmbeddingDataType = "embeddingDataType",
                                                         Video = new [] { new VideoConfigurationProperty {
                                                             SegmentationConfiguration = new VideoSegmentationConfigurationProperty {
                                                                 FixedLengthDuration = 123
                                                             }
                                                         } }
                                                     }
                                                 },
                                                 SupplementalDataStorageConfiguration = new SupplementalDataStorageConfigurationProperty {
                                                     SupplementalDataStorageLocations = new [] { new SupplementalDataStorageLocationProperty {
                                                         SupplementalDataStorageLocationType = "supplementalDataStorageLocationType",
                        
                                                         // the properties below are optional
                                                         S3Location = new S3LocationProperty {
                                                             Uri = "uri"
                                                         }
                                                     } }
                                                 }
                                             }
                                         },
                                         Name = "name",
                                         RoleArn = "roleArn",
                        
                                         // the properties below are optional
                                         Description = "description",
                                         StorageConfiguration = new StorageConfigurationProperty {
                                             Type = "type",
                        
                                             // the properties below are optional
                                             MongoDbAtlasConfiguration = new MongoDbAtlasConfigurationProperty {
                                                 CollectionName = "collectionName",
                                                 CredentialsSecretArn = "credentialsSecretArn",
                                                 DatabaseName = "databaseName",
                                                 Endpoint = "endpoint",
                                                 FieldMapping = new MongoDbAtlasFieldMappingProperty {
                                                     MetadataField = "metadataField",
                                                     TextField = "textField",
                                                     VectorField = "vectorField"
                                                 },
                                                 VectorIndexName = "vectorIndexName",
                        
                                                 // the properties below are optional
                                                 EndpointServiceName = "endpointServiceName",
                                                 TextIndexName = "textIndexName"
                                             },
                                             NeptuneAnalyticsConfiguration = new NeptuneAnalyticsConfigurationProperty {
                                                 FieldMapping = new NeptuneAnalyticsFieldMappingProperty {
                                                     MetadataField = "metadataField",
                                                     TextField = "textField"
                                                 },
                                                 GraphArn = "graphArn"
                                             },
                                             OpensearchManagedClusterConfiguration = new OpenSearchManagedClusterConfigurationProperty {
                                                 DomainArn = "domainArn",
                                                 DomainEndpoint = "domainEndpoint",
                                                 FieldMapping = new OpenSearchManagedClusterFieldMappingProperty {
                                                     MetadataField = "metadataField",
                                                     TextField = "textField",
                                                     VectorField = "vectorField"
                                                 },
                                                 VectorIndexName = "vectorIndexName"
                                             },
                                             OpensearchServerlessConfiguration = new OpenSearchServerlessConfigurationProperty {
                                                 CollectionArn = "collectionArn",
                                                 FieldMapping = new OpenSearchServerlessFieldMappingProperty {
                                                     MetadataField = "metadataField",
                                                     TextField = "textField",
                                                     VectorField = "vectorField"
                                                 },
                                                 VectorIndexName = "vectorIndexName"
                                             },
                                             PineconeConfiguration = new PineconeConfigurationProperty {
                                                 ConnectionString = "connectionString",
                                                 CredentialsSecretArn = "credentialsSecretArn",
                                                 FieldMapping = new PineconeFieldMappingProperty {
                                                     MetadataField = "metadataField",
                                                     TextField = "textField"
                                                 },
                        
                                                 // the properties below are optional
                                                 Namespace = "namespace"
                                             },
                                             RdsConfiguration = new RdsConfigurationProperty {
                                                 CredentialsSecretArn = "credentialsSecretArn",
                                                 DatabaseName = "databaseName",
                                                 FieldMapping = new RdsFieldMappingProperty {
                                                     MetadataField = "metadataField",
                                                     PrimaryKeyField = "primaryKeyField",
                                                     TextField = "textField",
                                                     VectorField = "vectorField",
                        
                                                     // the properties below are optional
                                                     CustomMetadataField = "customMetadataField"
                                                 },
                                                 ResourceArn = "resourceArn",
                                                 TableName = "tableName"
                                             },
                                             S3VectorsConfiguration = new S3VectorsConfigurationProperty {
                                                 IndexArn = "indexArn",
                                                 IndexName = "indexName",
                                                 VectorBucketArn = "vectorBucketArn"
                                             }
                                         },
                                         Tags = new Dictionary<string, string> {
                                             { "tagsKey", "tags" }
                                         }
                                     });

                        FromKnowledgeBaseArn(Construct, string, string)

                        Creates a new IKnowledgeBaseRef from an ARN.

                        public static IKnowledgeBaseRef FromKnowledgeBaseArn(Construct scope, string id, string arn)
                        Parameters
                        scope Construct
                        id string
                        arn string
                        Returns

                        IKnowledgeBaseRef

                        Remarks
                          Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
                          

                          For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

                          See the Properties section below for descriptions of both the required and optional properties.

                          See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

                          CloudformationResource: AWS::Bedrock::KnowledgeBase

                          ExampleMetadata: fixture=_generated

                          FromKnowledgeBaseId(Construct, string, string)

                          Creates a new IKnowledgeBaseRef from a knowledgeBaseId.

                          public static IKnowledgeBaseRef FromKnowledgeBaseId(Construct scope, string id, string knowledgeBaseId)
                          Parameters
                          scope Construct
                          id string
                          knowledgeBaseId string
                          Returns

                          IKnowledgeBaseRef

                          Remarks
                            Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
                            

                            For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

                            See the Properties section below for descriptions of both the required and optional properties.

                            See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

                            CloudformationResource: AWS::Bedrock::KnowledgeBase

                            ExampleMetadata: fixture=_generated

                            Inspect(TreeInspector)

                            Examines the CloudFormation resource and discloses attributes.

                            public virtual void Inspect(TreeInspector inspector)
                            Parameters
                            inspector TreeInspector

                            tree inspector to collect and process attributes.

                            Remarks
                              Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
                              

                              For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

                              See the Properties section below for descriptions of both the required and optional properties.

                              See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

                              CloudformationResource: AWS::Bedrock::KnowledgeBase

                              ExampleMetadata: fixture=_generated

                              IsCfnKnowledgeBase(object)

                              Checks whether the given object is a CfnKnowledgeBase.

                              public static bool IsCfnKnowledgeBase(object x)
                              Parameters
                              x object
                              Returns

                              bool

                              Remarks
                                Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
                                

                                For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

                                See the Properties section below for descriptions of both the required and optional properties.

                                See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

                                CloudformationResource: AWS::Bedrock::KnowledgeBase

                                ExampleMetadata: fixture=_generated

                                RenderProperties(IDictionary<string, object>)

                                Specifies a knowledge base as a resource in a top-level template. Minimally, you must specify the following properties:.

                                protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
                                Parameters
                                props IDictionary<string, object>
                                Returns

                                IDictionary<string, object>

                                Overrides
                                CfnResource.RenderProperties(IDictionary<string, object>)
                                Remarks
                                  Redis Enterprise Cloud vector stores are currently unsupported in CloudFormation .
                                  

                                  For more information about using knowledge bases in Amazon Bedrock , see Knowledge base for Amazon Bedrock .

                                  See the Properties section below for descriptions of both the required and optional properties.

                                  See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

                                  CloudformationResource: AWS::Bedrock::KnowledgeBase

                                  ExampleMetadata: fixture=_generated

                                  Implements

                                  IInspectable
                                  IKnowledgeBaseRef
                                  Constructs.IConstruct
                                  Constructs.IDependable
                                  IEnvironmentAware
                                  ITaggableV2
                                  Back to top Generated by DocFX