PromptGenAiResourceProperty Struct
Contains specifications for a generative AI resource with which to use the prompt.
For more information, see Create a prompt using Prompt management .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const promptGenAiResourceProperty: bedrock.CfnPrompt.PromptGenAiResourceProperty = {
agent: {
agentIdentifier: 'agentIdentifier',
},
};
Properties
agentIResolvable | CfnPrompt.PromptAgentResourcePropertyagenttyping.Union[IResolvable, PromptAgentResourceProperty]agentIResolvableAgentIResolvableAgentinterface{}required#Specifies an Amazon Bedrock agent with which to use the prompt.