

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Bedrock::DataSource
<a name="aws-resource-bedrock-datasource"></a>

**Important**  
Properties with `__Update requires: Replacement__` can result in the creation of a new data source and deletion of the old one. This can happen if you also change the Name of the data source.

Specifies a data source as a resource in a top-level template. Minimally, you must specify the following properties:
+ Name – Specify a name for the data source.
+ KnowledgeBaseId – Specify the ID of the knowledge base for the data source to belong to.
+ DataSourceConfiguration – Specify information about the Amazon S3 bucket containing the data source. The following sub-properties are required:
  + Type – Specify the value `S3`.

For more information about setting up data sources in Amazon Bedrock, see [Set up a data source for your knowledge base](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-ds.html).

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

## Syntax
<a name="aws-resource-bedrock-datasource-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-bedrock-datasource-syntax.json"></a>

```
{
  "Type" : "AWS::Bedrock::DataSource",
  "Properties" : {
      "[DataDeletionPolicy](#cfn-bedrock-datasource-datadeletionpolicy)" : String,
      "[DataSourceConfiguration](#cfn-bedrock-datasource-datasourceconfiguration)" : DataSourceConfiguration,
      "[Description](#cfn-bedrock-datasource-description)" : String,
      "[KnowledgeBaseId](#cfn-bedrock-datasource-knowledgebaseid)" : String,
      "[Name](#cfn-bedrock-datasource-name)" : String,
      "[ServerSideEncryptionConfiguration](#cfn-bedrock-datasource-serversideencryptionconfiguration)" : ServerSideEncryptionConfiguration,
      "[VectorIngestionConfiguration](#cfn-bedrock-datasource-vectoringestionconfiguration)" : VectorIngestionConfiguration
    }
}
```

### YAML
<a name="aws-resource-bedrock-datasource-syntax.yaml"></a>

```
Type: AWS::Bedrock::DataSource
Properties:
  [DataDeletionPolicy](#cfn-bedrock-datasource-datadeletionpolicy): String
  [DataSourceConfiguration](#cfn-bedrock-datasource-datasourceconfiguration): 
    DataSourceConfiguration
  [Description](#cfn-bedrock-datasource-description): String
  [KnowledgeBaseId](#cfn-bedrock-datasource-knowledgebaseid): String
  [Name](#cfn-bedrock-datasource-name): String
  [ServerSideEncryptionConfiguration](#cfn-bedrock-datasource-serversideencryptionconfiguration): 
    ServerSideEncryptionConfiguration
  [VectorIngestionConfiguration](#cfn-bedrock-datasource-vectoringestionconfiguration): 
    VectorIngestionConfiguration
```

## Properties
<a name="aws-resource-bedrock-datasource-properties"></a>

