@mavogel/awscdk-rootmail 0.0.12 → 0.0.14

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.
Files changed (54) hide show
  1. package/.jsii +5 -5
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/amp-2020-08-01.min.json +222 -222
  6. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +178 -147
  7. package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +60 -45
  8. package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +163 -81
  9. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.min.json +3 -0
  10. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +321 -304
  11. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +5 -0
  12. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +852 -756
  13. package/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json +24 -0
  14. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +75 -72
  15. package/node_modules/aws-sdk/clients/amp.d.ts +342 -336
  16. package/node_modules/aws-sdk/clients/appsync.d.ts +68 -0
  17. package/node_modules/aws-sdk/clients/batch.d.ts +39 -16
  18. package/node_modules/aws-sdk/clients/codepipeline.d.ts +102 -7
  19. package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +6 -2
  20. package/node_modules/aws-sdk/clients/ecs.d.ts +5 -5
  21. package/node_modules/aws-sdk/clients/iot.d.ts +23 -4
  22. package/node_modules/aws-sdk/clients/quicksight.d.ts +130 -2
  23. package/node_modules/aws-sdk/clients/route53domains.d.ts +49 -17
  24. package/node_modules/aws-sdk/clients/workspaces.d.ts +17 -4
  25. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  26. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +13 -13
  27. package/node_modules/aws-sdk/dist/aws-sdk.js +738 -610
  28. package/node_modules/aws-sdk/dist/aws-sdk.min.js +90 -90
  29. package/node_modules/aws-sdk/lib/core.js +1 -1
  30. package/node_modules/aws-sdk/package.json +1 -1
  31. package/node_modules/cdk-nag/.jsii +3 -3
  32. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  33. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  34. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  35. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  36. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  37. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  38. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  39. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  40. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  41. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  42. package/node_modules/cdk-nag/package.json +2 -2
  43. package/node_modules/define-data-property/CHANGELOG.md +11 -0
  44. package/node_modules/define-data-property/index.d.ts +12 -3
  45. package/node_modules/define-data-property/index.js +1 -1
  46. package/node_modules/define-data-property/package.json +11 -18
  47. package/node_modules/define-data-property/test/index.js +3 -3
  48. package/node_modules/hasown/CHANGELOG.md +8 -0
  49. package/node_modules/hasown/index.d.ts +3 -3
  50. package/node_modules/hasown/index.js +1 -1
  51. package/node_modules/hasown/package.json +13 -15
  52. package/package.json +5 -5
  53. package/node_modules/define-data-property/index.d.ts.map +0 -1
  54. package/node_modules/hasown/index.d.ts.map +0 -1
@@ -587,6 +587,10 @@ declare namespace AppSync {
587
587
  * The cache instance status. AVAILABLE: The instance is available for use. CREATING: The instance is currently creating. DELETING: The instance is currently deleting. MODIFYING: The instance is currently modifying. FAILED: The instance has failed creation.
588
588
  */
589
589
  status?: ApiCacheStatus;
590
+ /**
591
+ * Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include: NetworkBandwidthOutAllowanceExceeded: The network packets dropped because the throughput exceeded the aggregated bandwidth limit. This is useful for diagnosing bottlenecks in a cache configuration. EngineCPUUtilization: The CPU utilization (percentage) allocated to the Redis process. This is useful for diagnosing bottlenecks in a cache configuration. Metrics will be recorded by API ID. You can set the value to ENABLED or DISABLED.
592
+ */
593
+ healthMetricsConfig?: CacheHealthMetricsConfig;
590
594
  }
591
595
  export type ApiCacheStatus = "AVAILABLE"|"CREATING"|"DELETING"|"MODIFYING"|"FAILED"|string;
592
596
  export type ApiCacheType = "T2_SMALL"|"T2_MEDIUM"|"R4_LARGE"|"R4_XLARGE"|"R4_2XLARGE"|"R4_4XLARGE"|"R4_8XLARGE"|"SMALL"|"MEDIUM"|"LARGE"|"XLARGE"|"LARGE_2X"|"LARGE_4X"|"LARGE_8X"|"LARGE_12X"|string;
