@awboost/cfn-resource-types 0.1.4 → 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.
@@ -7,21 +7,15 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
7
7
  export type BatchJobDefinitionProperties = {
8
8
  ContainerProperties?: ContainerProperties;
9
9
  EksProperties?: EksProperties;
10
- /**
11
- * @maxLength `128`
12
- */
13
10
  JobDefinitionName?: string;
14
11
  NodeProperties?: NodeProperties;
15
- Parameters?: Record<string, string>;
12
+ Parameters?: Record<string, any>;
16
13
  PlatformCapabilities?: string[];
17
14
  PropagateTags?: boolean;
18
15
  RetryStrategy?: RetryStrategy;
19
16
  SchedulingPriority?: number;
20
- /**
21
- * A key-value pair to associate with a resource.
22
- */
23
- Tags?: Record<string, string>;
24
- Timeout?: JobTimeout;
17
+ Tags?: Record<string, any>;
18
+ Timeout?: Timeout;
25
19
  Type: string;
26
20
  };
27
21
  /**
@@ -29,10 +23,15 @@ export type BatchJobDefinitionProperties = {
29
23
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#aws-resource-batch-jobdefinition-return-values}
30
24
  */
31
25
  export type BatchJobDefinitionAttributes = {
32
- ContainerOrchestrationType: string;
33
- JobDefinitionArn: string;
34
- Revision: number;
35
- Status: string;
26
+ Id: 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;
36
35
  };
37
36
  /**
38
37
  * Type definition for `AWS::Batch::JobDefinition.ContainerProperties`.
@@ -41,46 +40,26 @@ export type BatchJobDefinitionAttributes = {
41
40
  export type ContainerProperties = {
42
41
  Command?: string[];
43
42
  Environment?: Environment[];
44
- EphemeralStorage?: {
45
- SizeInGiB: number;
46
- };
43
+ EphemeralStorage?: EphemeralStorage;
47
44
  ExecutionRoleArn?: string;
48
- FargatePlatformConfiguration?: {
49
- PlatformVersion?: string;
50
- };
45
+ FargatePlatformConfiguration?: FargatePlatformConfiguration;
51
46
  Image: string;
52
47
  InstanceType?: string;
53
48
  JobRoleArn?: string;
54
- LinuxParameters?: {
55
- Devices?: Device[];
56
- InitProcessEnabled?: boolean;
57
- MaxSwap?: number;
58
- SharedMemorySize?: number;
59
- Swappiness?: number;
60
- Tmpfs?: Tmpfs[];
61
- };
62
- LogConfiguration?: {
63
- LogDriver: string;
64
- Options?: Record<string, string>;
65
- SecretOptions?: Secret[];
66
- };
49
+ LinuxParameters?: LinuxParameters;
50
+ LogConfiguration?: LogConfiguration;
67
51
  Memory?: number;
68
- MountPoints?: MountPoint[];
69
- NetworkConfiguration?: {
70
- AssignPublicIp?: string;
71
- };
52
+ MountPoints?: MountPoints[];
53
+ NetworkConfiguration?: NetworkConfiguration;
72
54
  Privileged?: boolean;
73
55
  ReadonlyRootFilesystem?: boolean;
74
56
  ResourceRequirements?: ResourceRequirement[];
75
- RuntimePlatform?: {
76
- CpuArchitecture?: string;
77
- OperatingSystemFamily?: string;
78
- };
57
+ RuntimePlatform?: RuntimePlatform;
79
58
  Secrets?: Secret[];
80
59
  Ulimits?: Ulimit[];
81
60
  User?: string;
82
61
  Vcpus?: number;
83
- Volumes?: Volume[];
62
+ Volumes?: Volumes[];
84
63
  };
85
64
  /**
86
65
  * Type definition for `AWS::Batch::JobDefinition.Device`.
@@ -92,19 +71,11 @@ export type Device = {
92
71
  Permissions?: string[];
93
72
  };
94
73
  /**
95
- * Type definition for `AWS::Batch::JobDefinition.EFSAuthorizationConfig`.
96
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsauthorizationconfig.html}
97
- */
98
- export type EFSAuthorizationConfig = {
99
- AccessPointId?: string;
100
- Iam?: string;
101
- };
102
- /**
103
- * Type definition for `AWS::Batch::JobDefinition.EFSVolumeConfiguration`.
74
+ * Type definition for `AWS::Batch::JobDefinition.EfsVolumeConfiguration`.
104
75
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsvolumeconfiguration.html}
105
76
  */
