1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. connect
  5. getPrompt

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.connect.getPrompt

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

Resource Type definition for AWS::Connect::Prompt

Using getPrompt

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 getPrompt(args: GetPromptArgs, opts?: InvokeOptions): Promise<GetPromptResult>
function getPromptOutput(args: GetPromptOutputArgs, opts?: InvokeOptions): Output<GetPromptResult>
Copy
def get_prompt(prompt_arn: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetPromptResult
def get_prompt_output(prompt_arn: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetPromptResult]
Copy
func LookupPrompt(ctx *Context, args *LookupPromptArgs, opts ...InvokeOption) (*LookupPromptResult, error)
func LookupPromptOutput(ctx *Context, args *LookupPromptOutputArgs, opts ...InvokeOption) LookupPromptResultOutput
Copy

> Note: This function is named LookupPrompt in the Go SDK.

public static class GetPrompt 
{
    public static Task<GetPromptResult> InvokeAsync(GetPromptArgs args, InvokeOptions? opts = null)
    public static Output<GetPromptResult> Invoke(GetPromptInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPromptResult> getPrompt(GetPromptArgs args, InvokeOptions options)
public static Output<GetPromptResult> getPrompt(GetPromptArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:connect:getPrompt
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PromptArn This property is required. string
The Amazon Resource Name (ARN) for the prompt.
PromptArn This property is required. string
The Amazon Resource Name (ARN) for the prompt.
promptArn This property is required. String
The Amazon Resource Name (ARN) for the prompt.
promptArn This property is required. string
The Amazon Resource Name (ARN) for the prompt.
prompt_arn This property is required. str
The Amazon Resource Name (ARN) for the prompt.
promptArn This property is required. String
The Amazon Resource Name (ARN) for the prompt.

getPrompt Result

The following output properties are available:

Description string
The description of the prompt.
InstanceArn string
The identifier of the Amazon Connect instance.
Name string
The name of the prompt.
PromptArn string
The Amazon Resource Name (ARN) for the prompt.
Tags List<Pulumi.AwsNative.Outputs.Tag>
An array of key-value pairs to apply to this resource.
Description string
The description of the prompt.
InstanceArn string
The identifier of the Amazon Connect instance.
Name string
The name of the prompt.
PromptArn string
The Amazon Resource Name (ARN) for the prompt.
Tags Tag
An array of key-value pairs to apply to this resource.
description String
The description of the prompt.
instanceArn String
The identifier of the Amazon Connect instance.
name String
The name of the prompt.
promptArn String
The Amazon Resource Name (ARN) for the prompt.
tags List<Tag>
An array of key-value pairs to apply to this resource.
description string
The description of the prompt.
instanceArn string
The identifier of the Amazon Connect instance.
name string
The name of the prompt.
promptArn string
The Amazon Resource Name (ARN) for the prompt.
tags Tag[]
An array of key-value pairs to apply to this resource.
description str
The description of the prompt.
instance_arn str
The identifier of the Amazon Connect instance.
name str
The name of the prompt.
prompt_arn str
The Amazon Resource Name (ARN) for the prompt.
tags Sequence[root_Tag]
An array of key-value pairs to apply to this resource.
description String
The description of the prompt.
instanceArn String
The identifier of the Amazon Connect instance.
name String
The name of the prompt.
promptArn String
The Amazon Resource Name (ARN) for the prompt.
tags List<Property Map>
An array of key-value pairs to apply to this resource.

Supporting Types

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

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