@awboost/cfn-resource-types 0.1.258 → 0.1.260

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.
@@ -72,6 +72,12 @@ export type BedrockPromptAttributes = {
72
72
  */
73
73
  Version: string;
74
74
  };
75
+ /**
76
+ * Type definition for `AWS::Bedrock::Prompt.AdditionalModelRequestFields`.
77
+ * Contains model-specific configurations
78
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-additionalmodelrequestfields.html}
79
+ */
80
+ export type AdditionalModelRequestFields = Record<string, any>;
75
81
  /**
76
82
  * Type definition for `AWS::Bedrock::Prompt.AnyToolChoice`.
77
83
  * Any Tool choice
@@ -84,6 +90,23 @@ export type AnyToolChoice = Record<string, any>;
84
90
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-autotoolchoice.html}
85
91
  */
86
92
  export type AutoToolChoice = Record<string, any>;
93
+ /**
94
+ * Type definition for `AWS::Bedrock::Prompt.CachePointBlock`.
95
+ * CachePointBlock
96
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-cachepointblock.html}
97
+ */
98
+ export type CachePointBlock = {
99
+ /**
100
+ * CachePoint types for CachePointBlock
101
+ */
102
+ Type: CachePointType;
103
+ };
104
+ /**
105
+ * Type definition for `AWS::Bedrock::Prompt.CachePointType`.
106
+ * CachePoint types for CachePointBlock
107
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-cachepointtype.html}
108
+ */
109
+ export type CachePointType = "default";
87
110
  /**
88
111
  * Type definition for `AWS::Bedrock::Prompt.ChatPromptTemplateConfiguration`.
89
112
  * Configuration for chat prompt template
@@ -113,6 +136,7 @@ export type ChatPromptTemplateConfiguration = {
113
136
  };
114
137
  /**
115
138
  * Type definition for `AWS::Bedrock::Prompt.ContentBlock`.
139
+ * Configuration for chat prompt template
116
140
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-contentblock.html}
117
141
  */
118
142
  export type ContentBlock = {
@@ -121,6 +145,11 @@ export type ContentBlock = {
121
145
  * @minLength `1`
122
146
  */
123
147
  Text: string;
148
+ } | {
149
+ /**
150
+ * CachePointBlock
151
+ */
152
+ CachePoint: CachePointBlock;
124
153
  };
125
154
  /**
126
155
  * Type definition for `AWS::Bedrock::Prompt.ConversationRole`.
@@ -248,6 +277,10 @@ export type PromptTemplateType = "TEXT" | "CHAT";
248
277
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-promptvariant.html}
249
278
  */
250
279
  export type PromptVariant = {
280
+ /**
281
+ * Contains model-specific configurations
282
+ */
283
+ AdditionalModelRequestFields?: AdditionalModelRequestFields;
251
284
  GenAiResource?: PromptGenAiResource;
252
285
  InferenceConfiguration?: PromptInferenceConfiguration;
253
286
  /**
@@ -287,6 +320,7 @@ export type SpecificToolChoice = {
287
320
  };
288
321
  /**
289
322
  * Type definition for `AWS::Bedrock::Prompt.SystemContentBlock`.
323
+ * Configuration for chat prompt template
290
324
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-systemcontentblock.html}
291
325
  */
292
326
  export type SystemContentBlock = {
@@ -295,6 +329,11 @@ export type SystemContentBlock = {
295
329
  * @minLength `1`
296
330
  */
297
331
  Text: string;
332
+ } | {
333
+ /**
334
+ * CachePointBlock
335
+ */
336
+ CachePoint: CachePointBlock;
298
337
  };
299
338
  /**
300
339
  * Type definition for `AWS::Bedrock::Prompt.TagsMap`.
@@ -308,6 +347,10 @@ export type TagsMap = Record<string, string>;
308
347
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-textprompttemplateconfiguration.html}
309
348
  */
310
349
  export type TextPromptTemplateConfiguration = {
350
+ /**
351
+ * CachePointBlock
352
+ */
353
+ CachePoint?: CachePointBlock;
311
354
  /**
312
355
  * List of input variables
313
356
  * @minLength `0`
@@ -353,6 +396,7 @@ export type TextS3Location = {
353
396
  };
354
397
  /**
355
398
  * Type definition for `AWS::Bedrock::Prompt.Tool`.
399
+ * Tool details
356
400
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-tool.html}
357
401
  */
358
402
  export type Tool = {
@@ -360,6 +404,11 @@ export type Tool = {
360
404
  * Tool specification
361
405
  */
362
406
  ToolSpec: ToolSpecification;
407
+ } | {
408
+ /**
409
+ * CachePointBlock
410
+ */
411
+ CachePoint: CachePointBlock;
363
412
  };
364
413
  /**
365
414
  * Type definition for `AWS::Bedrock::Prompt.ToolChoice`.
@@ -71,6 +71,10 @@ export type BedrockPromptVersionAttributes = {
71
71
  * @maxLength `1`
72
72
  */
73
73
  Variants: {
74
+ /**
75
+ * Contains model-specific configurations
76
+ */
77
+ AdditionalModelRequestFields: Record<string, any>;
74
78
  GenAiResource: {
75
79
  /**
76
80
  * Target Agent to invoke with Prompt
@@ -144,6 +148,12 @@ export type BedrockPromptVersionAttributes = {
144
148
  */
145
149
  Version: string;
146
150
  };
151
+ /**
152
+ * Type definition for `AWS::Bedrock::PromptVersion.AdditionalModelRequestFields`.
153
+ * Contains model-specific configurations
154
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-additionalmodelrequestfields.html}
155
+ */
156
+ export type AdditionalModelRequestFields = Record<string, any>;
147
157
  /**
148
158
  * Type definition for `AWS::Bedrock::PromptVersion.AnyToolChoice`.
149
159
  * Any Tool choice
@@ -156,6 +166,23 @@ export type AnyToolChoice = Record<string, any>;
156
166
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-autotoolchoice.html}
157
167
  */
158
168
  export type AutoToolChoice = Record<string, any>;
169
+ /**
170
+ * Type definition for `AWS::Bedrock::PromptVersion.CachePointBlock`.
171
+ * CachePointBlock
172
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-cachepointblock.html}
173
+ */
174
+ export type CachePointBlock = {
175
+ /**
176
+ * CachePoint types for CachePointBlock
177
+ */
178
+ Type: CachePointType;
179
+ };
180
+ /**
181
+ * Type definition for `AWS::Bedrock::PromptVersion.CachePointType`.
182
+ * CachePoint types for CachePointBlock
183
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-cachepointtype.html}
184
+ */
185
+ export type CachePointType = "default";
159
186
  /**
160
187
  * Type definition for `AWS::Bedrock::PromptVersion.ChatPromptTemplateConfiguration`.
161
188
  * Configuration for chat prompt template
@@ -185,6 +212,7 @@ export type ChatPromptTemplateConfiguration = {
185
212
  };
186
213
  /**
187
214
  * Type definition for `AWS::Bedrock::PromptVersion.ContentBlock`.
215
+ * Configuration for chat prompt template
188
216
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-contentblock.html}
189
217
  */
190
218
  export type ContentBlock = {
@@ -193,6 +221,11 @@ export type ContentBlock = {
193
221
  * @minLength `1`
194
222
  */
195
223
  Text: string;
224
+ } | {
225
+ /**
226
+ * CachePointBlock
227
+ */
228
+ CachePoint: CachePointBlock;
196
229
  };
197
230
  /**
198
231
  * Type definition for `AWS::Bedrock::PromptVersion.ConversationRole`.
@@ -320,6 +353,10 @@ export type PromptTemplateType = "TEXT" | "CHAT";
320
353
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-promptvariant.html}
321
354
  */
322
355
  export type PromptVariant = {
356
+ /**
357
+ * Contains model-specific configurations
358
+ */
359
+ AdditionalModelRequestFields?: AdditionalModelRequestFields;
323
360
  GenAiResource?: PromptGenAiResource;
324
361
  InferenceConfiguration?: PromptInferenceConfiguration;
325
362
  /**
@@ -359,6 +396,7 @@ export type SpecificToolChoice = {
359
396
  };
360
397
  /**
361
398
  * Type definition for `AWS::Bedrock::PromptVersion.SystemContentBlock`.
399
+ * Configuration for chat prompt template
362
400
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-systemcontentblock.html}
363
401
  */
364
402
  export type SystemContentBlock = {
@@ -367,6 +405,11 @@ export type SystemContentBlock = {
367
405
  * @minLength `1`
368
406
  */
369
407
  Text: string;
408
+ } | {
409
+ /**
410
+ * CachePointBlock
411
+ */
412
+ CachePoint: CachePointBlock;
370
413
  };
371
414
  /**
372
415
  * Type definition for `AWS::Bedrock::PromptVersion.TagsMap`.
@@ -380,6 +423,10 @@ export type TagsMap = Record<string, string>;
380
423
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-textprompttemplateconfiguration.html}
381
424
  */
382
425
  export type TextPromptTemplateConfiguration = {
426
+ /**
427
+ * CachePointBlock
428
+ */
429
+ CachePoint?: CachePointBlock;
383
430
  /**
384
431
  * List of input variables
385
432
  * @minLength `0`
@@ -395,6 +442,7 @@ export type TextPromptTemplateConfiguration = {
395
442
  };
396
443
  /**
397
444
  * Type definition for `AWS::Bedrock::PromptVersion.Tool`.
445
+ * Tool details
398
446
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-tool.html}
399
447
  */
400
448
  export type Tool = {
@@ -402,6 +450,11 @@ export type Tool = {
402
450
  * Tool specification
403
451
  */
404
452
  ToolSpec: ToolSpecification;
453
+ } | {
454
+ /**
455
+ * CachePointBlock
456
+ */
457
+ CachePoint: CachePointBlock;
405
458
  };
406
459
  /**
407
460
  * Type definition for `AWS::Bedrock::PromptVersion.ToolChoice`.
@@ -17,7 +17,6 @@ export type DynamoDBGlobalTableProperties = {
17
17
  */
18
18
  KeySchema: KeySchema[];
19
19
  LocalSecondaryIndexes?: LocalSecondaryIndex[];
20
- PointInTimeRecoverySpecification?: PointInTimeRecoverySpecification;
21
20
  /**
22
21
  * @minLength `1`
23
22
  */
@@ -14,7 +14,7 @@ export type EFSMountTargetProperties = {
14
14
  */
15
15
  IpAddress?: string;
16
16
  /**
17
- * Up to five VPC security group IDs, of the form ``sg-xxxxxxxx``. These must be for the same VPC as subnet specified.
17
+ * VPC security group IDs, of the form ``sg-xxxxxxxx``. These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see [Amazon VPC Quotas](https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html) in the *Amazon VPC User Guide* (see the *Security Groups* table).
18
18
  */
19
19
  SecurityGroups: string[];
20
20
  /**
@@ -16,6 +16,13 @@ export type EMRContainersVirtualClusterProperties = {
16
16
  * @pattern `[\.\-_/#A-Za-z0-9]+`
17
17
  */
18
18
  Name: string;
19
+ /**
20
+ * The ID of the security configuration.
21
+ * @minLength `1`
22
+ * @maxLength `64`
23
+ * @pattern `[0-9a-z]+`
24
+ */
25
+ SecurityConfigurationId?: string;
19
26
  /**
20
27
  * An array of key-value pairs to apply to this virtual cluster.
21
28
  */
@@ -0,0 +1,141 @@
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
+ * Resource Type definition for AWS::Transfer::WebApp
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-webapp.html}
6
+ */
7
+ export type TransferWebAppProperties = {
8
+ /**
9
+ * The AccessEndpoint is the URL that you provide to your users for them to interact with the Transfer Family web app. You can specify a custom URL or use the default value.
10
+ * @minLength `1`
11
+ * @maxLength `1024`
12
+ */
13
+ AccessEndpoint?: string;
14
+ /**
15
+ * You can provide a structure that contains the details for the identity provider to use with your web app.
16
+ */
17
+ IdentityProviderDetails: IdentityProviderDetails;
18
+ /**
19
+ * Key-value pairs that can be used to group and search for web apps.
20
+ * @maxLength `50`
21
+ */
22
+ Tags?: Tag[];
23
+ WebAppCustomization?: WebAppCustomization;
24
+ /**
25
+ * A union that contains the value for number of concurrent connections or the user sessions on your web app.
26
+ */
27
+ WebAppUnits?: WebAppUnits;
28
+ };
29
+ /**
30
+ * Attribute type definition for `AWS::Transfer::WebApp`.
31
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-webapp.html#aws-resource-transfer-webapp-return-values}
32
+ */
33
+ export type TransferWebAppAttributes = {
34
+ /**
35
+ * Specifies the unique Amazon Resource Name (ARN) for the web app.
36
+ * @minLength `20`
37
+ * @maxLength `1600`
38
+ * @pattern `arn:.*`
39
+ */
40
+ Arn: string;
41
+ /**
42
+ * You can provide a structure that contains the details for the identity provider to use with your web app.
43
+ */
44
+ IdentityProviderDetails: {
45
+ /**
46
+ * @minLength `10`
47
+ * @maxLength `1224`
48
+ * @pattern `^arn:[\w-]+:sso::\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}$`
49
+ */
50
+ ApplicationArn: string;
51
+ };
52
+ /**
53
+ * A unique identifier for the web app.
54
+ * @minLength `24`
55
+ * @maxLength `24`
56
+ * @pattern `^webapp-([0-9a-f]{17})$`
57
+ */
58
+ WebAppId: string;
59
+ };
60
+ /**
61
+ * Type definition for `AWS::Transfer::WebApp.IdentityProviderDetails`.
62
+ * You can provide a structure that contains the details for the identity provider to use with your web app.
63
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-identityproviderdetails.html}
64
+ */
65
+ export type IdentityProviderDetails = {
66
+ /**
67
+ * The Amazon Resource Name (ARN) for the IAM Identity Center used for the web app.
68
+ * @minLength `10`
69
+ * @maxLength `1224`
70
+ * @pattern `^arn:[\w-]+:sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$`
71
+ */
72
+ InstanceArn?: string;
73
+ /**
74
+ * The IAM role in IAM Identity Center used for the web app.
75
+ * @minLength `20`
76
+ * @maxLength `2048`
77
+ * @pattern `^arn:[a-z-]+:iam::[0-9]{12}:role[:/]\S+$`
78
+ */
79
+ Role?: string;
80
+ };
81
+ /**
82
+ * Type definition for `AWS::Transfer::WebApp.Tag`.
83
+ * Key-value pair that can be used to group and search for web apps.
84
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-tag.html}
85
+ */
86
+ export type Tag = {
87
+ /**
88
+ * @minLength `0`
89
+ * @maxLength `128`
90
+ */
91
+ Key: string;
92
+ /**
93
+ * @minLength `0`
94
+ * @maxLength `256`
95
+ */
96
+ Value: string;
97
+ };
98
+ /**
99
+ * Type definition for `AWS::Transfer::WebApp.WebAppCustomization`.
100
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-webappcustomization.html}
101
+ */
102
+ export type WebAppCustomization = {
103
+ /**
104
+ * Specifies a favicon to display in the browser tab.
105
+ * @minLength `1`
106
+ * @maxLength `20960`
107
+ */
108
+ FaviconFile?: string;
109
+ /**
110
+ * Specifies a logo to display on the web app.
111
+ * @minLength `1`
112
+ * @maxLength `51200`
113
+ */
114
+ LogoFile?: string;
115
+ /**
116
+ * Specifies a title to display on the web app.
117
+ * @minLength `0`
118
+ * @maxLength `100`
119
+ */
120
+ Title?: string;
121
+ };
122
+ /**
123
+ * Type definition for `AWS::Transfer::WebApp.WebAppUnits`.
124
+ * A union that contains the value for number of concurrent connections or the user sessions on your web app.
125
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-webappunits.html}
126
+ */
127
+ export type WebAppUnits = {
128
+ /**
129
+ * @min `1`
130
+ */
131
+ Provisioned: number;
132
+ };
133
+ /**
134
+ * Resource Type definition for AWS::Transfer::WebApp
135
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-webapp.html}
136
+ */
137
+ export declare class TransferWebApp extends $Resource<"AWS::Transfer::WebApp", TransferWebAppProperties, TransferWebAppAttributes> {
138
+ static readonly Type = "AWS::Transfer::WebApp";
139
+ constructor(logicalId: string, properties: TransferWebAppProperties, options?: $ResourceOptions);
140
+ }
141
+ //# sourceMappingURL=AWS-Transfer-WebApp.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource Type definition for AWS::Transfer::WebApp
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-webapp.html}
5
+ */
6
+ export class TransferWebApp extends $Resource {
7
+ static Type = "AWS::Transfer::WebApp";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, TransferWebApp.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Transfer-WebApp.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.258",
3
+ "version": "0.1.260",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },