interface CustomPromptInputProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAgent.CustomPromptInputProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAgent_CustomPromptInputProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAgent.CustomPromptInputProperty |
Python | aws_cdk.aws_quicksight.CfnAgent.CustomPromptInputProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnAgent » CustomPromptInputProperty |
Custom prompt configuration.
Specify either ExistingPrompt or NewPrompt.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const customPromptInputProperty: quicksight.CfnAgent.CustomPromptInputProperty = {
existingPrompt: {
modelProfileId: 'modelProfileId',
qbsAwsAccountId: 'qbsAwsAccountId',
subscriptionId: 'subscriptionId',
},
newPrompt: {
customInstructions: 'customInstructions',
identity: 'identity',
outputStyle: 'outputStyle',
responseLength: 'responseLength',
tone: 'tone',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| existing | IResolvable | Custom | Reference to an existing custom prompt profile. |
| new | IResolvable | Custom | Parameters for creating a new custom prompt configuration. |
existingPrompt?
Type:
IResolvable | Custom
(optional)
Reference to an existing custom prompt profile.
newPrompt?
Type:
IResolvable | Custom
(optional)
Parameters for creating a new custom prompt configuration.

.NET
Go
Java
Python
TypeScript