interface PromptAgentResourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnPromptVersionPropsMixin.PromptAgentResourceProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnPromptVersionPropsMixin_PromptAgentResourceProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnPromptVersionPropsMixin.PromptAgentResourceProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnPromptVersionPropsMixin.PromptAgentResourceProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnPromptVersionPropsMixin » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const promptAgentResourceProperty: bedrock_mixins.CfnPromptVersionPropsMixin.PromptAgentResourceProperty = {
agentIdentifier: 'agentIdentifier',
};
Properties
| Name | Type | Description |
|---|---|---|
| agent | string | The ARN of the agent with which to use the prompt. |
agentIdentifier?
Type:
string
(optional)
The ARN of the agent with which to use the prompt.

.NET
Go
Java
Python
TypeScript