@awboost/cfn-resource-types 0.1.48 → 0.1.50

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.
@@ -0,0 +1,175 @@
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::BCMDataExports::Export Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_DataExports_CreateExport.html#API_DataExports_CreateExport_RequestSyntax}
6
+ */
7
+ export type BCMDataExportsExportProperties = {
8
+ Export: Export;
9
+ /**
10
+ * @minLength `0`
11
+ * @maxLength `200`
12
+ */
13
+ Tags?: ResourceTag[];
14
+ };
15
+ /**
16
+ * Attribute type definition for `AWS::BCMDataExports::Export`.
17
+ * @see {@link https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_DataExports_CreateExport.html#API_DataExports_CreateExport_RequestSyntax}
18
+ */
19
+ export type BCMDataExportsExportAttributes = {
20
+ /**
21
+ * @minLength `20`
22
+ * @maxLength `2048`
23
+ * @pattern `^arn:aws[-a-z0-9]*:[-a-z0-9]+:[-a-z0-9]*:[0-9]{12}:[-a-zA-Z0-9/:_]+$`
24
+ */
25
+ ExportArn: string;
26
+ };
27
+ /**
28
+ * Type definition for `AWS::BCMDataExports::Export.CompressionOption`.
29
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-compressionoption.html}
30
+ */
31
+ export type CompressionOption = "GZIP" | "PARQUET";
32
+ /**
33
+ * Type definition for `AWS::BCMDataExports::Export.DataQuery`.
34
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-dataquery.html}
35
+ */
36
+ export type DataQuery = {
37
+ /**
38
+ * @minLength `1`
39
+ * @maxLength `36000`
40
+ * @pattern `^[\S\s]*$`
41
+ */
42
+ QueryStatement: string;
43
+ TableConfigurations?: TableConfigurations;
44
+ };
45
+ /**
46
+ * Type definition for `AWS::BCMDataExports::Export.DestinationConfigurations`.
47
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-destinationconfigurations.html}
48
+ */
49
+ export type DestinationConfigurations = {
50
+ S3Destination: S3Destination;
51
+ };
52
+ /**
53
+ * Type definition for `AWS::BCMDataExports::Export.Export`.
54
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-export.html}
55
+ */
56
+ export type Export = {
57
+ DataQuery: DataQuery;
58
+ /**
59
+ * @minLength `0`
60
+ * @maxLength `1024`
61
+ * @pattern `^[\S\s]*$`
62
+ */
63
+ Description?: string;
64
+ DestinationConfigurations: DestinationConfigurations;
65
+ /**
66
+ * @minLength `20`
67
+ * @maxLength `2048`
68
+ * @pattern `^arn:aws[-a-z0-9]*:[-a-z0-9]+:[-a-z0-9]*:[0-9]{12}:[-a-zA-Z0-9/:_]+$`
69
+ */
70
+ ExportArn?: string;
71
+ /**
72
+ * @minLength `1`
73
+ * @maxLength `128`
74
+ * @pattern `^[0-9A-Za-z\-_]+$`
75
+ */
76
+ Name: string;
77
+ RefreshCadence: RefreshCadence;
78
+ };
79
+ /**
80
+ * Type definition for `AWS::BCMDataExports::Export.FormatOption`.
81
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-formatoption.html}
82
+ */
83
+ export type FormatOption = "TEXT_OR_CSV" | "PARQUET";
84
+ /**
85
+ * Type definition for `AWS::BCMDataExports::Export.FrequencyOption`.
86
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-frequencyoption.html}
87
+ */
88
+ export type FrequencyOption = "SYNCHRONOUS";
89
+ /**
90
+ * Type definition for `AWS::BCMDataExports::Export.OverwriteOption`.
91
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-overwriteoption.html}
92
+ */
93
+ export type OverwriteOption = "CREATE_NEW_REPORT" | "OVERWRITE_REPORT";
94
+ /**
95
+ * Type definition for `AWS::BCMDataExports::Export.RefreshCadence`.
96
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-refreshcadence.html}
97
+ */
98
+ export type RefreshCadence = {
99
+ Frequency: FrequencyOption;
100
+ };
101
+ /**
102
+ * Type definition for `AWS::BCMDataExports::Export.ResourceTag`.
103
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-resourcetag.html}
104
+ */
105
+ export type ResourceTag = {
106
+ /**
107
+ * @minLength `1`
108
+ * @maxLength `128`
109
+ */
110
+ Key: string;
111
+ /**
112
+ * @minLength `0`
113
+ * @maxLength `256`
114
+ */
115
+ Value: string;
116
+ };
117
+ /**
118
+ * Type definition for `AWS::BCMDataExports::Export.S3Destination`.
119
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-s3destination.html}
120
+ */
121
+ export type S3Destination = {
122
+ /**
123
+ * @minLength `0`
124
+ * @maxLength `1024`
125
+ * @pattern `^[\S\s]*$`
126
+ */
127
+ S3Bucket: string;
128
+ S3OutputConfigurations: S3OutputConfigurations;
129
+ /**
130
+ * @minLength `0`
131
+ * @maxLength `1024`
132
+ * @pattern `^[\S\s]*$`
133
+ */
134
+ S3Prefix: string;
135
+ /**
136
+ * @minLength `0`
137
+ * @maxLength `1024`
138
+ * @pattern `^[\S\s]*$`
139
+ */
140
+ S3Region: string;
141
+ };
142
+ /**
143
+ * Type definition for `AWS::BCMDataExports::Export.S3OutputConfigurations`.
144
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-s3outputconfigurations.html}
145
+ */
146
+ export type S3OutputConfigurations = {
147
+ Compression: CompressionOption;
148
+ Format: FormatOption;
149
+ OutputType: S3OutputType;
150
+ Overwrite: OverwriteOption;
151
+ };
152
+ /**
153
+ * Type definition for `AWS::BCMDataExports::Export.S3OutputType`.
154
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-s3outputtype.html}
155
+ */
156
+ export type S3OutputType = "CUSTOM";
157
+ /**
158
+ * Type definition for `AWS::BCMDataExports::Export.TableConfigurations`.
159
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-tableconfigurations.html}
160
+ */
161
+ export type TableConfigurations = Record<string, TableProperties>;
162
+ /**
163
+ * Type definition for `AWS::BCMDataExports::Export.TableProperties`.
164
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-tableproperties.html}
165
+ */
166
+ export type TableProperties = Record<string, string>;
167
+ /**
168
+ * Definition of AWS::BCMDataExports::Export Resource Type
169
+ * @see {@link https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_DataExports_CreateExport.html#API_DataExports_CreateExport_RequestSyntax}
170
+ */
171
+ export declare class BCMDataExportsExport extends $Resource<"AWS::BCMDataExports::Export", BCMDataExportsExportProperties, BCMDataExportsExportAttributes> {
172
+ static readonly Type = "AWS::BCMDataExports::Export";
173
+ constructor(logicalId: string, properties: BCMDataExportsExportProperties, options?: $ResourceOptions);
174
+ }
175
+ //# sourceMappingURL=AWS-BCMDataExports-Export.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::BCMDataExports::Export Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_DataExports_CreateExport.html#API_DataExports_CreateExport_RequestSyntax}
5
+ */
6
+ export class BCMDataExportsExport extends $Resource {
7
+ static Type = "AWS::BCMDataExports::Export";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, BCMDataExportsExport.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-BCMDataExports-Export.js.map
@@ -0,0 +1,376 @@
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::Bedrock::Agent Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html}
6
+ */
7
+ export type BedrockAgentProperties = {
8
+ /**
9
+ * List of ActionGroups
10
+ */
11
+ ActionGroups?: AgentActionGroup[];
12
+ /**
13
+ * Name for a resource.
14
+ * @pattern `^([0-9a-zA-Z][_-]?){1,100}$`
15
+ */
16
+ AgentName: string;
17
+ /**
18
+ * ARN of a IAM role.
19
+ * @maxLength `2048`
20
+ * @pattern `^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/(service-role/)?AmazonBedrockExecutionRoleForAgents.+$`
21
+ */
22
+ AgentResourceRoleArn?: string;
23
+ /**
24
+ * Specifies whether to automatically prepare after creating or updating the agent.
25
+ */
26
+ AutoPrepare?: boolean;
27
+ /**
28
+ * A KMS key ARN
29
+ * @minLength `1`
30
+ * @maxLength `2048`
31
+ * @pattern `^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$`
32
+ */
33
+ CustomerEncryptionKeyArn?: string;
34
+ /**
35
+ * Description of the Resource.
36
+ * @minLength `1`
37
+ * @maxLength `200`
38
+ */
39
+ Description?: string;
40
+ /**
41
+ * ARN or name of a Bedrock model.
42
+ * @minLength `1`
43
+ * @maxLength `2048`
44
+ * @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)$`
45
+ */
46
+ FoundationModel?: string;
47
+ /**
48
+ * Max Session Time.
49
+ * @min `60`
50
+ * @max `3600`
51
+ */
52
+ IdleSessionTTLInSeconds?: number;
53
+ /**
54
+ * Instruction for the agent.
55
+ * @minLength `40`
56
+ * @maxLength `1200`
57
+ */
58
+ Instruction?: string;
59
+ /**
60
+ * List of Agent Knowledge Bases
61
+ */
62
+ KnowledgeBases?: AgentKnowledgeBase[];
63
+ /**
64
+ * Configuration for prompt override.
65
+ */
66
+ PromptOverrideConfiguration?: PromptOverrideConfiguration;
67
+ /**
68
+ * Specifies whether to allow deleting agent while it is in use.
69
+ */
70
+ SkipResourceInUseCheckOnDelete?: boolean;
71
+ /**
72
+ * A map of tag keys and values
73
+ */
74
+ Tags?: TagsMap;
75
+ };
76
+ /**
77
+ * Attribute type definition for `AWS::Bedrock::Agent`.
78
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#aws-resource-bedrock-agent-return-values}
79
+ */
80
+ export type BedrockAgentAttributes = {
81
+ /**
82
+ * Arn representation of the Agent.
83
+ * @maxLength `2048`
84
+ * @pattern `^arn:aws(|-cn|-us-gov):bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent/[0-9a-zA-Z]{10}$`
85
+ */
86
+ AgentArn: string;
87
+ /**
88
+ * Identifier for a resource.
89
+ * @pattern `^[0-9a-zA-Z]{10}$`
90
+ */
91
+ AgentId: string;
92
+ /**
93
+ * Schema Type for Action APIs.
94
+ */
95
+ AgentStatus: AgentStatus;
96
+ /**
97
+ * Draft Agent Version.
98
+ * @minLength `5`
99
+ * @maxLength `5`
100
+ * @pattern `^DRAFT$`
101
+ */
102
+ AgentVersion: string;
103
+ /**
104
+ * Time Stamp.
105
+ */
106
+ CreatedAt: string;
107
+ /**
108
+ * Failure Reasons for Error.
109
+ * @maxLength `2048`
110
+ */
111
+ FailureReasons: string[];
112
+ /**
113
+ * Time Stamp.
114
+ */
115
+ PreparedAt: string;
116
+ /**
117
+ * The recommended actions users can take to resolve an error in failureReasons.
118
+ * @maxLength `2048`
119
+ */
120
+ RecommendedActions: string[];
121
+ /**
122
+ * Time Stamp.
123
+ */
124
+ UpdatedAt: string;
125
+ };
126
+ /**
127
+ * Type definition for `AWS::Bedrock::Agent.ActionGroupExecutor`.
128
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-actiongroupexecutor.html}
129
+ */
130
+ export type ActionGroupExecutor = {
131
+ /**
132
+ * ARN of a Lambda.
133
+ * @maxLength `2048`
134
+ * @pattern `^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_\.]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$`
135
+ */
136
+ Lambda: string;
137
+ };
138
+ /**
139
+ * Type definition for `AWS::Bedrock::Agent.ActionGroupSignature`.
140
+ * Action Group Signature for a BuiltIn Action
141
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-actiongroupsignature.html}
142
+ */
143
+ export type ActionGroupSignature = "AMAZON.UserInput";
144
+ /**
145
+ * Type definition for `AWS::Bedrock::Agent.ActionGroupState`.
146
+ * State of the action group
147
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-actiongroupstate.html}
148
+ */
149
+ export type ActionGroupState = "ENABLED" | "DISABLED";
150
+ /**
151
+ * Type definition for `AWS::Bedrock::Agent.AgentActionGroup`.
152
+ * Contains the information of an Agent Action Group
153
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentactiongroup.html}
154
+ */
155
+ export type AgentActionGroup = {
156
+ ActionGroupExecutor?: ActionGroupExecutor;
157
+ /**
158
+ * Name of the action group
159
+ * @pattern `^([0-9a-zA-Z][_-]?){1,100}$`
160
+ */
161
+ ActionGroupName: string;
162
+ /**
163
+ * State of the action group
164
+ */
165
+ ActionGroupState?: ActionGroupState;
166
+ /**
167
+ * Contains information about the API Schema for the Action Group
168
+ */
169
+ ApiSchema?: APISchema;
170
+ /**
171
+ * Description of action group
172
+ * @minLength `1`
173
+ * @maxLength `200`
174
+ */
175
+ Description?: string;
176
+ /**
177
+ * Action Group Signature for a BuiltIn Action
178
+ */
179
+ ParentActionGroupSignature?: ActionGroupSignature;
180
+ /**
181
+ * Specifies whether to allow deleting action group while it is in use.
182
+ */
183
+ SkipResourceInUseCheckOnDelete?: boolean;
184
+ };
185
+ /**
186
+ * Type definition for `AWS::Bedrock::Agent.AgentKnowledgeBase`.
187
+ * Agent Knowledge Base
188
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentknowledgebase.html}
189
+ */
190
+ export type AgentKnowledgeBase = {
191
+ /**
192
+ * Description of the Resource.
193
+ * @minLength `1`
194
+ * @maxLength `200`
195
+ */
196
+ Description: string;
197
+ /**
198
+ * Identifier for a resource.
199
+ * @pattern `^[0-9a-zA-Z]{10}$`
200
+ */
201
+ KnowledgeBaseId: string;
202
+ /**
203
+ * State of the knowledge base; whether it is enabled or disabled
204
+ */
205
+ KnowledgeBaseState?: KnowledgeBaseState;
206
+ };
207
+ /**
208
+ * Type definition for `AWS::Bedrock::Agent.AgentStatus`.
209
+ * Schema Type for Action APIs.
210
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-agentstatus.html}
211
+ */
212
+ export type AgentStatus = "CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING";
213
+ /**
214
+ * Type definition for `AWS::Bedrock::Agent.APISchema`.
215
+ * Contains information about the API Schema for the Action Group
216
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-apischema.html}
217
+ */
218
+ export type APISchema = {
219
+ /**
220
+ * The identifier for the S3 resource.
221
+ */
222
+ S3: S3Identifier;
223
+ } | {
224
+ /**
225
+ * String OpenAPI Payload
226
+ */
227
+ Payload: string;
228
+ };
229
+ /**
230
+ * Type definition for `AWS::Bedrock::Agent.CreationMode`.
231
+ * Creation Mode for Prompt Configuration.
232
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-creationmode.html}
233
+ */
234
+ export type CreationMode = "DEFAULT" | "OVERRIDDEN";
235
+ /**
236
+ * Type definition for `AWS::Bedrock::Agent.InferenceConfiguration`.
237
+ * Configuration for inference in prompt configuration
238
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-inferenceconfiguration.html}
239
+ */
240
+ export type InferenceConfiguration = {
241
+ /**
242
+ * Maximum length of output
243
+ * @min `0`
244
+ * @max `4096`
245
+ */
246
+ MaximumLength?: number;
247
+ /**
248
+ * List of stop sequences
249
+ * @minLength `0`
250
+ * @maxLength `4`
251
+ */
252
+ StopSequences?: string[];
253
+ /**
254
+ * Controls randomness, higher values increase diversity
255
+ * @min `0`
256
+ * @max `1`
257
+ */
258
+ Temperature?: number;
259
+ /**
260
+ * Sample from the k most likely next tokens
261
+ * @min `0`
262
+ * @max `500`
263
+ */
264
+ TopK?: number;
265
+ /**
266
+ * Cumulative probability cutoff for token selection
267
+ * @min `0`
268
+ * @max `1`
269
+ */
270
+ TopP?: number;
271
+ };
272
+ /**
273
+ * Type definition for `AWS::Bedrock::Agent.KnowledgeBaseState`.
274
+ * State of the knowledge base; whether it is enabled or disabled
275
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-knowledgebasestate.html}
276
+ */
277
+ export type KnowledgeBaseState = "ENABLED" | "DISABLED";
278
+ /**
279
+ * Type definition for `AWS::Bedrock::Agent.PromptConfiguration`.
280
+ * BasePromptConfiguration per Prompt Type.
281
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-promptconfiguration.html}
282
+ */
283
+ export type PromptConfiguration = {
284
+ /**
285
+ * Base Prompt Template.
286
+ * @minLength `1`
287
+ * @maxLength `100000`
288
+ */
289
+ BasePromptTemplate?: string;
290
+ /**
291
+ * Configuration for inference in prompt configuration
292
+ */
293
+ InferenceConfiguration?: InferenceConfiguration;
294
+ /**
295
+ * Creation Mode for Prompt Configuration.
296
+ */
297
+ ParserMode?: CreationMode;
298
+ /**
299
+ * Creation Mode for Prompt Configuration.
300
+ */
301
+ PromptCreationMode?: CreationMode;
302
+ /**
303
+ * Prompt State.
304
+ */
305
+ PromptState?: PromptState;
306
+ /**
307
+ * Prompt Type.
308
+ */
309
+ PromptType?: PromptType;
310
+ };
311
+ /**
312
+ * Type definition for `AWS::Bedrock::Agent.PromptOverrideConfiguration`.
313
+ * Configuration for prompt override.
314
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-promptoverrideconfiguration.html}
315
+ */
316
+ export type PromptOverrideConfiguration = {
317
+ /**
318
+ * ARN of a Lambda.
319
+ * @maxLength `2048`
320
+ * @pattern `^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_\.]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$`
321
+ */
322
+ OverrideLambda?: string;
323
+ /**
324
+ * List of BasePromptConfiguration
325
+ * @maxLength `10`
326
+ */
327
+ PromptConfigurations: PromptConfiguration[];
328
+ };
329
+ /**
330
+ * Type definition for `AWS::Bedrock::Agent.PromptState`.
331
+ * Prompt State.
332
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-promptstate.html}
333
+ */
334
+ export type PromptState = "ENABLED" | "DISABLED";
335
+ /**
336
+ * Type definition for `AWS::Bedrock::Agent.PromptType`.
337
+ * Prompt Type.
338
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-prompttype.html}
339
+ */
340
+ export type PromptType = "PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION";
341
+ /**
342
+ * Type definition for `AWS::Bedrock::Agent.S3Identifier`.
343
+ * The identifier for the S3 resource.
344
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-s3identifier.html}
345
+ */
346
+ export type S3Identifier = {
347
+ /**
348
+ * A bucket in S3.
349
+ * @minLength `3`
350
+ * @maxLength `63`
351
+ * @pattern `^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$`
352
+ */
353
+ S3BucketName?: string;
354
+ /**
355
+ * A object key in S3.
356
+ * @minLength `1`
357
+ * @maxLength `1024`
358
+ * @pattern `^[\.\-\!\*\_\'\(\)a-zA-Z0-9][\.\-\!\*\_\'\(\)\/a-zA-Z0-9]*$`
359
+ */
360
+ S3ObjectKey?: string;
361
+ };
362
+ /**
363
+ * Type definition for `AWS::Bedrock::Agent.TagsMap`.
364
+ * A map of tag keys and values
365
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-tagsmap.html}
366
+ */
367
+ export type TagsMap = Record<string, string>;
368
+ /**
369
+ * Definition of AWS::Bedrock::Agent Resource Type
370
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html}
371
+ */
372
+ export declare class BedrockAgent extends $Resource<"AWS::Bedrock::Agent", BedrockAgentProperties, BedrockAgentAttributes> {
373
+ static readonly Type = "AWS::Bedrock::Agent";
374
+ constructor(logicalId: string, properties: BedrockAgentProperties, options?: $ResourceOptions);
375
+ }
376
+ //# sourceMappingURL=AWS-Bedrock-Agent.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::Bedrock::Agent Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html}
5
+ */
6
+ export class BedrockAgent extends $Resource {
7
+ static Type = "AWS::Bedrock::Agent";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, BedrockAgent.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Bedrock-Agent.js.map
@@ -0,0 +1,146 @@
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::Bedrock::AgentAlias Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agentalias.html}
6
+ */
7
+ export type BedrockAgentAliasProperties = {
8
+ /**
9
+ * Name for a resource.
10
+ * @pattern `^([0-9a-zA-Z][_-]?){1,100}$`
11
+ */
12
+ AgentAliasName: string;
13
+ /**
14
+ * Identifier for a resource.
15
+ * @pattern `^[0-9a-zA-Z]{10}$`
16
+ */
17
+ AgentId: string;
18
+ /**
19
+ * Description of the Resource.
20
+ * @minLength `1`
21
+ * @maxLength `200`
22
+ */
23
+ Description?: string;
24
+ /**
25
+ * Routing configuration for an Agent alias.
26
+ * @maxLength `1`
27
+ */
28
+ RoutingConfiguration?: AgentAliasRoutingConfigurationListItem[];
29
+ /**
30
+ * A map of tag keys and values
31
+ */
32
+ Tags?: TagsMap;
33
+ };
34
+ /**
35
+ * Attribute type definition for `AWS::Bedrock::AgentAlias`.
36
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agentalias.html#aws-resource-bedrock-agentalias-return-values}
37
+ */
38
+ export type BedrockAgentAliasAttributes = {
39
+ /**
40
+ * Arn representation of the Agent Alias.
41
+ * @maxLength `2048`
42
+ * @pattern `^arn:aws(|-cn|-us-gov):bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$`
43
+ */
44
+ AgentAliasArn: string;
45
+ /**
46
+ * The list of history events for an alias for an Agent.
47
+ * @maxLength `10`
48
+ */
49
+ AgentAliasHistoryEvents: {
50
+ /**
51
+ * Time Stamp.
52
+ */
53
+ EndDate: string;
54
+ /**
55
+ * Routing configuration for an Agent alias.
56
+ * @maxLength `1`
57
+ */
58
+ RoutingConfiguration: {
59
+ /**
60
+ * Agent Version.
61
+ * @minLength `1`
62
+ * @maxLength `5`
63
+ * @pattern `^(DRAFT|[0-9]{0,4}[1-9][0-9]{0,4})$`
64
+ */
65
+ AgentVersion: string;
66
+ }[];
67
+ /**
68
+ * Time Stamp.
69
+ */
70
+ StartDate: string;
71
+ }[];
72
+ /**
73
+ * Id for an Agent Alias generated at the server side.
74
+ * @minLength `10`
75
+ * @maxLength `10`
76
+ * @pattern `^(\bTSTALIASID\b|[0-9a-zA-Z]+)$`
77
+ */
78
+ AgentAliasId: string;
79
+ /**
80
+ * The statuses an Agent Alias can be in.
81
+ */
82
+ AgentAliasStatus: AgentAliasStatus;
83
+ /**
84
+ * Time Stamp.
85
+ */
86
+ CreatedAt: string;
87
+ /**
88
+ * Time Stamp.
89
+ */
90
+ UpdatedAt: string;
91
+ };
92
+ /**
93
+ * Type definition for `AWS::Bedrock::AgentAlias.AgentAliasHistoryEvent`.
94
+ * History event for an alias for an Agent.
95
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agentalias-agentaliashistoryevent.html}
96
+ */
97
+ export type AgentAliasHistoryEvent = {
98
+ /**
99
+ * Time Stamp.
100
+ */
101
+ EndDate?: string;
102
+ /**
103
+ * Routing configuration for an Agent alias.
104
+ * @maxLength `1`
105
+ */
106
+ RoutingConfiguration?: AgentAliasRoutingConfigurationListItem[];
107
+ /**
108
+ * Time Stamp.
109
+ */
110
+ StartDate?: string;
111
+ };
112
+ /**
113
+ * Type definition for `AWS::Bedrock::AgentAlias.AgentAliasRoutingConfigurationListItem`.
114
+ * Details about the routing configuration for an Agent alias.
115
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agentalias-agentaliasroutingconfigurationlistitem.html}
116
+ */
117
+ export type AgentAliasRoutingConfigurationListItem = {
118
+ /**
119
+ * Agent Version.
120
+ * @minLength `1`
121
+ * @maxLength `5`
122
+ * @pattern `^(DRAFT|[0-9]{0,4}[1-9][0-9]{0,4})$`
123
+ */
124
+ AgentVersion: string;
125
+ };
126
+ /**
127
+ * Type definition for `AWS::Bedrock::AgentAlias.AgentAliasStatus`.
128
+ * The statuses an Agent Alias can be in.
129
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agentalias-agentaliasstatus.html}
130
+ */
131
+ export type AgentAliasStatus = "CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING";
132
+ /**
133
+ * Type definition for `AWS::Bedrock::AgentAlias.TagsMap`.
134
+ * A map of tag keys and values
135
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agentalias-tagsmap.html}
136
+ */
137
+ export type TagsMap = Record<string, string>;
138
+ /**
139
+ * Definition of AWS::Bedrock::AgentAlias Resource Type
140
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agentalias.html}
141
+ */
142
+ export declare class BedrockAgentAlias extends $Resource<"AWS::Bedrock::AgentAlias", BedrockAgentAliasProperties, BedrockAgentAliasAttributes> {
143
+ static readonly Type = "AWS::Bedrock::AgentAlias";
144
+ constructor(logicalId: string, properties: BedrockAgentAliasProperties, options?: $ResourceOptions);
145
+ }
146
+ //# sourceMappingURL=AWS-Bedrock-AgentAlias.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::Bedrock::AgentAlias Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agentalias.html}
5
+ */
6
+ export class BedrockAgentAlias extends $Resource {
7
+ static Type = "AWS::Bedrock::AgentAlias";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, BedrockAgentAlias.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Bedrock-AgentAlias.js.map
@@ -0,0 +1,81 @@
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
+ * Schema for AWS::CodeConnections::Connection resource which can be used to connect external source providers with other AWS services (i.e. AWS CodePipeline)
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeconnections-connection.html}
6
+ */
7
+ export type CodeConnectionsConnectionProperties = {
8
+ /**
9
+ * The name of the connection. Connection names must be unique in an AWS user account.
10
+ * @minLength `1`
11
+ * @maxLength `32`
12
+ */
13
+ ConnectionName: string;
14
+ /**
15
+ * The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn.
16
+ * @minLength `0`
17
+ * @maxLength `256`
18
+ * @pattern `arn:aws(-[\w]+)*:.+:.+:[0-9]{12}:.+`
19
+ */
20
+ HostArn?: string;
21
+ /**
22
+ * The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn.
23
+ */
24
+ ProviderType?: string;
25
+ /**
26
+ * Specifies the tags applied to a connection.
27
+ */
28
+ Tags?: Tag[];
29
+ };
30
+ /**
31
+ * Attribute type definition for `AWS::CodeConnections::Connection`.
32
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeconnections-connection.html#aws-resource-codeconnections-connection-return-values}
33
+ */
34
+ export type CodeConnectionsConnectionAttributes = {
35
+ /**
36
+ * The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
37
+ * @minLength `0`
38
+ * @maxLength `256`
39
+ * @pattern `arn:aws(-[\w]+)*:.+:.+:[0-9]{12}:.+`
40
+ */
41
+ ConnectionArn: string;
42
+ /**
43
+ * The current status of the connection.
44
+ */
45
+ ConnectionStatus: string;
46
+ /**
47
+ * The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
48
+ * @minLength `12`
49
+ * @maxLength `12`
50
+ * @pattern `[0-9]{12}`
51
+ */
52
+ OwnerAccountId: string;
53
+ };
54
+ /**
55
+ * Type definition for `AWS::CodeConnections::Connection.Tag`.
56
+ * A key-value pair to associate with a resource.
57
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeconnections-connection-tag.html}
58
+ */
59
+ export type Tag = {
60
+ /**
61
+ * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
62
+ * @minLength `1`
63
+ * @maxLength `128`
64
+ */
65
+ Key: string;
66
+ /**
67
+ * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
68
+ * @minLength `0`
69
+ * @maxLength `256`
70
+ */
71
+ Value: string;
72
+ };
73
+ /**
74
+ * Schema for AWS::CodeConnections::Connection resource which can be used to connect external source providers with other AWS services (i.e. AWS CodePipeline)
75
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeconnections-connection.html}
76
+ */
77
+ export declare class CodeConnectionsConnection extends $Resource<"AWS::CodeConnections::Connection", CodeConnectionsConnectionProperties, CodeConnectionsConnectionAttributes> {
78
+ static readonly Type = "AWS::CodeConnections::Connection";
79
+ constructor(logicalId: string, properties: CodeConnectionsConnectionProperties, options?: $ResourceOptions);
80
+ }
81
+ //# sourceMappingURL=AWS-CodeConnections-Connection.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Schema for AWS::CodeConnections::Connection resource which can be used to connect external source providers with other AWS services (i.e. AWS CodePipeline)
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeconnections-connection.html}
5
+ */
6
+ export class CodeConnectionsConnection extends $Resource {
7
+ static Type = "AWS::CodeConnections::Connection";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, CodeConnectionsConnection.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-CodeConnections-Connection.js.map
@@ -243,13 +243,14 @@ export type Ebs = {
243
243
  */
244
244
  VolumeSize?: number;
245
245
  /**
246
- * The volume type. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) in the *Amazon Elastic Compute Cloud User Guide*.
246
+ * The volume type. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) in the *Amazon EBS User Guide*.
247
247
  */
248
248
  VolumeType?: string;
249
249
  };
250
250
  /**
251
251
  * Type definition for `AWS::EC2::LaunchTemplate.ElasticGpuSpecification`.
252
- * Specifies a specification for an Elastic GPU for an Amazon EC2 launch template.
252
+ * Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
253
+ Specifies a specification for an Elastic GPU for an Amazon EC2 launch template.
253
254
  ``ElasticGpuSpecification`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html).
254
255
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-elasticgpuspecification.html}
255
256
  */
@@ -313,7 +314,7 @@ export type HibernationOptions = {
313
314
  /**
314
315
  * Type definition for `AWS::EC2::LaunchTemplate.IamInstanceProfile`.
315
316
  * Specifies an IAM instance profile, which is a container for an IAM role for your instance. You can use an IAM role to distribute your AWS credentials to your instances.
316
- If you are creating the launch template for use with an Amazon EC2 Auto Scaling group, you can specify either the name or the ARN of the instance profile, but not both.
317
+ If you are creating the launch template for use with an ASlong group, you can specify either the name or the ARN of the instance profile, but not both.
317
318
  ``IamInstanceProfile`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html).
318
319
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-iaminstanceprofile.html}
319
320
  */
@@ -352,7 +353,9 @@ export type InstanceMarketOptions = {
352
353
  + ``AllowedInstanceTypes`` - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
353
354
  + ``ExcludedInstanceTypes`` - The instance types to exclude from the list, even if they match your specified attributes.
354
355
 
355
- If you specify ``InstanceReq
356
+ If you specify ``InstanceRequirements``, you can't specify ``InstanceType``.
357
+ Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the [launch instance wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), or with the [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) API or [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) AWS CloudFormation resource, you can't specify ``InstanceRequirements``.
358
+ For more information, see [Attribute-based instance type selection for EC2 Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), [Attribute-based instance type selection for Spot Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), and [Spot placement score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) in the *Amazon EC2 User Guide*.
356
359
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html}
357
360
  */
358
361
  export type InstanceRequirements = {
@@ -481,8 +484,8 @@ export type InstanceRequirements = {
481
484
  /**
482
485
  * [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
483
486
  The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
484
- To indicate no price protection threshold, specify a high value, such as ``999999``.
485
- If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is based on the per vCPU or per memory price instead of the per instanc
487
+ If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.
488
+ Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as ``999999``.
486
489
  */
487
490
  MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number;
488
491
  /**
@@ -509,7 +512,8 @@ export type InstanceRequirements = {
509
512
  The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
510
513
  To turn off price protection, specify a high value, such as ``999999``.
511
514
  This parameter is not supported for [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) and [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html).
512
- If you set ``TargetCapacityUnitType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is applied based on the per-
515
+ If you set ``TargetCapacityUnitType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.
516
+ Default: ``20``
513
517
  */
514
518
  OnDemandMaxPricePercentageOverLowestPrice?: number;
515
519
  /**
@@ -521,8 +525,10 @@ export type InstanceRequirements = {
521
525
  /**
522
526
  * [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
523
527
  The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
524
- To indicate no price protection threshold, specify a high value, such as ``999999``.
525
- If you set ``TargetCapacityUnitType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is applied based on the per-vCPU or per-memory price i
528
+ If you set ``TargetCapacityUnitType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.
529
+ This parameter is not supported for [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) and [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html).
530
+ Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as ``999999``.
531
+ Default: ``100``
526
532
  */
527
533
  SpotMaxPricePercentageOverLowestPrice?: number;
528
534
  /**
@@ -658,7 +664,9 @@ export type LaunchTemplateData = {
658
664
  + ``AllowedInstanceTypes`` - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
659
665
  + ``ExcludedInstanceTypes`` - The instance types to exclude from the list, even if they match your specified attributes.
660
666
 
661
- If you specify ``InstanceReq
667
+ If you specify ``InstanceRequirements``, you can't specify ``InstanceType``.
668
+ Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the [launch instance wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), or with the [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) API or [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) AWS CloudFormation resource, you can't specify ``InstanceRequirements``.
669
+ For more information, see [Attribute-based instance type selection for EC2 Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), [Attribute-based instance type selection for Spot Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), and [Spot placement score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) in the *Amazon EC2 User Guide*.
662
670
  */
663
671
  InstanceRequirements?: InstanceRequirements;
664
672
  /**
@@ -784,7 +792,6 @@ export type MaintenanceOptions = {
784
792
  * Disables the automatic recovery behavior of your instance or sets it to default.
785
793
  */
786
794
  AutoRecovery?: string;
787
- RebootMigration?: string;
788
795
  };
789
796
  /**
790
797
  * Type definition for `AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu`.
@@ -1097,7 +1104,7 @@ export type SpotOptions = {
1097
1104
  MaxPrice?: string;
1098
1105
  /**
1099
1106
  * The Spot Instance request type.
1100
- If you are using Spot Instances with an Auto Scaling group, use ``one-time`` requests, as the Amazon EC2 Auto Scaling service handles requesting new Spot Instances whenever the group is below its desired capacity.
1107
+ If you are using Spot Instances with an Auto Scaling group, use ``one-time`` requests, as the ASlong service handles requesting new Spot Instances whenever the group is below its desired capacity.
1101
1108
  */
1102
1109
  SpotInstanceType?: string;
1103
1110
  /**
@@ -134,9 +134,13 @@ export type DataStorage = {
134
134
  /**
135
135
  * The maximum cached data capacity of the Serverless Cache.
136
136
  */
137
- Maximum: number;
137
+ Maximum?: number;
138
138
  /**
139
- * The unix of cached data capacity of the Serverless Cache.
139
+ * The minimum cached data capacity of the Serverless Cache.
140
+ */
141
+ Minimum?: number;
142
+ /**
143
+ * The unit of cached data capacity of the Serverless Cache.
140
144
  */
141
145
  Unit: "GB";
142
146
  };
@@ -149,7 +153,11 @@ export type ECPUPerSecond = {
149
153
  /**
150
154
  * The maximum ECPU per second of the Serverless Cache.
151
155
  */
152
- Maximum: number;
156
+ Maximum?: number;
157
+ /**
158
+ * The minimum ECPU per second of the Serverless Cache.
159
+ */
160
+ Minimum?: number;
153
161
  };
154
162
  /**
155
163
  * Type definition for `AWS::ElastiCache::ServerlessCache.Tag`.
@@ -25,9 +25,9 @@ export type LogsLogGroupProperties = {
25
25
  KmsKeyId?: string;
26
26
  /**
27
27
  * Specifies the log group class for this log group. There are two classes:
28
- + The ``Standard`` log class supports all CWL features.
29
- + The ``Infrequent Access`` log class supports a subset of CWL features and incurs lower costs.
30
-
28
+ + The ``Standard`` log class supports all CWL features.
29
+ + The ``Infrequent Access`` log class supports a subset of CWL features and incurs lower costs.
30
+
31
31
  For details about the features supported by each class, see [Log classes](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html)
32
32
  */
33
33
  LogGroupClass?: "STANDARD" | "INFREQUENT_ACCESS";
@@ -37,7 +37,7 @@ export type LogsMetricFilterProperties = {
37
37
  * Specifies the CW metric dimensions to publish with this metric.
38
38
  Because dimensions are part of the unique identifier for a metric, whenever a unique dimension name/value pair is extracted from your logs, you are creating a new variation of that metric.
39
39
  For more information about publishing dimensions with metrics created by metric filters, see [Publishing dimensions with metrics from values in JSON or space-delimited log events](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html#logs-metric-filters-dimensions).
40
- Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as ``IPAddress`` or ``requestID`` as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
40
+ Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as ``IPAddress`` or ``requestID`` as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
41
41
  To help prevent accidental high charges, Amazon disables a metric filter if it generates 1000 different name/value pairs for the dimensions that you have specified within a certain amount of time.
42
42
  You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see [Creating a Billing Alarm to Monitor Your Estimated Charges](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html).
43
43
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-dimension.html}
@@ -0,0 +1,135 @@
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::SecurityLake::DataLake
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-datalake.html}
6
+ */
7
+ export type SecurityLakeDataLakeProperties = {
8
+ /**
9
+ * Provides encryption details of Amazon Security Lake object.
10
+ */
11
+ EncryptionConfiguration?: EncryptionConfiguration;
12
+ /**
13
+ * Provides lifecycle details of Amazon Security Lake object.
14
+ */
15
+ LifecycleConfiguration?: LifecycleConfiguration;
16
+ /**
17
+ * The Amazon Resource Name (ARN) used to index AWS Glue table partitions that are generated by the ingestion and normalization of AWS log sources and custom sources.
18
+ * @pattern `^arn:.*$`
19
+ */
20
+ MetaStoreManagerRoleArn?: string;
21
+ /**
22
+ * Provides replication details of Amazon Security Lake object.
23
+ */
24
+ ReplicationConfiguration?: ReplicationConfiguration;
25
+ Tags?: Tag[];
26
+ };
27
+ /**
28
+ * Attribute type definition for `AWS::SecurityLake::DataLake`.
29
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-datalake.html#aws-resource-securitylake-datalake-return-values}
30
+ */
31
+ export type SecurityLakeDataLakeAttributes = {
32
+ /**
33
+ * The Amazon Resource Name (ARN) created by you to provide to the subscriber.
34
+ * @minLength `1`
35
+ * @maxLength `1011`
36
+ */
37
+ Arn: string;
38
+ /**
39
+ * The ARN for the Amazon Security Lake Amazon S3 bucket.
40
+ */
41
+ S3BucketArn: string;
42
+ };
43
+ /**
44
+ * Type definition for `AWS::SecurityLake::DataLake.EncryptionConfiguration`.
45
+ * Provides encryption details of Amazon Security Lake object.
46
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-datalake-encryptionconfiguration.html}
47
+ */
48
+ export type EncryptionConfiguration = {
49
+ /**
50
+ * The id of KMS encryption key used by Amazon Security Lake to encrypt the Security Lake object.
51
+ */
52
+ KmsKeyId?: string;
53
+ };
54
+ /**
55
+ * Type definition for `AWS::SecurityLake::DataLake.Expiration`.
56
+ * Provides data expiration details of Amazon Security Lake object.
57
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-datalake-expiration.html}
58
+ */
59
+ export type Expiration = {
60
+ /**
61
+ * Number of days before data expires in the Amazon Security Lake object.
62
+ * @min `1`
63
+ */
64
+ Days?: number;
65
+ };
66
+ /**
67
+ * Type definition for `AWS::SecurityLake::DataLake.LifecycleConfiguration`.
68
+ * Provides lifecycle details of Amazon Security Lake object.
69
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-datalake-lifecycleconfiguration.html}
70
+ */
71
+ export type LifecycleConfiguration = {
72
+ /**
73
+ * Provides data expiration details of Amazon Security Lake object.
74
+ */
75
+ Expiration?: Expiration;
76
+ /**
77
+ * Provides data storage transition details of Amazon Security Lake object.
78
+ */
79
+ Transitions?: Transitions[];
80
+ };
81
+ /**
82
+ * Type definition for `AWS::SecurityLake::DataLake.ReplicationConfiguration`.
83
+ * Provides replication details of Amazon Security Lake object.
84
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-datalake-replicationconfiguration.html}
85
+ */
86
+ export type ReplicationConfiguration = {
87
+ /**
88
+ * Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon S3 buckets that are configured for object replication can be owned by the same AWS account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets. The destination buckets can be in different AWS Regions or within the same Region as the source bucket.
89
+ */
90
+ Regions?: string[];
91
+ /**
92
+ * Replication settings for the Amazon S3 buckets. This parameter uses the AWS Identity and Access Management (IAM) role you created that is managed by Security Lake, to ensure the replication setting is correct.
93
+ * @pattern `^arn:.*$`
94
+ */
95
+ RoleArn?: string;
96
+ };
97
+ /**
98
+ * Type definition for `AWS::SecurityLake::DataLake.Tag`.
99
+ * A key-value pair to associate with a resource.
100
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-datalake-tag.html}
101
+ */
102
+ export type Tag = {
103
+ /**
104
+ * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, `_`, `.`, `/`, `=`, `+`, and `-`.
105
+ */
106
+ Key: string;
107
+ /**
108
+ * The value for the tag. You can specify a value that is 0 to 256 characters in length.
109
+ */
110
+ Value: string;
111
+ };
112
+ /**
113
+ * Type definition for `AWS::SecurityLake::DataLake.Transitions`.
114
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securitylake-datalake-transitions.html}
115
+ */
116
+ export type Transitions = {
117
+ /**
118
+ * Number of days before data transitions to a different S3 Storage Class in the Amazon Security Lake object.
119
+ * @min `1`
120
+ */
121
+ Days?: number;
122
+ /**
123
+ * The range of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads.
124
+ */
125
+ StorageClass?: string;
126
+ };
127
+ /**
128
+ * Resource Type definition for AWS::SecurityLake::DataLake
129
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-datalake.html}
130
+ */
131
+ export declare class SecurityLakeDataLake extends $Resource<"AWS::SecurityLake::DataLake", SecurityLakeDataLakeProperties, SecurityLakeDataLakeAttributes> {
132
+ static readonly Type = "AWS::SecurityLake::DataLake";
133
+ constructor(logicalId: string, properties: SecurityLakeDataLakeProperties, options?: $ResourceOptions);
134
+ }
135
+ //# sourceMappingURL=AWS-SecurityLake-DataLake.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::SecurityLake::DataLake
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securitylake-datalake.html}
5
+ */
6
+ export class SecurityLakeDataLake extends $Resource {
7
+ static Type = "AWS::SecurityLake::DataLake";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, SecurityLakeDataLake.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-SecurityLake-DataLake.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.48",
3
+ "version": "0.1.50",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },