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