Skip to content

stepfunctions-tasks: enable guardrail and trace settings for BedrockInvokeModel #30425

@mazyu36

Description

@mazyu36

Describe the feature

Bedrock InvokeModel API supports guardrail configuration and trace.

But in BedrockInvokeModel, both options are not supported.

Use Case

To use guardrail and trace when invoke the Bedrock model.

Proposed Solution

Add guardrailConfiguration and trace property to the BedrockInvokeModel class.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.143.0

Environment details (OS name and version, etc.)

all

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions