@@ -50,12 +50,26 @@ https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html
50
50
51
51
## Properties
52
52
53
- ### encryptionKey?
53
+ ### \_ hash
54
54
55
- > ` readonly ` ` optional ` ** encryptionKey** : ` IKey `
55
+ > ` protected ` ` readonly ` ** \_ hash** : ` string `
56
+
57
+ ** ` Internal ` **
58
+
59
+ The computed hash of the prompt properties.
60
+
61
+ ***
62
+
63
+ ### kmsKey?
64
+
65
+ > ` readonly ` ` optional ` ** kmsKey** : ` IKey `
56
66
57
67
The KMS key that the prompt is encrypted with.
58
68
69
+ #### Implementation of
70
+
71
+ [ ` IPrompt ` ] ( ../interfaces/IPrompt.md ) .[ ` kmsKey ` ] ( ../interfaces/IPrompt.md#kmskey )
72
+
59
73
***
60
74
61
75
### node
@@ -114,6 +128,18 @@ The name of the prompt.
114
128
115
129
***
116
130
131
+ ### promptVersion
132
+
133
+ > ** promptVersion** : ` string `
134
+
135
+ The version of the prompt.
136
+
137
+ #### Implementation of
138
+
139
+ [ ` IPrompt ` ] ( ../interfaces/IPrompt.md ) .[ ` promptVersion ` ] ( ../interfaces/IPrompt.md#promptversion )
140
+
141
+ ***
142
+
117
143
### variants
118
144
119
145
> ` readonly ` ** variants** : [ ` PromptVariant ` ] ( PromptVariant.md ) [ ]
@@ -140,7 +166,7 @@ Adds a prompt variant.
140
166
141
167
### createVersion()
142
168
143
- > ** createVersion** (` description ` ?): ` void `
169
+ > ** createVersion** (` description ` ?): ` string `
144
170
145
171
Creates a prompt version, a static snapshot of your prompt that can be
146
172
deployed to production.
@@ -151,7 +177,7 @@ deployed to production.
151
177
152
178
#### Returns
153
179
154
- ` void `
180
+ ` string `
155
181
156
182
***
157
183
@@ -171,13 +197,17 @@ Returns a string representation of this construct.
171
197
172
198
***
173
199
174
- ### fromPromptArn ()
200
+ ### fromPromptAttributes ()
175
201
176
- > ` static ` ** fromPromptArn ** (` promptArn ` ): [ ` IPrompt ` ] ( ../interfaces/IPrompt.md )
202
+ > ` static ` ** fromPromptAttributes ** (` scope ` , ` id ` , ` attrs ` ): [ ` IPrompt ` ] ( ../interfaces/IPrompt.md )
177
203
178
204
#### Parameters
179
205
180
- • ** promptArn** : ` string `
206
+ • ** scope** : ` Construct `
207
+
208
+ • ** id** : ` string `
209
+
210
+ • ** attrs** : [ ` PromptAttributes ` ] ( ../interfaces/PromptAttributes.md )
181
211
182
212
#### Returns
183
213
0 commit comments