# CfnAIPromptVersionProps

Properties for defining a `CfnAIPromptVersion`.

Used as props by: [CfnAIPromptVersion](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnAIPromptVersion.html)

- Source: Generated at build time
- Type last changed: v2.166.0 · 7 Nov 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const cfnAIPromptVersionProps: wisdom.CfnAIPromptVersionProps = {
  aiPromptId: 'aiPromptId',
  assistantId: 'assistantId',

  // the properties below are optional
  modifiedTimeSeconds: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wisdom as wisdom

cfn_ai_prompt_version_props = wisdom.CfnAIPromptVersionProps(
    ai_prompt_id="aiPromptId",
    assistant_id="assistantId",

    # the properties below are optional
    modified_time_seconds=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;

CfnAIPromptVersionProps cfnAIPromptVersionProps = CfnAIPromptVersionProps.builder()
        .aiPromptId("aiPromptId")
        .assistantId("assistantId")

        // the properties below are optional
        .modifiedTimeSeconds(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Wisdom;

var cfnAIPromptVersionProps = new CfnAIPromptVersionProps {
    AiPromptId = "aiPromptId",
    AssistantId = "assistantId",

    // the properties below are optional
    ModifiedTimeSeconds = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnAIPromptVersionProps := &CfnAIPromptVersionProps{
	AiPromptId: jsii.String("aiPromptId"),
	AssistantId: jsii.String("assistantId"),

	// the properties below are optional
	ModifiedTimeSeconds: jsii.Number(123),
}
```

## Properties

- `aiPromptId`: string (required) — The identifier of the Amazon Q in Connect AI prompt.

- `assistantId`: string (required) — 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.
