aws-sdk-batch 1.111.0 → 1.112.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +77 -39
- data/lib/aws-sdk-batch/client_api.rb +16 -0
- data/lib/aws-sdk-batch/types.rb +199 -99
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +18 -6
- data/sig/types.rbs +13 -1
- metadata +2 -2
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -704,9 +704,9 @@ module Aws::Batch
|
|
704
704
|
# Key-value pair tags to be applied to Amazon EC2 resources that are
|
705
705
|
# launched in the compute environment. For Batch, these take the form
|
706
706
|
# of `"String1": "String2"`, where `String1` is the tag key and
|
707
|
-
# `String2` is the tag value
|
708
|
-
# C4OnDemand" }
|
709
|
-
# in the Amazon EC2 console. Updating these tags requires an
|
707
|
+
# `String2` is the tag value (for example, `{ "Name": "Batch Instance
|
708
|
+
# - C4OnDemand" }`). This is helpful for recognizing your Batch
|
709
|
+
# instances in the Amazon EC2 console. Updating these tags requires an
|
710
710
|
# infrastructure update to the compute environment. For more
|
711
711
|
# information, see [Updating compute environments][1] in the *Batch
|
712
712
|
# User Guide*. These tags aren't seen when using the Batch
|
@@ -1100,10 +1100,10 @@ module Aws::Batch
|
|
1100
1100
|
# Key-value pair tags to be applied to Amazon EC2 resources that are
|
1101
1101
|
# launched in the compute environment. For Batch, these take the form
|
1102
1102
|
# of `"String1": "String2"`, where `String1` is the tag key and
|
1103
|
-
# `String2` is the tag value
|
1104
|
-
# C4OnDemand" }
|
1105
|
-
# in the Amazon EC2 console. These tags aren't seen when
|
1106
|
-
# Batch `ListTagsForResource` API operation.
|
1103
|
+
# `String2` is the tag value (for example, `{ "Name": "Batch Instance
|
1104
|
+
# - C4OnDemand" }`). This is helpful for recognizing your Batch
|
1105
|
+
# instances in the Amazon EC2 console. These tags aren't seen when
|
1106
|
+
# using the Batch `ListTagsForResource` API operation.
|
1107
1107
|
#
|
1108
1108
|
# When updating a compute environment, changing this setting requires
|
1109
1109
|
# an infrastructure update of the compute environment. For more
|
@@ -1663,6 +1663,12 @@ module Aws::Batch
|
|
1663
1663
|
# The private repository authentication credentials to use.
|
1664
1664
|
# @return [Types::RepositoryCredentials]
|
1665
1665
|
#
|
1666
|
+
# @!attribute [rw] enable_execute_command
|
1667
|
+
# Determines whether execute command functionality is turned on for
|
1668
|
+
# this task. If `true`, execute command functionality is turned on all
|
1669
|
+
# the containers in the task.
|
1670
|
+
# @return [Boolean]
|
1671
|
+
#
|
1666
1672
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerDetail AWS API Documentation
|
1667
1673
|
#
|
1668
1674
|
class ContainerDetail < Struct.new(
|
@@ -1694,7 +1700,8 @@ module Aws::Batch
|
|
1694
1700
|
:fargate_platform_configuration,
|
1695
1701
|
:ephemeral_storage,
|
1696
1702
|
:runtime_platform,
|
1697
|
-
:repository_credentials
|
1703
|
+
:repository_credentials,
|
1704
|
+
:enable_execute_command)
|
1698
1705
|
SENSITIVE = []
|
1699
1706
|
include Aws::Structure
|
1700
1707
|
end
|
@@ -2094,6 +2101,12 @@ module Aws::Batch
|
|
2094
2101
|
# specify this parameter.
|
2095
2102
|
# @return [Types::FargatePlatformConfiguration]
|
2096
2103
|
#
|
2104
|
+
# @!attribute [rw] enable_execute_command
|
2105
|
+
# Determines whether execute command functionality is turned on for
|
2106
|
+
# this task. If `true`, execute command functionality is turned on all
|
2107
|
+
# the containers in the task.
|
2108
|
+
# @return [Boolean]
|
2109
|
+
#
|
2097
2110
|
# @!attribute [rw] ephemeral_storage
|
2098
2111
|
# The amount of ephemeral storage to allocate for the task. This
|
2099
2112
|
# parameter is used to expand the total amount of ephemeral storage
|
@@ -2132,6 +2145,7 @@ module Aws::Batch
|
|
2132
2145
|
:secrets,
|
2133
2146
|
:network_configuration,
|
2134
2147
|
:fargate_platform_configuration,
|
2148
|
+
:enable_execute_command,
|
2135
2149
|
:ephemeral_storage,
|
2136
2150
|
:runtime_platform,
|
2137
2151
|
:repository_credentials)
|
@@ -2213,9 +2227,9 @@ module Aws::Batch
|
|
2213
2227
|
#
|
2214
2228
|
# @!attribute [rw] unmanagedv_cpus
|
2215
2229
|
# The maximum number of vCPUs for an unmanaged compute environment.
|
2216
|
-
# This parameter is only used for fair
|
2230
|
+
# This parameter is only used for fair-share scheduling to reserve
|
2217
2231
|
# vCPU capacity for new share identifiers. If this parameter isn't
|
2218
|
-
# provided for a fair
|
2232
|
+
# provided for a fair-share job queue, no vCPU capacity is reserved.
|
2219
2233
|
#
|
2220
2234
|
# <note markdown="1"> This parameter is only supported when the `type` parameter is set to
|
2221
2235
|
# `UNMANAGED`.
|
@@ -2403,10 +2417,11 @@ module Aws::Batch
|
|
2403
2417
|
# @return [String]
|
2404
2418
|
#
|
2405
2419
|
# @!attribute [rw] scheduling_policy_arn
|
2406
|
-
# The Amazon Resource Name (ARN) of the fair
|
2407
|
-
# Job queues that don't have a scheduling policy are
|
2408
|
-
# first-in, first-out (FIFO) model. After a job queue
|
2409
|
-
# policy, it can be replaced but can't be
|
2420
|
+
# The Amazon Resource Name (ARN) of the fair-share scheduling policy.
|
2421
|
+
# Job queues that don't have a fair-share scheduling policy are
|
2422
|
+
# scheduled in a first-in, first-out (FIFO) model. After a job queue
|
2423
|
+
# has a fair-share scheduling policy, it can be replaced but can't be
|
2424
|
+
# removed.
|
2410
2425
|
#
|
2411
2426
|
# The format is
|
2412
2427
|
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `.
|
@@ -2414,11 +2429,11 @@ module Aws::Batch
|
|
2414
2429
|
# An example is
|
2415
2430
|
# `aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy`.
|
2416
2431
|
#
|
2417
|
-
# A job queue without a scheduling policy is scheduled as a
|
2418
|
-
# queue and can't have a scheduling policy added.
|
2419
|
-
# scheduling policy can have a maximum
|
2420
|
-
# identifiers. When the limit has been reached,
|
2421
|
-
# jobs that add a new
|
2432
|
+
# A job queue without a fair-share scheduling policy is scheduled as a
|
2433
|
+
# FIFO job queue and can't have a fair-share scheduling policy added.
|
2434
|
+
# Jobs queues with a fair-share scheduling policy can have a maximum
|
2435
|
+
# of 500 active share identifiers. When the limit has been reached,
|
2436
|
+
# submissions of any jobs that add a new share identifier fail.
|
2422
2437
|
# @return [String]
|
2423
2438
|
#
|
2424
2439
|
# @!attribute [rw] priority
|
@@ -2504,13 +2519,13 @@ module Aws::Batch
|
|
2504
2519
|
# Contains the parameters for `CreateSchedulingPolicy`.
|
2505
2520
|
#
|
2506
2521
|
# @!attribute [rw] name
|
2507
|
-
# The name of the scheduling policy. It can be up to 128
|
2508
|
-
# It can contain uppercase and lowercase letters,
|
2509
|
-
# (-), and underscores (\_).
|
2522
|
+
# The name of the fair-share scheduling policy. It can be up to 128
|
2523
|
+
# letters long. It can contain uppercase and lowercase letters,
|
2524
|
+
# numbers, hyphens (-), and underscores (\_).
|
2510
2525
|
# @return [String]
|
2511
2526
|
#
|
2512
2527
|
# @!attribute [rw] fairshare_policy
|
2513
|
-
# The fair
|
2528
|
+
# The fair-share scheduling policy details.
|
2514
2529
|
# @return [Types::FairsharePolicy]
|
2515
2530
|
#
|
2516
2531
|
# @!attribute [rw] tags
|
@@ -3368,6 +3383,12 @@ module Aws::Batch
|
|
3368
3383
|
# A list of data volumes used in a job.
|
3369
3384
|
# @return [Array<Types::Volume>]
|
3370
3385
|
#
|
3386
|
+
# @!attribute [rw] enable_execute_command
|
3387
|
+
# Determines whether execute command functionality is turned on for
|
3388
|
+
# this task. If `true`, execute command functionality is turned on all
|
3389
|
+
# the containers in the task.
|
3390
|
+
# @return [Boolean]
|
3391
|
+
#
|
3371
3392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EcsTaskDetails AWS API Documentation
|
3372
3393
|
#
|
3373
3394
|
class EcsTaskDetails < Struct.new(
|
@@ -3382,7 +3403,8 @@ module Aws::Batch
|
|
3382
3403
|
:pid_mode,
|
3383
3404
|
:network_configuration,
|
3384
3405
|
:runtime_platform,
|
3385
|
-
:volumes
|
3406
|
+
:volumes,
|
3407
|
+
:enable_execute_command)
|
3386
3408
|
SENSITIVE = []
|
3387
3409
|
include Aws::Structure
|
3388
3410
|
end
|
@@ -3502,6 +3524,12 @@ module Aws::Batch
|
|
3502
3524
|
# A list of volumes that are associated with the job.
|
3503
3525
|
# @return [Array<Types::Volume>]
|
3504
3526
|
#
|
3527
|
+
# @!attribute [rw] enable_execute_command
|
3528
|
+
# Determines whether execute command functionality is turned on for
|
3529
|
+
# this task. If `true`, execute command functionality is turned on all
|
3530
|
+
# the containers in the task.
|
3531
|
+
# @return [Boolean]
|
3532
|
+
#
|
3505
3533
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EcsTaskProperties AWS API Documentation
|
3506
3534
|
#
|
3507
3535
|
class EcsTaskProperties < Struct.new(
|
@@ -3514,7 +3542,8 @@ module Aws::Batch
|
|
3514
3542
|
:pid_mode,
|
3515
3543
|
:network_configuration,
|
3516
3544
|
:runtime_platform,
|
3517
|
-
:volumes
|
3545
|
+
:volumes,
|
3546
|
+
:enable_execute_command)
|
3518
3547
|
SENSITIVE = []
|
3519
3548
|
include Aws::Structure
|
3520
3549
|
end
|
@@ -4668,7 +4697,7 @@ module Aws::Batch
|
|
4668
4697
|
#
|
4669
4698
|
# @!attribute [rw] init_containers
|
4670
4699
|
# The overrides for the `initContainers` defined in the Amazon EKS
|
4671
|
-
# pod. These containers run before application containers, always
|
4700
|
+
# pod. These containers run before application containers, always run
|
4672
4701
|
# to completion, and must complete successfully before the next
|
4673
4702
|
# container starts. These containers are registered with the Amazon
|
4674
4703
|
# EKS Connector agent and persists the registration information in the
|
@@ -4901,45 +4930,45 @@ module Aws::Batch
|
|
4901
4930
|
include Aws::Structure
|
4902
4931
|
end
|
4903
4932
|
|
4904
|
-
# The fair
|
4933
|
+
# The fair-share scheduling policy details.
|
4905
4934
|
#
|
4906
4935
|
# @!attribute [rw] share_decay_seconds
|
4907
|
-
# The amount of time (in seconds) to use to calculate a fair
|
4908
|
-
# percentage for each
|
4909
|
-
#
|
4910
|
-
#
|
4936
|
+
# The amount of time (in seconds) to use to calculate a fair-share
|
4937
|
+
# percentage for each share identifier in use. A value of zero (0)
|
4938
|
+
# indicates the default minimum time window (600 seconds). The maximum
|
4939
|
+
# supported value is 604800 (1 week).
|
4911
4940
|
#
|
4912
4941
|
# The decay allows for more recently run jobs to have more weight than
|
4913
4942
|
# jobs that ran earlier. Consider adjusting this number if you have
|
4914
4943
|
# jobs that (on average) run longer than ten minutes, or a large
|
4915
4944
|
# difference in job count or job run times between share identifiers,
|
4916
|
-
# and the allocation of resources doesn
|
4945
|
+
# and the allocation of resources doesn't meet your needs.
|
4917
4946
|
# @return [Integer]
|
4918
4947
|
#
|
4919
4948
|
# @!attribute [rw] compute_reservation
|
4920
|
-
# A value used to reserve some of the available maximum vCPU for
|
4921
|
-
#
|
4949
|
+
# A value used to reserve some of the available maximum vCPU for share
|
4950
|
+
# identifiers that aren't already used.
|
4922
4951
|
#
|
4923
4952
|
# The reserved ratio is `(computeReservation/100)^ActiveFairShares `
|
4924
|
-
# where ` ActiveFairShares ` is the number of active
|
4953
|
+
# where ` ActiveFairShares ` is the number of active share
|
4925
4954
|
# identifiers.
|
4926
4955
|
#
|
4927
4956
|
# For example, a `computeReservation` value of 50 indicates that Batch
|
4928
|
-
# reserves 50% of the maximum available vCPU if there's only one
|
4929
|
-
# share identifier. It reserves 25% if there are two
|
4930
|
-
# identifiers. It reserves 12.5% if there are three
|
4931
|
-
#
|
4932
|
-
#
|
4933
|
-
#
|
4934
|
-
#
|
4957
|
+
# reserves 50% of the maximum available vCPU if there's only one
|
4958
|
+
# share identifier. It reserves 25% if there are two share
|
4959
|
+
# identifiers. It reserves 12.5% if there are three share identifiers.
|
4960
|
+
# A `computeReservation` value of 25 indicates that Batch should
|
4961
|
+
# reserve 25% of the maximum available vCPU if there's only one share
|
4962
|
+
# identifier, 6.25% if there are two fair share identifiers, and 1.56%
|
4963
|
+
# if there are three share identifiers.
|
4935
4964
|
#
|
4936
4965
|
# The minimum value is 0 and the maximum value is 99.
|
4937
4966
|
# @return [Integer]
|
4938
4967
|
#
|
4939
4968
|
# @!attribute [rw] share_distribution
|
4940
4969
|
# An array of `SharedIdentifier` objects that contain the weights for
|
4941
|
-
# the
|
4942
|
-
#
|
4970
|
+
# the share identifiers for the fair-share policy. Share identifiers
|
4971
|
+
# that aren't included have a default weight of `1.0`.
|
4943
4972
|
# @return [Array<Types::ShareAttributes>]
|
4944
4973
|
#
|
4945
4974
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/FairsharePolicy AWS API Documentation
|
@@ -4978,13 +5007,52 @@ module Aws::Batch
|
|
4978
5007
|
include Aws::Structure
|
4979
5008
|
end
|
4980
5009
|
|
5010
|
+
# The FireLens configuration for the container. This is used to specify
|
5011
|
+
# and configure a log router for container logs. For more information,
|
5012
|
+
# see [Custom log][1] routing in the *Amazon Elastic Container Service
|
5013
|
+
# Developer Guide*.
|
5014
|
+
#
|
5015
|
+
#
|
5016
|
+
#
|
5017
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html
|
5018
|
+
#
|
5019
|
+
# @!attribute [rw] type
|
5020
|
+
# The log router to use. The valid values are `fluentd` or
|
5021
|
+
# `fluentbit`.
|
5022
|
+
# @return [String]
|
5023
|
+
#
|
5024
|
+
# @!attribute [rw] options
|
5025
|
+
# The options to use when configuring the log router. This field is
|
5026
|
+
# optional and can be used to specify a custom configuration file or
|
5027
|
+
# to add additional metadata, such as the task, task definition,
|
5028
|
+
# cluster, and container instance details to the log event. If
|
5029
|
+
# specified, the syntax to use is
|
5030
|
+
# `"options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}`.
|
5031
|
+
# For more information, see [Creating a task definition that uses a
|
5032
|
+
# FireLens configuration][1] in the *Amazon Elastic Container Service
|
5033
|
+
# Developer Guide*.
|
5034
|
+
#
|
5035
|
+
#
|
5036
|
+
#
|
5037
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef
|
5038
|
+
# @return [Hash<String,String>]
|
5039
|
+
#
|
5040
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/FirelensConfiguration AWS API Documentation
|
5041
|
+
#
|
5042
|
+
class FirelensConfiguration < Struct.new(
|
5043
|
+
:type,
|
5044
|
+
:options)
|
5045
|
+
SENSITIVE = []
|
5046
|
+
include Aws::Structure
|
5047
|
+
end
|
5048
|
+
|
4981
5049
|
# Contains a list of the first 100 `RUNNABLE` jobs associated to a
|
4982
5050
|
# single job queue.
|
4983
5051
|
#
|
4984
5052
|
# @!attribute [rw] jobs
|
4985
5053
|
# The Amazon Resource Names (ARNs) of the first 100 `RUNNABLE` jobs in
|
4986
5054
|
# a named job queue. For first-in-first-out (FIFO) job queues, jobs
|
4987
|
-
# are ordered based on their submission time. For fair
|
5055
|
+
# are ordered based on their submission time. For fair-share
|
4988
5056
|
# scheduling (FSS) job queues, jobs are ordered based on their job
|
4989
5057
|
# priority and share usage.
|
4990
5058
|
# @return [Array<Types::FrontOfQueueJobSummary>]
|
@@ -5039,7 +5107,7 @@ module Aws::Batch
|
|
5039
5107
|
# @!attribute [rw] front_of_queue
|
5040
5108
|
# The list of the first 100 `RUNNABLE` jobs in each job queue. For
|
5041
5109
|
# first-in-first-out (FIFO) job queues, jobs are ordered based on
|
5042
|
-
# their submission time. For fair
|
5110
|
+
# their submission time. For fair-share scheduling (FSS) job queues,
|
5043
5111
|
# jobs are ordered based on their job priority and share usage.
|
5044
5112
|
# @return [Types::FrontOfQueueDetail]
|
5045
5113
|
#
|
@@ -5131,7 +5199,7 @@ module Aws::Batch
|
|
5131
5199
|
#
|
5132
5200
|
# @!attribute [rw] scheduling_priority
|
5133
5201
|
# The scheduling priority of the job definition. This only affects
|
5134
|
-
# jobs in job queues with a fair
|
5202
|
+
# jobs in job queues with a fair-share policy. Jobs with a higher
|
5135
5203
|
# scheduling priority are scheduled before jobs with a lower
|
5136
5204
|
# scheduling priority.
|
5137
5205
|
# @return [Integer]
|
@@ -5305,7 +5373,7 @@ module Aws::Batch
|
|
5305
5373
|
#
|
5306
5374
|
# @!attribute [rw] scheduling_priority
|
5307
5375
|
# The scheduling policy of the job definition. This only affects jobs
|
5308
|
-
# in job queues with a fair
|
5376
|
+
# in job queues with a fair-share policy. Jobs with a higher
|
5309
5377
|
# scheduling priority are scheduled before jobs with a lower
|
5310
5378
|
# scheduling priority.
|
5311
5379
|
# @return [Integer]
|
@@ -6052,7 +6120,7 @@ module Aws::Batch
|
|
6052
6120
|
# If a `maxSwap` value of `0` is specified, the container doesn't use
|
6053
6121
|
# swap. Accepted values are `0` or any positive integer. If the
|
6054
6122
|
# `maxSwap` parameter is omitted, the container doesn't use the swap
|
6055
|
-
# configuration for the container instance
|
6123
|
+
# configuration for the container instance on which it runs. A
|
6056
6124
|
# `maxSwap` value must be set for the `swappiness` parameter to be
|
6057
6125
|
# used.
|
6058
6126
|
#
|
@@ -6610,52 +6678,59 @@ module Aws::Batch
|
|
6610
6678
|
#
|
6611
6679
|
# </note>
|
6612
6680
|
#
|
6681
|
+
# awsfirelens
|
6682
|
+
#
|
6683
|
+
# : Specifies the firelens logging driver. For more information on
|
6684
|
+
# configuring Firelens, see [Send Amazon ECS logs to an Amazon Web
|
6685
|
+
# Services service or Amazon Web Services Partner][1] in the *Amazon
|
6686
|
+
# Elastic Container Service Developer Guide*.
|
6687
|
+
#
|
6613
6688
|
# awslogs
|
6614
6689
|
#
|
6615
6690
|
# : Specifies the Amazon CloudWatch Logs logging driver. For more
|
6616
|
-
# information, see [Using the awslogs log driver][
|
6617
|
-
# User Guide* and [Amazon CloudWatch Logs logging driver][
|
6691
|
+
# information, see [Using the awslogs log driver][2] in the *Batch
|
6692
|
+
# User Guide* and [Amazon CloudWatch Logs logging driver][3] in the
|
6618
6693
|
# Docker documentation.
|
6619
6694
|
#
|
6620
6695
|
# fluentd
|
6621
6696
|
#
|
6622
6697
|
# : Specifies the Fluentd logging driver. For more information
|
6623
|
-
# including usage and options, see [Fluentd logging driver][
|
6698
|
+
# including usage and options, see [Fluentd logging driver][4] in
|
6624
6699
|
# the *Docker documentation*.
|
6625
6700
|
#
|
6626
6701
|
# gelf
|
6627
6702
|
#
|
6628
6703
|
# : Specifies the Graylog Extended Format (GELF) logging driver. For
|
6629
6704
|
# more information including usage and options, see [Graylog
|
6630
|
-
# Extended Format logging driver][
|
6705
|
+
# Extended Format logging driver][5] in the *Docker documentation*.
|
6631
6706
|
#
|
6632
6707
|
# journald
|
6633
6708
|
#
|
6634
6709
|
# : Specifies the journald logging driver. For more information
|
6635
|
-
# including usage and options, see [Journald logging driver][
|
6710
|
+
# including usage and options, see [Journald logging driver][6] in
|
6636
6711
|
# the *Docker documentation*.
|
6637
6712
|
#
|
6638
6713
|
# json-file
|
6639
6714
|
#
|
6640
6715
|
# : Specifies the JSON file logging driver. For more information
|
6641
|
-
# including usage and options, see [JSON File logging driver][
|
6716
|
+
# including usage and options, see [JSON File logging driver][7] in
|
6642
6717
|
# the *Docker documentation*.
|
6643
6718
|
#
|
6644
6719
|
# splunk
|
6645
6720
|
#
|
6646
6721
|
# : Specifies the Splunk logging driver. For more information
|
6647
|
-
# including usage and options, see [Splunk logging driver][
|
6722
|
+
# including usage and options, see [Splunk logging driver][8] in the
|
6648
6723
|
# *Docker documentation*.
|
6649
6724
|
#
|
6650
6725
|
# syslog
|
6651
6726
|
#
|
6652
6727
|
# : Specifies the syslog logging driver. For more information
|
6653
|
-
# including usage and options, see [Syslog logging driver][
|
6728
|
+
# including usage and options, see [Syslog logging driver][9] in the
|
6654
6729
|
# *Docker documentation*.
|
6655
6730
|
#
|
6656
6731
|
# <note markdown="1"> If you have a custom driver that's not listed earlier that you want
|
6657
6732
|
# to work with the Amazon ECS container agent, you can fork the Amazon
|
6658
|
-
# ECS container agent project that's [available on GitHub][
|
6733
|
+
# ECS container agent project that's [available on GitHub][10] and
|
6659
6734
|
# customize it to work with that driver. We encourage you to submit
|
6660
6735
|
# pull requests for changes that you want to have included. However,
|
6661
6736
|
# Amazon Web Services doesn't currently support running modified
|
@@ -6671,15 +6746,16 @@ module Aws::Batch
|
|
6671
6746
|
#
|
6672
6747
|
#
|
6673
6748
|
#
|
6674
|
-
# [1]: https://docs.aws.amazon.com/
|
6675
|
-
# [2]: https://docs.
|
6676
|
-
# [3]: https://docs.docker.com/config/containers/logging/
|
6677
|
-
# [4]: https://docs.docker.com/config/containers/logging/
|
6678
|
-
# [5]: https://docs.docker.com/config/containers/logging/
|
6679
|
-
# [6]: https://docs.docker.com/config/containers/logging/
|
6680
|
-
# [7]: https://docs.docker.com/config/containers/logging/
|
6681
|
-
# [8]: https://docs.docker.com/config/containers/logging/
|
6682
|
-
# [9]: https://
|
6749
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html
|
6750
|
+
# [2]: https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html
|
6751
|
+
# [3]: https://docs.docker.com/config/containers/logging/awslogs/
|
6752
|
+
# [4]: https://docs.docker.com/config/containers/logging/fluentd/
|
6753
|
+
# [5]: https://docs.docker.com/config/containers/logging/gelf/
|
6754
|
+
# [6]: https://docs.docker.com/config/containers/logging/journald/
|
6755
|
+
# [7]: https://docs.docker.com/config/containers/logging/json-file/
|
6756
|
+
# [8]: https://docs.docker.com/config/containers/logging/splunk/
|
6757
|
+
# [9]: https://docs.docker.com/config/containers/logging/syslog/
|
6758
|
+
# [10]: https://github.com/aws/amazon-ecs-agent
|
6683
6759
|
# @return [String]
|
6684
6760
|
#
|
6685
6761
|
# @!attribute [rw] options
|
@@ -7069,7 +7145,7 @@ module Aws::Batch
|
|
7069
7145
|
#
|
7070
7146
|
# @!attribute [rw] scheduling_priority
|
7071
7147
|
# The scheduling priority for jobs that are submitted with this job
|
7072
|
-
# definition. This only affects jobs in job queues with a fair
|
7148
|
+
# definition. This only affects jobs in job queues with a fair-share
|
7073
7149
|
# policy. Jobs with a higher scheduling priority are scheduled before
|
7074
7150
|
# jobs with a lower scheduling priority.
|
7075
7151
|
#
|
@@ -7513,7 +7589,7 @@ module Aws::Batch
|
|
7513
7589
|
# An object that represents a scheduling policy.
|
7514
7590
|
#
|
7515
7591
|
# @!attribute [rw] name
|
7516
|
-
# The name of the scheduling policy.
|
7592
|
+
# The name of the fair-share scheduling policy.
|
7517
7593
|
# @return [String]
|
7518
7594
|
#
|
7519
7595
|
# @!attribute [rw] arn
|
@@ -7524,14 +7600,14 @@ module Aws::Batch
|
|
7524
7600
|
# @return [String]
|
7525
7601
|
#
|
7526
7602
|
# @!attribute [rw] fairshare_policy
|
7527
|
-
# The fair
|
7603
|
+
# The fair-share scheduling policy details.
|
7528
7604
|
# @return [Types::FairsharePolicy]
|
7529
7605
|
#
|
7530
7606
|
# @!attribute [rw] tags
|
7531
|
-
# The tags that you apply to the scheduling policy to
|
7532
|
-
# organize your resources. Each tag consists of a key
|
7533
|
-
# value. For more information, see [Tagging Amazon Web
|
7534
|
-
# resources][1] in *Amazon Web Services General Reference*.
|
7607
|
+
# The tags that you apply to the fair-share scheduling policy to
|
7608
|
+
# categorize and organize your resources. Each tag consists of a key
|
7609
|
+
# and an optional value. For more information, see [Tagging Amazon Web
|
7610
|
+
# Services resources][1] in *Amazon Web Services General Reference*.
|
7535
7611
|
#
|
7536
7612
|
#
|
7537
7613
|
#
|
@@ -7621,20 +7697,19 @@ module Aws::Batch
|
|
7621
7697
|
include Aws::Structure
|
7622
7698
|
end
|
7623
7699
|
|
7624
|
-
# Specifies the weights for the
|
7625
|
-
#
|
7626
|
-
#
|
7700
|
+
# Specifies the weights for the share identifiers for the fair-share
|
7701
|
+
# policy. Share identifiers that aren't included have a default weight
|
7702
|
+
# of `1.0`.
|
7627
7703
|
#
|
7628
7704
|
# @!attribute [rw] share_identifier
|
7629
|
-
# A
|
7630
|
-
#
|
7631
|
-
#
|
7632
|
-
#
|
7633
|
-
# can't
|
7634
|
-
# `shareIdentifier` of `UserA
|
7635
|
-
#
|
7636
|
-
#
|
7637
|
-
# There can be no more than 500 fair share identifiers active in a job
|
7705
|
+
# A share identifier or share identifier prefix. If the string ends
|
7706
|
+
# with an asterisk (*), this entry specifies the weight factor to use
|
7707
|
+
# for share identifiers that start with that prefix. The list of share
|
7708
|
+
# identifiers in a fair-share policy can't overlap. For example, you
|
7709
|
+
# can't have one that specifies a `shareIdentifier` of `UserA*` and
|
7710
|
+
# another that specifies a `shareIdentifier` of `UserA-1`.
|
7711
|
+
#
|
7712
|
+
# There can be no more than 500 share identifiers active in a job
|
7638
7713
|
# queue.
|
7639
7714
|
#
|
7640
7715
|
# The string is limited to 255 alphanumeric characters, and can be
|
@@ -7642,10 +7717,10 @@ module Aws::Batch
|
|
7642
7717
|
# @return [String]
|
7643
7718
|
#
|
7644
7719
|
# @!attribute [rw] weight_factor
|
7645
|
-
# The weight factor for the
|
7646
|
-
#
|
7647
|
-
#
|
7648
|
-
#
|
7720
|
+
# The weight factor for the share identifier. The default value is
|
7721
|
+
# 1.0. A lower value has a higher priority for compute resources. For
|
7722
|
+
# example, jobs that use a share identifier with a weight factor of
|
7723
|
+
# 0.125 (1/8) get 8 times the compute resources of jobs that use a
|
7649
7724
|
# share identifier with a weight factor of 1.
|
7650
7725
|
#
|
7651
7726
|
# The smallest supported value is 0.0001, and the largest supported
|
@@ -7676,8 +7751,9 @@ module Aws::Batch
|
|
7676
7751
|
#
|
7677
7752
|
# @!attribute [rw] share_identifier
|
7678
7753
|
# The share identifier for the job. Don't specify this parameter if
|
7679
|
-
# the job queue doesn't have a scheduling policy. If the
|
7680
|
-
# has a scheduling policy, then this parameter
|
7754
|
+
# the job queue doesn't have a fair-share scheduling policy. If the
|
7755
|
+
# job queue has a fair-share scheduling policy, then this parameter
|
7756
|
+
# must be specified.
|
7681
7757
|
#
|
7682
7758
|
# This string is limited to 255 alphanumeric characters, and can be
|
7683
7759
|
# followed by an asterisk (*).
|
@@ -7685,7 +7761,7 @@ module Aws::Batch
|
|
7685
7761
|
#
|
7686
7762
|
# @!attribute [rw] scheduling_priority_override
|
7687
7763
|
# The scheduling priority for the job. This only affects jobs in job
|
7688
|
-
# queues with a fair
|
7764
|
+
# queues with a fair-share policy. Jobs with a higher scheduling
|
7689
7765
|
# priority are scheduled before jobs with a lower scheduling priority.
|
7690
7766
|
# This overrides any scheduling priority in the job definition and
|
7691
7767
|
# works only within a single share identifier.
|
@@ -7987,6 +8063,17 @@ module Aws::Batch
|
|
7987
8063
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html
|
7988
8064
|
# @return [Boolean]
|
7989
8065
|
#
|
8066
|
+
# @!attribute [rw] firelens_configuration
|
8067
|
+
# The FireLens configuration for the container. This is used to
|
8068
|
+
# specify and configure a log router for container logs. For more
|
8069
|
+
# information, see [Custom log][1] routing in the *Amazon Elastic
|
8070
|
+
# Container Service Developer Guide*.
|
8071
|
+
#
|
8072
|
+
#
|
8073
|
+
#
|
8074
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html
|
8075
|
+
# @return [Types::FirelensConfiguration]
|
8076
|
+
#
|
7990
8077
|
# @!attribute [rw] image
|
7991
8078
|
# The image used to start a container. This string is passed directly
|
7992
8079
|
# to the Docker daemon. By default, images in the Docker Hub registry
|
@@ -8236,6 +8323,7 @@ module Aws::Batch
|
|
8236
8323
|
:depends_on,
|
8237
8324
|
:environment,
|
8238
8325
|
:essential,
|
8326
|
+
:firelens_configuration,
|
8239
8327
|
:image,
|
8240
8328
|
:linux_parameters,
|
8241
8329
|
:log_configuration,
|
@@ -8371,6 +8459,17 @@ module Aws::Batch
|
|
8371
8459
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html
|
8372
8460
|
# @return [Boolean]
|
8373
8461
|
#
|
8462
|
+
# @!attribute [rw] firelens_configuration
|
8463
|
+
# The FireLens configuration for the container. This is used to
|
8464
|
+
# specify and configure a log router for container logs. For more
|
8465
|
+
# information, see [Custom log][1] routing in the *Amazon Elastic
|
8466
|
+
# Container Service Developer Guide*.
|
8467
|
+
#
|
8468
|
+
#
|
8469
|
+
#
|
8470
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html
|
8471
|
+
# @return [Types::FirelensConfiguration]
|
8472
|
+
#
|
8374
8473
|
# @!attribute [rw] image
|
8375
8474
|
# The image used to start a container. This string is passed directly
|
8376
8475
|
# to the Docker daemon. By default, images in the Docker Hub registry
|
@@ -8595,6 +8694,7 @@ module Aws::Batch
|
|
8595
8694
|
:depends_on,
|
8596
8695
|
:environment,
|
8597
8696
|
:essential,
|
8697
|
+
:firelens_configuration,
|
8598
8698
|
:image,
|
8599
8699
|
:linux_parameters,
|
8600
8700
|
:log_configuration,
|
@@ -8802,9 +8902,9 @@ module Aws::Batch
|
|
8802
8902
|
# @!attribute [rw] unmanagedv_cpus
|
8803
8903
|
# The maximum number of vCPUs expected to be used for an unmanaged
|
8804
8904
|
# compute environment. Don't specify this parameter for a managed
|
8805
|
-
# compute environment. This parameter is only used for fair
|
8905
|
+
# compute environment. This parameter is only used for fair-share
|
8806
8906
|
# scheduling to reserve vCPU capacity for new share identifiers. If
|
8807
|
-
# this parameter isn't provided for a fair
|
8907
|
+
# this parameter isn't provided for a fair-share job queue, no vCPU
|
8808
8908
|
# capacity is reserved.
|
8809
8909
|
# @return [Integer]
|
8810
8910
|
#
|
@@ -8988,8 +9088,8 @@ module Aws::Batch
|
|
8988
9088
|
# @return [String]
|
8989
9089
|
#
|
8990
9090
|
# @!attribute [rw] scheduling_policy_arn
|
8991
|
-
# Amazon Resource Name (ARN) of the fair
|
8992
|
-
# a job queue is created, the fair
|
9091
|
+
# Amazon Resource Name (ARN) of the fair-share scheduling policy. Once
|
9092
|
+
# a job queue is created, the fair-share scheduling policy can be
|
8993
9093
|
# replaced but not removed. The format is
|
8994
9094
|
# `aws:Partition:batch:Region:Account:scheduling-policy/Name `. For
|
8995
9095
|
# example,
|
@@ -9063,7 +9163,7 @@ module Aws::Batch
|
|
9063
9163
|
include Aws::Structure
|
9064
9164
|
end
|
9065
9165
|
|
9066
|
-
# Specifies the infrastructure update policy for the compute
|
9166
|
+
# Specifies the infrastructure update policy for the Amazon EC2 compute
|
9067
9167
|
# environment. For more information about infrastructure updates, see
|
9068
9168
|
# [Updating compute environments][1] in the *Batch User Guide*.
|
9069
9169
|
#
|
@@ -9098,7 +9198,7 @@ module Aws::Batch
|
|
9098
9198
|
# @return [String]
|
9099
9199
|
#
|
9100
9200
|
# @!attribute [rw] fairshare_policy
|
9101
|
-
# The fair
|
9201
|
+
# The fair-share policy scheduling details.
|
9102
9202
|
# @return [Types::FairsharePolicy]
|
9103
9203
|
#
|
9104
9204
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateSchedulingPolicyRequest AWS API Documentation
|