interface PromptAgentResourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnPromptPropsMixin.PromptAgentResourceProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnPromptPropsMixin_PromptAgentResourceProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnPromptPropsMixin.PromptAgentResourceProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnPromptPropsMixin.PromptAgentResourceProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnPromptPropsMixin » 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/cfn-property-mixins';
const promptAgentResourceProperty: bedrock.CfnPromptPropsMixin.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