Skip to content

Bedrock Knowledge base - CloudFormation Tags Format Type

0

Hello,

I would like to ask why are the tag field expected type for Bedrock Cloudformation is JSON Object instead of JSON Array? Since most of the other AWS resources are using JSON Array for the template. Thanks.

Reference: Bedrock - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html S3 - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html Dynamodb - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html

1 Answer
1

It might be that a JSON Object is used because each tag is unique and the key-value pair nature of JSON Objects fits this use case. JSON Objects are useful for mapping unique keys to values, JSON Arrays are better suited for lists of items.

EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.