@awboost/cfn-resource-types 0.1.5 → 0.1.6

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.
@@ -9,13 +9,13 @@ export type BatchJobDefinitionProperties = {
9
9
  EksProperties?: EksProperties;
10
10
  JobDefinitionName?: string;
11
11
  NodeProperties?: NodeProperties;
12
- Parameters?: Record<string, string>;
12
+ Parameters?: Record<string, any>;
13
13
  PlatformCapabilities?: string[];
14
14
  PropagateTags?: boolean;
15
15
  RetryStrategy?: RetryStrategy;
16
16
  SchedulingPriority?: number;
17
- Tags?: Record<string, string>;
18
- Timeout?: JobTimeout;
17
+ Tags?: Record<string, any>;
18
+ Timeout?: Timeout;
19
19
  Type: string;
20
20
  };
21
21
  /**
@@ -23,11 +23,15 @@ export type BatchJobDefinitionProperties = {
23
23
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#aws-resource-batch-jobdefinition-return-values}
24
24
  */
25
25
  export type BatchJobDefinitionAttributes = {
26
- ContainerOrchestrationType: string;
27
26
  Id: string;
28
- JobDefinitionArn: string;
29
- Revision: number;
30
- Status: string;
27
+ };
28
+ /**
29
+ * Type definition for `AWS::Batch::JobDefinition.AuthorizationConfig`.
30
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-authorizationconfig.html}
31
+ */
32
+ export type AuthorizationConfig = {
33
+ AccessPointId?: string;
34
+ Iam?: string;
31
35
  };
32
36
  /**
33
37
  * Type definition for `AWS::Batch::JobDefinition.ContainerProperties`.
@@ -45,7 +49,7 @@ export type ContainerProperties = {
45
49
  LinuxParameters?: LinuxParameters;
46
50
  LogConfiguration?: LogConfiguration;
47
51
  Memory?: number;
48
- MountPoints?: MountPoint[];
52
+ MountPoints?: MountPoints[];
49
53
  NetworkConfiguration?: NetworkConfiguration;
50
54
  Privileged?: boolean;
51
55
  ReadonlyRootFilesystem?: boolean;
@@ -55,7 +59,7 @@ export type ContainerProperties = {
55
59
  Ulimits?: Ulimit[];
56
60
  User?: string;
57
61
  Vcpus?: number;
58
- Volumes?: Volume[];
62
+ Volumes?: Volumes[];
59
63
  };
60
64
  /**
61
65
  * Type definition for `AWS::Batch::JobDefinition.Device`.
@@ -67,19 +71,11 @@ export type Device = {
67
71
  Permissions?: string[];
68
72
  };
69
73
  /**
70
- * Type definition for `AWS::Batch::JobDefinition.EFSAuthorizationConfig`.
71
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsauthorizationconfig.html}
72
- */
73
- export type EFSAuthorizationConfig = {
74
- AccessPointId?: string;
75
- Iam?: string;
76
- };
77
- /**
78
- * Type definition for `AWS::Batch::JobDefinition.EFSVolumeConfiguration`.
74
+ * Type definition for `AWS::Batch::JobDefinition.EfsVolumeConfiguration`.
79
75
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsvolumeconfiguration.html}
80
76
  */
