aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.35k stars 3.77k forks source link

(bedrock): Missing Bedrock Guardrail association for CfnBedrockAgent construct #30523

Open Argote-Gustavo-bah opened 3 weeks ago

Argote-Gustavo-bah commented 3 weeks ago

Describe the feature

Hi AWS folks,

I'm not sure if this feature request should be submitted here given this seems to be lacking from the CloudFormation API as well.

Bedrock Agents support associating Bedrock Guardrails via a guardrailConfiguration parameter as described in the API docs. This doesn't seem to be a supported property in CfnAgent yet.

Use Case

Associating Guardrails to agents via CDK seems to be a key feature of using agents in the first place. Without being able to automate this association we're manually calling the API above.

Proposed Solution

No response

Other Information

No response

Acknowledgements

CDK version used

all

Environment details (OS name and version, etc.)

devcontainer

khushail commented 3 weeks ago

Hi @Argote-Gustavo-bah , thanks for reaching out with this FR.

As this assocication is not provided by Cloduformation, we would suggest you to open this feature request with Cloduformation team, on this Cloudformation coverage map. Once this is enabled, it would be feasible for CDK to provide this functionality as well.