`DataDeletionPolicy`  <a name="cfn-bedrock-datasource-datadeletionpolicy"></a>
The data deletion policy for the data source.  
*Required*: No  
*Type*: String  
*Allowed values*: `RETAIN | DELETE`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DataSourceConfiguration`  <a name="cfn-bedrock-datasource-datasourceconfiguration"></a>
The connection configuration for the data source.  
*Required*: Yes  
*Type*: [DataSourceConfiguration](aws-properties-bedrock-datasource-datasourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-bedrock-datasource-description"></a>
The description of the data source.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `200`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`KnowledgeBaseId`  <a name="cfn-bedrock-datasource-knowledgebaseid"></a>
The unique identifier of the knowledge base to which the data source belongs.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[0-9a-zA-Z]{10}$`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Name`  <a name="cfn-bedrock-datasource-name"></a>
The name of the data source.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^([0-9a-zA-Z][_-]?){1,100}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ServerSideEncryptionConfiguration`  <a name="cfn-bedrock-datasource-serversideencryptionconfiguration"></a>
Contains details about the configuration of the server-side encryption.  
*Required*: No  
*Type*: [ServerSideEncryptionConfiguration](aws-properties-bedrock-datasource-serversideencryptionconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VectorIngestionConfiguration`  <a name="cfn-bedrock-datasource-vectoringestionconfiguration"></a>
Contains details about how to ingest the documents in the data source.  
*Required*: No  
*Type*: [VectorIngestionConfiguration](aws-properties-bedrock-datasource-vectoringestionconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-bedrock-datasource-return-values"></a>

### Ref
<a name="aws-resource-bedrock-datasource-return-values-ref"></a>

When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the knowledge base ID and the data source ID, separated by a pipe (`|`).

For example, `{ "Ref": "myDataSource" }` could return the value `"KB12345678|DS12345678"`.

For more information about using the `Ref` function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html).

### Fn::GetAtt
<a name="aws-resource-bedrock-datasource-return-values-fn--getatt"></a>

The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the `Fn::GetAtt` intrinsic function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html).

#### 
<a name="aws-resource-bedrock-datasource-return-values-fn--getatt-fn--getatt"></a>

`CreatedAt`  <a name="CreatedAt-fn::getatt"></a>
The time at which the data source was created.

`DataSourceConfiguration.WebConfiguration.CrawlerConfiguration.UserAgentHeader`  <a name="DataSourceConfiguration.WebConfiguration.CrawlerConfiguration.UserAgentHeader-fn::getatt"></a>
Property description not available.

`DataSourceId`  <a name="DataSourceId-fn::getatt"></a>
The unique identifier of the data source.

`DataSourceStatus`  <a name="DataSourceStatus-fn::getatt"></a>
The status of the data source. The following statuses are possible:  
+ Available – The data source has been created and is ready for ingestion into the knowledge base.
+ Deleting – The data source is being deleted.

`FailureReasons`  <a name="FailureReasons-fn::getatt"></a>
The detailed reasons on the failure to delete a data source.

`UpdatedAt`  <a name="UpdatedAt-fn::getatt"></a>
The time at which the data source was last updated.

# AWS::Bedrock::DataSource BedrockDataAutomationConfiguration
<a name="aws-properties-bedrock-datasource-bedrockdataautomationconfiguration"></a>

Contains configurations for using Amazon Bedrock Data Automation as the parser for ingesting your data sources.

## Syntax
<a name="aws-properties-bedrock-datasource-bedrockdataautomationconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-bedrockdataautomationconfiguration-syntax.json"></a>

```
{
  "[ParsingModality](#cfn-bedrock-datasource-bedrockdataautomationconfiguration-parsingmodality)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-bedrockdataautomationconfiguration-syntax.yaml"></a>

```
  [ParsingModality](#cfn-bedrock-datasource-bedrockdataautomationconfiguration-parsingmodality): String
```

## Properties
<a name="aws-properties-bedrock-datasource-bedrockdataautomationconfiguration-properties"></a>

`ParsingModality`  <a name="cfn-bedrock-datasource-bedrockdataautomationconfiguration-parsingmodality"></a>
Specifies whether to enable parsing of multimodal data, including both text and/or images.  
*Required*: No  
*Type*: String  
*Allowed values*: `MULTIMODAL`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

# AWS::Bedrock::DataSource BedrockFoundationModelConfiguration
<a name="aws-properties-bedrock-datasource-bedrockfoundationmodelconfiguration"></a>

Settings for a foundation model used to parse documents for a data source.

## Syntax
<a name="aws-properties-bedrock-datasource-bedrockfoundationmodelconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-bedrockfoundationmodelconfiguration-syntax.json"></a>

```
{
  "[ModelArn](#cfn-bedrock-datasource-bedrockfoundationmodelconfiguration-modelarn)" : String,
  "[ParsingModality](#cfn-bedrock-datasource-bedrockfoundationmodelconfiguration-parsingmodality)" : String,
  "[ParsingPrompt](#cfn-bedrock-datasource-bedrockfoundationmodelconfiguration-parsingprompt)" : ParsingPrompt
}
```

### YAML
<a name="aws-properties-bedrock-datasource-bedrockfoundationmodelconfiguration-syntax.yaml"></a>

```
  [ModelArn](#cfn-bedrock-datasource-bedrockfoundationmodelconfiguration-modelarn): String
  [ParsingModality](#cfn-bedrock-datasource-bedrockfoundationmodelconfiguration-parsingmodality): String
  [ParsingPrompt](#cfn-bedrock-datasource-bedrockfoundationmodelconfiguration-parsingprompt): 
    ParsingPrompt
```

## Properties
<a name="aws-properties-bedrock-datasource-bedrockfoundationmodelconfiguration-properties"></a>

`ModelArn`  <a name="cfn-bedrock-datasource-bedrockfoundationmodelconfiguration-modelarn"></a>
The ARN of the foundation model to use for parsing.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^(arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:(bedrock):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ParsingModality`  <a name="cfn-bedrock-datasource-bedrockfoundationmodelconfiguration-parsingmodality"></a>
Specifies whether to enable parsing of multimodal data, including both text and/or images.  
*Required*: No  
*Type*: String  
*Allowed values*: `MULTIMODAL`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ParsingPrompt`  <a name="cfn-bedrock-datasource-bedrockfoundationmodelconfiguration-parsingprompt"></a>
Instructions for interpreting the contents of a document.  
*Required*: No  
*Type*: [ParsingPrompt](aws-properties-bedrock-datasource-parsingprompt.md)  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

# AWS::Bedrock::DataSource BedrockFoundationModelContextEnrichmentConfiguration
<a name="aws-properties-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration"></a>

Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.

## Syntax
<a name="aws-properties-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-syntax.json"></a>

```
{
  "[EnrichmentStrategyConfiguration](#cfn-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-enrichmentstrategyconfiguration)" : EnrichmentStrategyConfiguration,
  "[ModelArn](#cfn-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-modelarn)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-syntax.yaml"></a>

```
  [EnrichmentStrategyConfiguration](#cfn-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-enrichmentstrategyconfiguration): 
    EnrichmentStrategyConfiguration
  [ModelArn](#cfn-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-modelarn): String
```

## Properties
<a name="aws-properties-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-properties"></a>

`EnrichmentStrategyConfiguration`  <a name="cfn-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-enrichmentstrategyconfiguration"></a>
The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.  
*Required*: Yes  
*Type*: [EnrichmentStrategyConfiguration](aws-properties-bedrock-datasource-enrichmentstrategyconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ModelArn`  <a name="cfn-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-modelarn"></a>
The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^(arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:(bedrock):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource ChunkingConfiguration
<a name="aws-properties-bedrock-datasource-chunkingconfiguration"></a>

Details about how to chunk the documents in the data source. A *chunk* refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.

## Syntax
<a name="aws-properties-bedrock-datasource-chunkingconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-chunkingconfiguration-syntax.json"></a>

```
{
  "[ChunkingStrategy](#cfn-bedrock-datasource-chunkingconfiguration-chunkingstrategy)" : String,
  "[FixedSizeChunkingConfiguration](#cfn-bedrock-datasource-chunkingconfiguration-fixedsizechunkingconfiguration)" : FixedSizeChunkingConfiguration,
  "[HierarchicalChunkingConfiguration](#cfn-bedrock-datasource-chunkingconfiguration-hierarchicalchunkingconfiguration)" : HierarchicalChunkingConfiguration,
  "[SemanticChunkingConfiguration](#cfn-bedrock-datasource-chunkingconfiguration-semanticchunkingconfiguration)" : SemanticChunkingConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-chunkingconfiguration-syntax.yaml"></a>

```
  [ChunkingStrategy](#cfn-bedrock-datasource-chunkingconfiguration-chunkingstrategy): String
  [FixedSizeChunkingConfiguration](#cfn-bedrock-datasource-chunkingconfiguration-fixedsizechunkingconfiguration): 
    FixedSizeChunkingConfiguration
  [HierarchicalChunkingConfiguration](#cfn-bedrock-datasource-chunkingconfiguration-hierarchicalchunkingconfiguration): 
    HierarchicalChunkingConfiguration
  [SemanticChunkingConfiguration](#cfn-bedrock-datasource-chunkingconfiguration-semanticchunkingconfiguration): 
    SemanticChunkingConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-chunkingconfiguration-properties"></a>

`ChunkingStrategy`  <a name="cfn-bedrock-datasource-chunkingconfiguration-chunkingstrategy"></a>
Knowledge base can split your source data into chunks. A *chunk* refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for `NONE`, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk.  
+ `FIXED_SIZE` – Amazon Bedrock splits your source data into chunks of the approximate size that you set in the `fixedSizeChunkingConfiguration`.
+ `HIERARCHICAL` – Split documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.
+ `SEMANTIC` – Split documents into chunks based on groups of similar content derived with natural language processing.
+ `NONE` – Amazon Bedrock treats each file as one chunk. If you choose this option, you may want to pre-process your documents by splitting them into separate files.
*Required*: Yes  
*Type*: String  
*Allowed values*: `FIXED_SIZE | NONE | HIERARCHICAL | SEMANTIC`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`FixedSizeChunkingConfiguration`  <a name="cfn-bedrock-datasource-chunkingconfiguration-fixedsizechunkingconfiguration"></a>
Configurations for when you choose fixed-size chunking. If you set the `chunkingStrategy` as `NONE`, exclude this field.  
*Required*: No  
*Type*: [FixedSizeChunkingConfiguration](aws-properties-bedrock-datasource-fixedsizechunkingconfiguration.md)  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`HierarchicalChunkingConfiguration`  <a name="cfn-bedrock-datasource-chunkingconfiguration-hierarchicalchunkingconfiguration"></a>
Settings for hierarchical document chunking for a data source. Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.  
*Required*: No  
*Type*: [HierarchicalChunkingConfiguration](aws-properties-bedrock-datasource-hierarchicalchunkingconfiguration.md)  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`SemanticChunkingConfiguration`  <a name="cfn-bedrock-datasource-chunkingconfiguration-semanticchunkingconfiguration"></a>
Settings for semantic document chunking for a data source. Semantic chunking splits a document into into smaller documents based on groups of similar content derived from the text with natural language processing.  
*Required*: No  
*Type*: [SemanticChunkingConfiguration](aws-properties-bedrock-datasource-semanticchunkingconfiguration.md)  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

# AWS::Bedrock::DataSource ConfluenceCrawlerConfiguration
<a name="aws-properties-bedrock-datasource-confluencecrawlerconfiguration"></a>

The configuration of the Confluence content. For example, configuring specific types of Confluence content.

## Syntax
<a name="aws-properties-bedrock-datasource-confluencecrawlerconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-confluencecrawlerconfiguration-syntax.json"></a>

```
{
  "[FilterConfiguration](#cfn-bedrock-datasource-confluencecrawlerconfiguration-filterconfiguration)" : CrawlFilterConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-confluencecrawlerconfiguration-syntax.yaml"></a>

```
  [FilterConfiguration](#cfn-bedrock-datasource-confluencecrawlerconfiguration-filterconfiguration): 
    CrawlFilterConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-confluencecrawlerconfiguration-properties"></a>

`FilterConfiguration`  <a name="cfn-bedrock-datasource-confluencecrawlerconfiguration-filterconfiguration"></a>
The configuration of filtering the Confluence content. For example, configuring regular expression patterns to include or exclude certain content.  
*Required*: No  
*Type*: [CrawlFilterConfiguration](aws-properties-bedrock-datasource-crawlfilterconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource ConfluenceDataSourceConfiguration
<a name="aws-properties-bedrock-datasource-confluencedatasourceconfiguration"></a>

The configuration information to connect to Confluence as your data source.

## Syntax
<a name="aws-properties-bedrock-datasource-confluencedatasourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-confluencedatasourceconfiguration-syntax.json"></a>

```
{
  "[CrawlerConfiguration](#cfn-bedrock-datasource-confluencedatasourceconfiguration-crawlerconfiguration)" : ConfluenceCrawlerConfiguration,
  "[SourceConfiguration](#cfn-bedrock-datasource-confluencedatasourceconfiguration-sourceconfiguration)" : ConfluenceSourceConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-confluencedatasourceconfiguration-syntax.yaml"></a>

```
  [CrawlerConfiguration](#cfn-bedrock-datasource-confluencedatasourceconfiguration-crawlerconfiguration): 
    ConfluenceCrawlerConfiguration
  [SourceConfiguration](#cfn-bedrock-datasource-confluencedatasourceconfiguration-sourceconfiguration): 
    ConfluenceSourceConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-confluencedatasourceconfiguration-properties"></a>

`CrawlerConfiguration`  <a name="cfn-bedrock-datasource-confluencedatasourceconfiguration-crawlerconfiguration"></a>
The configuration of the Confluence content. For example, configuring specific types of Confluence content.  
*Required*: No  
*Type*: [ConfluenceCrawlerConfiguration](aws-properties-bedrock-datasource-confluencecrawlerconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceConfiguration`  <a name="cfn-bedrock-datasource-confluencedatasourceconfiguration-sourceconfiguration"></a>
The endpoint information to connect to your Confluence data source.  
*Required*: Yes  
*Type*: [ConfluenceSourceConfiguration](aws-properties-bedrock-datasource-confluencesourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource ConfluenceSourceConfiguration
<a name="aws-properties-bedrock-datasource-confluencesourceconfiguration"></a>

The endpoint information to connect to your Confluence data source.

## Syntax
<a name="aws-properties-bedrock-datasource-confluencesourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-confluencesourceconfiguration-syntax.json"></a>

```
{
  "[AuthType](#cfn-bedrock-datasource-confluencesourceconfiguration-authtype)" : String,
  "[CredentialsSecretArn](#cfn-bedrock-datasource-confluencesourceconfiguration-credentialssecretarn)" : String,
  "[HostType](#cfn-bedrock-datasource-confluencesourceconfiguration-hosttype)" : String,
  "[HostUrl](#cfn-bedrock-datasource-confluencesourceconfiguration-hosturl)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-confluencesourceconfiguration-syntax.yaml"></a>

```
  [AuthType](#cfn-bedrock-datasource-confluencesourceconfiguration-authtype): String
  [CredentialsSecretArn](#cfn-bedrock-datasource-confluencesourceconfiguration-credentialssecretarn): String
  [HostType](#cfn-bedrock-datasource-confluencesourceconfiguration-hosttype): String
  [HostUrl](#cfn-bedrock-datasource-confluencesourceconfiguration-hosturl): String
```

## Properties
<a name="aws-properties-bedrock-datasource-confluencesourceconfiguration-properties"></a>

`AuthType`  <a name="cfn-bedrock-datasource-confluencesourceconfiguration-authtype"></a>
The supported authentication type to authenticate and connect to your Confluence instance.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `BASIC | OAUTH2_CLIENT_CREDENTIALS`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CredentialsSecretArn`  <a name="cfn-bedrock-datasource-confluencesourceconfiguration-credentialssecretarn"></a>
The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your Confluence instance URL. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see [Confluence connection configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/confluence-data-source-connector.html#configuration-confluence-connector).  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`HostType`  <a name="cfn-bedrock-datasource-confluencesourceconfiguration-hosttype"></a>
The supported host type, whether online/cloud or server/on-premises.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `SAAS`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`HostUrl`  <a name="cfn-bedrock-datasource-confluencesourceconfiguration-hosturl"></a>
The Confluence host URL or instance URL.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^https://[A-Za-z0-9][^\s]*$`  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource ContextEnrichmentConfiguration
<a name="aws-properties-bedrock-datasource-contextenrichmentconfiguration"></a>

Context enrichment configuration is used to provide additional context to the RAG application.

## Syntax
<a name="aws-properties-bedrock-datasource-contextenrichmentconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-contextenrichmentconfiguration-syntax.json"></a>

```
{
  "[BedrockFoundationModelConfiguration](#cfn-bedrock-datasource-contextenrichmentconfiguration-bedrockfoundationmodelconfiguration)" : BedrockFoundationModelContextEnrichmentConfiguration,
  "[Type](#cfn-bedrock-datasource-contextenrichmentconfiguration-type)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-contextenrichmentconfiguration-syntax.yaml"></a>

```
  [BedrockFoundationModelConfiguration](#cfn-bedrock-datasource-contextenrichmentconfiguration-bedrockfoundationmodelconfiguration): 
    BedrockFoundationModelContextEnrichmentConfiguration
  [Type](#cfn-bedrock-datasource-contextenrichmentconfiguration-type): String
```

## Properties
<a name="aws-properties-bedrock-datasource-contextenrichmentconfiguration-properties"></a>

`BedrockFoundationModelConfiguration`  <a name="cfn-bedrock-datasource-contextenrichmentconfiguration-bedrockfoundationmodelconfiguration"></a>
The configuration of the Amazon Bedrock foundation model used for context enrichment.  
*Required*: No  
*Type*: [BedrockFoundationModelContextEnrichmentConfiguration](aws-properties-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Type`  <a name="cfn-bedrock-datasource-contextenrichmentconfiguration-type"></a>
The method used for context enrichment. It must be Amazon Bedrock foundation models.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `BEDROCK_FOUNDATION_MODEL`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource CrawlFilterConfiguration
<a name="aws-properties-bedrock-datasource-crawlfilterconfiguration"></a>

The configuration of filtering the data source content. For example, configuring regular expression patterns to include or exclude certain content.

## Syntax
<a name="aws-properties-bedrock-datasource-crawlfilterconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-crawlfilterconfiguration-syntax.json"></a>

```
{
  "[PatternObjectFilter](#cfn-bedrock-datasource-crawlfilterconfiguration-patternobjectfilter)" : PatternObjectFilterConfiguration,
  "[Type](#cfn-bedrock-datasource-crawlfilterconfiguration-type)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-crawlfilterconfiguration-syntax.yaml"></a>

```
  [PatternObjectFilter](#cfn-bedrock-datasource-crawlfilterconfiguration-patternobjectfilter): 
    PatternObjectFilterConfiguration
  [Type](#cfn-bedrock-datasource-crawlfilterconfiguration-type): String
```

## Properties
<a name="aws-properties-bedrock-datasource-crawlfilterconfiguration-properties"></a>

`PatternObjectFilter`  <a name="cfn-bedrock-datasource-crawlfilterconfiguration-patternobjectfilter"></a>
The configuration of filtering certain objects or content types of the data source.  
*Required*: No  
*Type*: [PatternObjectFilterConfiguration](aws-properties-bedrock-datasource-patternobjectfilterconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Type`  <a name="cfn-bedrock-datasource-crawlfilterconfiguration-type"></a>
The type of filtering that you want to apply to certain objects or content of the data source. For example, the `PATTERN` type is regular expression patterns you can apply to filter your content.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `PATTERN`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource CustomTransformationConfiguration
<a name="aws-properties-bedrock-datasource-customtransformationconfiguration"></a>

Settings for customizing steps in the data source content ingestion pipeline.

You can configure the data source to process documents with a Lambda function after they are parsed and converted into chunks. When you add a post-chunking transformation, the service stores chunked documents in an S3 bucket and invokes a Lambda function to process them.

To process chunked documents with a Lambda function, define an S3 bucket path for input and output objects, and a transformation that specifies the Lambda function to invoke. You can use the Lambda function to customize how chunks are split, and the metadata for each chunk. 

## Syntax
<a name="aws-properties-bedrock-datasource-customtransformationconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-customtransformationconfiguration-syntax.json"></a>

```
{
  "[IntermediateStorage](#cfn-bedrock-datasource-customtransformationconfiguration-intermediatestorage)" : IntermediateStorage,
  "[Transformations](#cfn-bedrock-datasource-customtransformationconfiguration-transformations)" : [ Transformation, ... ]
}
```

### YAML
<a name="aws-properties-bedrock-datasource-customtransformationconfiguration-syntax.yaml"></a>

```
  [IntermediateStorage](#cfn-bedrock-datasource-customtransformationconfiguration-intermediatestorage): 
    IntermediateStorage
  [Transformations](#cfn-bedrock-datasource-customtransformationconfiguration-transformations): 
    - Transformation
```

## Properties
<a name="aws-properties-bedrock-datasource-customtransformationconfiguration-properties"></a>

`IntermediateStorage`  <a name="cfn-bedrock-datasource-customtransformationconfiguration-intermediatestorage"></a>
An S3 bucket path for input and output objects.  
*Required*: Yes  
*Type*: [IntermediateStorage](aws-properties-bedrock-datasource-intermediatestorage.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Transformations`  <a name="cfn-bedrock-datasource-customtransformationconfiguration-transformations"></a>
A Lambda function that processes documents.  
*Required*: Yes  
*Type*: Array of [Transformation](aws-properties-bedrock-datasource-transformation.md)  
*Minimum*: `1`  
*Maximum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource DataSourceConfiguration
<a name="aws-properties-bedrock-datasource-datasourceconfiguration"></a>

The connection configuration for the data source.

## Syntax
<a name="aws-properties-bedrock-datasource-datasourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-datasourceconfiguration-syntax.json"></a>

```
{
  "[ConfluenceConfiguration](#cfn-bedrock-datasource-datasourceconfiguration-confluenceconfiguration)" : ConfluenceDataSourceConfiguration,
  "[S3Configuration](#cfn-bedrock-datasource-datasourceconfiguration-s3configuration)" : S3DataSourceConfiguration,
  "[SalesforceConfiguration](#cfn-bedrock-datasource-datasourceconfiguration-salesforceconfiguration)" : SalesforceDataSourceConfiguration,
  "[SharePointConfiguration](#cfn-bedrock-datasource-datasourceconfiguration-sharepointconfiguration)" : SharePointDataSourceConfiguration,
  "[Type](#cfn-bedrock-datasource-datasourceconfiguration-type)" : String,
  "[WebConfiguration](#cfn-bedrock-datasource-datasourceconfiguration-webconfiguration)" : WebDataSourceConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-datasourceconfiguration-syntax.yaml"></a>

```
  [ConfluenceConfiguration](#cfn-bedrock-datasource-datasourceconfiguration-confluenceconfiguration): 
    ConfluenceDataSourceConfiguration
  [S3Configuration](#cfn-bedrock-datasource-datasourceconfiguration-s3configuration): 
    S3DataSourceConfiguration
  [SalesforceConfiguration](#cfn-bedrock-datasource-datasourceconfiguration-salesforceconfiguration): 
    SalesforceDataSourceConfiguration
  [SharePointConfiguration](#cfn-bedrock-datasource-datasourceconfiguration-sharepointconfiguration): 
    SharePointDataSourceConfiguration
  [Type](#cfn-bedrock-datasource-datasourceconfiguration-type): String
  [WebConfiguration](#cfn-bedrock-datasource-datasourceconfiguration-webconfiguration): 
    WebDataSourceConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-datasourceconfiguration-properties"></a>

`ConfluenceConfiguration`  <a name="cfn-bedrock-datasource-datasourceconfiguration-confluenceconfiguration"></a>
The configuration information to connect to Confluence as your data source.  
Confluence data source connector is in preview release and is subject to change.
*Required*: No  
*Type*: [ConfluenceDataSourceConfiguration](aws-properties-bedrock-datasource-confluencedatasourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`S3Configuration`  <a name="cfn-bedrock-datasource-datasourceconfiguration-s3configuration"></a>
The configuration information to connect to Amazon S3 as your data source.  
*Required*: No  
*Type*: [S3DataSourceConfiguration](aws-properties-bedrock-datasource-s3datasourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SalesforceConfiguration`  <a name="cfn-bedrock-datasource-datasourceconfiguration-salesforceconfiguration"></a>
The configuration information to connect to Salesforce as your data source.  
Salesforce data source connector is in preview release and is subject to change.
*Required*: No  
*Type*: [SalesforceDataSourceConfiguration](aws-properties-bedrock-datasource-salesforcedatasourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SharePointConfiguration`  <a name="cfn-bedrock-datasource-datasourceconfiguration-sharepointconfiguration"></a>
The configuration information to connect to SharePoint as your data source.  
SharePoint data source connector is in preview release and is subject to change.
*Required*: No  
*Type*: [SharePointDataSourceConfiguration](aws-properties-bedrock-datasource-sharepointdatasourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Type`  <a name="cfn-bedrock-datasource-datasourceconfiguration-type"></a>
The type of data source.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `S3 | CONFLUENCE | SALESFORCE | SHAREPOINT | WEB | CUSTOM | REDSHIFT_METADATA`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`WebConfiguration`  <a name="cfn-bedrock-datasource-datasourceconfiguration-webconfiguration"></a>
The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs.  
Crawling web URLs as your data source is in preview release and is subject to change.
*Required*: No  
*Type*: [WebDataSourceConfiguration](aws-properties-bedrock-datasource-webdatasourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource EnrichmentStrategyConfiguration
<a name="aws-properties-bedrock-datasource-enrichmentstrategyconfiguration"></a>

The strategy used for performing context enrichment.

## Syntax
<a name="aws-properties-bedrock-datasource-enrichmentstrategyconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-enrichmentstrategyconfiguration-syntax.json"></a>

```
{
  "[Method](#cfn-bedrock-datasource-enrichmentstrategyconfiguration-method)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-enrichmentstrategyconfiguration-syntax.yaml"></a>

```
  [Method](#cfn-bedrock-datasource-enrichmentstrategyconfiguration-method): String
```

## Properties
<a name="aws-properties-bedrock-datasource-enrichmentstrategyconfiguration-properties"></a>

`Method`  <a name="cfn-bedrock-datasource-enrichmentstrategyconfiguration-method"></a>
The method used for the context enrichment strategy.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `CHUNK_ENTITY_EXTRACTION`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource FixedSizeChunkingConfiguration
<a name="aws-properties-bedrock-datasource-fixedsizechunkingconfiguration"></a>

Configurations for when you choose fixed-size chunking. If you set the `chunkingStrategy` as `NONE`, exclude this field.

## Syntax
<a name="aws-properties-bedrock-datasource-fixedsizechunkingconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-fixedsizechunkingconfiguration-syntax.json"></a>

```
{
  "[MaxTokens](#cfn-bedrock-datasource-fixedsizechunkingconfiguration-maxtokens)" : Integer,
  "[OverlapPercentage](#cfn-bedrock-datasource-fixedsizechunkingconfiguration-overlappercentage)" : Integer
}
```

### YAML
<a name="aws-properties-bedrock-datasource-fixedsizechunkingconfiguration-syntax.yaml"></a>

```
  [MaxTokens](#cfn-bedrock-datasource-fixedsizechunkingconfiguration-maxtokens): Integer
  [OverlapPercentage](#cfn-bedrock-datasource-fixedsizechunkingconfiguration-overlappercentage): Integer
```

## Properties
<a name="aws-properties-bedrock-datasource-fixedsizechunkingconfiguration-properties"></a>

`MaxTokens`  <a name="cfn-bedrock-datasource-fixedsizechunkingconfiguration-maxtokens"></a>
The maximum number of tokens to include in a chunk.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `1`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`OverlapPercentage`  <a name="cfn-bedrock-datasource-fixedsizechunkingconfiguration-overlappercentage"></a>
The percentage of overlap between adjacent chunks of a data source.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `1`  
*Maximum*: `99`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

# AWS::Bedrock::DataSource HierarchicalChunkingConfiguration
<a name="aws-properties-bedrock-datasource-hierarchicalchunkingconfiguration"></a>

Settings for hierarchical document chunking for a data source. Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.

You configure the number of tokens to overlap, or repeat across adjacent chunks. For example, if you set overlap tokens to 60, the last 60 tokens in the first chunk are also included at the beginning of the second chunk. For each layer, you must also configure the maximum number of tokens in a chunk.

## Syntax
<a name="aws-properties-bedrock-datasource-hierarchicalchunkingconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-hierarchicalchunkingconfiguration-syntax.json"></a>

```
{
  "[LevelConfigurations](#cfn-bedrock-datasource-hierarchicalchunkingconfiguration-levelconfigurations)" : [ HierarchicalChunkingLevelConfiguration, ... ],
  "[OverlapTokens](#cfn-bedrock-datasource-hierarchicalchunkingconfiguration-overlaptokens)" : Integer
}
```

### YAML
<a name="aws-properties-bedrock-datasource-hierarchicalchunkingconfiguration-syntax.yaml"></a>

```
  [LevelConfigurations](#cfn-bedrock-datasource-hierarchicalchunkingconfiguration-levelconfigurations): 
    - HierarchicalChunkingLevelConfiguration
  [OverlapTokens](#cfn-bedrock-datasource-hierarchicalchunkingconfiguration-overlaptokens): Integer
```

## Properties
<a name="aws-properties-bedrock-datasource-hierarchicalchunkingconfiguration-properties"></a>

`LevelConfigurations`  <a name="cfn-bedrock-datasource-hierarchicalchunkingconfiguration-levelconfigurations"></a>
Token settings for each layer.  
*Required*: Yes  
*Type*: Array of [HierarchicalChunkingLevelConfiguration](aws-properties-bedrock-datasource-hierarchicalchunkinglevelconfiguration.md)  
*Minimum*: `2`  
*Maximum*: `2`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`OverlapTokens`  <a name="cfn-bedrock-datasource-hierarchicalchunkingconfiguration-overlaptokens"></a>
The number of tokens to repeat across chunks in the same layer.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `1`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

# AWS::Bedrock::DataSource HierarchicalChunkingLevelConfiguration
<a name="aws-properties-bedrock-datasource-hierarchicalchunkinglevelconfiguration"></a>

Token settings for a layer in a hierarchical chunking configuration.

## Syntax
<a name="aws-properties-bedrock-datasource-hierarchicalchunkinglevelconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-hierarchicalchunkinglevelconfiguration-syntax.json"></a>

```
{
  "[MaxTokens](#cfn-bedrock-datasource-hierarchicalchunkinglevelconfiguration-maxtokens)" : Integer
}
```

### YAML
<a name="aws-properties-bedrock-datasource-hierarchicalchunkinglevelconfiguration-syntax.yaml"></a>

```
  [MaxTokens](#cfn-bedrock-datasource-hierarchicalchunkinglevelconfiguration-maxtokens): Integer
```

## Properties
<a name="aws-properties-bedrock-datasource-hierarchicalchunkinglevelconfiguration-properties"></a>

`MaxTokens`  <a name="cfn-bedrock-datasource-hierarchicalchunkinglevelconfiguration-maxtokens"></a>
The maximum number of tokens that a chunk can contain in this layer.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `1`  
*Maximum*: `8192`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

# AWS::Bedrock::DataSource IntermediateStorage
<a name="aws-properties-bedrock-datasource-intermediatestorage"></a>

A location for storing content from data sources temporarily as it is processed by custom components in the ingestion pipeline.

## Syntax
<a name="aws-properties-bedrock-datasource-intermediatestorage-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-intermediatestorage-syntax.json"></a>

```
{
  "[S3Location](#cfn-bedrock-datasource-intermediatestorage-s3location)" : S3Location
}
```

### YAML
<a name="aws-properties-bedrock-datasource-intermediatestorage-syntax.yaml"></a>

```
  [S3Location](#cfn-bedrock-datasource-intermediatestorage-s3location): 
    S3Location
```

## Properties
<a name="aws-properties-bedrock-datasource-intermediatestorage-properties"></a>

`S3Location`  <a name="cfn-bedrock-datasource-intermediatestorage-s3location"></a>
An S3 bucket path.  
*Required*: Yes  
*Type*: [S3Location](aws-properties-bedrock-datasource-s3location.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource ParsingConfiguration
<a name="aws-properties-bedrock-datasource-parsingconfiguration"></a>

Settings for parsing document contents. If you exclude this field, the default parser converts the contents of each document into text before splitting it into chunks. Specify the parsing strategy to use in the `parsingStrategy` field and include the relevant configuration, or omit it to use the Amazon Bedrock default parser. For more information, see [Parsing options for your data source](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-advanced-parsing.html).

**Note**  
If you specify `BEDROCK_DATA_AUTOMATION` or `BEDROCK_FOUNDATION_MODEL` and it fails to parse a file, the Amazon Bedrock default parser will be used instead.

## Syntax
<a name="aws-properties-bedrock-datasource-parsingconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-parsingconfiguration-syntax.json"></a>

```
{
  "[BedrockDataAutomationConfiguration](#cfn-bedrock-datasource-parsingconfiguration-bedrockdataautomationconfiguration)" : BedrockDataAutomationConfiguration,
  "[BedrockFoundationModelConfiguration](#cfn-bedrock-datasource-parsingconfiguration-bedrockfoundationmodelconfiguration)" : BedrockFoundationModelConfiguration,
  "[ParsingStrategy](#cfn-bedrock-datasource-parsingconfiguration-parsingstrategy)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-parsingconfiguration-syntax.yaml"></a>

```
  [BedrockDataAutomationConfiguration](#cfn-bedrock-datasource-parsingconfiguration-bedrockdataautomationconfiguration): 
    BedrockDataAutomationConfiguration
  [BedrockFoundationModelConfiguration](#cfn-bedrock-datasource-parsingconfiguration-bedrockfoundationmodelconfiguration): 
    BedrockFoundationModelConfiguration
  [ParsingStrategy](#cfn-bedrock-datasource-parsingconfiguration-parsingstrategy): String
```

## Properties
<a name="aws-properties-bedrock-datasource-parsingconfiguration-properties"></a>

`BedrockDataAutomationConfiguration`  <a name="cfn-bedrock-datasource-parsingconfiguration-bedrockdataautomationconfiguration"></a>
If you specify `BEDROCK_DATA_AUTOMATION` as the parsing strategy for ingesting your data source, use this object to modify configurations for using the Amazon Bedrock Data Automation parser.  
*Required*: No  
*Type*: [BedrockDataAutomationConfiguration](aws-properties-bedrock-datasource-bedrockdataautomationconfiguration.md)  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`BedrockFoundationModelConfiguration`  <a name="cfn-bedrock-datasource-parsingconfiguration-bedrockfoundationmodelconfiguration"></a>
If you specify `BEDROCK_FOUNDATION_MODEL` as the parsing strategy for ingesting your data source, use this object to modify configurations for using a foundation model to parse documents.  
*Required*: No  
*Type*: [BedrockFoundationModelConfiguration](aws-properties-bedrock-datasource-bedrockfoundationmodelconfiguration.md)  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ParsingStrategy`  <a name="cfn-bedrock-datasource-parsingconfiguration-parsingstrategy"></a>
The parsing strategy for the data source.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `BEDROCK_FOUNDATION_MODEL | BEDROCK_DATA_AUTOMATION`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

# AWS::Bedrock::DataSource ParsingPrompt
<a name="aws-properties-bedrock-datasource-parsingprompt"></a>

Instructions for interpreting the contents of a document.

## Syntax
<a name="aws-properties-bedrock-datasource-parsingprompt-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-parsingprompt-syntax.json"></a>

```
{
  "[ParsingPromptText](#cfn-bedrock-datasource-parsingprompt-parsingprompttext)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-parsingprompt-syntax.yaml"></a>

```
  [ParsingPromptText](#cfn-bedrock-datasource-parsingprompt-parsingprompttext): String
```

## Properties
<a name="aws-properties-bedrock-datasource-parsingprompt-properties"></a>

`ParsingPromptText`  <a name="cfn-bedrock-datasource-parsingprompt-parsingprompttext"></a>
Instructions for interpreting the contents of a document.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `10000`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

# AWS::Bedrock::DataSource PatternObjectFilter
<a name="aws-properties-bedrock-datasource-patternobjectfilter"></a>

The specific filters applied to your data source content. You can filter out or include certain content.

## Syntax
<a name="aws-properties-bedrock-datasource-patternobjectfilter-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-patternobjectfilter-syntax.json"></a>

```
{
  "[ExclusionFilters](#cfn-bedrock-datasource-patternobjectfilter-exclusionfilters)" : [ String, ... ],
  "[InclusionFilters](#cfn-bedrock-datasource-patternobjectfilter-inclusionfilters)" : [ String, ... ],
  "[ObjectType](#cfn-bedrock-datasource-patternobjectfilter-objecttype)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-patternobjectfilter-syntax.yaml"></a>

```
  [ExclusionFilters](#cfn-bedrock-datasource-patternobjectfilter-exclusionfilters): 
    - String
  [InclusionFilters](#cfn-bedrock-datasource-patternobjectfilter-inclusionfilters): 
    - String
  [ObjectType](#cfn-bedrock-datasource-patternobjectfilter-objecttype): String
```

## Properties
<a name="aws-properties-bedrock-datasource-patternobjectfilter-properties"></a>

`ExclusionFilters`  <a name="cfn-bedrock-datasource-patternobjectfilter-exclusionfilters"></a>
A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.  
*Required*: No  
*Type*: Array of String  
*Minimum*: `1`  
*Maximum*: `1000 | 25`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InclusionFilters`  <a name="cfn-bedrock-datasource-patternobjectfilter-inclusionfilters"></a>
A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.  
*Required*: No  
*Type*: Array of String  
*Minimum*: `1`  
*Maximum*: `1000 | 25`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ObjectType`  <a name="cfn-bedrock-datasource-patternobjectfilter-objecttype"></a>
The supported object type or content type of the data source.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `50`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource PatternObjectFilterConfiguration
<a name="aws-properties-bedrock-datasource-patternobjectfilterconfiguration"></a>

The configuration of filtering certain objects or content types of the data source.

## Syntax
<a name="aws-properties-bedrock-datasource-patternobjectfilterconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-patternobjectfilterconfiguration-syntax.json"></a>

```
{
  "[Filters](#cfn-bedrock-datasource-patternobjectfilterconfiguration-filters)" : [ PatternObjectFilter, ... ]
}
```

### YAML
<a name="aws-properties-bedrock-datasource-patternobjectfilterconfiguration-syntax.yaml"></a>

```
  [Filters](#cfn-bedrock-datasource-patternobjectfilterconfiguration-filters): 
    - PatternObjectFilter
```

## Properties
<a name="aws-properties-bedrock-datasource-patternobjectfilterconfiguration-properties"></a>

`Filters`  <a name="cfn-bedrock-datasource-patternobjectfilterconfiguration-filters"></a>
The configuration of specific filters applied to your data source content. You can filter out or include certain content.  
*Required*: Yes  
*Type*: Array of [PatternObjectFilter](aws-properties-bedrock-datasource-patternobjectfilter.md)  
*Minimum*: `1`  
*Maximum*: `25`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource S3DataSourceConfiguration
<a name="aws-properties-bedrock-datasource-s3datasourceconfiguration"></a>

The configuration information to connect to Amazon S3 as your data source.

## Syntax
<a name="aws-properties-bedrock-datasource-s3datasourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-s3datasourceconfiguration-syntax.json"></a>

```
{
  "[BucketArn](#cfn-bedrock-datasource-s3datasourceconfiguration-bucketarn)" : String,
  "[BucketOwnerAccountId](#cfn-bedrock-datasource-s3datasourceconfiguration-bucketowneraccountid)" : String,
  "[InclusionPrefixes](#cfn-bedrock-datasource-s3datasourceconfiguration-inclusionprefixes)" : [ String, ... ]
}
```

### YAML
<a name="aws-properties-bedrock-datasource-s3datasourceconfiguration-syntax.yaml"></a>

```
  [BucketArn](#cfn-bedrock-datasource-s3datasourceconfiguration-bucketarn): String
  [BucketOwnerAccountId](#cfn-bedrock-datasource-s3datasourceconfiguration-bucketowneraccountid): String
  [InclusionPrefixes](#cfn-bedrock-datasource-s3datasourceconfiguration-inclusionprefixes): 
    - String
```

## Properties
<a name="aws-properties-bedrock-datasource-s3datasourceconfiguration-properties"></a>

`BucketArn`  <a name="cfn-bedrock-datasource-s3datasourceconfiguration-bucketarn"></a>
The Amazon Resource Name (ARN) of the S3 bucket that contains your data.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:s3:::[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$`  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`BucketOwnerAccountId`  <a name="cfn-bedrock-datasource-s3datasourceconfiguration-bucketowneraccountid"></a>
The account ID for the owner of the S3 bucket.  
*Required*: No  
*Type*: String  
*Pattern*: `^[0-9]{12}$`  
*Minimum*: `12`  
*Maximum*: `12`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InclusionPrefixes`  <a name="cfn-bedrock-datasource-s3datasourceconfiguration-inclusionprefixes"></a>
A list of S3 prefixes to include certain files or content. This field is an array with a maximum of one item, which can contain a string that has a maximum length of 300 characters. For more information, see [Organizing objects using prefixes](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html).  
*Required*: No  
*Type*: Array of String  
*Minimum*: `1 | 1`  
*Maximum*: `300 | 1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource S3Location
<a name="aws-properties-bedrock-datasource-s3location"></a>

A storage location in an Amazon S3 bucket.

## Syntax
<a name="aws-properties-bedrock-datasource-s3location-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-s3location-syntax.json"></a>

```
{
  "[URI](#cfn-bedrock-datasource-s3location-uri)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-s3location-syntax.yaml"></a>

```
  [URI](#cfn-bedrock-datasource-s3location-uri): String
```

## Properties
<a name="aws-properties-bedrock-datasource-s3location-properties"></a>

`URI`  <a name="cfn-bedrock-datasource-s3location-uri"></a>
An object URI starting with `s3://`.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^s3://.{1,128}$`  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource SalesforceCrawlerConfiguration
<a name="aws-properties-bedrock-datasource-salesforcecrawlerconfiguration"></a>

The configuration of the Salesforce content. For example, configuring specific types of Salesforce content.

## Syntax
<a name="aws-properties-bedrock-datasource-salesforcecrawlerconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-salesforcecrawlerconfiguration-syntax.json"></a>

```
{
  "[FilterConfiguration](#cfn-bedrock-datasource-salesforcecrawlerconfiguration-filterconfiguration)" : CrawlFilterConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-salesforcecrawlerconfiguration-syntax.yaml"></a>

```
  [FilterConfiguration](#cfn-bedrock-datasource-salesforcecrawlerconfiguration-filterconfiguration): 
    CrawlFilterConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-salesforcecrawlerconfiguration-properties"></a>

`FilterConfiguration`  <a name="cfn-bedrock-datasource-salesforcecrawlerconfiguration-filterconfiguration"></a>
The configuration of filtering the Salesforce content. For example, configuring regular expression patterns to include or exclude certain content.  
*Required*: No  
*Type*: [CrawlFilterConfiguration](aws-properties-bedrock-datasource-crawlfilterconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource SalesforceDataSourceConfiguration
<a name="aws-properties-bedrock-datasource-salesforcedatasourceconfiguration"></a>

The configuration information to connect to Salesforce as your data source.

## Syntax
<a name="aws-properties-bedrock-datasource-salesforcedatasourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-salesforcedatasourceconfiguration-syntax.json"></a>

```
{
  "[CrawlerConfiguration](#cfn-bedrock-datasource-salesforcedatasourceconfiguration-crawlerconfiguration)" : SalesforceCrawlerConfiguration,
  "[SourceConfiguration](#cfn-bedrock-datasource-salesforcedatasourceconfiguration-sourceconfiguration)" : SalesforceSourceConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-salesforcedatasourceconfiguration-syntax.yaml"></a>

```
  [CrawlerConfiguration](#cfn-bedrock-datasource-salesforcedatasourceconfiguration-crawlerconfiguration): 
    SalesforceCrawlerConfiguration
  [SourceConfiguration](#cfn-bedrock-datasource-salesforcedatasourceconfiguration-sourceconfiguration): 
    SalesforceSourceConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-salesforcedatasourceconfiguration-properties"></a>

`CrawlerConfiguration`  <a name="cfn-bedrock-datasource-salesforcedatasourceconfiguration-crawlerconfiguration"></a>
The configuration of the Salesforce content. For example, configuring specific types of Salesforce content.  
*Required*: No  
*Type*: [SalesforceCrawlerConfiguration](aws-properties-bedrock-datasource-salesforcecrawlerconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceConfiguration`  <a name="cfn-bedrock-datasource-salesforcedatasourceconfiguration-sourceconfiguration"></a>
The endpoint information to connect to your Salesforce data source.  
*Required*: Yes  
*Type*: [SalesforceSourceConfiguration](aws-properties-bedrock-datasource-salesforcesourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource SalesforceSourceConfiguration
<a name="aws-properties-bedrock-datasource-salesforcesourceconfiguration"></a>

The endpoint information to connect to your Salesforce data source.

## Syntax
<a name="aws-properties-bedrock-datasource-salesforcesourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-salesforcesourceconfiguration-syntax.json"></a>

```
{
  "[AuthType](#cfn-bedrock-datasource-salesforcesourceconfiguration-authtype)" : String,
  "[CredentialsSecretArn](#cfn-bedrock-datasource-salesforcesourceconfiguration-credentialssecretarn)" : String,
  "[HostUrl](#cfn-bedrock-datasource-salesforcesourceconfiguration-hosturl)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-salesforcesourceconfiguration-syntax.yaml"></a>

```
  [AuthType](#cfn-bedrock-datasource-salesforcesourceconfiguration-authtype): String
  [CredentialsSecretArn](#cfn-bedrock-datasource-salesforcesourceconfiguration-credentialssecretarn): String
  [HostUrl](#cfn-bedrock-datasource-salesforcesourceconfiguration-hosturl): String
```

## Properties
<a name="aws-properties-bedrock-datasource-salesforcesourceconfiguration-properties"></a>

`AuthType`  <a name="cfn-bedrock-datasource-salesforcesourceconfiguration-authtype"></a>
The supported authentication type to authenticate and connect to your Salesforce instance.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `OAUTH2_CLIENT_CREDENTIALS`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CredentialsSecretArn`  <a name="cfn-bedrock-datasource-salesforcesourceconfiguration-credentialssecretarn"></a>
The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your Salesforce instance URL. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see [Salesforce connection configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/salesforce-data-source-connector.html#configuration-salesforce-connector).  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`HostUrl`  <a name="cfn-bedrock-datasource-salesforcesourceconfiguration-hosturl"></a>
The Salesforce host URL or instance URL.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^https://[A-Za-z0-9][^\s]*$`  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource SeedUrl
<a name="aws-properties-bedrock-datasource-seedurl"></a>

The seed or starting point URL. You should be authorized to crawl the URL.

## Syntax
<a name="aws-properties-bedrock-datasource-seedurl-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-seedurl-syntax.json"></a>

```
{
  "[Url](#cfn-bedrock-datasource-seedurl-url)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-seedurl-syntax.yaml"></a>

```
  [Url](#cfn-bedrock-datasource-seedurl-url): String
```

## Properties
<a name="aws-properties-bedrock-datasource-seedurl-properties"></a>

`Url`  <a name="cfn-bedrock-datasource-seedurl-url"></a>
A seed or starting point URL.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^https?://[A-Za-z0-9][^\s]*$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource SemanticChunkingConfiguration
<a name="aws-properties-bedrock-datasource-semanticchunkingconfiguration"></a>

Settings for semantic document chunking for a data source. Semantic chunking splits a document into into smaller documents based on groups of similar content derived from the text with natural language processing.

With semantic chunking, each sentence is compared to the next to determine how similar they are. You specify a threshold in the form of a percentile, where adjacent sentences that are less similar than that percentage of sentence pairs are divided into separate chunks. For example, if you set the threshold to 90, then the 10 percent of sentence pairs that are least similar are split. So if you have 101 sentences, 100 sentence pairs are compared, and the 10 with the least similarity are split, creating 11 chunks. These chunks are further split if they exceed the max token size.

You must also specify a buffer size, which determines whether sentences are compared in isolation, or within a moving context window that includes the previous and following sentence. For example, if you set the buffer size to `1`, the embedding for sentence 10 is derived from sentences 9, 10, and 11 combined.

## Syntax
<a name="aws-properties-bedrock-datasource-semanticchunkingconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-semanticchunkingconfiguration-syntax.json"></a>

```
{
  "[BreakpointPercentileThreshold](#cfn-bedrock-datasource-semanticchunkingconfiguration-breakpointpercentilethreshold)" : Integer,
  "[BufferSize](#cfn-bedrock-datasource-semanticchunkingconfiguration-buffersize)" : Integer,
  "[MaxTokens](#cfn-bedrock-datasource-semanticchunkingconfiguration-maxtokens)" : Integer
}
```

### YAML
<a name="aws-properties-bedrock-datasource-semanticchunkingconfiguration-syntax.yaml"></a>

```
  [BreakpointPercentileThreshold](#cfn-bedrock-datasource-semanticchunkingconfiguration-breakpointpercentilethreshold): Integer
  [BufferSize](#cfn-bedrock-datasource-semanticchunkingconfiguration-buffersize): Integer
  [MaxTokens](#cfn-bedrock-datasource-semanticchunkingconfiguration-maxtokens): Integer
```

## Properties
<a name="aws-properties-bedrock-datasource-semanticchunkingconfiguration-properties"></a>

`BreakpointPercentileThreshold`  <a name="cfn-bedrock-datasource-semanticchunkingconfiguration-breakpointpercentilethreshold"></a>
The dissimilarity threshold for splitting chunks.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `50`  
*Maximum*: `99`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`BufferSize`  <a name="cfn-bedrock-datasource-semanticchunkingconfiguration-buffersize"></a>
The buffer size.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `0`  
*Maximum*: `1`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`MaxTokens`  <a name="cfn-bedrock-datasource-semanticchunkingconfiguration-maxtokens"></a>
The maximum number of tokens that a chunk can contain.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `1`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

# AWS::Bedrock::DataSource ServerSideEncryptionConfiguration
<a name="aws-properties-bedrock-datasource-serversideencryptionconfiguration"></a>

Contains the configuration for server-side encryption.

## Syntax
<a name="aws-properties-bedrock-datasource-serversideencryptionconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-serversideencryptionconfiguration-syntax.json"></a>

```
{
  "[KmsKeyArn](#cfn-bedrock-datasource-serversideencryptionconfiguration-kmskeyarn)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-serversideencryptionconfiguration-syntax.yaml"></a>

```
  [KmsKeyArn](#cfn-bedrock-datasource-serversideencryptionconfiguration-kmskeyarn): String
```

## Properties
<a name="aws-properties-bedrock-datasource-serversideencryptionconfiguration-properties"></a>

`KmsKeyArn`  <a name="cfn-bedrock-datasource-serversideencryptionconfiguration-kmskeyarn"></a>
The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the resource.  
*Required*: No  
*Type*: String  
*Pattern*: `^arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$`  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource SharePointCrawlerConfiguration
<a name="aws-properties-bedrock-datasource-sharepointcrawlerconfiguration"></a>

The configuration of the SharePoint content. For example, configuring specific types of SharePoint content.

## Syntax
<a name="aws-properties-bedrock-datasource-sharepointcrawlerconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-sharepointcrawlerconfiguration-syntax.json"></a>

```
{
  "[FilterConfiguration](#cfn-bedrock-datasource-sharepointcrawlerconfiguration-filterconfiguration)" : CrawlFilterConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-sharepointcrawlerconfiguration-syntax.yaml"></a>

```
  [FilterConfiguration](#cfn-bedrock-datasource-sharepointcrawlerconfiguration-filterconfiguration): 
    CrawlFilterConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-sharepointcrawlerconfiguration-properties"></a>

`FilterConfiguration`  <a name="cfn-bedrock-datasource-sharepointcrawlerconfiguration-filterconfiguration"></a>
The configuration of filtering the SharePoint content. For example, configuring regular expression patterns to include or exclude certain content.  
*Required*: No  
*Type*: [CrawlFilterConfiguration](aws-properties-bedrock-datasource-crawlfilterconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource SharePointDataSourceConfiguration
<a name="aws-properties-bedrock-datasource-sharepointdatasourceconfiguration"></a>

The configuration information to connect to SharePoint as your data source.

## Syntax
<a name="aws-properties-bedrock-datasource-sharepointdatasourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-sharepointdatasourceconfiguration-syntax.json"></a>

```
{
  "[CrawlerConfiguration](#cfn-bedrock-datasource-sharepointdatasourceconfiguration-crawlerconfiguration)" : SharePointCrawlerConfiguration,
  "[SourceConfiguration](#cfn-bedrock-datasource-sharepointdatasourceconfiguration-sourceconfiguration)" : SharePointSourceConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-sharepointdatasourceconfiguration-syntax.yaml"></a>

```
  [CrawlerConfiguration](#cfn-bedrock-datasource-sharepointdatasourceconfiguration-crawlerconfiguration): 
    SharePointCrawlerConfiguration
  [SourceConfiguration](#cfn-bedrock-datasource-sharepointdatasourceconfiguration-sourceconfiguration): 
    SharePointSourceConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-sharepointdatasourceconfiguration-properties"></a>

`CrawlerConfiguration`  <a name="cfn-bedrock-datasource-sharepointdatasourceconfiguration-crawlerconfiguration"></a>
The configuration of the SharePoint content. For example, configuring specific types of SharePoint content.  
*Required*: No  
*Type*: [SharePointCrawlerConfiguration](aws-properties-bedrock-datasource-sharepointcrawlerconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceConfiguration`  <a name="cfn-bedrock-datasource-sharepointdatasourceconfiguration-sourceconfiguration"></a>
The endpoint information to connect to your SharePoint data source.  
*Required*: Yes  
*Type*: [SharePointSourceConfiguration](aws-properties-bedrock-datasource-sharepointsourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource SharePointSourceConfiguration
<a name="aws-properties-bedrock-datasource-sharepointsourceconfiguration"></a>

The endpoint information to connect to your SharePoint data source.

## Syntax
<a name="aws-properties-bedrock-datasource-sharepointsourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-sharepointsourceconfiguration-syntax.json"></a>

```
{
  "[AuthType](#cfn-bedrock-datasource-sharepointsourceconfiguration-authtype)" : String,
  "[CredentialsSecretArn](#cfn-bedrock-datasource-sharepointsourceconfiguration-credentialssecretarn)" : String,
  "[Domain](#cfn-bedrock-datasource-sharepointsourceconfiguration-domain)" : String,
  "[HostType](#cfn-bedrock-datasource-sharepointsourceconfiguration-hosttype)" : String,
  "[SiteUrls](#cfn-bedrock-datasource-sharepointsourceconfiguration-siteurls)" : [ String, ... ],
  "[TenantId](#cfn-bedrock-datasource-sharepointsourceconfiguration-tenantid)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-sharepointsourceconfiguration-syntax.yaml"></a>

```
  [AuthType](#cfn-bedrock-datasource-sharepointsourceconfiguration-authtype): String
  [CredentialsSecretArn](#cfn-bedrock-datasource-sharepointsourceconfiguration-credentialssecretarn): String
  [Domain](#cfn-bedrock-datasource-sharepointsourceconfiguration-domain): String
  [HostType](#cfn-bedrock-datasource-sharepointsourceconfiguration-hosttype): String
  [SiteUrls](#cfn-bedrock-datasource-sharepointsourceconfiguration-siteurls): 
    - String
  [TenantId](#cfn-bedrock-datasource-sharepointsourceconfiguration-tenantid): String
```

## Properties
<a name="aws-properties-bedrock-datasource-sharepointsourceconfiguration-properties"></a>

`AuthType`  <a name="cfn-bedrock-datasource-sharepointsourceconfiguration-authtype"></a>
The supported authentication type to authenticate and connect to your SharePoint site/sites.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `OAUTH2_CLIENT_CREDENTIALS | OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CredentialsSecretArn`  <a name="cfn-bedrock-datasource-sharepointsourceconfiguration-credentialssecretarn"></a>
The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see [SharePoint connection configuration](https://docs.aws.amazon.com/bedrock/latest/userguide/sharepoint-data-source-connector.html#configuration-sharepoint-connector).  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Domain`  <a name="cfn-bedrock-datasource-sharepointsourceconfiguration-domain"></a>
The domain of your SharePoint instance or site URL/URLs.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `50`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`HostType`  <a name="cfn-bedrock-datasource-sharepointsourceconfiguration-hosttype"></a>
The supported host type, whether online/cloud or server/on-premises.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `ONLINE`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SiteUrls`  <a name="cfn-bedrock-datasource-sharepointsourceconfiguration-siteurls"></a>
A list of one or more SharePoint site URLs.  
*Required*: Yes  
*Type*: Array of String  
*Minimum*: `1`  
*Maximum*: `100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TenantId`  <a name="cfn-bedrock-datasource-sharepointsourceconfiguration-tenantid"></a>
The identifier of your Microsoft 365 tenant.  
*Required*: No  
*Type*: String  
*Pattern*: `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource Transformation
<a name="aws-properties-bedrock-datasource-transformation"></a>

A custom processing step for documents moving through a data source ingestion pipeline. To process documents after they have been converted into chunks, set the step to apply to `POST_CHUNKING`.

## Syntax
<a name="aws-properties-bedrock-datasource-transformation-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-transformation-syntax.json"></a>

```
{
  "[StepToApply](#cfn-bedrock-datasource-transformation-steptoapply)" : String,
  "[TransformationFunction](#cfn-bedrock-datasource-transformation-transformationfunction)" : TransformationFunction
}
```

### YAML
<a name="aws-properties-bedrock-datasource-transformation-syntax.yaml"></a>

```
  [StepToApply](#cfn-bedrock-datasource-transformation-steptoapply): String
  [TransformationFunction](#cfn-bedrock-datasource-transformation-transformationfunction): 
    TransformationFunction
```

## Properties
<a name="aws-properties-bedrock-datasource-transformation-properties"></a>

`StepToApply`  <a name="cfn-bedrock-datasource-transformation-steptoapply"></a>
When the service applies the transformation.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `POST_CHUNKING`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TransformationFunction`  <a name="cfn-bedrock-datasource-transformation-transformationfunction"></a>
A Lambda function that processes documents.  
*Required*: Yes  
*Type*: [TransformationFunction](aws-properties-bedrock-datasource-transformationfunction.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource TransformationFunction
<a name="aws-properties-bedrock-datasource-transformationfunction"></a>

A Lambda function that processes documents.

## Syntax
<a name="aws-properties-bedrock-datasource-transformationfunction-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-transformationfunction-syntax.json"></a>

```
{
  "[TransformationLambdaConfiguration](#cfn-bedrock-datasource-transformationfunction-transformationlambdaconfiguration)" : TransformationLambdaConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-transformationfunction-syntax.yaml"></a>

```
  [TransformationLambdaConfiguration](#cfn-bedrock-datasource-transformationfunction-transformationlambdaconfiguration): 
    TransformationLambdaConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-transformationfunction-properties"></a>

`TransformationLambdaConfiguration`  <a name="cfn-bedrock-datasource-transformationfunction-transformationlambdaconfiguration"></a>
The Lambda function.  
*Required*: Yes  
*Type*: [TransformationLambdaConfiguration](aws-properties-bedrock-datasource-transformationlambdaconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource TransformationLambdaConfiguration
<a name="aws-properties-bedrock-datasource-transformationlambdaconfiguration"></a>

A Lambda function that processes documents.

## Syntax
<a name="aws-properties-bedrock-datasource-transformationlambdaconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-transformationlambdaconfiguration-syntax.json"></a>

```
{
  "[LambdaArn](#cfn-bedrock-datasource-transformationlambdaconfiguration-lambdaarn)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-transformationlambdaconfiguration-syntax.yaml"></a>

```
  [LambdaArn](#cfn-bedrock-datasource-transformationlambdaconfiguration-lambdaarn): String
```

## Properties
<a name="aws-properties-bedrock-datasource-transformationlambdaconfiguration-properties"></a>

`LambdaArn`  <a name="cfn-bedrock-datasource-transformationlambdaconfiguration-lambdaarn"></a>
The function's ARN identifier.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_\.]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$`  
*Minimum*: `0`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource UrlConfiguration
<a name="aws-properties-bedrock-datasource-urlconfiguration"></a>

The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs.

## Syntax
<a name="aws-properties-bedrock-datasource-urlconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-urlconfiguration-syntax.json"></a>

```
{
  "[SeedUrls](#cfn-bedrock-datasource-urlconfiguration-seedurls)" : [ SeedUrl, ... ]
}
```

### YAML
<a name="aws-properties-bedrock-datasource-urlconfiguration-syntax.yaml"></a>

```
  [SeedUrls](#cfn-bedrock-datasource-urlconfiguration-seedurls): 
    - SeedUrl
```

## Properties
<a name="aws-properties-bedrock-datasource-urlconfiguration-properties"></a>

`SeedUrls`  <a name="cfn-bedrock-datasource-urlconfiguration-seedurls"></a>
One or more seed or starting point URLs.  
*Required*: Yes  
*Type*: Array of [SeedUrl](aws-properties-bedrock-datasource-seedurl.md)  
*Minimum*: `1`  
*Maximum*: `100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource VectorIngestionConfiguration
<a name="aws-properties-bedrock-datasource-vectoringestionconfiguration"></a>

Contains details about how to ingest the documents in a data source.

## Syntax
<a name="aws-properties-bedrock-datasource-vectoringestionconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-vectoringestionconfiguration-syntax.json"></a>

```
{
  "[ChunkingConfiguration](#cfn-bedrock-datasource-vectoringestionconfiguration-chunkingconfiguration)" : ChunkingConfiguration,
  "[ContextEnrichmentConfiguration](#cfn-bedrock-datasource-vectoringestionconfiguration-contextenrichmentconfiguration)" : ContextEnrichmentConfiguration,
  "[CustomTransformationConfiguration](#cfn-bedrock-datasource-vectoringestionconfiguration-customtransformationconfiguration)" : CustomTransformationConfiguration,
  "[ParsingConfiguration](#cfn-bedrock-datasource-vectoringestionconfiguration-parsingconfiguration)" : ParsingConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-vectoringestionconfiguration-syntax.yaml"></a>

```
  [ChunkingConfiguration](#cfn-bedrock-datasource-vectoringestionconfiguration-chunkingconfiguration): 
    ChunkingConfiguration
  [ContextEnrichmentConfiguration](#cfn-bedrock-datasource-vectoringestionconfiguration-contextenrichmentconfiguration): 
    ContextEnrichmentConfiguration
  [CustomTransformationConfiguration](#cfn-bedrock-datasource-vectoringestionconfiguration-customtransformationconfiguration): 
    CustomTransformationConfiguration
  [ParsingConfiguration](#cfn-bedrock-datasource-vectoringestionconfiguration-parsingconfiguration): 
    ParsingConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-vectoringestionconfiguration-properties"></a>

`ChunkingConfiguration`  <a name="cfn-bedrock-datasource-vectoringestionconfiguration-chunkingconfiguration"></a>
Details about how to chunk the documents in the data source. A *chunk* refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.  
*Required*: No  
*Type*: [ChunkingConfiguration](aws-properties-bedrock-datasource-chunkingconfiguration.md)  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`ContextEnrichmentConfiguration`  <a name="cfn-bedrock-datasource-vectoringestionconfiguration-contextenrichmentconfiguration"></a>
The context enrichment configuration used for ingestion of the data into the vector store.  
*Required*: No  
*Type*: [ContextEnrichmentConfiguration](aws-properties-bedrock-datasource-contextenrichmentconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CustomTransformationConfiguration`  <a name="cfn-bedrock-datasource-vectoringestionconfiguration-customtransformationconfiguration"></a>
A custom document transformer for parsed data source documents.  
*Required*: No  
*Type*: [CustomTransformationConfiguration](aws-properties-bedrock-datasource-customtransformationconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ParsingConfiguration`  <a name="cfn-bedrock-datasource-vectoringestionconfiguration-parsingconfiguration"></a>
Configurations for a parser to use for parsing documents in your data source. If you exclude this field, the default parser will be used.  
*Required*: No  
*Type*: [ParsingConfiguration](aws-properties-bedrock-datasource-parsingconfiguration.md)  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

# AWS::Bedrock::DataSource WebCrawlerConfiguration
<a name="aws-properties-bedrock-datasource-webcrawlerconfiguration"></a>

The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs.

## Syntax
<a name="aws-properties-bedrock-datasource-webcrawlerconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-webcrawlerconfiguration-syntax.json"></a>

```
{
  "[CrawlerLimits](#cfn-bedrock-datasource-webcrawlerconfiguration-crawlerlimits)" : WebCrawlerLimits,
  "[ExclusionFilters](#cfn-bedrock-datasource-webcrawlerconfiguration-exclusionfilters)" : [ String, ... ],
  "[InclusionFilters](#cfn-bedrock-datasource-webcrawlerconfiguration-inclusionfilters)" : [ String, ... ],
  "[Scope](#cfn-bedrock-datasource-webcrawlerconfiguration-scope)" : String,
  "[UserAgent](#cfn-bedrock-datasource-webcrawlerconfiguration-useragent)" : String,
  "[UserAgentHeader](#cfn-bedrock-datasource-webcrawlerconfiguration-useragentheader)" : String
}
```

### YAML
<a name="aws-properties-bedrock-datasource-webcrawlerconfiguration-syntax.yaml"></a>

```
  [CrawlerLimits](#cfn-bedrock-datasource-webcrawlerconfiguration-crawlerlimits): 
    WebCrawlerLimits
  [ExclusionFilters](#cfn-bedrock-datasource-webcrawlerconfiguration-exclusionfilters): 
    - String
  [InclusionFilters](#cfn-bedrock-datasource-webcrawlerconfiguration-inclusionfilters): 
    - String
  [Scope](#cfn-bedrock-datasource-webcrawlerconfiguration-scope): String
  [UserAgent](#cfn-bedrock-datasource-webcrawlerconfiguration-useragent): String
  [UserAgentHeader](#cfn-bedrock-datasource-webcrawlerconfiguration-useragentheader): String
```

## Properties
<a name="aws-properties-bedrock-datasource-webcrawlerconfiguration-properties"></a>

`CrawlerLimits`  <a name="cfn-bedrock-datasource-webcrawlerconfiguration-crawlerlimits"></a>
The configuration of crawl limits for the web URLs.  
*Required*: No  
*Type*: [WebCrawlerLimits](aws-properties-bedrock-datasource-webcrawlerlimits.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ExclusionFilters`  <a name="cfn-bedrock-datasource-webcrawlerconfiguration-exclusionfilters"></a>
A list of one or more exclusion regular expression patterns to exclude certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.  
*Required*: No  
*Type*: Array of String  
*Minimum*: `1`  
*Maximum*: `1000 | 25`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InclusionFilters`  <a name="cfn-bedrock-datasource-webcrawlerconfiguration-inclusionfilters"></a>
A list of one or more inclusion regular expression patterns to include certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.  
*Required*: No  
*Type*: Array of String  
*Minimum*: `1`  
*Maximum*: `1000 | 25`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Scope`  <a name="cfn-bedrock-datasource-webcrawlerconfiguration-scope"></a>
The scope of what is crawled for your URLs.  
You can choose to crawl only web pages that belong to the same host or primary domain. For example, only web pages that contain the seed URL "https://docs.aws.amazon.com/bedrock/latest/userguide/" and no other domains. You can choose to include sub domains in addition to the host or primary domain. For example, web pages that contain "aws.amazon.com" can also include sub domain "docs.aws.amazon.com".  
*Required*: No  
*Type*: String  
*Allowed values*: `HOST_ONLY | SUBDOMAINS`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`UserAgent`  <a name="cfn-bedrock-datasource-webcrawlerconfiguration-useragent"></a>
Returns the user agent suffix for your web crawler.  
*Required*: No  
*Type*: String  
*Minimum*: `15`  
*Maximum*: `40`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`UserAgentHeader`  <a name="cfn-bedrock-datasource-webcrawlerconfiguration-useragentheader"></a>
A string used for identifying the crawler or bot when it accesses a web server. The user agent header value consists of the `bedrockbot`, UUID, and a user agent suffix for your crawler (if one is provided). By default, it is set to `bedrockbot_UUID`. You can optionally append a custom suffix to `bedrockbot_UUID` to allowlist a specific user agent permitted to access your source URLs.   
*Required*: No  
*Type*: String  
*Minimum*: `61`  
*Maximum*: `86`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource WebCrawlerLimits
<a name="aws-properties-bedrock-datasource-webcrawlerlimits"></a>

The rate limits for the URLs that you want to crawl. You should be authorized to crawl the URLs.

## Syntax
<a name="aws-properties-bedrock-datasource-webcrawlerlimits-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-webcrawlerlimits-syntax.json"></a>

```
{
  "[MaxPages](#cfn-bedrock-datasource-webcrawlerlimits-maxpages)" : Integer,
  "[RateLimit](#cfn-bedrock-datasource-webcrawlerlimits-ratelimit)" : Integer
}
```

### YAML
<a name="aws-properties-bedrock-datasource-webcrawlerlimits-syntax.yaml"></a>

```
  [MaxPages](#cfn-bedrock-datasource-webcrawlerlimits-maxpages): Integer
  [RateLimit](#cfn-bedrock-datasource-webcrawlerlimits-ratelimit): Integer
```

## Properties
<a name="aws-properties-bedrock-datasource-webcrawlerlimits-properties"></a>

`MaxPages`  <a name="cfn-bedrock-datasource-webcrawlerlimits-maxpages"></a>
 The max number of web pages crawled from your source URLs, up to 25,000 pages. If the web pages exceed this limit, the data source sync will fail and no web pages will be ingested.   
*Required*: No  
*Type*: Integer  
*Minimum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RateLimit`  <a name="cfn-bedrock-datasource-webcrawlerlimits-ratelimit"></a>
The max rate at which pages are crawled, up to 300 per minute per host.  
*Required*: No  
*Type*: Integer  
*Minimum*: `1`  
*Maximum*: `300`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource WebDataSourceConfiguration
<a name="aws-properties-bedrock-datasource-webdatasourceconfiguration"></a>

The configuration details for the web data source.

## Syntax
<a name="aws-properties-bedrock-datasource-webdatasourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-webdatasourceconfiguration-syntax.json"></a>

```
{
  "[CrawlerConfiguration](#cfn-bedrock-datasource-webdatasourceconfiguration-crawlerconfiguration)" : WebCrawlerConfiguration,
  "[SourceConfiguration](#cfn-bedrock-datasource-webdatasourceconfiguration-sourceconfiguration)" : WebSourceConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-webdatasourceconfiguration-syntax.yaml"></a>

```
  [CrawlerConfiguration](#cfn-bedrock-datasource-webdatasourceconfiguration-crawlerconfiguration): 
    WebCrawlerConfiguration
  [SourceConfiguration](#cfn-bedrock-datasource-webdatasourceconfiguration-sourceconfiguration): 
    WebSourceConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-webdatasourceconfiguration-properties"></a>

`CrawlerConfiguration`  <a name="cfn-bedrock-datasource-webdatasourceconfiguration-crawlerconfiguration"></a>
The Web Crawler configuration details for the web data source.  
*Required*: No  
*Type*: [WebCrawlerConfiguration](aws-properties-bedrock-datasource-webcrawlerconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceConfiguration`  <a name="cfn-bedrock-datasource-webdatasourceconfiguration-sourceconfiguration"></a>
The source configuration details for the web data source.  
*Required*: Yes  
*Type*: [WebSourceConfiguration](aws-properties-bedrock-datasource-websourceconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::Bedrock::DataSource WebSourceConfiguration
<a name="aws-properties-bedrock-datasource-websourceconfiguration"></a>

The configuration of the URL/URLs for the web content that you want to crawl. You should be authorized to crawl the URLs.

## Syntax
<a name="aws-properties-bedrock-datasource-websourceconfiguration-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrock-datasource-websourceconfiguration-syntax.json"></a>

```
{
  "[UrlConfiguration](#cfn-bedrock-datasource-websourceconfiguration-urlconfiguration)" : UrlConfiguration
}
```

### YAML
<a name="aws-properties-bedrock-datasource-websourceconfiguration-syntax.yaml"></a>

```
  [UrlConfiguration](#cfn-bedrock-datasource-websourceconfiguration-urlconfiguration): 
    UrlConfiguration
```

## Properties
<a name="aws-properties-bedrock-datasource-websourceconfiguration-properties"></a>

`UrlConfiguration`  <a name="cfn-bedrock-datasource-websourceconfiguration-urlconfiguration"></a>
The configuration of the URL/URLs.  
*Required*: Yes  
*Type*: [UrlConfiguration](aws-properties-bedrock-datasource-urlconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)