106
- export type EFSVolumeConfiguration = {
107
- AuthorizationConfig?: EFSAuthorizationConfig;
77
+ export type EfsVolumeConfiguration = {
78
+ AuthorizationConfig?: AuthorizationConfig;
108
79
  FileSystemId: string;
109
80
  RootDirectory?: string;
110
81
  TransitEncryption?: string;
@@ -138,8 +109,8 @@ export type EksContainerEnvironmentVariable = {
138
109
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerresourcerequirements.html}
139
110
  */
140
111
  export type EksContainerResourceRequirements = {
141
- Limits?: Record<string, string>;
142
- Requests?: Record<string, string>;
112
+ Limits?: Record<string, any>;
113
+ Requests?: Record<string, any>;
143
114
  };
144
115
  /**
145
116
  * Type definition for `AWS::Batch::JobDefinition.EksContainerSecurityContext`.
@@ -176,31 +147,12 @@ export type EksEmptyDir = {
176
147
  export type EksHostPath = {
177
148
  Path?: string;
178
149
  };
179
- /**
180
- * Type definition for `AWS::Batch::JobDefinition.EksMetadata`.
181
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksmetadata.html}
182
- */
183
- export type EksMetadata = {
184
- Labels?: Record<string, string>;
185
- };
186
- /**
187
- * Type definition for `AWS::Batch::JobDefinition.EksPodProperties`.
188
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodproperties.html}
189
- */
190
- export type EksPodProperties = {
191
- Containers?: EksContainer[];
192
- DnsPolicy?: string;
193
- HostNetwork?: boolean;
194
- Metadata?: EksMetadata;
195
- ServiceAccountName?: string;
196
- Volumes?: EksVolume[];
197
- };
198
150
  /**
199
151
  * Type definition for `AWS::Batch::JobDefinition.EksProperties`.
200
152
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html}
201
153
  */
202
154
  export type EksProperties = {
203
- PodProperties?: EksPodProperties;
155
+ PodProperties?: PodProperties;
204
156
  };
205
157
  /**
206
158
  * Type definition for `AWS::Batch::JobDefinition.EksSecret`.
@@ -228,6 +180,13 @@ export type Environment = {
228
180
  Name?: string;
229
181
  Value?: string;
230
182
  };
183
+ /**
184
+ * Type definition for `AWS::Batch::JobDefinition.EphemeralStorage`.
185
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ephemeralstorage.html}
186
+ */
187
+ export type EphemeralStorage = {
188
+ SizeInGiB: number;
189
+ };
231
190
  /**
232
191
  * Type definition for `AWS::Batch::JobDefinition.EvaluateOnExit`.
233
192
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-evaluateonexit.html}
@@ -239,28 +198,56 @@ export type EvaluateOnExit = {
239
198
  OnStatusReason?: string;
240
199
  };
241
200
  /**
242
- * Type definition for `AWS::Batch::JobDefinition.Host`.
243
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-host.html}
201
+ * Type definition for `AWS::Batch::JobDefinition.FargatePlatformConfiguration`.
202
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-fargateplatformconfiguration.html}
244
203
  */
245
- export type Host = {
246
- SourcePath?: string;
204
+ export type FargatePlatformConfiguration = {
205
+ PlatformVersion?: string;
247
206
  };
248
207
  /**
249
- * Type definition for `AWS::Batch::JobDefinition.JobTimeout`.
250
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-jobtimeout.html}
208
+ * Type definition for `AWS::Batch::JobDefinition.LinuxParameters`.
209
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-linuxparameters.html}
251
210
  */
252
- export type JobTimeout = {
253
- AttemptDurationSeconds?: number;
211
+ export type LinuxParameters = {
212
+ Devices?: Device[];
213
+ InitProcessEnabled?: boolean;
214
+ MaxSwap?: number;
215
+ SharedMemorySize?: number;
216
+ Swappiness?: number;
217
+ Tmpfs?: Tmpfs[];
218
+ };
219
+ /**
220
+ * Type definition for `AWS::Batch::JobDefinition.LogConfiguration`.
221
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-logconfiguration.html}
222
+ */
223
+ export type LogConfiguration = {
224
+ LogDriver: string;
225
+ Options?: Record<string, any>;
226
+ SecretOptions?: Secret[];
254
227
  };
255
228
  /**
256
- * Type definition for `AWS::Batch::JobDefinition.MountPoint`.
257
- * @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}
258
231
  */
259
- export type MountPoint = {
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}
238
+ */
239
+ export type MountPoints = {
260
240
  ContainerPath?: string;
261
241
  ReadOnly?: boolean;
262
242
  SourceVolume?: string;
263
243
  };
244
+ /**
245
+ * Type definition for `AWS::Batch::JobDefinition.NetworkConfiguration`.
246
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-networkconfiguration.html}
247
+ */
248
+ export type NetworkConfiguration = {
249
+ AssignPublicIp?: string;
250
+ };
264
251
  /**
265
252
  * Type definition for `AWS::Batch::JobDefinition.NodeProperties`.
266
253
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html}
@@ -278,6 +265,18 @@ export type NodeRangeProperty = {
278
265
  Container?: ContainerProperties;
279
266
  TargetNodes: string;
280
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
+ };
281
280
  /**
282
281
  * Type definition for `AWS::Batch::JobDefinition.ResourceRequirement`.
283
282
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resourcerequirement.html}
@@ -294,6 +293,14 @@ export type RetryStrategy = {
294
293
  Attempts?: number;
295
294
  EvaluateOnExit?: EvaluateOnExit[];
296
295
  };
296
+ /**
297
+ * Type definition for `AWS::Batch::JobDefinition.RuntimePlatform`.
298
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-runtimeplatform.html}
299
+ */
300
+ export type RuntimePlatform = {
301
+ CpuArchitecture?: string;
302
+ OperatingSystemFamily?: string;
303
+ };
297
304
  /**
298
305
  * Type definition for `AWS::Batch::JobDefinition.Secret`.
299
306
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-secret.html}
@@ -302,6 +309,13 @@ export type Secret = {
302
309
  Name: string;
303
310
  ValueFrom: string;
304
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
+ };
305
319
  /**
306
320
  * Type definition for `AWS::Batch::JobDefinition.Tmpfs`.
307
321
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html}
@@ -321,14 +335,21 @@ export type Ulimit = {
321
335
  SoftLimit: number;
322
336
  };
323
337
  /**
324
- * Type definition for `AWS::Batch::JobDefinition.Volume`.
325
- * @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}
326
340
  */
327
- export type Volume = {
328
- EfsVolumeConfiguration?: EFSVolumeConfiguration;
329
- Host?: Host;
341
+ export type Volumes = {
342
+ EfsVolumeConfiguration?: EfsVolumeConfiguration;
343
+ Host?: VolumesHost;
330
344
  Name?: string;
331
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
+ };
332
353
  /**
333
354
  * Resource Type definition for AWS::Batch::JobDefinition
334
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
@@ -6,8 +6,8 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
6
6
  */
7
7
  export type CognitoIdentityPoolRoleAttachmentProperties = {
8
8
  IdentityPoolId: string;
9
- RoleMappings?: Record<string, any>;
10
- Roles?: Record<string, any>;
9
+ RoleMappings?: Record<string, RoleMapping>;
10
+ Roles?: Record<string, string>;
11
11
  };
12
12
  /**
13
13
  * Attribute type definition for `AWS::Cognito::IdentityPoolRoleAttachment`.
@@ -16,6 +16,33 @@ export type CognitoIdentityPoolRoleAttachmentProperties = {
16
16
  export type CognitoIdentityPoolRoleAttachmentAttributes = {
17
17
  Id: string;
18
18
  };
19
+ /**
20
+ * Type definition for `AWS::Cognito::IdentityPoolRoleAttachment.MappingRule`.
21
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html}
22
+ */
23
+ export type MappingRule = {
24
+ Claim: string;
25
+ MatchType: string;
26
+ RoleARN: string;
27
+ Value: string;
28
+ };
29
+ /**
30
+ * Type definition for `AWS::Cognito::IdentityPoolRoleAttachment.RoleMapping`.
31
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html}
32
+ */
33
+ export type RoleMapping = {
34
+ AmbiguousRoleResolution?: string;
35
+ IdentityProvider?: string;
36
+ RulesConfiguration?: RulesConfigurationType;
37
+ Type: string;
38
+ };
39
+ /**
40
+ * Type definition for `AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType`.
41
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rulesconfigurationtype.html}
42
+ */
43
+ export type RulesConfigurationType = {
44
+ Rules: MappingRule[];
45
+ };
19
46
  /**
20
47
  * Resource Type definition for AWS::Cognito::IdentityPoolRoleAttachment
21
48
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html}
@@ -5,6 +5,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html}
6
6
  */
7
7
  export type ElasticLoadBalancingV2LoadBalancerProperties = {
8
+ /**
9
+ * Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through PrivateLink
10
+ */
11
+ EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?: string;
8
12
  /**
9
13
  * The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).
10
14
  */
@@ -0,0 +1,63 @@
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 Definition for type AWS::IVS::Stage.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-stage.html}
6
+ */
7
+ export type IVSStageProperties = {
8
+ /**
9
+ * Stage name
10
+ * @minLength `0`
11
+ * @maxLength `128`
12
+ * @pattern `^[a-zA-Z0-9-_]*$`
13
+ */
14
+ Name?: string;
15
+ /**
16
+ * An array of key-value pairs to apply to this resource.
17
+ */
18
+ Tags?: Tag[];
19
+ };
20
+ /**
21
+ * Attribute type definition for `AWS::IVS::Stage`.
22
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-stage.html#aws-resource-ivs-stage-return-values}
23
+ */
24
+ export type IVSStageAttributes = {
25
+ /**
26
+ * ID of the active session within the stage.
27
+ * @minLength `0`
28
+ * @maxLength `128`
29
+ */
30
+ ActiveSessionId: string;
31
+ /**
32
+ * Stage ARN is automatically generated on creation and assigned as the unique identifier.
33
+ * @minLength `0`
34
+ * @maxLength `128`
35
+ * @pattern `^arn:aws[-a-z]*:ivs:[a-z0-9-]+:[0-9]+:stage/[a-zA-Z0-9-]+$`
36
+ */
37
+ Arn: string;
38
+ };
39
+ /**
40
+ * Type definition for `AWS::IVS::Stage.Tag`.
41
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-tag.html}
42
+ */
43
+ export type Tag = {
44
+ /**
45
+ * @minLength `1`
46
+ * @maxLength `128`
47
+ */
48
+ Key: string;
49
+ /**
50
+ * @minLength `1`
51
+ * @maxLength `256`
52
+ */
53
+ Value: string;
54
+ };
55
+ /**
56
+ * Resource Definition for type AWS::IVS::Stage.
57
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-stage.html}
58
+ */
59
+ export declare class IVSStage extends $Resource<"AWS::IVS::Stage", IVSStageProperties, IVSStageAttributes> {
60
+ static readonly Type = "AWS::IVS::Stage";
61
+ constructor(logicalId: string, properties: IVSStageProperties, options?: $ResourceOptions);
62
+ }
63
+ //# sourceMappingURL=AWS-IVS-Stage.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/Resource";
2
+ /**
3
+ * Resource Definition for type AWS::IVS::Stage.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-stage.html}
5
+ */
6
+ export class IVSStage extends $Resource {
7
+ static Type = "AWS::IVS::Stage";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, IVSStage.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-IVS-Stage.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.4",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },