interface CfnAgentProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAgentProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAgentProps |
Java | software.amazon.awscdk.services.quicksight.CfnAgentProps |
Python | aws_cdk.aws_quicksight.CfnAgentProps |
TypeScript | aws-cdk-lib » aws_quicksight » CfnAgentProps |
Properties for defining a CfnAgent.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-agent.html
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 cfnAgentProps: quicksight.CfnAgentProps = {
agentId: 'agentId',
awsAccountId: 'awsAccountId',
name: 'name',
// the properties below are optional
actionConnectors: ['actionConnectors'],
agentLifecycle: 'agentLifecycle',
customPromptInput: {
existingPrompt: {
modelProfileId: 'modelProfileId',
qbsAwsAccountId: 'qbsAwsAccountId',
subscriptionId: 'subscriptionId',
},
newPrompt: {
customInstructions: 'customInstructions',
identity: 'identity',
outputStyle: 'outputStyle',
responseLength: 'responseLength',
tone: 'tone',
},
},
description: 'description',
iconId: 'iconId',
spaces: ['spaces'],
starterPrompts: ['starterPrompts'],
tags: [{
key: 'key',
value: 'value',
}],
welcomeMessage: 'welcomeMessage',
};
Properties
| Name | Type | Description |
|---|---|---|
| agent | string | The unique identifier for the agent. |
| aws | string | The ID of the Amazon Web Services account where the agent is being created. |
| name | string | The display name of the agent. |
| action | string[] | A list of ActionConnector ARNs (max 10) attached to the agent. |
| agent | string | The lifecycle stage of the agent. |
| custom | IResolvable | Custom | Custom prompt configuration. |
| description? | string | A description of the agent. |
| icon | string | The icon identifier for the agent. |
| spaces? | string[] | A list of Space ARNs (max 10) attached to the agent. |
| starter | string[] | A list of up to 3 starter prompts displayed to users. |
| tags? | Agent[] | A list of key-value pairs to associate with the agent resource. |
| welcome | string | The welcome message displayed when a user opens the agent. |
agentId
Type:
string
The unique identifier for the agent.
awsAccountId
Type:
string
The ID of the Amazon Web Services account where the agent is being created.
name
Type:
string
The display name of the agent.
actionConnectors?
Type:
string[]
(optional)
A list of ActionConnector ARNs (max 10) attached to the agent.
agentLifecycle?
Type:
string
(optional)
The lifecycle stage of the agent.
PREVIEW or PUBLISHED.
customPromptInput?
Type:
IResolvable | Custom
(optional)
Custom prompt configuration.
Specify either ExistingPrompt or NewPrompt.
description?
Type:
string
(optional)
A description of the agent.
iconId?
Type:
string
(optional)
The icon identifier for the agent.
spaces?
Type:
string[]
(optional)
A list of Space ARNs (max 10) attached to the agent.
starterPrompts?
Type:
string[]
(optional)
A list of up to 3 starter prompts displayed to users.
tags?
Type:
Agent[]
(optional)
A list of key-value pairs to associate with the agent resource.
welcomeMessage?
Type:
string
(optional)
The welcome message displayed when a user opens the agent.

.NET
Go
Java
Python
TypeScript