interface CustomPromptInputProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.QuickSight.CfnAgentPropsMixin.CustomPromptInputProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsquicksight#CfnAgentPropsMixin_CustomPromptInputProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnAgentPropsMixin.CustomPromptInputProperty |
Python | aws_cdk.cfn_property_mixins.aws_quicksight.CfnAgentPropsMixin.CustomPromptInputProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_quicksight » CfnAgentPropsMixin » 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/cfn-property-mixins';
const customPromptInputProperty: quicksight.CfnAgentPropsMixin.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