cdk-lambda-subminute 2.0.398 → 2.0.399

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.
@@ -833,6 +833,10 @@ declare namespace Batch {
833
833
  * The tags that you apply to the job queue to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources in Batch User Guide.
834
834
  */
835
835
  tags?: TagrisTagsMap;
836
+ /**
837
+ * The set of actions that Batch performs on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after maxTimeSeconds has passed.
838
+ */
839
+ jobStateTimeLimitActions?: JobStateTimeLimitActions;
836
840
  }
837
841
  export interface CreateJobQueueResponse {
838
842
  /**
@@ -1740,7 +1744,7 @@ declare namespace Batch {
1740
1744
  */
1741
1745
  attempts?: AttemptDetails;
1742
1746
  /**
1743
- * A short, human-readable string to provide more details for the current status of the job.
1747
+ * A short, human-readable string to provide more details for the current status of the job. CAPACITY:INSUFFICIENT_INSTANCE_CAPACITY - All compute environments have insufficient capacity to service the job. MISCONFIGURATION:COMPUTE_ENVIRONMENT_MAX_RESOURCE - All compute environments have a maxVcpu setting that is smaller than the job requirements. MISCONFIGURATION:JOB_RESOURCE_REQUIREMENT - All compute environments have no connected instances that meet the job requirements. MISCONFIGURATION:SERVICE_ROLE_PERMISSIONS - All compute environments have problems with the service role permissions.
1744
1748
  */
1745
1749
  statusReason?: String;
1746
1750
  /**
@@ -1863,8 +1867,33 @@ declare namespace Batch {
1863
1867
  * The tags that are applied to the job queue. For more information, see Tagging your Batch resources in Batch User Guide.
1864
1868
  */
1865
1869
  tags?: TagrisTagsMap;
1870
+ /**
1871
+ * The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after maxTimeSeconds has passed.
1872
+ */
1873
+ jobStateTimeLimitActions?: JobStateTimeLimitActions;
1866
1874
  }
1867
1875
  export type JobQueueDetailList = JobQueueDetail[];
1876
+ export interface JobStateTimeLimitAction {
1877
+ /**
1878
+ * The reason to log for the action being taken.
1879
+ */
1880
+ reason: String;
1881
+ /**
1882
+ * The state of the job needed to trigger the action. The only supported value is "RUNNABLE".
1883
+ */
1884
+ state: JobStateTimeLimitActionsState;
1885
+ /**
1886
+ * The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours).
1887
+ */
1888
+ maxTimeSeconds: Integer;
1889
+ /**
1890
+ * The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is "CANCEL", which will cancel the job.
1891
+ */
1892
+ action: JobStateTimeLimitActionsAction;
1893
+ }
1894
+ export type JobStateTimeLimitActions = JobStateTimeLimitAction[];
1895
+ export type JobStateTimeLimitActionsAction = "CANCEL"|string;
1896
+ export type JobStateTimeLimitActionsState = "RUNNABLE"|string;
1868
1897
  export type JobStatus = "SUBMITTED"|"PENDING"|"RUNNABLE"|"STARTING"|"RUNNING"|"SUCCEEDED"|"FAILED"|string;
1869
1898
  export interface JobSummary {
1870
1899
  /**
@@ -2486,7 +2515,7 @@ declare namespace Batch {
2486
2515
  */
2487
2516
  environment?: EnvironmentVariables;
2488
2517
  /**
2489
- * If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.
2518
+ * If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.
2490
2519
  */
2491
2520
  essential?: Boolean;
2492
2521
  /**
@@ -2586,7 +2615,7 @@ declare namespace Batch {
2586
2615
  */
2587
2616
  environment?: EnvironmentVariables;
2588
2617
  /**
2589
- * If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.
2618
+ * If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.
2590
2619
  */
2591
2620
  essential?: Boolean;
2592
2621
  /**
@@ -2755,6 +2784,10 @@ declare namespace Batch {
2755
2784
  * Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment runs a given job. Compute environments must be in the VALID state before you can associate them with a job queue. All of the compute environments must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT). EC2 and Fargate compute environments can't be mixed. All compute environments that are associated with a job queue must share the same architecture. Batch doesn't support mixing compute environment architecture types in a single job queue.
2756
2785
  */
2757
2786
  computeEnvironmentOrder?: ComputeEnvironmentOrders;
2787
+ /**
2788
+ * The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after maxTimeSeconds has passed.
2789
+ */
2790
+ jobStateTimeLimitActions?: JobStateTimeLimitActions;
2758
2791
  }
2759
2792
  export interface UpdateJobQueueResponse {
2760
2793
  /**