@awboost/cfn-resource-types 0.1.3 → 0.1.5

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,9 +7,6 @@ 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
12
  Parameters?: Record<string, string>;
@@ -17,9 +14,6 @@ export type BatchJobDefinitionProperties = {
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
17
  Tags?: Record<string, string>;
24
18
  Timeout?: JobTimeout;
25
19
  Type: string;
@@ -30,6 +24,7 @@ export type BatchJobDefinitionProperties = {
30
24
  */
31
25
  export type BatchJobDefinitionAttributes = {
32
26
  ContainerOrchestrationType: string;
27
+ Id: string;
33
28
  JobDefinitionArn: string;
34
29
  Revision: number;
35
30
  Status: string;
@@ -41,41 +36,21 @@ export type BatchJobDefinitionAttributes = {
41
36
  export type ContainerProperties = {
42
37
  Command?: string[];
43
38
  Environment?: Environment[];
44
- EphemeralStorage?: {
45
- SizeInGiB: number;
46
- };
39
+ EphemeralStorage?: EphemeralStorage;
47
40
  ExecutionRoleArn?: string;
48
- FargatePlatformConfiguration?: {
49
- PlatformVersion?: string;
50
- };
41
+ FargatePlatformConfiguration?: FargatePlatformConfiguration;
51
42
  Image: string;
52
43
  InstanceType?: string;
53
44
  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
- };
45
+ LinuxParameters?: LinuxParameters;
46
+ LogConfiguration?: LogConfiguration;
67
47
  Memory?: number;
68
48
  MountPoints?: MountPoint[];
69
- NetworkConfiguration?: {
70
- AssignPublicIp?: string;
71
- };
49
+ NetworkConfiguration?: NetworkConfiguration;
72
50
  Privileged?: boolean;
73
51
  ReadonlyRootFilesystem?: boolean;
74
52
  ResourceRequirements?: ResourceRequirement[];
75
- RuntimePlatform?: {
76
- CpuArchitecture?: string;
77
- OperatingSystemFamily?: string;
78
- };
53
+ RuntimePlatform?: RuntimePlatform;
79
54
  Secrets?: Secret[];
80
55
  Ulimits?: Ulimit[];
81
56
  User?: string;
@@ -228,6 +203,13 @@ export type Environment = {
228
203
  Name?: string;
229
204
  Value?: string;
230
205
  };
206
+ /**
207
+ * Type definition for `AWS::Batch::JobDefinition.EphemeralStorage`.
208
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ephemeralstorage.html}
209
+ */
210
+ export type EphemeralStorage = {
211
+ SizeInGiB: number;
212
+ };
231
213
  /**
232
214
  * Type definition for `AWS::Batch::JobDefinition.EvaluateOnExit`.
233
215
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-evaluateonexit.html}
@@ -238,6 +220,13 @@ export type EvaluateOnExit = {
238
220
  OnReason?: string;
239
221
  OnStatusReason?: string;
240
222
  };
223
+ /**
224
+ * Type definition for `AWS::Batch::JobDefinition.FargatePlatformConfiguration`.
225
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-fargateplatformconfiguration.html}
226
+ */
227
+ export type FargatePlatformConfiguration = {
228
+ PlatformVersion?: string;
229
+ };
241
230
  /**
242
231
  * Type definition for `AWS::Batch::JobDefinition.Host`.
243
232
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-host.html}
@@ -252,6 +241,27 @@ export type Host = {
252
241
  export type JobTimeout = {
253
242
  AttemptDurationSeconds?: number;
254
243
  };
244
+ /**
245
+ * Type definition for `AWS::Batch::JobDefinition.LinuxParameters`.
246
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-linuxparameters.html}
247
+ */
248
+ export type LinuxParameters = {
249
+ Devices?: Device[];
250
+ InitProcessEnabled?: boolean;
251
+ MaxSwap?: number;
252
+ SharedMemorySize?: number;
253
+ Swappiness?: number;
254
+ Tmpfs?: Tmpfs[];
255
+ };
256
+ /**
257
+ * Type definition for `AWS::Batch::JobDefinition.LogConfiguration`.
258
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-logconfiguration.html}
259
+ */
260
+ export type LogConfiguration = {
261
+ LogDriver: string;
262
+ Options?: Record<string, string>;
263
+ SecretOptions?: Secret[];
264
+ };
255
265
  /**
256
266
  * Type definition for `AWS::Batch::JobDefinition.MountPoint`.
257
267
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html}
@@ -261,6 +271,13 @@ export type MountPoint = {
261
271
  ReadOnly?: boolean;
262
272
  SourceVolume?: string;
263
273
  };
274
+ /**
275
+ * Type definition for `AWS::Batch::JobDefinition.NetworkConfiguration`.
276
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-networkconfiguration.html}
277
+ */
278
+ export type NetworkConfiguration = {
279
+ AssignPublicIp?: string;
280
+ };
264
281
  /**
265
282
  * Type definition for `AWS::Batch::JobDefinition.NodeProperties`.
266
283
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html}
@@ -294,6 +311,14 @@ export type RetryStrategy = {
294
311
  Attempts?: number;
295
312
  EvaluateOnExit?: EvaluateOnExit[];
296
313
  };
314
+ /**
315
+ * Type definition for `AWS::Batch::JobDefinition.RuntimePlatform`.
316
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-runtimeplatform.html}
317
+ */
318
+ export type RuntimePlatform = {
319
+ CpuArchitecture?: string;
320
+ OperatingSystemFamily?: string;
321
+ };
297
322
  /**
298
323
  * Type definition for `AWS::Batch::JobDefinition.Secret`.
299
324
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-secret.html}
@@ -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}
@@ -175,6 +175,24 @@ export type ServiceConnectService = {
175
175
  DiscoveryName?: string;
176
176
  IngressPortOverride?: number;
177
177
  PortName: string;
178
+ Timeout?: TimeoutConfiguration;
179
+ Tls?: ServiceConnectTlsConfiguration;
180
+ };
181
+ /**
182
+ * Type definition for `AWS::ECS::Service.ServiceConnectTlsCertificateAuthority`.
183
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttlscertificateauthority.html}
184
+ */
185
+ export type ServiceConnectTlsCertificateAuthority = {
186
+ AwsPcaAuthorityArn?: string;
187
+ };
188
+ /**
189
+ * Type definition for `AWS::ECS::Service.ServiceConnectTlsConfiguration`.
190
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttlsconfiguration.html}
191
+ */
192
+ export type ServiceConnectTlsConfiguration = {
193
+ IssuerCertificateAuthority: ServiceConnectTlsCertificateAuthority;
194
+ KmsKey?: string;
195
+ RoleArn?: string;
178
196
  };
179
197
  /**
180
198
  * Type definition for `AWS::ECS::Service.ServiceManagedEBSVolumeConfiguration`.
@@ -218,6 +236,14 @@ export type Tag = {
218
236
  Key?: string;
219
237
  Value?: string;
220
238
  };
239
+ /**
240
+ * Type definition for `AWS::ECS::Service.TimeoutConfiguration`.
241
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-timeoutconfiguration.html}
242
+ */
243
+ export type TimeoutConfiguration = {
244
+ IdleTimeoutSeconds?: number;
245
+ PerRequestTimeoutSeconds?: number;
246
+ };
221
247
  /**
222
248
  * Resource Type definition for AWS::ECS::Service
223
249
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.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,7 +22,7 @@ export type SSMDocumentProperties = {
22
22
  /**
23
23
  * The type of document to create.
24
24
  */
25
- DocumentType?: "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "Automation" | "Automation.ChangeTemplate" | "ChangeCalendar" | "CloudFormation" | "Command" | "DeploymentStrategy" | "Package" | "Policy" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "Session";
25
+ DocumentType?: "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "Automation" | "Automation.ChangeTemplate" | "ChangeCalendar" | "CloudFormation" | "Command" | "DeploymentStrategy" | "Package" | "Policy" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "Session" | "OpsPack";
26
26
  /**
27
27
  * A name for the Systems Manager document.
28
28
  * @pattern `^[a-zA-Z0-9_\-.]{3,128}$`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },