We recommend new projects start with resources from the AWS provider.
aws-native.wisdom.AiPrompt
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::Wisdom::AIPrompt Resource Type
Create AiPrompt Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AiPrompt(name: string, args: AiPromptArgs, opts?: CustomResourceOptions);@overload
def AiPrompt(resource_name: str,
             args: AiPromptArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def AiPrompt(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             api_format: Optional[AiPromptAiPromptApiFormat] = None,
             model_id: Optional[str] = None,
             template_configuration: Optional[AiPromptAiPromptTemplateConfigurationArgs] = None,
             template_type: Optional[AiPromptAiPromptTemplateType] = None,
             type: Optional[AiPromptAiPromptType] = None,
             assistant_id: Optional[str] = None,
             description: Optional[str] = None,
             name: Optional[str] = None,
             tags: Optional[Mapping[str, str]] = None)func NewAiPrompt(ctx *Context, name string, args AiPromptArgs, opts ...ResourceOption) (*AiPrompt, error)public AiPrompt(string name, AiPromptArgs args, CustomResourceOptions? opts = null)
public AiPrompt(String name, AiPromptArgs args)
public AiPrompt(String name, AiPromptArgs args, CustomResourceOptions options)
type: aws-native:wisdom:AiPrompt
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AiPromptArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AiPromptArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AiPromptArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiPromptArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AiPromptArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AiPrompt Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AiPrompt resource accepts the following input properties:
- ApiFormat Pulumi.Aws Native. Wisdom. Ai Prompt Ai Prompt Api Format 
- The API format used for this AI Prompt.
- ModelId string
- The identifier of the model used for this AI Prompt. Model Ids supported are: anthropic.claude-3-haiku-20240307-v1:0.
- TemplateConfiguration Pulumi.Aws Native. Wisdom. Inputs. Ai Prompt Ai Prompt Template Configuration 
- The configuration of the prompt template for this AI Prompt.
- TemplateType Pulumi.Aws Native. Wisdom. Ai Prompt Ai Prompt Template Type 
- The type of the prompt template for this AI Prompt.
- Type
Pulumi.Aws Native. Wisdom. Ai Prompt Ai Prompt Type 
- The type of this AI Prompt.
- AssistantId string
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Description string
- The description of the AI Prompt.
- Name string
- The name of the AI Prompt
- Dictionary<string, string>
- The tags used to organize, track, or control access for this resource.
- ApiFormat AiPrompt Ai Prompt Api Format 
- The API format used for this AI Prompt.
- ModelId string
- The identifier of the model used for this AI Prompt. Model Ids supported are: anthropic.claude-3-haiku-20240307-v1:0.
- TemplateConfiguration AiPrompt Ai Prompt Template Configuration Args 
- The configuration of the prompt template for this AI Prompt.
- TemplateType AiPrompt Ai Prompt Template Type 
- The type of the prompt template for this AI Prompt.
- Type
AiPrompt Ai Prompt Type 
- The type of this AI Prompt.
- AssistantId string
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Description string
- The description of the AI Prompt.
- Name string
- The name of the AI Prompt
- map[string]string
- The tags used to organize, track, or control access for this resource.
- apiFormat AiPrompt Ai Prompt Api Format 
- The API format used for this AI Prompt.
- modelId String
- The identifier of the model used for this AI Prompt. Model Ids supported are: anthropic.claude-3-haiku-20240307-v1:0.
- templateConfiguration AiPrompt Ai Prompt Template Configuration 
- The configuration of the prompt template for this AI Prompt.
- templateType AiPrompt Ai Prompt Template Type 
- The type of the prompt template for this AI Prompt.
- type
AiPrompt Ai Prompt Type 
- The type of this AI Prompt.
- assistantId String
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- description String
- The description of the AI Prompt.
- name String
- The name of the AI Prompt
- Map<String,String>
- The tags used to organize, track, or control access for this resource.
- apiFormat AiPrompt Ai Prompt Api Format 
- The API format used for this AI Prompt.
- modelId string
- The identifier of the model used for this AI Prompt. Model Ids supported are: anthropic.claude-3-haiku-20240307-v1:0.
- templateConfiguration AiPrompt Ai Prompt Template Configuration 
- The configuration of the prompt template for this AI Prompt.
- templateType AiPrompt Ai Prompt Template Type 
- The type of the prompt template for this AI Prompt.
- type
AiPrompt Ai Prompt Type 
- The type of this AI Prompt.
- assistantId string
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- description string
- The description of the AI Prompt.
- name string
- The name of the AI Prompt
- {[key: string]: string}
- The tags used to organize, track, or control access for this resource.
- api_format AiPrompt Ai Prompt Api Format 
- The API format used for this AI Prompt.
- model_id str
- The identifier of the model used for this AI Prompt. Model Ids supported are: anthropic.claude-3-haiku-20240307-v1:0.
- template_configuration AiPrompt Ai Prompt Template Configuration Args 
- The configuration of the prompt template for this AI Prompt.
- template_type AiPrompt Ai Prompt Template Type 
- The type of the prompt template for this AI Prompt.
- type
AiPrompt Ai Prompt Type 
- The type of this AI Prompt.
- assistant_id str
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- description str
- The description of the AI Prompt.
- name str
- The name of the AI Prompt
- Mapping[str, str]
- The tags used to organize, track, or control access for this resource.
- apiFormat "ANTHROPIC_CLAUDE_MESSAGES" | "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS"
- The API format used for this AI Prompt.
- modelId String
- The identifier of the model used for this AI Prompt. Model Ids supported are: anthropic.claude-3-haiku-20240307-v1:0.
- templateConfiguration Property Map
- The configuration of the prompt template for this AI Prompt.
- templateType "TEXT"
- The type of the prompt template for this AI Prompt.
- type "ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION"
- The type of this AI Prompt.
- assistantId String
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- description String
- The description of the AI Prompt.
- name String
- The name of the AI Prompt
- Map<String>
- The tags used to organize, track, or control access for this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the AiPrompt resource produces the following output properties:
- AiPrompt stringArn 
- The Amazon Resource Name (ARN) of the AI Prompt.
- AiPrompt stringId 
- The identifier of the Amazon Q in Connect AI prompt.
- AssistantArn string
- The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- Id string
- The provider-assigned unique ID for this managed resource.
- ModifiedTime doubleSeconds 
- AiPrompt stringArn 
- The Amazon Resource Name (ARN) of the AI Prompt.
- AiPrompt stringId 
- The identifier of the Amazon Q in Connect AI prompt.
- AssistantArn string
- The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- Id string
- The provider-assigned unique ID for this managed resource.
- ModifiedTime float64Seconds 
- aiPrompt StringArn 
- The Amazon Resource Name (ARN) of the AI Prompt.
- aiPrompt StringId 
- The identifier of the Amazon Q in Connect AI prompt.
- assistantArn String
- The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- id String
- The provider-assigned unique ID for this managed resource.
- modifiedTime DoubleSeconds 
- aiPrompt stringArn 
- The Amazon Resource Name (ARN) of the AI Prompt.
- aiPrompt stringId 
- The identifier of the Amazon Q in Connect AI prompt.
- assistantArn string
- The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- id string
- The provider-assigned unique ID for this managed resource.
- modifiedTime numberSeconds 
- ai_prompt_ strarn 
- The Amazon Resource Name (ARN) of the AI Prompt.
- ai_prompt_ strid 
- The identifier of the Amazon Q in Connect AI prompt.
- assistant_arn str
- The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_time_ floatseconds 
- aiPrompt StringArn 
- The Amazon Resource Name (ARN) of the AI Prompt.
- aiPrompt StringId 
- The identifier of the Amazon Q in Connect AI prompt.
- assistantArn String
- The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- id String
- The provider-assigned unique ID for this managed resource.
- modifiedTime NumberSeconds 
Supporting Types
AiPromptAiPromptApiFormat, AiPromptAiPromptApiFormatArgs            
- AnthropicClaude Messages 
- ANTHROPIC_CLAUDE_MESSAGES
- AnthropicClaude Text Completions 
- ANTHROPIC_CLAUDE_TEXT_COMPLETIONS
- AiPrompt Ai Prompt Api Format Anthropic Claude Messages 
- ANTHROPIC_CLAUDE_MESSAGES
- AiPrompt Ai Prompt Api Format Anthropic Claude Text Completions 
- ANTHROPIC_CLAUDE_TEXT_COMPLETIONS
- AnthropicClaude Messages 
- ANTHROPIC_CLAUDE_MESSAGES
- AnthropicClaude Text Completions 
- ANTHROPIC_CLAUDE_TEXT_COMPLETIONS
- AnthropicClaude Messages 
- ANTHROPIC_CLAUDE_MESSAGES
- AnthropicClaude Text Completions 
- ANTHROPIC_CLAUDE_TEXT_COMPLETIONS
- ANTHROPIC_CLAUDE_MESSAGES
- ANTHROPIC_CLAUDE_MESSAGES
- ANTHROPIC_CLAUDE_TEXT_COMPLETIONS
- ANTHROPIC_CLAUDE_TEXT_COMPLETIONS
- "ANTHROPIC_CLAUDE_MESSAGES"
- ANTHROPIC_CLAUDE_MESSAGES
- "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS"
- ANTHROPIC_CLAUDE_TEXT_COMPLETIONS
AiPromptAiPromptTemplateType, AiPromptAiPromptTemplateTypeArgs            
- Text
- TEXT
- AiPrompt Ai Prompt Template Type Text 
- TEXT
- Text
- TEXT
- Text
- TEXT
- TEXT
- TEXT
- "TEXT"
- TEXT
AiPromptAiPromptType, AiPromptAiPromptTypeArgs          
- AnswerGeneration 
- ANSWER_GENERATION
- IntentLabeling Generation 
- INTENT_LABELING_GENERATION
- QueryReformulation 
- QUERY_REFORMULATION
- SelfService Pre Processing 
- SELF_SERVICE_PRE_PROCESSING
- SelfService Answer Generation 
- SELF_SERVICE_ANSWER_GENERATION
- AiPrompt Ai Prompt Type Answer Generation 
- ANSWER_GENERATION
- AiPrompt Ai Prompt Type Intent Labeling Generation 
- INTENT_LABELING_GENERATION
- AiPrompt Ai Prompt Type Query Reformulation 
- QUERY_REFORMULATION
- AiPrompt Ai Prompt Type Self Service Pre Processing 
- SELF_SERVICE_PRE_PROCESSING
- AiPrompt Ai Prompt Type Self Service Answer Generation 
- SELF_SERVICE_ANSWER_GENERATION
- AnswerGeneration 
- ANSWER_GENERATION
- IntentLabeling Generation 
- INTENT_LABELING_GENERATION
- QueryReformulation 
- QUERY_REFORMULATION
- SelfService Pre Processing 
- SELF_SERVICE_PRE_PROCESSING
- SelfService Answer Generation 
- SELF_SERVICE_ANSWER_GENERATION
- AnswerGeneration 
- ANSWER_GENERATION
- IntentLabeling Generation 
- INTENT_LABELING_GENERATION
- QueryReformulation 
- QUERY_REFORMULATION
- SelfService Pre Processing 
- SELF_SERVICE_PRE_PROCESSING
- SelfService Answer Generation 
- SELF_SERVICE_ANSWER_GENERATION
- ANSWER_GENERATION
- ANSWER_GENERATION
- INTENT_LABELING_GENERATION
- INTENT_LABELING_GENERATION
- QUERY_REFORMULATION
- QUERY_REFORMULATION
- SELF_SERVICE_PRE_PROCESSING
- SELF_SERVICE_PRE_PROCESSING
- SELF_SERVICE_ANSWER_GENERATION
- SELF_SERVICE_ANSWER_GENERATION
- "ANSWER_GENERATION"
- ANSWER_GENERATION
- "INTENT_LABELING_GENERATION"
- INTENT_LABELING_GENERATION
- "QUERY_REFORMULATION"
- QUERY_REFORMULATION
- "SELF_SERVICE_PRE_PROCESSING"
- SELF_SERVICE_PRE_PROCESSING
- "SELF_SERVICE_ANSWER_GENERATION"
- SELF_SERVICE_ANSWER_GENERATION
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.