# CfnPromptVersionProps

Properties for defining a `CfnPromptVersion`.

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

- Source: Generated at build time
- Type last changed: v2.157.0 · 10 Sep 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_bedrock as bedrock } from 'aws-cdk-lib';
const cfnPromptVersionProps: bedrock.CfnPromptVersionProps = {
  promptArn: 'promptArn',

  // the properties below are optional
  description: 'description',
  tags: {
    tagsKey: 'tags',
  },
};
```

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_bedrock as bedrock

cfn_prompt_version_props = bedrock.CfnPromptVersionProps(
    prompt_arn="promptArn",

    # the properties below are optional
    description="description",
    tags={
        "tags_key": "tags"
    }
)
```

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.bedrock.*;

CfnPromptVersionProps cfnPromptVersionProps = CfnPromptVersionProps.builder()
        .promptArn("promptArn")

        // the properties below are optional
        .description("description")
        .tags(Map.of(
                "tagsKey", "tags"))
        .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.Bedrock;

var cfnPromptVersionProps = new CfnPromptVersionProps {
    PromptArn = "promptArn",

    // the properties below are optional
    Description = "description",
    Tags = new Dictionary<string, string> {
        { "tagsKey", "tags" }
    }
};
```

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"

cfnPromptVersionProps := &CfnPromptVersionProps{
	PromptArn: jsii.String("promptArn"),

	// the properties below are optional
	Description: jsii.String("description"),
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}
```

## Properties

- `description`: string — The description of the prompt version.

- `promptArn`: string (required) — The Amazon Resource Name (ARN) of the version of the prompt.

- `tags`: { [key: string]: string } — A map of tags attached to the prompt version and their values.
