1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. wisdom
  5. AiPromptVersion

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.wisdom.AiPromptVersion

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Definition of AWS::Wisdom::AIPromptVersion Resource Type

Create AiPromptVersion Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AiPromptVersion(name: string, args: AiPromptVersionArgs, opts?: CustomResourceOptions);
@overload
def AiPromptVersion(resource_name: str,
                    args: AiPromptVersionArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def AiPromptVersion(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    ai_prompt_id: Optional[str] = None,
                    assistant_id: Optional[str] = None,
                    modified_time_seconds: Optional[float] = None)
func NewAiPromptVersion(ctx *Context, name string, args AiPromptVersionArgs, opts ...ResourceOption) (*AiPromptVersion, error)
public AiPromptVersion(string name, AiPromptVersionArgs args, CustomResourceOptions? opts = null)
public AiPromptVersion(String name, AiPromptVersionArgs args)
public AiPromptVersion(String name, AiPromptVersionArgs args, CustomResourceOptions options)
type: aws-native:wisdom:AiPromptVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AiPromptVersionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AiPromptVersionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AiPromptVersionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AiPromptVersionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AiPromptVersionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AiPromptVersion 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 AiPromptVersion resource accepts the following input properties:

AiPromptId This property is required. string
The identifier of the Amazon Q in Connect AI prompt.
AssistantId This property is required. string
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
ModifiedTimeSeconds double
The time the AI Prompt version was last modified in seconds.
AiPromptId This property is required. string
The identifier of the Amazon Q in Connect AI prompt.
AssistantId This property is required. string
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
ModifiedTimeSeconds float64
The time the AI Prompt version was last modified in seconds.
aiPromptId This property is required. String
The identifier of the Amazon Q in Connect AI prompt.
assistantId This property is required. String
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
modifiedTimeSeconds Double
The time the AI Prompt version was last modified in seconds.
aiPromptId This property is required. string
The identifier of the Amazon Q in Connect AI prompt.
assistantId This property is required. string
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
modifiedTimeSeconds number
The time the AI Prompt version was last modified in seconds.
ai_prompt_id This property is required. str
The identifier of the Amazon Q in Connect AI prompt.
assistant_id This property is required. str
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
modified_time_seconds float
The time the AI Prompt version was last modified in seconds.
aiPromptId This property is required. String
The identifier of the Amazon Q in Connect AI prompt.
assistantId This property is required. String
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
modifiedTimeSeconds Number
The time the AI Prompt version was last modified in seconds.

Outputs

All input properties are implicitly available as output properties. Additionally, the AiPromptVersion resource produces the following output properties:

AiPromptArn string
The ARN of the AI prompt.
AiPromptVersionId string
AssistantArn string
Id string
The provider-assigned unique ID for this managed resource.
VersionNumber double
The version number for this AI Prompt version.
AiPromptArn string
The ARN of the AI prompt.
AiPromptVersionId string
AssistantArn string
Id string
The provider-assigned unique ID for this managed resource.
VersionNumber float64
The version number for this AI Prompt version.
aiPromptArn String
The ARN of the AI prompt.
aiPromptVersionId String
assistantArn String
id String
The provider-assigned unique ID for this managed resource.
versionNumber Double
The version number for this AI Prompt version.
aiPromptArn string
The ARN of the AI prompt.
aiPromptVersionId string
assistantArn string
id string
The provider-assigned unique ID for this managed resource.
versionNumber number
The version number for this AI Prompt version.
ai_prompt_arn str
The ARN of the AI prompt.
ai_prompt_version_id str
assistant_arn str
id str
The provider-assigned unique ID for this managed resource.
version_number float
The version number for this AI Prompt version.
aiPromptArn String
The ARN of the AI prompt.
aiPromptVersionId String
assistantArn String
id String
The provider-assigned unique ID for this managed resource.
versionNumber Number
The version number for this AI Prompt version.

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.27.0 published on Monday, Apr 14, 2025 by Pulumi