interface PromptGenAiResourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnPromptPropsMixin.PromptGenAiResourceProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnPromptPropsMixin_PromptGenAiResourceProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnPromptPropsMixin.PromptGenAiResourceProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnPromptPropsMixin.PromptGenAiResourceProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnPromptPropsMixin » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const promptGenAiResourceProperty: bedrock_mixins.CfnPromptPropsMixin.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
(optional)
Specifies an Amazon Bedrock agent with which to use the prompt.

.NET
Go
Java
Python
TypeScript