AWS::Bedrock::DataSource S3DataSourceConfiguration - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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.

AWS::Bedrock::DataSource S3DataSourceConfiguration

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

Syntax

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

JSON

{ "BucketArn" : String, "BucketOwnerAccountId" : String, "InclusionPrefixes" : [ String, ... ] }

YAML

BucketArn: String BucketOwnerAccountId: String InclusionPrefixes: - String

Properties

BucketArn

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

BucketOwnerAccountId

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

InclusionPrefixes

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.

Required: No

Type: Array of String

Minimum: 1 | 1

Maximum: 300 | 1

Update requires: No interruption