@awboost/cfn-resource-types 0.1.207 → 0.1.209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/AWS-FSx-FileSystem.d.ts +10 -0
- package/lib/AWS-Kendra-Index.d.ts +1 -1
- package/lib/AWS-Wisdom-AIGuardrail.d.ts +331 -0
- package/lib/AWS-Wisdom-AIGuardrail.js +12 -0
- package/lib/AWS-Wisdom-AIGuardrailVersion.d.ts +45 -0
- package/lib/AWS-Wisdom-AIGuardrailVersion.js +12 -0
- package/package.json +1 -1
|
@@ -67,6 +67,7 @@ export type LustreConfiguration = {
|
|
|
67
67
|
DataCompressionType?: string;
|
|
68
68
|
DeploymentType?: string;
|
|
69
69
|
DriveCacheType?: string;
|
|
70
|
+
EfaEnabled?: boolean;
|
|
70
71
|
ExportPath?: string;
|
|
71
72
|
ImportPath?: string;
|
|
72
73
|
ImportedFileChunkSize?: number;
|
|
@@ -121,11 +122,20 @@ export type OpenZFSConfiguration = {
|
|
|
121
122
|
EndpointIpAddressRange?: string;
|
|
122
123
|
Options?: string[];
|
|
123
124
|
PreferredSubnetId?: string;
|
|
125
|
+
ReadCacheConfiguration?: ReadCacheConfiguration;
|
|
124
126
|
RootVolumeConfiguration?: RootVolumeConfiguration;
|
|
125
127
|
RouteTableIds?: string[];
|
|
126
128
|
ThroughputCapacity?: number;
|
|
127
129
|
WeeklyMaintenanceStartTime?: string;
|
|
128
130
|
};
|
|
131
|
+
/**
|
|
132
|
+
* Type definition for `AWS::FSx::FileSystem.ReadCacheConfiguration`.
|
|
133
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-readcacheconfiguration.html}
|
|
134
|
+
*/
|
|
135
|
+
export type ReadCacheConfiguration = {
|
|
136
|
+
SizeGiB?: number;
|
|
137
|
+
SizingMode?: string;
|
|
138
|
+
};
|
|
129
139
|
/**
|
|
130
140
|
* Type definition for `AWS::FSx::FileSystem.RootVolumeConfiguration`.
|
|
131
141
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-rootvolumeconfiguration.html}
|
|
@@ -106,7 +106,7 @@ export type DocumentMetadataConfiguration = {
|
|
|
106
106
|
* Edition of index
|
|
107
107
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-edition.html}
|
|
108
108
|
*/
|
|
109
|
-
export type Edition = "DEVELOPER_EDITION" | "ENTERPRISE_EDITION";
|
|
109
|
+
export type Edition = "DEVELOPER_EDITION" | "ENTERPRISE_EDITION" | "GEN_AI_ENTERPRISE_EDITION";
|
|
110
110
|
/**
|
|
111
111
|
* Type definition for `AWS::Kendra::Index.JsonTokenTypeConfiguration`.
|
|
112
112
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jsontokentypeconfiguration.html}
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Definition of AWS::Wisdom::AIGuardrail Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html}
|
|
6
|
+
*/
|
|
7
|
+
export type WisdomAIGuardrailProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$`
|
|
10
|
+
*/
|
|
11
|
+
AssistantId: string;
|
|
12
|
+
/**
|
|
13
|
+
* Messaging for when violations are detected in text
|
|
14
|
+
* @minLength `1`
|
|
15
|
+
* @maxLength `500`
|
|
16
|
+
*/
|
|
17
|
+
BlockedInputMessaging: string;
|
|
18
|
+
/**
|
|
19
|
+
* Messaging for when violations are detected in text
|
|
20
|
+
* @minLength `1`
|
|
21
|
+
* @maxLength `500`
|
|
22
|
+
*/
|
|
23
|
+
BlockedOutputsMessaging: string;
|
|
24
|
+
/**
|
|
25
|
+
* Content policy config for a guardrail.
|
|
26
|
+
*/
|
|
27
|
+
ContentPolicyConfig?: AIGuardrailContentPolicyConfig;
|
|
28
|
+
/**
|
|
29
|
+
* Contextual grounding policy config for a guardrail.
|
|
30
|
+
*/
|
|
31
|
+
ContextualGroundingPolicyConfig?: AIGuardrailContextualGroundingPolicyConfig;
|
|
32
|
+
/**
|
|
33
|
+
* Description of the guardrail or its version
|
|
34
|
+
* @minLength `1`
|
|
35
|
+
* @maxLength `200`
|
|
36
|
+
*/
|
|
37
|
+
Description?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @minLength `1`
|
|
40
|
+
* @maxLength `255`
|
|
41
|
+
* @pattern `^[a-zA-Z0-9\s_.,-]+`
|
|
42
|
+
*/
|
|
43
|
+
Name?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Sensitive information policy config for a guardrail.
|
|
46
|
+
*/
|
|
47
|
+
SensitiveInformationPolicyConfig?: AIGuardrailSensitiveInformationPolicyConfig;
|
|
48
|
+
Tags?: Tags;
|
|
49
|
+
/**
|
|
50
|
+
* Topic policy config for a guardrail.
|
|
51
|
+
*/
|
|
52
|
+
TopicPolicyConfig?: AIGuardrailTopicPolicyConfig;
|
|
53
|
+
/**
|
|
54
|
+
* Word policy config for a guardrail.
|
|
55
|
+
*/
|
|
56
|
+
WordPolicyConfig?: AIGuardrailWordPolicyConfig;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Attribute type definition for `AWS::Wisdom::AIGuardrail`.
|
|
60
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#aws-resource-wisdom-aiguardrail-return-values}
|
|
61
|
+
*/
|
|
62
|
+
export type WisdomAIGuardrailAttributes = {
|
|
63
|
+
/**
|
|
64
|
+
* @pattern `^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$`
|
|
65
|
+
*/
|
|
66
|
+
AIGuardrailArn: string;
|
|
67
|
+
/**
|
|
68
|
+
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}(:[A-Z0-9_$]+){0,1}$`
|
|
69
|
+
*/
|
|
70
|
+
AIGuardrailId: string;
|
|
71
|
+
/**
|
|
72
|
+
* @pattern `^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$`
|
|
73
|
+
*/
|
|
74
|
+
AssistantArn: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.AIGuardrailContentPolicyConfig`.
|
|
78
|
+
* Content policy config for a guardrail.
|
|
79
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-aiguardrailcontentpolicyconfig.html}
|
|
80
|
+
*/
|
|
81
|
+
export type AIGuardrailContentPolicyConfig = {
|
|
82
|
+
/**
|
|
83
|
+
* List of content filter configs in content policy.
|
|
84
|
+
* @minLength `1`
|
|
85
|
+
* @maxLength `6`
|
|
86
|
+
*/
|
|
87
|
+
FiltersConfig: GuardrailContentFilterConfig[];
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.AIGuardrailContextualGroundingPolicyConfig`.
|
|
91
|
+
* Contextual grounding policy config for a guardrail.
|
|
92
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-aiguardrailcontextualgroundingpolicyconfig.html}
|
|
93
|
+
*/
|
|
94
|
+
export type AIGuardrailContextualGroundingPolicyConfig = {
|
|
95
|
+
/**
|
|
96
|
+
* List of contextual grounding filter configs.
|
|
97
|
+
* @minLength `1`
|
|
98
|
+
*/
|
|
99
|
+
FiltersConfig: GuardrailContextualGroundingFilterConfig[];
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.AIGuardrailSensitiveInformationPolicyConfig`.
|
|
103
|
+
* Sensitive information policy config for a guardrail.
|
|
104
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-aiguardrailsensitiveinformationpolicyconfig.html}
|
|
105
|
+
*/
|
|
106
|
+
export type AIGuardrailSensitiveInformationPolicyConfig = {
|
|
107
|
+
/**
|
|
108
|
+
* List of entities.
|
|
109
|
+
* @minLength `1`
|
|
110
|
+
*/
|
|
111
|
+
PiiEntitiesConfig?: GuardrailPiiEntityConfig[];
|
|
112
|
+
/**
|
|
113
|
+
* List of regex.
|
|
114
|
+
* @minLength `1`
|
|
115
|
+
*/
|
|
116
|
+
RegexesConfig?: GuardrailRegexConfig[];
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.AIGuardrailTopicPolicyConfig`.
|
|
120
|
+
* Topic policy config for a guardrail.
|
|
121
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-aiguardrailtopicpolicyconfig.html}
|
|
122
|
+
*/
|
|
123
|
+
export type AIGuardrailTopicPolicyConfig = {
|
|
124
|
+
/**
|
|
125
|
+
* List of topic configs in topic policy.
|
|
126
|
+
* @minLength `1`
|
|
127
|
+
*/
|
|
128
|
+
TopicsConfig: GuardrailTopicConfig[];
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.AIGuardrailWordPolicyConfig`.
|
|
132
|
+
* Word policy config for a guardrail.
|
|
133
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-aiguardrailwordpolicyconfig.html}
|
|
134
|
+
*/
|
|
135
|
+
export type AIGuardrailWordPolicyConfig = {
|
|
136
|
+
/**
|
|
137
|
+
* A config for the list of managed words.
|
|
138
|
+
*/
|
|
139
|
+
ManagedWordListsConfig?: GuardrailManagedWordsConfig[];
|
|
140
|
+
/**
|
|
141
|
+
* List of custom word configs.
|
|
142
|
+
* @minLength `1`
|
|
143
|
+
*/
|
|
144
|
+
WordsConfig?: GuardrailWordConfig[];
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailContentFilterConfig`.
|
|
148
|
+
* Content filter config in content policy.
|
|
149
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailcontentfilterconfig.html}
|
|
150
|
+
*/
|
|
151
|
+
export type GuardrailContentFilterConfig = {
|
|
152
|
+
/**
|
|
153
|
+
* Strength for filters
|
|
154
|
+
*/
|
|
155
|
+
InputStrength: GuardrailFilterStrength;
|
|
156
|
+
/**
|
|
157
|
+
* Strength for filters
|
|
158
|
+
*/
|
|
159
|
+
OutputStrength: GuardrailFilterStrength;
|
|
160
|
+
/**
|
|
161
|
+
* Type of text to text filter in content policy
|
|
162
|
+
*/
|
|
163
|
+
Type: GuardrailContentFilterType;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailContentFilterType`.
|
|
167
|
+
* Type of text to text filter in content policy
|
|
168
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailcontentfiltertype.html}
|
|
169
|
+
*/
|
|
170
|
+
export type GuardrailContentFilterType = "SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK";
|
|
171
|
+
/**
|
|
172
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailContextualGroundingFilterConfig`.
|
|
173
|
+
* A config for grounding filter.
|
|
174
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig.html}
|
|
175
|
+
*/
|
|
176
|
+
export type GuardrailContextualGroundingFilterConfig = {
|
|
177
|
+
/**
|
|
178
|
+
* The threshold for this filter.
|
|
179
|
+
* @min `0`
|
|
180
|
+
*/
|
|
181
|
+
Threshold: number;
|
|
182
|
+
/**
|
|
183
|
+
* Type of contextual grounding filter
|
|
184
|
+
*/
|
|
185
|
+
Type: GuardrailContextualGroundingFilterType;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailContextualGroundingFilterType`.
|
|
189
|
+
* Type of contextual grounding filter
|
|
190
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailcontextualgroundingfiltertype.html}
|
|
191
|
+
*/
|
|
192
|
+
export type GuardrailContextualGroundingFilterType = "GROUNDING" | "RELEVANCE";
|
|
193
|
+
/**
|
|
194
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailFilterStrength`.
|
|
195
|
+
* Strength for filters
|
|
196
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailfilterstrength.html}
|
|
197
|
+
*/
|
|
198
|
+
export type GuardrailFilterStrength = "NONE" | "LOW" | "MEDIUM" | "HIGH";
|
|
199
|
+
/**
|
|
200
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailManagedWordsConfig`.
|
|
201
|
+
* A managed words config.
|
|
202
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailmanagedwordsconfig.html}
|
|
203
|
+
*/
|
|
204
|
+
export type GuardrailManagedWordsConfig = {
|
|
205
|
+
/**
|
|
206
|
+
* Options for managed words.
|
|
207
|
+
*/
|
|
208
|
+
Type: GuardrailManagedWordsType;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailManagedWordsType`.
|
|
212
|
+
* Options for managed words.
|
|
213
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailmanagedwordstype.html}
|
|
214
|
+
*/
|
|
215
|
+
export type GuardrailManagedWordsType = "PROFANITY";
|
|
216
|
+
/**
|
|
217
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailPiiEntityConfig`.
|
|
218
|
+
* Pii entity configuration.
|
|
219
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailpiientityconfig.html}
|
|
220
|
+
*/
|
|
221
|
+
export type GuardrailPiiEntityConfig = {
|
|
222
|
+
/**
|
|
223
|
+
* Options for sensitive information action.
|
|
224
|
+
*/
|
|
225
|
+
Action: GuardrailSensitiveInformationAction;
|
|
226
|
+
/**
|
|
227
|
+
* The currently supported PII entities
|
|
228
|
+
*/
|
|
229
|
+
Type: GuardrailPiiEntityType;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailPiiEntityType`.
|
|
233
|
+
* The currently supported PII entities
|
|
234
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailpiientitytype.html}
|
|
235
|
+
*/
|
|
236
|
+
export type GuardrailPiiEntityType = "ADDRESS" | "AGE" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "DRIVER_ID" | "EMAIL" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "IP_ADDRESS" | "LICENSE_PLATE" | "MAC_ADDRESS" | "NAME" | "PASSWORD" | "PHONE" | "PIN" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "URL" | "USERNAME" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "VEHICLE_IDENTIFICATION_NUMBER";
|
|
237
|
+
/**
|
|
238
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailRegexConfig`.
|
|
239
|
+
* A regex configuration.
|
|
240
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailregexconfig.html}
|
|
241
|
+
*/
|
|
242
|
+
export type GuardrailRegexConfig = {
|
|
243
|
+
/**
|
|
244
|
+
* Options for sensitive information action.
|
|
245
|
+
*/
|
|
246
|
+
Action: GuardrailSensitiveInformationAction;
|
|
247
|
+
/**
|
|
248
|
+
* The regex description.
|
|
249
|
+
* @minLength `1`
|
|
250
|
+
* @maxLength `1000`
|
|
251
|
+
*/
|
|
252
|
+
Description?: string;
|
|
253
|
+
/**
|
|
254
|
+
* The regex name.
|
|
255
|
+
* @minLength `1`
|
|
256
|
+
* @maxLength `100`
|
|
257
|
+
*/
|
|
258
|
+
Name: string;
|
|
259
|
+
/**
|
|
260
|
+
* The regex pattern.
|
|
261
|
+
* @minLength `1`
|
|
262
|
+
*/
|
|
263
|
+
Pattern: string;
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailSensitiveInformationAction`.
|
|
267
|
+
* Options for sensitive information action.
|
|
268
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailsensitiveinformationaction.html}
|
|
269
|
+
*/
|
|
270
|
+
export type GuardrailSensitiveInformationAction = "BLOCK" | "ANONYMIZE";
|
|
271
|
+
/**
|
|
272
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailTopicConfig`.
|
|
273
|
+
* Topic config in topic policy.
|
|
274
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailtopicconfig.html}
|
|
275
|
+
*/
|
|
276
|
+
export type GuardrailTopicConfig = {
|
|
277
|
+
/**
|
|
278
|
+
* Definition of topic in topic policy
|
|
279
|
+
* @minLength `1`
|
|
280
|
+
* @maxLength `200`
|
|
281
|
+
*/
|
|
282
|
+
Definition: string;
|
|
283
|
+
/**
|
|
284
|
+
* List of text examples
|
|
285
|
+
* @minLength `0`
|
|
286
|
+
*/
|
|
287
|
+
Examples?: string[];
|
|
288
|
+
/**
|
|
289
|
+
* Name of topic in topic policy
|
|
290
|
+
* @minLength `1`
|
|
291
|
+
* @maxLength `100`
|
|
292
|
+
* @pattern `^[0-9a-zA-Z-_ !?.]+$`
|
|
293
|
+
*/
|
|
294
|
+
Name: string;
|
|
295
|
+
/**
|
|
296
|
+
* Type of topic in a policy
|
|
297
|
+
*/
|
|
298
|
+
Type: GuardrailTopicType;
|
|
299
|
+
};
|
|
300
|
+
/**
|
|
301
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailTopicType`.
|
|
302
|
+
* Type of topic in a policy
|
|
303
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailtopictype.html}
|
|
304
|
+
*/
|
|
305
|
+
export type GuardrailTopicType = "DENY";
|
|
306
|
+
/**
|
|
307
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailWordConfig`.
|
|
308
|
+
* A custom word config.
|
|
309
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailwordconfig.html}
|
|
310
|
+
*/
|
|
311
|
+
export type GuardrailWordConfig = {
|
|
312
|
+
/**
|
|
313
|
+
* The custom word text.
|
|
314
|
+
* @minLength `1`
|
|
315
|
+
*/
|
|
316
|
+
Text: string;
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.Tags`.
|
|
320
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-tags.html}
|
|
321
|
+
*/
|
|
322
|
+
export type Tags = Record<string, string>;
|
|
323
|
+
/**
|
|
324
|
+
* Definition of AWS::Wisdom::AIGuardrail Resource Type
|
|
325
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html}
|
|
326
|
+
*/
|
|
327
|
+
export declare class WisdomAIGuardrail extends $Resource<"AWS::Wisdom::AIGuardrail", WisdomAIGuardrailProperties, WisdomAIGuardrailAttributes> {
|
|
328
|
+
static readonly Type = "AWS::Wisdom::AIGuardrail";
|
|
329
|
+
constructor(logicalId: string, properties: WisdomAIGuardrailProperties, options?: $ResourceOptions);
|
|
330
|
+
}
|
|
331
|
+
//# sourceMappingURL=AWS-Wisdom-AIGuardrail.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Definition of AWS::Wisdom::AIGuardrail Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html}
|
|
5
|
+
*/
|
|
6
|
+
export class WisdomAIGuardrail extends $Resource {
|
|
7
|
+
static Type = "AWS::Wisdom::AIGuardrail";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, WisdomAIGuardrail.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-Wisdom-AIGuardrail.js.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Definition of AWS::Wisdom::AIGuardrailVersion Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrailversion.html}
|
|
6
|
+
*/
|
|
7
|
+
export type WisdomAIGuardrailVersionProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
|
|
10
|
+
*/
|
|
11
|
+
AIGuardrailId: string;
|
|
12
|
+
/**
|
|
13
|
+
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
|
|
14
|
+
*/
|
|
15
|
+
AssistantId: string;
|
|
16
|
+
ModifiedTimeSeconds?: number;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Attribute type definition for `AWS::Wisdom::AIGuardrailVersion`.
|
|
20
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrailversion.html#aws-resource-wisdom-aiguardrailversion-return-values}
|
|
21
|
+
*/
|
|
22
|
+
export type WisdomAIGuardrailVersionAttributes = {
|
|
23
|
+
/**
|
|
24
|
+
* @pattern `^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$`
|
|
25
|
+
*/
|
|
26
|
+
AIGuardrailArn: string;
|
|
27
|
+
/**
|
|
28
|
+
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$`
|
|
29
|
+
*/
|
|
30
|
+
AIGuardrailVersionId: string;
|
|
31
|
+
/**
|
|
32
|
+
* @pattern `^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$`
|
|
33
|
+
*/
|
|
34
|
+
AssistantArn: string;
|
|
35
|
+
VersionNumber: number;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Definition of AWS::Wisdom::AIGuardrailVersion Resource Type
|
|
39
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrailversion.html}
|
|
40
|
+
*/
|
|
41
|
+
export declare class WisdomAIGuardrailVersion extends $Resource<"AWS::Wisdom::AIGuardrailVersion", WisdomAIGuardrailVersionProperties, WisdomAIGuardrailVersionAttributes> {
|
|
42
|
+
static readonly Type = "AWS::Wisdom::AIGuardrailVersion";
|
|
43
|
+
constructor(logicalId: string, properties: WisdomAIGuardrailVersionProperties, options?: $ResourceOptions);
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=AWS-Wisdom-AIGuardrailVersion.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Definition of AWS::Wisdom::AIGuardrailVersion Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrailversion.html}
|
|
5
|
+
*/
|
|
6
|
+
export class WisdomAIGuardrailVersion extends $Resource {
|
|
7
|
+
static Type = "AWS::Wisdom::AIGuardrailVersion";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, WisdomAIGuardrailVersion.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-Wisdom-AIGuardrailVersion.js.map
|