@awboost/cfn-resource-types 0.1.215 → 0.1.216

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.
@@ -8,32 +8,23 @@ export type BatchJobDefinitionProperties = {
8
8
  ContainerProperties?: ContainerProperties;
9
9
  EcsProperties?: EcsProperties;
10
10
  EksProperties?: EksProperties;
11
+ /**
12
+ * @maxLength `128`
13
+ */
11
14
  JobDefinitionName?: string;
12
15
  NodeProperties?: NodeProperties;
13
- Parameters?: Record<string, any>;
16
+ Parameters?: Record<string, string>;
14
17
  PlatformCapabilities?: string[];
15
18
  PropagateTags?: boolean;
16
19
  RetryStrategy?: RetryStrategy;
17
20
  SchedulingPriority?: number;
18
- Tags?: Record<string, any>;
19
- Timeout?: Timeout;
21
+ /**
22
+ * A key-value pair to associate with a resource.
23
+ */
24
+ Tags?: Record<string, string>;
25
+ Timeout?: JobTimeout;
20
26
  Type: string;
21
27
  };
22
- /**
23
- * Attribute type definition for `AWS::Batch::JobDefinition`.
24
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#aws-resource-batch-jobdefinition-return-values}
25
- */
26
- export type BatchJobDefinitionAttributes = {
27
- Id: string;
28
- };
29
- /**
30
- * Type definition for `AWS::Batch::JobDefinition.AuthorizationConfig`.
31
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-authorizationconfig.html}
32
- */
33
- export type AuthorizationConfig = {
34
- AccessPointId?: string;
35
- Iam?: string;
36
- };
37
28
  /**
38
29
  * Type definition for `AWS::Batch::JobDefinition.ContainerProperties`.
39
30
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html}
@@ -43,14 +34,15 @@ export type ContainerProperties = {
43
34
  Environment?: Environment[];
44
35
  EphemeralStorage?: EphemeralStorage;
45
36
  ExecutionRoleArn?: string;
46
- FargatePlatformConfiguration?: FargatePlatformConfiguration;
37
+ FargatePlatformConfiguration?: {
38
+ PlatformVersion?: string;
39
+ };
47
40
  Image: string;
48
- InstanceType?: string;
49
41
  JobRoleArn?: string;
50
42
  LinuxParameters?: LinuxParameters;
51
43
  LogConfiguration?: LogConfiguration;
52
44
  Memory?: number;
53
- MountPoints?: MountPoints[];
45
+ MountPoints?: MountPoint[];
54
46
  NetworkConfiguration?: NetworkConfiguration;
55
47
  Privileged?: boolean;
56
48
  ReadonlyRootFilesystem?: boolean;
@@ -61,7 +53,7 @@ export type ContainerProperties = {
61
53
  Ulimits?: Ulimit[];
62
54
  User?: string;
63
55
  Vcpus?: number;
64
- Volumes?: Volumes[];
56
+ Volumes?: Volume[];
65
57
  };
66
58
  /**
67
59
  * Type definition for `AWS::Batch::JobDefinition.Device`.
@@ -93,14 +85,22 @@ export type EcsTaskProperties = {
93
85
  PlatformVersion?: string;
94
86
  RuntimePlatform?: RuntimePlatform;
95
87
  TaskRoleArn?: string;
96
- Volumes?: Volumes[];
88
+ Volumes?: Volume[];
97
89
  };
98
90
  /**
99
- * Type definition for `AWS::Batch::JobDefinition.EfsVolumeConfiguration`.
91
+ * Type definition for `AWS::Batch::JobDefinition.EFSAuthorizationConfig`.
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsauthorizationconfig.html}
93
+ */
94
+ export type EFSAuthorizationConfig = {
95
+ AccessPointId?: string;
96
+ Iam?: string;
97
+ };
98
+ /**
99
+ * Type definition for `AWS::Batch::JobDefinition.EFSVolumeConfiguration`.
100
100
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsvolumeconfiguration.html}
101
101
  */
