Skip to content
v2.274.0

Experimental

@aws-cdk/aws-bedrock-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

IBedrockInvokable Interface ​

Represents an Amazon Bedrock abstraction on which you can run the Invoke API.

This can be a Foundational Model, a Custom Model, or an Inference Profile.

Properties ​

invokableArnstringinvokable_arnstrinvokableArnStringInvokableArnstringInvokableArn*stringrequired#
The ARN of the Bedrock invokable abstraction.

Methods ​

grantInvoke(grantee: IGrantable): Grantdef grant_invoke(self, grantee: IGrantable) -> Grantpublic Grant grantInvoke(IGrantable grantee)public Grant GrantInvoke(IGrantable grantee)func GrantInvoke(Grantee IGrantable) Grant#
Gives the appropriate policies to invoke and use the invokable abstraction.