We recommend new projects start with resources from the AWS provider.
aws-native.wisdom.AiPromptVersion
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 string
- The unique name of the resource.
- args AiPromptVersionArgs
- 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 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 string
- The unique name of the resource.
- args AiPromptVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiPromptVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- 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.
- Modified
Time doubleSeconds - The time the AI Prompt version was last modified in seconds.
- 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.
- Modified
Time float64Seconds - The time the AI Prompt version was last modified in seconds.
- 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.
- modified
Time DoubleSeconds - The time the AI Prompt version was last modified in seconds.
- 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.
- modified
Time numberSeconds - The time the AI Prompt version was last modified in seconds.
- 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.
- modified_
time_ floatseconds - The time the AI Prompt version was last modified in seconds.
- 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.
- modified
Time NumberSeconds - 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:
- Ai
Prompt stringArn - Ai
Prompt stringVersion Id - Assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- Id string
- The provider-assigned unique ID for this managed resource.
- Version
Number double - The version number for this AI Prompt version.
- Ai
Prompt stringArn - Ai
Prompt stringVersion Id - Assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- Id string
- The provider-assigned unique ID for this managed resource.
- Version
Number float64 - The version number for this AI Prompt version.
- ai
Prompt StringArn - ai
Prompt StringVersion Id - assistant
Arn String - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- id String
- The provider-assigned unique ID for this managed resource.
- version
Number Double - The version number for this AI Prompt version.
- ai
Prompt stringArn - ai
Prompt stringVersion Id - assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- id string
- The provider-assigned unique ID for this managed resource.
- version
Number number - The version number for this AI Prompt version.
- ai_
prompt_ strarn - ai_
prompt_ strversion_ id - 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.
- version_
number float - The version number for this AI Prompt version.
- ai
Prompt StringArn - ai
Prompt StringVersion Id - assistant
Arn String - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- id String
- The provider-assigned unique ID for this managed resource.
- version
Number 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.