102
- export type EfsVolumeConfiguration = {
103
- AuthorizationConfig?: AuthorizationConfig;
102
+ export type EFSVolumeConfiguration = {
103
+ AuthorizationConfig?: EFSAuthorizationConfig;
104
104
  FileSystemId: string;
105
105
  RootDirectory?: string;
106
106
  TransitEncryption?: string;
@@ -134,8 +134,8 @@ export type EksContainerEnvironmentVariable = {
134
134
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerresourcerequirements.html}
135
135
  */
136
136
  export type EksContainerResourceRequirements = {
137
- Limits?: Record<string, any>;
138
- Requests?: Record<string, any>;
137
+ Limits?: Record<string, string>;
138
+ Requests?: Record<string, string>;
139
139
  };
140
140
  /**
141
141
  * Type definition for `AWS::Batch::JobDefinition.EksContainerSecurityContext`.
@@ -173,12 +173,34 @@ export type EksEmptyDir = {
173
173
  export type EksHostPath = {
174
174
  Path?: string;
175
175
  };
176
+ /**
177
+ * Type definition for `AWS::Batch::JobDefinition.EksMetadata`.
178
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksmetadata.html}
179
+ */
180
+ export type EksMetadata = {
181
+ Labels?: Record<string, string>;
182
+ };
183
+ /**
184
+ * Type definition for `AWS::Batch::JobDefinition.EksPodProperties`.
185
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodproperties.html}
186
+ */
187
+ export type EksPodProperties = {
188
+ Containers?: EksContainer[];
189
+ DnsPolicy?: string;
190
+ HostNetwork?: boolean;
191
+ ImagePullSecrets?: ImagePullSecret[];
192
+ InitContainers?: EksContainer[];
193
+ Metadata?: EksMetadata;
194
+ ServiceAccountName?: string;
195
+ ShareProcessNamespace?: boolean;
196
+ Volumes?: EksVolume[];
197
+ };
176
198
  /**
177
199
  * Type definition for `AWS::Batch::JobDefinition.EksProperties`.
178
200
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html}
179
201
  */
180
202
  export type EksProperties = {
181
- PodProperties?: PodProperties;
203
+ PodProperties?: EksPodProperties;
182
204
  };
183
205
  /**
184
206
  * Type definition for `AWS::Batch::JobDefinition.EksSecret`.
@@ -224,18 +246,25 @@ export type EvaluateOnExit = {
224
246
  OnStatusReason?: string;
225
247
  };
226
248
  /**
227
- * Type definition for `AWS::Batch::JobDefinition.FargatePlatformConfiguration`.
228
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-fargateplatformconfiguration.html}
249
+ * Type definition for `AWS::Batch::JobDefinition.Host`.
250
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-host.html}
229
251
  */
230
- export type FargatePlatformConfiguration = {
231
- PlatformVersion?: string;
252
+ export type Host = {
253
+ SourcePath?: string;
232
254
  };
233
255
  /**
234
256
  * Type definition for `AWS::Batch::JobDefinition.ImagePullSecret`.
235
257
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html}
236
258
  */
237
259
  export type ImagePullSecret = {
238
- Name: string;
260
+ Name?: string;
261
+ };
262
+ /**
263
+ * Type definition for `AWS::Batch::JobDefinition.JobTimeout`.
264
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-jobtimeout.html}
265
+ */
266
+ export type JobTimeout = {
267
+ AttemptDurationSeconds?: number;
239
268
  };
240
269
  /**
241
270
  * Type definition for `AWS::Batch::JobDefinition.LinuxParameters`.
@@ -255,25 +284,64 @@ export type LinuxParameters = {
255
284
  */
256
285
  export type LogConfiguration = {
257
286
  LogDriver: string;
258
- Options?: Record<string, any>;
287
+ Options?: Record<string, string>;
259
288
  SecretOptions?: Secret[];
260
289
  };
261
290
  /**
262
- * Type definition for `AWS::Batch::JobDefinition.Metadata`.
263
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html}
264
- */
265
- export type Metadata = {
266
- Labels?: Record<string, any>;
267
- };
268
- /**
269
- * Type definition for `AWS::Batch::JobDefinition.MountPoints`.
270
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoints.html}
291
+ * Type definition for `AWS::Batch::JobDefinition.MountPoint`.
292
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html}
271
293
  */
272
- export type MountPoints = {
294
+ export type MountPoint = {
273
295
  ContainerPath?: string;
274
296
  ReadOnly?: boolean;
275
297
  SourceVolume?: string;
276
298
  };
299
+ /**
300
+ * Type definition for `AWS::Batch::JobDefinition.MultiNodeContainerProperties`.
301
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-multinodecontainerproperties.html}
302
+ */
303
+ export type MultiNodeContainerProperties = {
304
+ Command?: string[];
305
+ Environment?: Environment[];
306
+ EphemeralStorage?: EphemeralStorage;
307
+ ExecutionRoleArn?: string;
308
+ Image: string;
309
+ InstanceType?: string;
310
+ JobRoleArn?: string;
311
+ LinuxParameters?: LinuxParameters;
312
+ LogConfiguration?: LogConfiguration;
313
+ Memory?: number;
314
+ MountPoints?: MountPoint[];
315
+ Privileged?: boolean;
316
+ ReadonlyRootFilesystem?: boolean;
317
+ RepositoryCredentials?: RepositoryCredentials;
318
+ ResourceRequirements?: ResourceRequirement[];
319
+ RuntimePlatform?: RuntimePlatform;
320
+ Secrets?: Secret[];
321
+ Ulimits?: Ulimit[];
322
+ User?: string;
323
+ Vcpus?: number;
324
+ Volumes?: Volume[];
325
+ };
326
+ /**
327
+ * Type definition for `AWS::Batch::JobDefinition.MultiNodeEcsProperties`.
328
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-multinodeecsproperties.html}
329
+ */
330
+ export type MultiNodeEcsProperties = {
331
+ TaskProperties: MultiNodeEcsTaskProperties[];
332
+ };
333
+ /**
334
+ * Type definition for `AWS::Batch::JobDefinition.MultiNodeEcsTaskProperties`.
335
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-multinodeecstaskproperties.html}
336
+ */
337
+ export type MultiNodeEcsTaskProperties = {
338
+ Containers?: TaskContainerProperties[];
339
+ ExecutionRoleArn?: string;
340
+ IpcMode?: string;
341
+ PidMode?: string;
342
+ TaskRoleArn?: string;
343
+ Volumes?: Volume[];
344
+ };
277
345
  /**
278
346
  * Type definition for `AWS::Batch::JobDefinition.NetworkConfiguration`.
279
347
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-networkconfiguration.html}
@@ -295,27 +363,12 @@ export type NodeProperties = {
295
363
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html}
296
364
  */
297
365
  export type NodeRangeProperty = {
298
- Container?: ContainerProperties;
299
- EcsProperties?: EcsProperties;
366
+ Container?: MultiNodeContainerProperties;
367
+ EcsProperties?: MultiNodeEcsProperties;
300
368
  EksProperties?: EksProperties;
301
369
  InstanceTypes?: string[];
302
370
  TargetNodes: string;
303
371
  };
304
- /**
305
- * Type definition for `AWS::Batch::JobDefinition.PodProperties`.
306
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html}
307
- */
308
- export type PodProperties = {
309
- Containers?: EksContainer[];
310
- DnsPolicy?: string;
311
- HostNetwork?: boolean;
312
- ImagePullSecrets?: ImagePullSecret[];
313
- InitContainers?: EksContainer[];
314
- Metadata?: Metadata;
315
- ServiceAccountName?: string;
316
- ShareProcessNamespace?: boolean;
317
- Volumes?: EksVolume[];
318
- };
319
372
  /**
320
373
  * Type definition for `AWS::Batch::JobDefinition.RepositoryCredentials`.
321
374
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-repositorycredentials.html}
@@ -375,7 +428,7 @@ export type TaskContainerProperties = {
375
428
  Image: string;
376
429
  LinuxParameters?: LinuxParameters;
377
430
  LogConfiguration?: LogConfiguration;
378
- MountPoints?: MountPoints[];
431
+ MountPoints?: MountPoint[];
379
432
  Name?: string;
380
433
  Privileged?: boolean;
381
434
  ReadonlyRootFilesystem?: boolean;
@@ -385,13 +438,6 @@ export type TaskContainerProperties = {
385
438
  Ulimits?: Ulimit[];
386
439
  User?: string;
387
440
  };
388
- /**
389
- * Type definition for `AWS::Batch::JobDefinition.Timeout`.
390
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-timeout.html}
391
- */
392
- export type Timeout = {
393
- AttemptDurationSeconds?: number;
394
- };
395
441
  /**
396
442
  * Type definition for `AWS::Batch::JobDefinition.Tmpfs`.
397
443
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html}
@@ -411,26 +457,19 @@ export type Ulimit = {
411
457
  SoftLimit: number;
412
458
  };
413
459
  /**
414
- * Type definition for `AWS::Batch::JobDefinition.Volumes`.
415
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumes.html}
460
+ * Type definition for `AWS::Batch::JobDefinition.Volume`.
461
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volume.html}
416
462
  */
417
- export type Volumes = {
418
- EfsVolumeConfiguration?: EfsVolumeConfiguration;
419
- Host?: VolumesHost;
463
+ export type Volume = {
464
+ EfsVolumeConfiguration?: EFSVolumeConfiguration;
465
+ Host?: Host;
420
466
  Name?: string;
421
467
  };
422
- /**
423
- * Type definition for `AWS::Batch::JobDefinition.VolumesHost`.
424
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumeshost.html}
425
- */
426
- export type VolumesHost = {
427
- SourcePath?: string;
428
- };
429
468
  /**
430
469
  * Resource Type definition for AWS::Batch::JobDefinition
431
470
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html}
432
471
  */
433
- export declare class BatchJobDefinition extends $Resource<"AWS::Batch::JobDefinition", BatchJobDefinitionProperties, BatchJobDefinitionAttributes> {
472
+ export declare class BatchJobDefinition extends $Resource<"AWS::Batch::JobDefinition", BatchJobDefinitionProperties, Record<string, never>> {
434
473
  static readonly Type = "AWS::Batch::JobDefinition";
435
474
  constructor(logicalId: string, properties: BatchJobDefinitionProperties, options?: $ResourceOptions);
436
475
  }
@@ -7,6 +7,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
7
7
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html}
8
8
  */
9
9
  export type ECSServiceProperties = {
10
+ /**
11
+ * Indicates whether to use Availability Zone rebalancing for the service.
12
+ For more information, see [Balancing an Amazon ECS service across Availability Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) in the *Amazon Elastic Container Service Developer Guide*.
13
+ */
10
14
  AvailabilityZoneRebalancing?: "ENABLED" | "DISABLED";
11
15
  /**
12
16
  * The capacity provider strategy to use for the service.
@@ -42,9 +46,8 @@ export type ECSServiceProperties = {
42
46
  */
43
47
  EnableExecuteCommand?: boolean;
44
48
  /**
45
- * The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. This is only used when your service is configured to use a load balancer. If your service has a load balancer defined and you don't specify a health check grace period value, the default value of ``0`` is used.
46
- If you do not use an Elastic Load Balancing, we recommend that you use the ``startPeriod`` in the task definition health check parameters. For more information, see [Health check](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html).
47
- If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health check status. This grace period can prevent the service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.
49
+ * The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you don't specify a health check grace period value, the default value of ``0`` is used. If you don't use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused.
50
+ If your service's tasks take a while to start and respond to health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health check status. This grace period can prevent the service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.
48
51
  */
49
52
  HealthCheckGracePeriodSeconds?: number;
50
53
  /**
@@ -128,6 +131,9 @@ export type ECSServiceProperties = {
128
131
  * The configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume.
129
132
  */
130
133
  VolumeConfigurations?: ServiceVolumeConfiguration[];
134
+ /**
135
+ * The VPC Lattice configuration for the service being created.
136
+ */
131
137
  VpcLatticeConfigurations?: VpcLatticeConfiguration[];
132
138
  };
133
139
  /**
@@ -145,7 +151,7 @@ export type ECSServiceAttributes = {
145
151
  */
146
152
  export type AwsVpcConfiguration = {
147
153
  /**
148
- * Whether the task's elastic network interface receives a public IP address. The default value is ``DISABLED``.
154
+ * Whether the task's elastic network interface receives a public IP address. The default value is ``ENABLED``.
149
155
  */
150
156
  AssignPublicIp?: "DISABLED" | "ENABLED";
151
157
  /**
@@ -265,7 +271,7 @@ export type DeploymentConfiguration = {
265
271
  };
266
272
  /**
267
273
  * Type definition for `AWS::ECS::Service.DeploymentController`.
268
- * The deployment controller to use for the service. For more information, see [Amazon ECS deployment types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) in the *Amazon Elastic Container Service Developer Guide*.
274
+ * The deployment controller to use for the service.
269
275
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentcontroller.html}
270
276
  */
271
277
  export type DeploymentController = {
@@ -709,11 +715,22 @@ export type TimeoutConfiguration = {
709
715
  };
710
716
  /**
711
717
  * Type definition for `AWS::ECS::Service.VpcLatticeConfiguration`.
718
+ * The VPC Lattice configuration for your service that holds the information for the target group(s) Amazon ECS tasks will be registered to.
712
719
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-vpclatticeconfiguration.html}
713
720
  */
714
721
  export type VpcLatticeConfiguration = {
722
+ /**
723
+ * The name of the port mapping to register in the VPC Lattice target group. This is the name of the ``portMapping`` you defined in your task definition.
724
+ */
715
725
  PortName: string;
726
+ /**
727
+ * The ARN of the IAM role to associate with this VPC Lattice configuration. This is the Amazon ECS
728
+ infrastructure IAM role that is used to manage your VPC Lattice infrastructure.
729
+ */
716
730
  RoleArn: string;
731
+ /**
732
+ * The full Amazon Resource Name (ARN) of the target group or groups associated with the VPC Lattice configuration that the Amazon ECS tasks will be registered to.
733
+ */
717
734
  TargetGroupArn: string;
718
735
  };
719
736
  /**
@@ -37,6 +37,9 @@ export type IoTSoftwarePackageVersionProperties = {
37
37
  */
38
38
  export type IoTSoftwarePackageVersionAttributes = {
39
39
  ErrorReason: string;
40
+ /**
41
+ * @pattern `^arn:[!-~]+$`
42
+ */
40
43
  PackageVersionArn: string;
41
44
  Status: PackageVersionStatus;
42
45
  };
@@ -27,7 +27,7 @@ export type LogsAccountPolicyProperties = {
27
27
  /**
28
28
  * Type of the policy.
29
29
  */
30
- PolicyType: "DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY";
30
+ PolicyType: "DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY";
31
31
  /**
32
32
  * Scope for policy application
33
33
  */
@@ -9,7 +9,7 @@ export type LogsIntegrationProperties = {
9
9
  /**
10
10
  * User provided identifier for integration, unique to the user account.
11
11
  * @minLength `1`
12
- * @maxLength `256`
12
+ * @maxLength `50`
13
13
  * @pattern `[\.\-_/#A-Za-z0-9]+`
14
14
  */
15
15
  IntegrationName: string;
@@ -79,6 +79,7 @@ export type TransferServerAttributes = {
79
79
  * @pattern `^s-([0-9a-f]{17})$`
80
80
  */
81
81
  ServerId: string;
82
+ State: State;
82
83
  };
83
84
  /**
84
85
  * Type definition for `AWS::Transfer::Server.As2Transport`.
@@ -195,6 +196,11 @@ export type SetStatOption = "DEFAULT" | "ENABLE_NO_OP";
195
196
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-sftpauthenticationmethods.html}
196
197
  */
197
198
  export type SftpAuthenticationMethods = "PASSWORD" | "PUBLIC_KEY" | "PUBLIC_KEY_OR_PASSWORD" | "PUBLIC_KEY_AND_PASSWORD";
199
+ /**
200
+ * Type definition for `AWS::Transfer::Server.State`.
201
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-state.html}
202
+ */
203
+ export type State = "OFFLINE" | "ONLINE" | "STARTING" | "STOPPING" | "START_FAILED" | "STOP_FAILED";
198
204
  /**
199
205
  * Type definition for `AWS::Transfer::Server.Tag`.
200
206
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-tag.html}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.215",
3
+ "version": "0.1.216",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },