interface PromptAgentResourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.CfnPromptVersion.PromptAgentResourceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnPromptVersion_PromptAgentResourceProperty |
Java | software.amazon.awscdk.services.bedrock.CfnPromptVersion.PromptAgentResourceProperty |
Python | aws_cdk.aws_bedrock.CfnPromptVersion.PromptAgentResourceProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnPromptVersion » PromptAgentResourceProperty |
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
// 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
| Name | Type | Description |
|---|---|---|
| agent | string | The ARN of the agent with which to use the prompt. |
agentIdentifier
Type:
string
The ARN of the agent with which to use the prompt.

.NET
Go
Java
Python
TypeScript