@@ -710,6 +714,7 @@ declare namespace AppSync {
710
714
  export type _Blob = Buffer|Uint8Array|Blob|string;
711
715
  export type Boolean = boolean;
712
716
  export type BooleanValue = boolean;
717
+ export type CacheHealthMetricsConfig = "ENABLED"|"DISABLED"|string;
713
718
  export interface CachingConfig {
714
719
  /**
715
720
  * The TTL in seconds for a resolver that has caching activated. Valid values are 1–3,600 seconds.
@@ -797,6 +802,10 @@ declare namespace AppSync {
797
802
  * The cache instance type. Valid values are SMALL MEDIUM LARGE XLARGE LARGE_2X LARGE_4X LARGE_8X (not available in all regions) LARGE_12X Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used. The following legacy instance types are available, but their use is discouraged: T2_SMALL: A t2.small instance type. T2_MEDIUM: A t2.medium instance type. R4_LARGE: A r4.large instance type. R4_XLARGE: A r4.xlarge instance type. R4_2XLARGE: A r4.2xlarge instance type. R4_4XLARGE: A r4.4xlarge instance type. R4_8XLARGE: A r4.8xlarge instance type.
798
803
  */
799
804
  type: ApiCacheType;
805
+ /**
806
+ * Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include: NetworkBandwidthOutAllowanceExceeded: The number of times a specified GraphQL operation was called. EngineCPUUtilization: The number of GraphQL errors that occurred during a specified GraphQL operation. Metrics will be recorded by API ID. You can set the value to ENABLED or DISABLED.
807
+ */
808
+ healthMetricsConfig?: CacheHealthMetricsConfig;
800
809
  }
801
810
  export interface CreateApiCacheResponse {
802
811
  /**
@@ -873,6 +882,10 @@ declare namespace AppSync {
873
882
  * Amazon EventBridge settings.
874
883
  */
875
884
  eventBridgeConfig?: EventBridgeDataSourceConfig;
885
+ /**
886
+ * Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value. metricsConfig can be ENABLED or DISABLED.
887
+ */
888
+ metricsConfig?: DataSourceLevelMetricsConfig;
876
889
  }
877
890
  export interface CreateDataSourceResponse {
878
891
  /**
@@ -1011,6 +1024,10 @@ declare namespace AppSync {
1011
1024
  * The maximum number of resolvers that can be invoked in a single request. The default value is 0 (or unspecified), which will set the limit to 10000. When specified, the limit value can be between 1 and 10000. This field will produce a limit error if the operation falls out of bounds.
1012
1025
  */
1013
1026
  resolverCountLimit?: ResolverCountLimit;
1027
+ /**
1028
+ * The enhancedMetricsConfig object.
1029
+ */
1030
+ enhancedMetricsConfig?: EnhancedMetricsConfig;
1014
1031
  }
1015
1032
  export interface CreateGraphqlApiResponse {
1016
1033
  /**
@@ -1068,6 +1085,10 @@ declare namespace AppSync {
1068
1085
  * The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
1069
1086
  */
1070
1087
  code?: Code;
1088
+ /**
1089
+ * Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value. metricsConfig can be ENABLED or DISABLED.
1090
+ */
1091
+ metricsConfig?: ResolverLevelMetricsConfig;
1071
1092
  }
1072
1093
  export interface CreateResolverResponse {
1073
1094
  /**
@@ -1144,6 +1165,10 @@ declare namespace AppSync {
1144
1165
  * Amazon EventBridge settings.
1145
1166
  */
1146
1167
  eventBridgeConfig?: EventBridgeDataSourceConfig;
1168
+ /**
1169
+ * Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value. metricsConfig can be ENABLED or DISABLED.
1170
+ */
1171
+ metricsConfig?: DataSourceLevelMetricsConfig;
1147
1172
  }
1148
1173
  export interface DataSourceIntrospectionModel {
1149
1174
  /**
@@ -1225,6 +1250,8 @@ declare namespace AppSync {
1225
1250
  nextToken?: PaginationToken;
1226
1251
  }
1227
1252
  export type DataSourceIntrospectionStatus = "PROCESSING"|"FAILED"|"SUCCESS"|string;
1253
+ export type DataSourceLevelMetricsBehavior = "FULL_REQUEST_DATA_SOURCE_METRICS"|"PER_DATA_SOURCE_METRICS"|string;
1254
+ export type DataSourceLevelMetricsConfig = "ENABLED"|"DISABLED"|string;
1228
1255
  export type DataSourceType = "AWS_LAMBDA"|"AMAZON_DYNAMODB"|"AMAZON_ELASTICSEARCH"|"NONE"|"HTTP"|"RELATIONAL_DATABASE"|"AMAZON_OPENSEARCH_SERVICE"|"AMAZON_EVENTBRIDGE"|string;
1229
1256
  export type DataSources = DataSource[];
1230
1257
  export type _Date = Date;
@@ -1428,6 +1455,20 @@ declare namespace AppSync {
1428
1455
  */
1429
1456
  awsRegion: String;
1430
1457
  }
1458
+ export interface EnhancedMetricsConfig {
1459
+ /**
1460
+ * Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include: GraphQL errors: The number of GraphQL errors that occurred. Requests: The number of invocations that occurred during a request. Latency: The time to complete a resolver invocation. Cache hits: The number of cache hits during a request. Cache misses: The number of cache misses during a request. These metrics can be emitted to CloudWatch per resolver or for all resolvers in the request. Metrics will be recorded by API ID and resolver name. resolverLevelMetricsBehavior accepts one of these values at a time: FULL_REQUEST_RESOLVER_METRICS: Records and emits metric data for all resolvers in the request. PER_RESOLVER_METRICS: Records and emits metric data for resolvers that have the metricConfig value set to ENABLED.
1461
+ */
1462
+ resolverLevelMetricsBehavior: ResolverLevelMetricsBehavior;
1463
+ /**
1464
+ * Controls how data source metrics will be emitted to CloudWatch. Data source metrics include: Requests: The number of invocations that occured during a request. Latency: The time to complete a data source invocation. Errors: The number of errors that occurred during a data source invocation. These metrics can be emitted to CloudWatch per data source or for all data sources in the request. Metrics will be recorded by API ID and data source name. dataSourceLevelMetricsBehavior accepts one of these values at a time: FULL_REQUEST_DATA_SOURCE_METRICS: Records and emits metric data for all data sources in the request. PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources that have the metricConfig value set to ENABLED.
1465
+ */
1466
+ dataSourceLevelMetricsBehavior: DataSourceLevelMetricsBehavior;
1467
+ /**
1468
+ * Controls how operation metrics will be emitted to CloudWatch. Operation metrics include: Requests: The number of times a specified GraphQL operation was called. GraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL operation. Metrics will be recorded by API ID and operation name. You can set the value to ENABLED or DISABLED.
1469
+ */
1470
+ operationLevelMetricsConfig: OperationLevelMetricsConfig;
1471
+ }
1431
1472
  export type EnvironmentVariableKey = string;
1432
1473
  export type EnvironmentVariableMap = {[key: string]: EnvironmentVariableValue};
1433
1474
  export type EnvironmentVariableValue = string;
@@ -1878,6 +1919,10 @@ declare namespace AppSync {
1878
1919
  * The maximum number of resolvers that can be invoked in a single request. The default value is 0 (or unspecified), which will set the limit to 10000. When specified, the limit value can be between 1 and 10000. This field will produce a limit error if the operation falls out of bounds.
1879
1920
  */
1880
1921
  resolverCountLimit?: ResolverCountLimit;
1922
+ /**
1923
+ * The enhancedMetricsConfig object.
1924
+ */
1925
+ enhancedMetricsConfig?: EnhancedMetricsConfig;
1881
1926
  }
1882
1927
  export type GraphqlApis = GraphqlApi[];
1883
1928
  export interface HttpDataSourceConfig {
@@ -2237,6 +2282,7 @@ declare namespace AppSync {
2237
2282
  */
2238
2283
  awsRegion: String;
2239
2284
  }
2285
+ export type OperationLevelMetricsConfig = "ENABLED"|"DISABLED"|string;
2240
2286
  export type OutputType = "SDL"|"JSON"|string;
2241
2287
  export type Ownership = "CURRENT_ACCOUNT"|"OTHER_ACCOUNTS"|string;
2242
2288
  export type PaginationToken = string;
@@ -2363,9 +2409,15 @@ declare namespace AppSync {
2363
2409
  * The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
2364
2410
  */
2365
2411
  code?: Code;
2412
+ /**
2413
+ * Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value. metricsConfig can be ENABLED or DISABLED.
2414
+ */
2415
+ metricsConfig?: ResolverLevelMetricsConfig;
2366
2416
  }
2367
2417
  export type ResolverCountLimit = number;
2368
2418
  export type ResolverKind = "UNIT"|"PIPELINE"|string;
2419
+ export type ResolverLevelMetricsBehavior = "FULL_REQUEST_RESOLVER_METRICS"|"PER_RESOLVER_METRICS"|string;
2420
+ export type ResolverLevelMetricsConfig = "ENABLED"|"DISABLED"|string;
2369
2421
  export type Resolvers = Resolver[];
2370
2422
  export type ResourceArn = string;
2371
2423
  export type ResourceName = string;
@@ -2593,6 +2645,10 @@ declare namespace AppSync {
2593
2645
  * The cache instance type. Valid values are SMALL MEDIUM LARGE XLARGE LARGE_2X LARGE_4X LARGE_8X (not available in all regions) LARGE_12X Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used. The following legacy instance types are available, but their use is discouraged: T2_SMALL: A t2.small instance type. T2_MEDIUM: A t2.medium instance type. R4_LARGE: A r4.large instance type. R4_XLARGE: A r4.xlarge instance type. R4_2XLARGE: A r4.2xlarge instance type. R4_4XLARGE: A r4.4xlarge instance type. R4_8XLARGE: A r4.8xlarge instance type.
2594
2646
  */
2595
2647
  type: ApiCacheType;
2648
+ /**
2649
+ * Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include: NetworkBandwidthOutAllowanceExceeded: The number of times a specified GraphQL operation was called. EngineCPUUtilization: The number of GraphQL errors that occurred during a specified GraphQL operation. Metrics will be recorded by API ID. You can set the value to ENABLED or DISABLED.
2650
+ */
2651
+ healthMetricsConfig?: CacheHealthMetricsConfig;
2596
2652
  }
2597
2653
  export interface UpdateApiCacheResponse {
2598
2654
  /**
@@ -2673,6 +2729,10 @@ declare namespace AppSync {
2673
2729
  * The new Amazon EventBridge settings.
2674
2730
  */
2675
2731
  eventBridgeConfig?: EventBridgeDataSourceConfig;
2732
+ /**
2733
+ * Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value. metricsConfig can be ENABLED or DISABLED.
2734
+ */
2735
+ metricsConfig?: DataSourceLevelMetricsConfig;
2676
2736
  }
2677
2737
  export interface UpdateDataSourceResponse {
2678
2738
  /**
@@ -2803,6 +2863,10 @@ declare namespace AppSync {
2803
2863
  * The maximum number of resolvers that can be invoked in a single request. The default value is 0 (or unspecified), which will set the limit to 10000. When specified, the limit value can be between 1 and 10000. This field will produce a limit error if the operation falls out of bounds.
2804
2864
  */
2805
2865
  resolverCountLimit?: ResolverCountLimit;
2866
+ /**
2867
+ * The enhancedMetricsConfig object.
2868
+ */
2869
+ enhancedMetricsConfig?: EnhancedMetricsConfig;
2806
2870
  }
2807
2871
  export interface UpdateGraphqlApiResponse {
2808
2872
  /**
@@ -2860,6 +2924,10 @@ declare namespace AppSync {
2860
2924
  * The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.
2861
2925
  */
2862
2926
  code?: Code;
2927
+ /**
2928
+ * Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value. metricsConfig can be ENABLED or DISABLED.
2929
+ */
2930
+ metricsConfig?: ResolverLevelMetricsConfig;
2863
2931
  }
2864
2932
  export interface UpdateResolverResponse {
2865
2933
  /**
@@ -382,7 +382,7 @@ declare namespace Batch {
382
382
  */
383
383
  type: CRType;
384
384
  /**
385
- * The allocation strategy to use for the compute resource if not enough instances of the best fitting instance type can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more information, see Allocation strategies in the Batch User Guide. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. BEST_FIT (default) Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost instance type. If additional instances of the selected instance type aren't available, Batch waits for the additional instances to be available. If there aren't enough instances available or the user is reaching Amazon EC2 service limits, additional jobs aren't run until the currently running jobs are completed. This allocation strategy keeps costs lower but can limit scaling. If you're using Spot Fleets with BEST_FIT, the Spot Fleet IAM Role must be specified. Compute resources that use a BEST_FIT allocation strategy don't support infrastructure updates and can't update some parameters. For more information, see Updating compute environments in the Batch User Guide. BEST_FIT_PROGRESSIVE Batch selects additional instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types with lower cost vCPUs. If additional instances of the previously selected instance types aren't available, Batch selects new instance types. SPOT_CAPACITY_OPTIMIZED Batch selects one or more instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources. SPOT_PRICE_CAPACITY_OPTIMIZED The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price. This allocation strategy is only available for Spot Instance compute resources. With BEST_FIT_PROGRESSIVE,SPOT_CAPACITY_OPTIMIZED and SPOT_PRICE_CAPACITY_OPTIMIZED strategies using On-Demand or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus by more than a single instance.
385
+ * The allocation strategy to use for the compute resource if not enough instances of the best fitting instance type can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more information, see Allocation strategies in the Batch User Guide. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. BEST_FIT (default) Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost instance type. If additional instances of the selected instance type aren't available, Batch waits for the additional instances to be available. If there aren't enough instances available or the user is reaching Amazon EC2 service limits, additional jobs aren't run until the currently running jobs are completed. This allocation strategy keeps costs lower but can limit scaling. If you're using Spot Fleets with BEST_FIT, the Spot Fleet IAM Role must be specified. Compute resources that use a BEST_FIT allocation strategy don't support infrastructure updates and can't update some parameters. For more information, see Updating compute environments in the Batch User Guide. BEST_FIT_PROGRESSIVE Batch selects additional instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types with lower cost vCPUs. If additional instances of the previously selected instance types aren't available, Batch selects new instance types. SPOT_CAPACITY_OPTIMIZED Batch selects one or more instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources. SPOT_PRICE_CAPACITY_OPTIMIZED The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price. This allocation strategy is only available for Spot Instance compute resources. With BEST_FIT_PROGRESSIVE,SPOT_CAPACITY_OPTIMIZED and SPOT_PRICE_CAPACITY_OPTIMIZED (recommended) strategies using On-Demand or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus by more than a single instance.
386
386
  */
387
387
  allocationStrategy?: CRAllocationStrategy;
388
388
  /**
@@ -390,7 +390,7 @@ declare namespace Batch {
390
390
  */
391
391
  minvCpus?: Integer;
392
392
  /**
393
- * The maximum number of vCPUs that a compute environment can support. With BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED and SPOT_PRICE_CAPACITY_OPTIMIZED allocation strategies using On-Demand or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus by more than a single instance. For example, no more than a single instance from among those specified in your compute environment is allocated.
393
+ * The maximum number of vCPUs that a compute environment can support. With BEST_FIT_PROGRESSIVE,SPOT_CAPACITY_OPTIMIZED and SPOT_PRICE_CAPACITY_OPTIMIZED (recommended) strategies using On-Demand or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus by more than a single instance.
394
394
  */
395
395
  maxvCpus: Integer;
396
396
  /**
@@ -418,7 +418,7 @@ declare namespace Batch {
418
418
  */
419
419
  ec2KeyPair?: String;
420
420
  /**
421
- * The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, ecsInstanceRole or arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole . For more information, see Amazon ECS instance role in the Batch User Guide. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
421
+ * The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. This parameter is required for Amazon EC2 instances types. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, ecsInstanceRole or arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole . For more information, see Amazon ECS instance role in the Batch User Guide. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
422
422
  */
423
423
  instanceRole?: String;
424
424
  /**
@@ -452,7 +452,7 @@ declare namespace Batch {
452
452
  */
453
453
  minvCpus?: Integer;
454
454
  /**
455
- * The maximum number of Amazon EC2 vCPUs that an environment can reach. With BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED, and SPOT_PRICE_CAPACITY_OPTIMIZED allocation strategies using On-Demand or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus by more than a single instance. That is, no more than a single instance from among those specified in your compute environment.
455
+ * The maximum number of Amazon EC2 vCPUs that an environment can reach. With BEST_FIT_PROGRESSIVE,SPOT_CAPACITY_OPTIMIZED and SPOT_PRICE_CAPACITY_OPTIMIZED (recommended) strategies using On-Demand or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus by more than a single instance.
456
456
  */
457
457
  maxvCpus?: Integer;
458
458
  /**
@@ -468,7 +468,7 @@ declare namespace Batch {
468
468
  */
469
469
  securityGroupIds?: StringList;
470
470
  /**
471
- * The allocation strategy to use for the compute resource if there's not enough instances of the best fitting instance type that can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more information, see Allocation strategies in the Batch User Guide. When updating a compute environment, changing the allocation strategy requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide. BEST_FIT isn't supported when updating a compute environment. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. BEST_FIT_PROGRESSIVE Batch selects additional instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types with lower cost vCPUs. If additional instances of the previously selected instance types aren't available, Batch selects new instance types. SPOT_CAPACITY_OPTIMIZED Batch selects one or more instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources. SPOT_PRICE_CAPACITY_OPTIMIZED The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price. This allocation strategy is only available for Spot Instance compute resources. With both BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED, and SPOT_PRICE_CAPACITY_OPTIMIZED strategies using On-Demand or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus by more than a single instance.
471
+ * The allocation strategy to use for the compute resource if there's not enough instances of the best fitting instance type that can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more information, see Allocation strategies in the Batch User Guide. When updating a compute environment, changing the allocation strategy requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide. BEST_FIT isn't supported when updating a compute environment. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. BEST_FIT_PROGRESSIVE Batch selects additional instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types with lower cost vCPUs. If additional instances of the previously selected instance types aren't available, Batch selects new instance types. SPOT_CAPACITY_OPTIMIZED Batch selects one or more instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources. SPOT_PRICE_CAPACITY_OPTIMIZED The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price. This allocation strategy is only available for Spot Instance compute resources. With BEST_FIT_PROGRESSIVE,SPOT_CAPACITY_OPTIMIZED and SPOT_PRICE_CAPACITY_OPTIMIZED (recommended) strategies using On-Demand or Spot Instances, and the BEST_FIT strategy using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, Batch never exceeds maxvCpus by more than a single instance.
472
472
  */
473
473
  allocationStrategy?: CRUpdateAllocationStrategy;
474
474
  /**
@@ -480,7 +480,7 @@ declare namespace Batch {
480
480
  */
481
481
  ec2KeyPair?: String;
482
482
  /**
483
- * The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, ecsInstanceRole or arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole . For more information, see Amazon ECS instance role in the Batch User Guide. When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
483
+ * The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. Required for Amazon EC2 instances. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, ecsInstanceRole or arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole . For more information, see Amazon ECS instance role in the Batch User Guide. When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide. This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
484
484
  */
485
485
  instanceRole?: String;
486
486
  /**
@@ -625,7 +625,14 @@ declare namespace Batch {
625
625
  * The amount of ephemeral storage allocated for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate.
626
626
  */
627
627
  ephemeralStorage?: EphemeralStorage;
628
+ /**
629
+ * An object that represents the compute environment architecture for Batch jobs on Fargate.
630
+ */
628
631
  runtimePlatform?: RuntimePlatform;
632
+ /**
633
+ * The private repository authentication credentials to use.
634
+ */
635
+ repositoryCredentials?: RepositoryCredentials;
629
636
  }
630
637
  export interface ContainerOverrides {
631
638
  /**
@@ -655,7 +662,7 @@ declare namespace Batch {
655
662
  }
656
663
  export interface ContainerProperties {
657
664
  /**
658
- * The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with repository-url/image:tag . It can be 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), underscores (_), colons (:), periods (.), forward slashes (/), and number signs (#). This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run. Docker image architecture must match the processor architecture of the compute resources that they're scheduled on. For example, ARM-based Docker images can only run on ARM-based compute resources. Images in Amazon ECR Public repositories use the full registry/repository[:tag] or registry/repository[@digest] naming conventions. For example, public.ecr.aws/registry_alias/my-web-app:latest . Images in Amazon ECR repositories use the full registry and repository URI (for example, 123456789012.dkr.ecr.<region-name>.amazonaws.com/<repository-name>). Images in official repositories on Docker Hub use a single name (for example, ubuntu or mongo). Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent). Images in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu).
665
+ * Required. The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with repository-url/image:tag . It can be 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), underscores (_), colons (:), periods (.), forward slashes (/), and number signs (#). This parameter maps to Image in the Create a container section of the Docker Remote API and the IMAGE parameter of docker run. Docker image architecture must match the processor architecture of the compute resources that they're scheduled on. For example, ARM-based Docker images can only run on ARM-based compute resources. Images in Amazon ECR Public repositories use the full registry/repository[:tag] or registry/repository[@digest] naming conventions. For example, public.ecr.aws/registry_alias/my-web-app:latest . Images in Amazon ECR repositories use the full registry and repository URI (for example, 123456789012.dkr.ecr.<region-name>.amazonaws.com/<repository-name>). Images in official repositories on Docker Hub use a single name (for example, ubuntu or mongo). Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent). Images in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu).
659
666
  */
660
667
  image?: String;
661
668
  /**
@@ -738,7 +745,14 @@ declare namespace Batch {
738
745
  * The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate.
739
746
  */
740
747
  ephemeralStorage?: EphemeralStorage;
748
+ /**
749
+ * An object that represents the compute environment architecture for Batch jobs on Fargate.
750
+ */
741
751
  runtimePlatform?: RuntimePlatform;
752
+ /**
753
+ * The private repository authentication credentials to use.
754
+ */
755
+ repositoryCredentials?: RepositoryCredentials;
742
756
  }
743
757
  export interface ContainerSummary {
744
758
  /**
@@ -912,7 +926,7 @@ declare namespace Batch {
912
926
  }
913
927
  export interface DescribeJobDefinitionsRequest {
914
928
  /**
915
- * A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a short version using the form ${JobDefinitionName}:${Revision}.
929
+ * A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a short version using the form ${JobDefinitionName}:${Revision}. This parameter can't be used with other parameters.
916
930
  */
917
931
  jobDefinitions?: StringList;
918
932
  /**
@@ -1043,7 +1057,7 @@ declare namespace Batch {
1043
1057
  }
1044
1058
  export interface Ec2Configuration {
1045
1059
  /**
1046
- * The image type to match with the instance type to select an AMI. The supported values are different for ECS and EKS resources. ECS If the imageIdOverride parameter isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI (ECS_AL2) is used. If a new image type is specified in an update, but neither an imageId nor a imageIdOverride parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by Batch is used. ECS_AL2 Amazon Linux 2: Default for all non-GPU instance families. ECS_AL2_NVIDIA Amazon Linux 2 (GPU): Default for all GPU instance families (for example P4 and G4) and can be used for all non Amazon Web Services Graviton-based instance types. ECS_AL1 Amazon Linux. Amazon Linux has reached the end-of-life of standard support. For more information, see Amazon Linux AMI. EKS If the imageIdOverride parameter isn't specified, then a recent Amazon EKS-optimized Amazon Linux AMI (EKS_AL2) is used. If a new image type is specified in an update, but neither an imageId nor a imageIdOverride parameter is specified, then the latest Amazon EKS optimized AMI for that image type that Batch supports is used. EKS_AL2 Amazon Linux 2: Default for all non-GPU instance families. EKS_AL2_NVIDIA Amazon Linux 2 (accelerated): Default for all GPU instance families (for example, P4 and G4) and can be used for all non Amazon Web Services Graviton-based instance types.
1060
+ * The image type to match with the instance type to select an AMI. The supported values are different for ECS and EKS resources. ECS If the imageIdOverride parameter isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI (ECS_AL2) is used. If a new image type is specified in an update, but neither an imageId nor a imageIdOverride parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by Batch is used. ECS_AL2 Amazon Linux 2: Default for all non-GPU instance families. ECS_AL2_NVIDIA Amazon Linux 2 (GPU): Default for all GPU instance families (for example P4 and G4) and can be used for all non Amazon Web Services Graviton-based instance types. ECS_AL2023 Amazon Linux 2023: Batch supports Amazon Linux 2023. Amazon Linux 2023 does not support A1 instances. ECS_AL1 Amazon Linux. Amazon Linux has reached the end-of-life of standard support. For more information, see Amazon Linux AMI. EKS If the imageIdOverride parameter isn't specified, then a recent Amazon EKS-optimized Amazon Linux AMI (EKS_AL2) is used. If a new image type is specified in an update, but neither an imageId nor a imageIdOverride parameter is specified, then the latest Amazon EKS optimized AMI for that image type that Batch supports is used. EKS_AL2 Amazon Linux 2: Default for all non-GPU instance families. EKS_AL2_NVIDIA Amazon Linux 2 (accelerated): Default for all GPU instance families (for example, P4 and G4) and can be used for all non Amazon Web Services Graviton-based instance types.
1047
1061
  */
1048
1062
  imageType: ImageType;
1049
1063
  /**
@@ -1350,6 +1364,9 @@ declare namespace Batch {
1350
1364
  * The name of the node for this job.
1351
1365
  */
1352
1366
  nodeName?: String;
1367
+ /**
1368
+ * Describes and uniquely identifies Kubernetes resources. For example, the compute environment that a pod runs in or the jobID for a job running in the pod. For more information, see Understanding Kubernetes Objects in the Kubernetes documentation.
1369
+ */
1353
1370
  metadata?: EksMetadata;
1354
1371
  }
1355
1372
  export interface EksPodPropertiesOverride {
@@ -1442,7 +1459,7 @@ declare namespace Batch {
1442
1459
  */
1443
1460
  shareDecaySeconds?: Integer;
1444
1461
  /**
1445
- * A value used to reserve some of the available maximum vCPU for fair share identifiers that aren't already used. The reserved ratio is (computeReservation/100)^ActiveFairShares where ActiveFairShares is the number of active fair share identifiers. For example, a computeReservation value of 50 indicates that Batchreserves 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It reserves 12.5% if there are three fair share identifiers. A computeReservation value of 25 indicates that Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers. The minimum value is 0 and the maximum value is 99.
1462
+ * A value used to reserve some of the available maximum vCPU for fair share identifiers that aren't already used. The reserved ratio is (computeReservation/100)^ActiveFairShares where ActiveFairShares is the number of active fair share identifiers. For example, a computeReservation value of 50 indicates that Batch reserves 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It reserves 12.5% if there are three fair share identifiers. A computeReservation value of 25 indicates that Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers. The minimum value is 0 and the maximum value is 99.
1446
1463
  */
1447
1464
  computeReservation?: Integer;
1448
1465
  /**
@@ -1593,7 +1610,7 @@ declare namespace Batch {
1593
1610
  */
1594
1611
  retryStrategy?: RetryStrategy;
1595
1612
  /**
1596
- * The Unix timestamp (in milliseconds) for when the job was started. More specifically, it's when the job transitioned from the STARTING state to the RUNNING state. This parameter isn't provided for child jobs of array jobs or multi-node parallel jobs.
1613
+ * The Unix timestamp (in milliseconds) for when the job was started. More specifically, it's when the job transitioned from the STARTING state to the RUNNING state.
1597
1614
  */
1598
1615
  startedAt: Long;
1599
1616
  /**
@@ -2086,6 +2103,12 @@ declare namespace Batch {
2086
2103
  */
2087
2104
  revision: Integer;
2088
2105
  }
2106
+ export interface RepositoryCredentials {
2107
+ /**
2108
+ * The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
2109
+ */
2110
+ credentialsParameter: String;
2111
+ }
2089
2112
  export interface ResourceRequirement {
2090
2113
  /**
2091
2114
  * The quantity of the specified resource to reserve for the container. The values vary based on the type specified. type="GPU" The number of physical GPUs to reserve for the container. Make sure that the number of GPUs reserved for all containers in a job doesn't exceed the number of available GPUs on the compute resource that the job is launched on. GPUs aren't available for jobs that are running on Fargate resources. type="MEMORY" The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are running on EC2 resources. If your container attempts to exceed the memory specified, the container is terminated. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run. You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to Memory in the Create a container section of the Docker Remote API and the --memory option to docker run. If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see Memory management in the Batch User Guide. For jobs that are running on Fargate resources, then value is the hard limit (in MiB), and must match one of the supported values and the VCPU values must be one of the values supported for that memory value. value = 512 VCPU = 0.25 value = 1024 VCPU = 0.25 or 0.5 value = 2048 VCPU = 0.25, 0.5, or 1 value = 3072 VCPU = 0.5, or 1 value = 4096 VCPU = 0.5, 1, or 2 value = 5120, 6144, or 7168 VCPU = 1 or 2 value = 8192 VCPU = 1, 2, or 4 value = 9216, 10240, 11264, 12288, 13312, 14336, or 15360 VCPU = 2 or 4 value = 16384 VCPU = 2, 4, or 8 value = 17408, 18432, 19456, 21504, 22528, 23552, 25600, 26624, 27648, 29696, or 30720 VCPU = 4 value = 20480, 24576, or 28672 VCPU = 4 or 8 value = 36864, 45056, 53248, or 61440 VCPU = 8 value = 32768, 40960, 49152, or 57344 VCPU = 8 or 16 value = 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880 VCPU = 16 type="VCPU" The number of vCPUs reserved for the container. This parameter maps to CpuShares in the Create a container section of the Docker Remote API and the --cpu-shares option to docker run. Each vCPU is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be specified for each node at least once. The default for the Fargate On-Demand vCPU resource count quota is 6 vCPUs. For more information about Fargate quotas, see Fargate quotas in the Amazon Web Services General Reference. For jobs that are running on Fargate resources, then value must match one of the supported values and the MEMORY values must be one of the values supported for that VCPU value. The supported values are 0.25, 0.5, 1, 2, 4, 8, and 16 value = 0.25 MEMORY = 512, 1024, or 2048 value = 0.5 MEMORY = 1024, 2048, 3072, or 4096 value = 1 MEMORY = 2048, 3072, 4096, 5120, 6144, 7168, or 8192 value = 2 MEMORY = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384 value = 4 MEMORY = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720 value = 8 MEMORY = 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, or 61440 value = 16 MEMORY = 32768, 40960, 49152, 57344, 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880
@@ -2111,11 +2134,11 @@ declare namespace Batch {
2111
2134
  }
2112
2135
  export interface RuntimePlatform {
2113
2136
  /**
2114
- * The operating system for the compute environment. Valid values are: LINUX (default), WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2022_CORE, and WINDOWS_SERVER_2022_FULL. The following parameters can’t be set for Windows containers: linuxParameters, privileged, user, ulimits, readonlyRootFilesystem, and efsVolumeConfiguration. The Batch Scheduler checks before registering a task definition with Fargate. If the job requires a Windows container and the first compute environment is LINUX, the compute environment is skipped and the next is checked until a Windows-based compute environment is found. Fargate Spot is not supported for Windows-based containers on Fargate. A job queue will be blocked if a Fargate Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both FARGATE and FARGATE_SPOT compute environments to the same job queue.
2137
+ * The operating system for the compute environment. Valid values are: LINUX (default), WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2022_CORE, and WINDOWS_SERVER_2022_FULL. The following parameters can’t be set for Windows containers: linuxParameters, privileged, user, ulimits, readonlyRootFilesystem, and efsVolumeConfiguration. The Batch Scheduler checks the compute environments that are attached to the job queue before registering a task definition with Fargate. In this scenario, the job queue is where the job is submitted. If the job requires a Windows container and the first compute environment is LINUX, the compute environment is skipped and the next compute environment is checked until a Windows-based compute environment is found. Fargate Spot is not supported for ARM64 and Windows-based containers on Fargate. A job queue will be blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both FARGATE and FARGATE_SPOT compute environments to the same job queue.
2115
2138
  */
2116
2139
  operatingSystemFamily?: String;
2117
2140
  /**
2118
- * The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64. This parameter must be set to X86_64 for Windows containers.
2141
+ * The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64. This parameter must be set to X86_64 for Windows containers. Fargate Spot is not supported for ARM64 and Windows-based containers on Fargate. A job queue will be blocked if a Fargate ARM64 or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both FARGATE and FARGATE_SPOT compute environments to the same job queue.
2119
2142
  */
2120
2143
  cpuArchitecture?: String;
2121
2144
  }
@@ -2183,7 +2206,7 @@ declare namespace Batch {
2183
2206
  */
2184
2207
  shareIdentifier?: String;
2185
2208
  /**
2186
- * The scheduling priority for the job. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. This overrides any scheduling priority in the job definition. The minimum supported value is 0 and the maximum supported value is 9999.
2209
+ * The scheduling priority for the job. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. This overrides any scheduling priority in the job definition and works only within a single share identifier. The minimum supported value is 0 and the maximum supported value is 9999.
2187
2210
  */
2188
2211
  schedulingPriorityOverride?: Integer;
2189
2212
  /**
@@ -2291,11 +2314,11 @@ declare namespace Batch {
2291
2314
  export type TmpfsList = Tmpfs[];
2292
2315
  export interface Ulimit {
2293
2316
  /**
2294
- * The hard limit for the ulimit type.
2317
+ * The hard limit for the ulimit type.
2295
2318
  */
2296
2319
  hardLimit: Integer;
2297
2320
  /**
2298
- * The type of the ulimit.
2321
+ * The type of the ulimit. Valid values are: core | cpu | data | fsize | locks | memlock | msgqueue | nice | nofile | nproc | rss | rtprio | rttime | sigpending | stack.
2299
2322
  */
2300
2323
  name: String;
2301
2324
  /**
@@ -540,6 +540,10 @@ declare namespace CodePipeline {
540
540
  * The last update time of the action execution.
541
541
  */
542
542
  lastUpdateTime?: Timestamp;
543
+ /**
544
+ * The ARN of the user who changed the pipeline execution details.
545
+ */
546
+ updatedBy?: LastUpdatedBy;
543
547
  /**
544
548
  * The status of the action execution. Status categories are InProgress, Succeeded, and Failed.
545
549
  */
@@ -559,6 +563,10 @@ declare namespace CodePipeline {
559
563
  * The pipeline execution ID used to filter action execution history.
560
564
  */
561
565
  pipelineExecutionId?: PipelineExecutionId;
566
+ /**
567
+ * The latest execution in the pipeline. Filtering on the latest execution is available for executions run on or after February 08, 2024.
568
+ */
569
+ latestInPipelineExecution?: LatestInPipelineExecutionFilter;
562
570
  }
563
571
  export type ActionExecutionId = string;
564
572
  export interface ActionExecutionInput {
@@ -615,6 +623,7 @@ declare namespace CodePipeline {
615
623
  * The deepest external link to the external resource (for example, a repository URL or deployment endpoint) that is used when running the action.
616
624
  */
617
625
  externalExecutionUrl?: Url;
626
+ errorDetails?: ErrorDetails;
618
627
  }
619
628
  export type ActionExecutionStatus = "InProgress"|"Abandoned"|"Succeeded"|"Failed"|string;
620
629
  export type ActionExecutionToken = string;
@@ -1167,6 +1176,7 @@ declare namespace CodePipeline {
1167
1176
  percentComplete?: Percentage;
1168
1177
  }
1169
1178
  export type ExecutionId = string;
1179
+ export type ExecutionMode = "QUEUED"|"SUPERSEDED"|"PARALLEL"|string;
1170
1180
  export type ExecutionSummary = string;
1171
1181
  export interface ExecutionTrigger {
1172
1182
  /**
@@ -1322,21 +1332,74 @@ declare namespace CodePipeline {
1322
1332
  */
1323
1333
  jobDetails?: ThirdPartyJobDetails;
1324
1334
  }
1335
+ export interface GitBranchFilterCriteria {
1336
+ /**
1337
+ * The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.
1338
+ */
1339
+ includes?: GitBranchPatternList;
1340
+ /**
1341
+ * The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.
1342
+ */
1343
+ excludes?: GitBranchPatternList;
1344
+ }
1345
+ export type GitBranchNamePattern = string;
1346
+ export type GitBranchPatternList = GitBranchNamePattern[];
1325
1347
  export interface GitConfiguration {
1326
1348
  /**
1327
1349
  * The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only. You can only specify one trigger configuration per source action.
1328
1350
  */
1329
1351
  sourceActionName: ActionName;
1330
1352
  /**
1331
- * The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details. Git tags is the only supported event type.
1353
+ * The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
1332
1354
  */
1333
1355
  push?: GitPushFilterList;
1356
+ /**
1357
+ * The field where the repository event that will start the pipeline is specified as pull requests.
1358
+ */
1359
+ pullRequest?: GitPullRequestFilterList;
1360
+ }
1361
+ export interface GitFilePathFilterCriteria {
1362
+ /**
1363
+ * The list of patterns of Git repository file paths that, when a commit is pushed, are to be included as criteria that starts the pipeline.
1364
+ */
1365
+ includes?: GitFilePathPatternList;
1366
+ /**
1367
+ * The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline.
1368
+ */
1369
+ excludes?: GitFilePathPatternList;
1334
1370
  }
1371
+ export type GitFilePathPattern = string;
1372
+ export type GitFilePathPatternList = GitFilePathPattern[];
1373
+ export type GitPullRequestEventType = "OPEN"|"UPDATED"|"CLOSED"|string;
1374
+ export type GitPullRequestEventTypeList = GitPullRequestEventType[];
1375
+ export interface GitPullRequestFilter {
1376
+ /**
1377
+ * The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.
1378
+ */
1379
+ events?: GitPullRequestEventTypeList;
1380
+ /**
1381
+ * The field that specifies to filter on branches for the pull request trigger configuration.
1382
+ */
1383
+ branches?: GitBranchFilterCriteria;
1384
+ /**
1385
+ * The field that specifies to filter on file paths for the pull request trigger configuration.
1386
+ */
1387
+ filePaths?: GitFilePathFilterCriteria;
1388
+ }
1389
+ export type GitPullRequestFilterList = GitPullRequestFilter[];
1335
1390
  export interface GitPushFilter {
1336
1391
  /**
1337
1392
  * The field that contains the details for the Git tags trigger configuration.
1338
1393
  */
1339
1394
  tags?: GitTagFilterCriteria;
1395
+ /**
1396
+ * The field that specifies to filter on branches for the push trigger configuration.
1397
+ */
1398
+ branches?: GitBranchFilterCriteria;
1399
+ /**
1400
+ * The field that specifies to filter on file paths for the push trigger configuration.
1401
+ */
1402
+ filePaths?: GitFilePathFilterCriteria;
1340
1403
  }
1341
1404
  export type GitPushFilterList = GitPushFilter[];
1342
1405
  export interface GitTagFilterCriteria {
@@ -1449,6 +1512,16 @@ declare namespace CodePipeline {
1449
1512
  export type LastChangedAt = Date;
1450
1513
  export type LastChangedBy = string;
1451
1514
  export type LastUpdatedBy = string;
1515
+ export interface LatestInPipelineExecutionFilter {
1516
+ /**
1517
+ * The execution ID for the latest execution in the pipeline.
1518
+ */
1519
+ pipelineExecutionId: PipelineExecutionId;
1520
+ /**
1521
+ * The start time to filter on for the latest execution in the pipeline. Valid options: All Latest
1522
+ */
1523
+ startTimeRange: StartTimeRange;
1524
+ }
1452
1525
  export interface ListActionExecutionsInput {
1453
1526
  /**
1454
1527
  * The name of the pipeline for which you want to list action execution history.
@@ -1690,17 +1763,21 @@ declare namespace CodePipeline {
1690
1763
  */
1691
1764
  version?: PipelineVersion;
1692
1765
  /**
1693
- * CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications. V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters. V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration. Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs. For information about pricing for CodePipeline, see Pricing. For information about which type of pipeline to choose, see What type of pipeline is right for me?. V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.
1766
+ * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
1694
1767
  */
1695
- pipelineType?: PipelineType;
1768
+ executionMode?: ExecutionMode;
1696
1769
  /**
1697
- * The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline. When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
1770
+ * CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications. V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters. V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration. Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs. For information about pricing for CodePipeline, see Pricing. For information about which type of pipeline to choose, see What type of pipeline is right for me?.
1698
1771
  */
1699
- triggers?: PipelineTriggerDeclarationList;
1772
+ pipelineType?: PipelineType;
1700
1773
  /**
1701
1774
  * A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9@\-_]+.
1702
1775
  */
1703
1776
  variables?: PipelineVariableDeclarationList;
1777
+ /**
1778
+ * The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline. When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
1779
+ */
1780
+ triggers?: PipelineTriggerDeclarationList;
1704
1781
  }
1705
1782
  export interface PipelineExecution {
1706
1783
  /**
@@ -1727,11 +1804,15 @@ declare namespace CodePipeline {
1727
1804
  * A list of ArtifactRevision objects included in a pipeline execution.
1728
1805
  */
1729
1806
  artifactRevisions?: ArtifactRevisionList;
1730
- trigger?: ExecutionTrigger;
1731
1807
  /**
1732
1808
  * A list of pipeline variables used for the pipeline execution.
1733
1809
  */
1734
1810
  variables?: ResolvedPipelineVariableList;
1811
+ trigger?: ExecutionTrigger;
1812
+ /**
1813
+ * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
1814
+ */
1815
+ executionMode?: ExecutionMode;
1735
1816
  }
1736
1817
  export type PipelineExecutionId = string;
1737
1818
  export type PipelineExecutionStatus = "Cancelled"|"InProgress"|"Stopped"|"Stopping"|"Succeeded"|"Superseded"|"Failed"|string;
@@ -1765,6 +1846,10 @@ declare namespace CodePipeline {
1765
1846
  * The interaction that stopped a pipeline execution.
1766
1847
  */
1767
1848
  stopTrigger?: StopExecutionTrigger;
1849
+ /**
1850
+ * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
1851
+ */
1852
+ executionMode?: ExecutionMode;
1768
1853
  }
1769
1854
  export type PipelineExecutionSummaryList = PipelineExecutionSummary[];
1770
1855
  export type PipelineList = PipelineSummary[];
@@ -1798,9 +1883,13 @@ declare namespace CodePipeline {
1798
1883
  */
1799
1884
  version?: PipelineVersion;
1800
1885
  /**
1801
- * CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications. V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters. V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration. Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs. For information about pricing for CodePipeline, see Pricing. For information about which type of pipeline to choose, see What type of pipeline is right for me?. V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.
1886
+ * CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications. V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters. V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration. Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs. For information about pricing for CodePipeline, see Pricing. For information about which type of pipeline to choose, see What type of pipeline is right for me?.
1802
1887
  */
1803
1888
  pipelineType?: PipelineType;
1889
+ /**
1890
+ * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
1891
+ */
1892
+ executionMode?: ExecutionMode;
1804
1893
  /**
1805
1894
  * The date and time the pipeline was created, in timestamp format.
1806
1895
  */
@@ -2177,6 +2266,7 @@ declare namespace CodePipeline {
2177
2266
  */
2178
2267
  status: StageExecutionStatus;
2179
2268
  }
2269
+ export type StageExecutionList = StageExecution[];
2180
2270
  export type StageExecutionStatus = "Cancelled"|"InProgress"|"Failed"|"Stopped"|"Stopping"|"Succeeded"|string;
2181
2271
  export type StageName = string;
2182
2272
  export type StageRetryMode = "FAILED_ACTIONS"|"ALL_ACTIONS"|string;
@@ -2186,6 +2276,10 @@ declare namespace CodePipeline {
2186
2276
  */
2187
2277
  stageName?: StageName;
2188
2278
  inboundExecution?: StageExecution;
2279
+ /**
2280
+ * The inbound executions for a stage.
2281
+ */
2282
+ inboundExecutions?: StageExecutionList;
2189
2283
  /**
2190
2284
  * The state of the inbound transition, which is either enabled or disabled.
2191
2285
  */
@@ -2225,6 +2319,7 @@ declare namespace CodePipeline {
2225
2319
  */
2226
2320
  pipelineExecutionId?: PipelineExecutionId;
2227
2321
  }
2322
+ export type StartTimeRange = "Latest"|"All"|string;
2228
2323
  export interface StopExecutionTrigger {
2229
2324
  /**
2230
2325
  * The user-specified reason the pipeline was stopped.