81
- export type EFSVolumeConfiguration = {
82
- AuthorizationConfig?: EFSAuthorizationConfig;
77
+ export type EfsVolumeConfiguration = {
78
+ AuthorizationConfig?: AuthorizationConfig;
83
79
  FileSystemId: string;
84
80
  RootDirectory?: string;
85
81
  TransitEncryption?: string;
@@ -113,8 +109,8 @@ export type EksContainerEnvironmentVariable = {
113
109
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerresourcerequirements.html}
114
110
  */
115
111
  export type EksContainerResourceRequirements = {
116
- Limits?: Record<string, string>;
117
- Requests?: Record<string, string>;
112
+ Limits?: Record<string, any>;
113
+ Requests?: Record<string, any>;
118
114
  };
119
115
  /**
120
116
  * Type definition for `AWS::Batch::JobDefinition.EksContainerSecurityContext`.
@@ -151,31 +147,12 @@ export type EksEmptyDir = {
151
147
  export type EksHostPath = {
152
148
  Path?: string;
153
149
  };
154
- /**
155
- * Type definition for `AWS::Batch::JobDefinition.EksMetadata`.
156
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksmetadata.html}
157
- */
158
- export type EksMetadata = {
159
- Labels?: Record<string, string>;
160
- };
161
- /**
162
- * Type definition for `AWS::Batch::JobDefinition.EksPodProperties`.
163
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodproperties.html}
164
- */
165
- export type EksPodProperties = {
166
- Containers?: EksContainer[];
167
- DnsPolicy?: string;
168
- HostNetwork?: boolean;
169
- Metadata?: EksMetadata;
170
- ServiceAccountName?: string;
171
- Volumes?: EksVolume[];
172
- };
173
150
  /**
174
151
  * Type definition for `AWS::Batch::JobDefinition.EksProperties`.
175
152
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html}
176
153
  */
177
154
  export type EksProperties = {
178
- PodProperties?: EksPodProperties;
155
+ PodProperties?: PodProperties;
179
156
  };
180
157
  /**
181
158
  * Type definition for `AWS::Batch::JobDefinition.EksSecret`.
@@ -227,20 +204,6 @@ export type EvaluateOnExit = {
227
204
  export type FargatePlatformConfiguration = {
228
205
  PlatformVersion?: string;
229
206
  };
230
- /**
231
- * Type definition for `AWS::Batch::JobDefinition.Host`.
232
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-host.html}
233
- */
234
- export type Host = {
235
- SourcePath?: string;
236
- };
237
- /**
238
- * Type definition for `AWS::Batch::JobDefinition.JobTimeout`.
239
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-jobtimeout.html}
240
- */
241
- export type JobTimeout = {
242
- AttemptDurationSeconds?: number;
243
- };
244
207
  /**
245
208
  * Type definition for `AWS::Batch::JobDefinition.LinuxParameters`.
246
209
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-linuxparameters.html}
@@ -259,14 +222,21 @@ export type LinuxParameters = {
259
222
  */
260
223
  export type LogConfiguration = {
261
224
  LogDriver: string;
262
- Options?: Record<string, string>;
225
+ Options?: Record<string, any>;
263
226
  SecretOptions?: Secret[];
264
227
  };
265
228
  /**
266
- * Type definition for `AWS::Batch::JobDefinition.MountPoint`.
267
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html}
229
+ * Type definition for `AWS::Batch::JobDefinition.Metadata`.
230
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html}
231
+ */
232
+ export type Metadata = {
233
+ Labels?: Record<string, any>;
234
+ };
235
+ /**
236
+ * Type definition for `AWS::Batch::JobDefinition.MountPoints`.
237
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoints.html}
268
238
  */
269
- export type MountPoint = {
239
+ export type MountPoints = {
270
240
  ContainerPath?: string;
271
241
  ReadOnly?: boolean;
272
242
  SourceVolume?: string;
@@ -295,6 +265,18 @@ export type NodeRangeProperty = {
295
265
  Container?: ContainerProperties;
296
266
  TargetNodes: string;
297
267
  };
268
+ /**
269
+ * Type definition for `AWS::Batch::JobDefinition.PodProperties`.
270
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html}
271
+ */
272
+ export type PodProperties = {
273
+ Containers?: EksContainer[];
274
+ DnsPolicy?: string;
275
+ HostNetwork?: boolean;
276
+ Metadata?: Metadata;
277
+ ServiceAccountName?: string;
278
+ Volumes?: EksVolume[];
279
+ };
298
280
  /**
299
281
  * Type definition for `AWS::Batch::JobDefinition.ResourceRequirement`.
300
282
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resourcerequirement.html}
@@ -327,6 +309,13 @@ export type Secret = {
327
309
  Name: string;
328
310
  ValueFrom: string;
329
311
  };
312
+ /**
313
+ * Type definition for `AWS::Batch::JobDefinition.Timeout`.
314
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-timeout.html}
315
+ */
316
+ export type Timeout = {
317
+ AttemptDurationSeconds?: number;
318
+ };
330
319
  /**
331
320
  * Type definition for `AWS::Batch::JobDefinition.Tmpfs`.
332
321
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html}
@@ -346,14 +335,21 @@ export type Ulimit = {
346
335
  SoftLimit: number;
347
336
  };
348
337
  /**
349
- * Type definition for `AWS::Batch::JobDefinition.Volume`.
350
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volume.html}
338
+ * Type definition for `AWS::Batch::JobDefinition.Volumes`.
339
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumes.html}
351
340
  */
352
- export type Volume = {
353
- EfsVolumeConfiguration?: EFSVolumeConfiguration;
354
- Host?: Host;
341
+ export type Volumes = {
342
+ EfsVolumeConfiguration?: EfsVolumeConfiguration;
343
+ Host?: VolumesHost;
355
344
  Name?: string;
356
345
  };
346
+ /**
347
+ * Type definition for `AWS::Batch::JobDefinition.VolumesHost`.
348
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumeshost.html}
349
+ */
350
+ export type VolumesHost = {
351
+ SourcePath?: string;
352
+ };
357
353
  /**
358
354
  * Resource Type definition for AWS::Batch::JobDefinition
359
355
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html}
@@ -0,0 +1,59 @@
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::CodeBuild::Fleet
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html}
6
+ */
7
+ export type CodeBuildFleetProperties = {
8
+ /**
9
+ * @min `1`
10
+ */
11
+ BaseCapacity?: number;
12
+ ComputeType?: "BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_2XLARGE";
13
+ EnvironmentType?: "WINDOWS_SERVER_2019_CONTAINER" | "WINDOWS_SERVER_2022_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER";
14
+ /**
15
+ * @minLength `2`
16
+ * @maxLength `128`
17
+ */
18
+ Name?: string;
19
+ Tags?: Tag[];
20
+ };
21
+ /**
22
+ * Attribute type definition for `AWS::CodeBuild::Fleet`.
23
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#aws-resource-codebuild-fleet-return-values}
24
+ */
25
+ export type CodeBuildFleetAttributes = {
26
+ /**
27
+ * @minLength `1`
28
+ */
29
+ Arn: string;
30
+ };
31
+ /**
32
+ * Type definition for `AWS::CodeBuild::Fleet.Tag`.
33
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-tag.html}
34
+ */
35
+ export type Tag = {
36
+ /**
37
+ * The key name of the tag. You can specify a value that is 1 to 127 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 -.
38
+ * @minLength `1`
39
+ * @maxLength `128`
40
+ * @pattern `^(?!aws:)[a-zA-Z+-=._:/]+$`
41
+ */
42
+ Key: string;
43
+ /**
44
+ * The value for the tag. You can specify a value that is 0 to 255 Unicode characters in length. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
45
+ * @minLength `0`
46
+ * @maxLength `256`
47
+ * @pattern `[a-zA-Z+-=._:/]+$`
48
+ */
49
+ Value: string;
50
+ };
51
+ /**
52
+ * Resource Type definition for AWS::CodeBuild::Fleet
53
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html}
54
+ */
55
+ export declare class CodeBuildFleet extends $Resource<"AWS::CodeBuild::Fleet", CodeBuildFleetProperties, CodeBuildFleetAttributes> {
56
+ static readonly Type = "AWS::CodeBuild::Fleet";
57
+ constructor(logicalId: string, properties: CodeBuildFleetProperties, options?: $ResourceOptions);
58
+ }
59
+ //# sourceMappingURL=AWS-CodeBuild-Fleet.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::CodeBuild::Fleet
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html}
5
+ */
6
+ export class CodeBuildFleet extends $Resource {
7
+ static Type = "AWS::CodeBuild::Fleet";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, CodeBuildFleet.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-CodeBuild-Fleet.js.map
@@ -22,6 +22,7 @@ export type KinesisFirehoseDeliveryStreamProperties = {
22
22
  MSKSourceConfiguration?: MSKSourceConfiguration;
23
23
  RedshiftDestinationConfiguration?: RedshiftDestinationConfiguration;
24
24
  S3DestinationConfiguration?: S3DestinationConfiguration;
25
+ SnowflakeDestinationConfiguration?: SnowflakeDestinationConfiguration;
25
26
  SplunkDestinationConfiguration?: SplunkDestinationConfiguration;
26
27
  /**
27
28
  * @minLength `1`
@@ -639,6 +640,104 @@ export type Serializer = {
639
640
  OrcSerDe?: OrcSerDe;
640
641
  ParquetSerDe?: ParquetSerDe;
641
642
  };
643
+ /**
644
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.SnowflakeDestinationConfiguration`.
645
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-snowflakedestinationconfiguration.html}
646
+ */
647
+ export type SnowflakeDestinationConfiguration = {
648
+ /**
649
+ * @minLength `24`
650
+ * @maxLength `2048`
651
+ * @pattern `.+?\.snowflakecomputing\.com`
652
+ */
653
+ AccountUrl: string;
654
+ CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
655
+ /**
656
+ * @minLength `1`
657
+ * @maxLength `255`
658
+ */
659
+ ContentColumnName?: string;
660
+ DataLoadingOption?: "JSON_MAPPING" | "VARIANT_CONTENT_MAPPING" | "VARIANT_CONTENT_AND_METADATA_MAPPING";
661
+ /**
662
+ * @minLength `1`
663
+ * @maxLength `255`
664
+ */
665
+ Database: string;
666
+ /**
667
+ * @minLength `7`
668
+ * @maxLength `255`
669
+ */
670
+ KeyPassphrase?: string;
671
+ /**
672
+ * @minLength `1`
673
+ * @maxLength `255`
674
+ */
675
+ MetaDataColumnName?: string;
676
+ /**
677
+ * @minLength `256`
678
+ * @maxLength `4096`
679
+ * @pattern `^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$`
680
+ */
681
+ PrivateKey: string;
682
+ ProcessingConfiguration?: ProcessingConfiguration;
683
+ RetryOptions?: SnowflakeRetryOptions;
684
+ /**
685
+ * @minLength `1`
686
+ * @maxLength `512`
687
+ * @pattern `arn:.*`
688
+ */
689
+ RoleARN: string;
690
+ S3BackupMode?: "FailedDataOnly" | "AllData";
691
+ S3Configuration: S3DestinationConfiguration;
692
+ /**
693
+ * @minLength `1`
694
+ * @maxLength `255`
695
+ */
696
+ Schema: string;
697
+ SnowflakeRoleConfiguration?: SnowflakeRoleConfiguration;
698
+ SnowflakeVpcConfiguration?: SnowflakeVpcConfiguration;
699
+ /**
700
+ * @minLength `1`
701
+ * @maxLength `255`
702
+ */
703
+ Table: string;
704
+ /**
705
+ * @minLength `1`
706
+ * @maxLength `255`
707
+ */
708
+ User: string;
709
+ };
710
+ /**
711
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.SnowflakeRetryOptions`.
712
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-snowflakeretryoptions.html}
713
+ */
714
+ export type SnowflakeRetryOptions = {
715
+ DurationInSeconds?: number;
716
+ };
717
+ /**
718
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.SnowflakeRoleConfiguration`.
719
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-snowflakeroleconfiguration.html}
720
+ */
721
+ export type SnowflakeRoleConfiguration = {
722
+ Enabled?: boolean;
723
+ /**
724
+ * @minLength `1`
725
+ * @maxLength `255`
726
+ */
727
+ SnowflakeRole?: string;
728
+ };
729
+ /**
730
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.SnowflakeVpcConfiguration`.
731
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-snowflakevpcconfiguration.html}
732
+ */
733
+ export type SnowflakeVpcConfiguration = {
734
+ /**
735
+ * @minLength `47`
736
+ * @maxLength `255`
737
+ * @pattern `([a-zA-Z0-9\-\_]+\.){2,3}vpce\.[a-zA-Z0-9\-]*\.vpce-svc\-[a-zA-Z0-9\-]{17}$`
738
+ */
739
+ PrivateLinkVpceId: string;
740
+ };
642
741
  /**
643
742
  * Type definition for `AWS::KinesisFirehose::DeliveryStream.SplunkBufferingHints`.
644
743
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkbufferinghints.html}
@@ -5,6 +5,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-resource.html}
6
6
  */
7
7
  export type LakeFormationResourceProperties = {
8
+ HybridAccessEnabled?: boolean;
8
9
  ResourceArn: string;
9
10
  RoleArn?: string;
10
11
  UseServiceLinkedRole: boolean;
@@ -119,6 +119,12 @@ export type FirewallRule = {
119
119
  * Rule Priority
120
120
  */
121
121
  Priority: number;
122
+ /**
123
+ * Qtype
124
+ * @minLength `1`
125
+ * @maxLength `16`
126
+ */
127
+ Qtype?: string;
122
128
  };
123
129
  /**
124
130
  * Type definition for `AWS::Route53Resolver::FirewallRuleGroup.Tag`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },