We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.wisdom.getAiPrompt
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 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:
- Ai
Prompt stringId  - The identifier of the Amazon Q in Connect AI prompt.
 - Assistant
Id 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 stringId  - The identifier of the Amazon Q in Connect AI prompt.
 - Assistant
Id 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 StringId  - The identifier of the Amazon Q in Connect AI prompt.
 - assistant
Id 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 stringId  - The identifier of the Amazon Q in Connect AI prompt.
 - assistant
Id 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.
 
- ai
Prompt StringId  - The identifier of the Amazon Q in Connect AI prompt.
 - assistant
Id 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:
- Ai
Prompt stringArn  - The Amazon Resource Name (ARN) of the AI Prompt.
 - Ai
Prompt stringId  - The identifier of the Amazon Q in Connect AI prompt.
 - Assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
 - Description string
 - The description of the AI Prompt.
 - Model
Id string - The identifier of the model used for this AI Prompt. The following model Ids are supported:
anthropic.claude-3-haiku--v1:0apac.amazon.nova-lite-v1:0apac.amazon.nova-micro-v1:0apac.amazon.nova-pro-v1:0apac.anthropic.claude-3-5-sonnet--v2:0apac.anthropic.claude-3-haiku-20240307-v1:0eu.amazon.nova-lite-v1:0eu.amazon.nova-micro-v1:0eu.amazon.nova-pro-v1:0eu.anthropic.claude-3-7-sonnet-20250219-v1:0eu.anthropic.claude-3-haiku-20240307-v1:0us.amazon.nova-lite-v1:0us.amazon.nova-micro-v1:0us.amazon.nova-pro-v1:0us.anthropic.claude-3-5-haiku-20241022-v1:0us.anthropic.claude-3-7-sonnet-20250219-v1:0us.anthropic.claude-3-haiku-20240307-v1:0
 - Modified
Time doubleSeconds  - Template
Configuration Pulumi.Aws Native. Wisdom. Outputs. Ai Prompt Ai Prompt Template Configuration  - The configuration of the prompt template for this AI Prompt.
 
- Ai
Prompt stringArn  - The Amazon Resource Name (ARN) of the AI Prompt.
 - Ai
Prompt stringId  - The identifier of the Amazon Q in Connect AI prompt.
 - Assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
 - Description string
 - The description of the AI Prompt.
 - Model
Id string - The identifier of the model used for this AI Prompt. The following model Ids are supported:
anthropic.claude-3-haiku--v1:0apac.amazon.nova-lite-v1:0apac.amazon.nova-micro-v1:0apac.amazon.nova-pro-v1:0apac.anthropic.claude-3-5-sonnet--v2:0apac.anthropic.claude-3-haiku-20240307-v1:0eu.amazon.nova-lite-v1:0eu.amazon.nova-micro-v1:0eu.amazon.nova-pro-v1:0eu.anthropic.claude-3-7-sonnet-20250219-v1:0eu.anthropic.claude-3-haiku-20240307-v1:0us.amazon.nova-lite-v1:0us.amazon.nova-micro-v1:0us.amazon.nova-pro-v1:0us.anthropic.claude-3-5-haiku-20241022-v1:0us.anthropic.claude-3-7-sonnet-20250219-v1:0us.anthropic.claude-3-haiku-20240307-v1:0
 - Modified
Time float64Seconds  - Template
Configuration AiPrompt Ai Prompt Template Configuration  - The configuration of the prompt template for this AI Prompt.
 
- ai
Prompt StringArn  - The Amazon Resource Name (ARN) of the AI Prompt.
 - ai
Prompt StringId  - The identifier of the Amazon Q in Connect AI prompt.
 - assistant
Arn String - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
 - description String
 - The description of the AI Prompt.
 - model
Id String - The identifier of the model used for this AI Prompt. The following model Ids are supported:
anthropic.claude-3-haiku--v1:0apac.amazon.nova-lite-v1:0apac.amazon.nova-micro-v1:0apac.amazon.nova-pro-v1:0apac.anthropic.claude-3-5-sonnet--v2:0apac.anthropic.claude-3-haiku-20240307-v1:0eu.amazon.nova-lite-v1:0eu.amazon.nova-micro-v1:0eu.amazon.nova-pro-v1:0eu.anthropic.claude-3-7-sonnet-20250219-v1:0eu.anthropic.claude-3-haiku-20240307-v1:0us.amazon.nova-lite-v1:0us.amazon.nova-micro-v1:0us.amazon.nova-pro-v1:0us.anthropic.claude-3-5-haiku-20241022-v1:0us.anthropic.claude-3-7-sonnet-20250219-v1:0us.anthropic.claude-3-haiku-20240307-v1:0
 - modified
Time DoubleSeconds  - template
Configuration AiPrompt Ai Prompt Template Configuration  - The configuration of the prompt template for this AI Prompt.
 
- ai
Prompt stringArn  - The Amazon Resource Name (ARN) of the AI Prompt.
 - ai
Prompt stringId  - The identifier of the Amazon Q in Connect AI prompt.
 - assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
 - description string
 - The description of the AI Prompt.
 - model
Id string - The identifier of the model used for this AI Prompt. The following model Ids are supported:
anthropic.claude-3-haiku--v1:0apac.amazon.nova-lite-v1:0apac.amazon.nova-micro-v1:0apac.amazon.nova-pro-v1:0apac.anthropic.claude-3-5-sonnet--v2:0apac.anthropic.claude-3-haiku-20240307-v1:0eu.amazon.nova-lite-v1:0eu.amazon.nova-micro-v1:0eu.amazon.nova-pro-v1:0eu.anthropic.claude-3-7-sonnet-20250219-v1:0eu.anthropic.claude-3-haiku-20240307-v1:0us.amazon.nova-lite-v1:0us.amazon.nova-micro-v1:0us.amazon.nova-pro-v1:0us.anthropic.claude-3-5-haiku-20241022-v1:0us.anthropic.claude-3-7-sonnet-20250219-v1:0us.anthropic.claude-3-haiku-20240307-v1:0
 - modified
Time numberSeconds  - template
Configuration 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.
 - model_
id str - The identifier of the model used for this AI Prompt. The following model Ids are supported:
anthropic.claude-3-haiku--v1:0apac.amazon.nova-lite-v1:0apac.amazon.nova-micro-v1:0apac.amazon.nova-pro-v1:0apac.anthropic.claude-3-5-sonnet--v2:0apac.anthropic.claude-3-haiku-20240307-v1:0eu.amazon.nova-lite-v1:0eu.amazon.nova-micro-v1:0eu.amazon.nova-pro-v1:0eu.anthropic.claude-3-7-sonnet-20250219-v1:0eu.anthropic.claude-3-haiku-20240307-v1:0us.amazon.nova-lite-v1:0us.amazon.nova-micro-v1:0us.amazon.nova-pro-v1:0us.anthropic.claude-3-5-haiku-20241022-v1:0us.anthropic.claude-3-7-sonnet-20250219-v1:0us.anthropic.claude-3-haiku-20240307-v1:0
 - modified_
time_ floatseconds  - template_
configuration AiPrompt Ai Prompt Template Configuration  - The configuration of the prompt template for this AI Prompt.
 
- ai
Prompt StringArn  - The Amazon Resource Name (ARN) of the AI Prompt.
 - ai
Prompt StringId  - The identifier of the Amazon Q in Connect AI prompt.
 - assistant
Arn String - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
 - description String
 - The description of the AI Prompt.
 - model
Id String - The identifier of the model used for this AI Prompt. The following model Ids are supported:
anthropic.claude-3-haiku--v1:0apac.amazon.nova-lite-v1:0apac.amazon.nova-micro-v1:0apac.amazon.nova-pro-v1:0apac.anthropic.claude-3-5-sonnet--v2:0apac.anthropic.claude-3-haiku-20240307-v1:0eu.amazon.nova-lite-v1:0eu.amazon.nova-micro-v1:0eu.amazon.nova-pro-v1:0eu.anthropic.claude-3-7-sonnet-20250219-v1:0eu.anthropic.claude-3-haiku-20240307-v1:0us.amazon.nova-lite-v1:0us.amazon.nova-micro-v1:0us.amazon.nova-pro-v1:0us.anthropic.claude-3-5-haiku-20241022-v1:0us.anthropic.claude-3-7-sonnet-20250219-v1:0us.anthropic.claude-3-haiku-20240307-v1:0
 - modified
Time NumberSeconds  - template
Configuration 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.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
