AWS::Bedrock::DataSource S3DataSourceConfiguration - AWS CloudFormation

AWS::Bedrock::DataSource S3DataSourceConfiguration

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

Syntax

To declare this entity in your AWS 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):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. For more information, see Organizing objects using prefixes.

Required: No

Type: Array of String

Minimum: 1 | 1

Maximum: 300 | 1

Update requires: No interruption