Skip to content
v2.274.0

PromptAgentResourceProperty Struct ​

Contains specifications for an Amazon Bedrock agent with which to use the prompt.

For more information, see Create a prompt using Prompt management and Automate tasks in your application using conversational agents .

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 promptAgentResourceProperty: bedrock.CfnPromptVersion.PromptAgentResourceProperty = {
  agentIdentifier: 'agentIdentifier',
};

Properties ​

agentIdentifierstringagent_identifierstragentIdentifierStringAgentIdentifierstringAgentIdentifier*stringrequired#
The ARN of the agent with which to use the prompt.