We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.wisdom.getAiPrompt
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
Definition of AWS::Wisdom::AIPrompt Resource Type
Using getAiPrompt
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAiPrompt(args: GetAiPromptArgs, opts?: InvokeOptions): Promise<GetAiPromptResult>
function getAiPromptOutput(args: GetAiPromptOutputArgs, opts?: InvokeOptions): Output<GetAiPromptResult>def get_ai_prompt(ai_prompt_id: Optional[str] = None,
                  assistant_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetAiPromptResult
def get_ai_prompt_output(ai_prompt_id: Optional[pulumi.Input[str]] = None,
                  assistant_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetAiPromptResult]func LookupAiPrompt(ctx *Context, args *LookupAiPromptArgs, opts ...InvokeOption) (*LookupAiPromptResult, error)
func LookupAiPromptOutput(ctx *Context, args *LookupAiPromptOutputArgs, opts ...InvokeOption) LookupAiPromptResultOutput> Note: This function is named LookupAiPrompt in the Go SDK.
public static class GetAiPrompt 
{
    public static Task<GetAiPromptResult> InvokeAsync(GetAiPromptArgs args, InvokeOptions? opts = null)
    public static Output<GetAiPromptResult> Invoke(GetAiPromptInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAiPromptResult> getAiPrompt(GetAiPromptArgs args, InvokeOptions options)
public static Output<GetAiPromptResult> getAiPrompt(GetAiPromptArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:wisdom:getAiPrompt
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AiPrompt stringId 
- The identifier of the Amazon Q in Connect 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.
- AiPrompt stringId 
- The identifier of the Amazon Q in Connect 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.
- aiPrompt StringId 
- The identifier of the Amazon Q in Connect 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.
- aiPrompt stringId 
- The identifier of the Amazon Q in Connect 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.
- ai_prompt_ strid 
- The identifier of the Amazon Q in Connect 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.
- aiPrompt StringId 
- The identifier of the Amazon Q in Connect 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.
getAiPrompt Result
The following output properties are available:
- 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.
- Description string
- The description of the AI Prompt.
- ModifiedTime doubleSeconds 
- TemplateConfiguration Pulumi.Aws Native. Wisdom. Outputs. Ai Prompt Ai Prompt Template Configuration 
- The configuration of the prompt template for this AI Prompt.
- 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.
- Description string
- The description of the AI Prompt.
- ModifiedTime float64Seconds 
- TemplateConfiguration AiPrompt Ai Prompt Template Configuration 
- The configuration of the prompt template for this AI Prompt.
- 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.
- description String
- The description of the AI Prompt.
- modifiedTime DoubleSeconds 
- templateConfiguration AiPrompt Ai Prompt Template Configuration 
- The configuration of the prompt template for this AI Prompt.
- 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.
- description string
- The description of the AI Prompt.
- modifiedTime numberSeconds 
- templateConfiguration AiPrompt Ai Prompt Template Configuration 
- The configuration of the prompt template for this AI Prompt.
- 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.
- description str
- The description of the AI Prompt.
- modified_time_ floatseconds 
- template_configuration AiPrompt Ai Prompt Template Configuration 
- The configuration of the prompt template for this AI Prompt.
- 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.
- description String
- The description of the AI Prompt.
- modifiedTime NumberSeconds 
- templateConfiguration Property Map
- The configuration of the prompt template for this AI Prompt.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi