interface PromptGenAiResourceProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.aws_bedrock.CfnPrompt.PromptGenAiResourceProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnPrompt_PromptGenAiResourceProperty | 
|  Java | software.amazon.awscdk.services.bedrock.CfnPrompt.PromptGenAiResourceProperty | 
|  Python | aws_cdk.aws_bedrock.CfnPrompt.PromptGenAiResourceProperty | 
|  TypeScript | aws-cdk-lib»aws_bedrock»CfnPrompt»PromptGenAiResourceProperty | 
Contains specifications for a generative AI resource with which to use the prompt.
For more information, see Create a prompt using Prompt management .
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 promptGenAiResourceProperty: bedrock.CfnPrompt.PromptGenAiResourceProperty = {
  agent: {
    agentIdentifier: 'agentIdentifier',
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| agent | IResolvable | Prompt | Specifies an Amazon Bedrock agent with which to use the prompt. | 
agent
Type:
IResolvable | Prompt
Specifies an Amazon Bedrock agent with which to use the prompt.
