aws-sdk-ecs 1.61.0 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 785aef4b3b038b679814ea30d17f17d823309cb5ea8f69f2c6af76f2383e268a
4
- data.tar.gz: 9d4f62e0eb91c1cbc8b264bf34d1f5f14c2dd0c6cfb0b765364a28722d07dcff
3
+ metadata.gz: 4e701f561933dfb483c0d627ac7315e8c2c74a18d14eb2707753a9890dd8d233
4
+ data.tar.gz: b3d4feb6551de069ed0945c641ec4398dd767ecd2432994422d172009b2c2bd0
5
5
  SHA512:
6
- metadata.gz: 0b3abf22a0888f69cbf9e8567c8afdcb093d089bfcee3f657e0a3dc6ea3a0dc3ef1fe0d3c52aac7b7574accc18876a8aa80e04d6129b0502578286b4e63817d9
7
- data.tar.gz: df1a77051ce72c373a07e386ef69640781b343b96193fe42c44667599bd25a53422dc908921db6faa8dfc16f6f60d6718bc48be1bfab842b5ba36828d894180e
6
+ metadata.gz: 9a1336958f61cdd5956f950960334ea3b4ca5aab36b6dc42d293c7412c19913c0239ee035344d9b5e682036682e1f9236b80b7920f508cc98a1b0deea1e0e1a9
7
+ data.tar.gz: 0e3d1546c69193d7a8dc6066fa6d9b555bef20e4518a8d173f25bb5075116fdb7b1dc2de792adbb1ab0f1222d414b9944fcfac796152b48120ed53d29c607388
data/lib/aws-sdk-ecs.rb CHANGED
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-ecs/customizations'
46
46
  # @service
47
47
  module Aws::ECS
48
48
 
49
- GEM_VERSION = '1.61.0'
49
+ GEM_VERSION = '1.62.0'
50
50
 
51
51
  end
@@ -2296,6 +2296,9 @@ module Aws::ECS
2296
2296
  # resp.task_definition.container_definitions[0].environment #=> Array
2297
2297
  # resp.task_definition.container_definitions[0].environment[0].name #=> String
2298
2298
  # resp.task_definition.container_definitions[0].environment[0].value #=> String
2299
+ # resp.task_definition.container_definitions[0].environment_files #=> Array
2300
+ # resp.task_definition.container_definitions[0].environment_files[0].value #=> String
2301
+ # resp.task_definition.container_definitions[0].environment_files[0].type #=> String, one of "s3"
2299
2302
  # resp.task_definition.container_definitions[0].mount_points #=> Array
2300
2303
  # resp.task_definition.container_definitions[0].mount_points[0].source_volume #=> String
2301
2304
  # resp.task_definition.container_definitions[0].mount_points[0].container_path #=> String
@@ -3159,6 +3162,9 @@ module Aws::ECS
3159
3162
  # resp.task_definition.container_definitions[0].environment #=> Array
3160
3163
  # resp.task_definition.container_definitions[0].environment[0].name #=> String
3161
3164
  # resp.task_definition.container_definitions[0].environment[0].value #=> String
3165
+ # resp.task_definition.container_definitions[0].environment_files #=> Array
3166
+ # resp.task_definition.container_definitions[0].environment_files[0].value #=> String
3167
+ # resp.task_definition.container_definitions[0].environment_files[0].type #=> String, one of "s3"
3162
3168
  # resp.task_definition.container_definitions[0].mount_points #=> Array
3163
3169
  # resp.task_definition.container_definitions[0].mount_points[0].source_volume #=> String
3164
3170
  # resp.task_definition.container_definitions[0].mount_points[0].container_path #=> String
@@ -3537,6 +3543,9 @@ module Aws::ECS
3537
3543
  # resp.tasks[0].overrides.container_overrides[0].environment #=> Array
3538
3544
  # resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String
3539
3545
  # resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String
3546
+ # resp.tasks[0].overrides.container_overrides[0].environment_files #=> Array
3547
+ # resp.tasks[0].overrides.container_overrides[0].environment_files[0].value #=> String
3548
+ # resp.tasks[0].overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3"
3540
3549
  # resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer
3541
3550
  # resp.tasks[0].overrides.container_overrides[0].memory #=> Integer
3542
3551
  # resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
@@ -5492,6 +5501,12 @@ module Aws::ECS
5492
5501
  # value: "String",
5493
5502
  # },
5494
5503
  # ],
5504
+ # environment_files: [
5505
+ # {
5506
+ # value: "String", # required
5507
+ # type: "s3", # required, accepts s3
5508
+ # },
5509
+ # ],
5495
5510
  # mount_points: [
5496
5511
  # {
5497
5512
  # source_volume: "String",
@@ -5697,6 +5712,9 @@ module Aws::ECS
5697
5712
  # resp.task_definition.container_definitions[0].environment #=> Array
5698
5713
  # resp.task_definition.container_definitions[0].environment[0].name #=> String
5699
5714
  # resp.task_definition.container_definitions[0].environment[0].value #=> String
5715
+ # resp.task_definition.container_definitions[0].environment_files #=> Array
5716
+ # resp.task_definition.container_definitions[0].environment_files[0].value #=> String
5717
+ # resp.task_definition.container_definitions[0].environment_files[0].type #=> String, one of "s3"
5700
5718
  # resp.task_definition.container_definitions[0].mount_points #=> Array
5701
5719
  # resp.task_definition.container_definitions[0].mount_points[0].source_volume #=> String
5702
5720
  # resp.task_definition.container_definitions[0].mount_points[0].container_path #=> String
@@ -6115,6 +6133,12 @@ module Aws::ECS
6115
6133
  # value: "String",
6116
6134
  # },
6117
6135
  # ],
6136
+ # environment_files: [
6137
+ # {
6138
+ # value: "String", # required
6139
+ # type: "s3", # required, accepts s3
6140
+ # },
6141
+ # ],
6118
6142
  # cpu: 1,
6119
6143
  # memory: 1,
6120
6144
  # memory_reservation: 1,
@@ -6227,6 +6251,9 @@ module Aws::ECS
6227
6251
  # resp.tasks[0].overrides.container_overrides[0].environment #=> Array
6228
6252
  # resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String
6229
6253
  # resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String
6254
+ # resp.tasks[0].overrides.container_overrides[0].environment_files #=> Array
6255
+ # resp.tasks[0].overrides.container_overrides[0].environment_files[0].value #=> String
6256
+ # resp.tasks[0].overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3"
6230
6257
  # resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer
6231
6258
  # resp.tasks[0].overrides.container_overrides[0].memory #=> Integer
6232
6259
  # resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
@@ -6409,6 +6436,12 @@ module Aws::ECS
6409
6436
  # value: "String",
6410
6437
  # },
6411
6438
  # ],
6439
+ # environment_files: [
6440
+ # {
6441
+ # value: "String", # required
6442
+ # type: "s3", # required, accepts s3
6443
+ # },
6444
+ # ],
6412
6445
  # cpu: 1,
6413
6446
  # memory: 1,
6414
6447
  # memory_reservation: 1,
@@ -6508,6 +6541,9 @@ module Aws::ECS
6508
6541
  # resp.tasks[0].overrides.container_overrides[0].environment #=> Array
6509
6542
  # resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String
6510
6543
  # resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String
6544
+ # resp.tasks[0].overrides.container_overrides[0].environment_files #=> Array
6545
+ # resp.tasks[0].overrides.container_overrides[0].environment_files[0].value #=> String
6546
+ # resp.tasks[0].overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3"
6511
6547
  # resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer
6512
6548
  # resp.tasks[0].overrides.container_overrides[0].memory #=> Integer
6513
6549
  # resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer
@@ -6662,6 +6698,9 @@ module Aws::ECS
6662
6698
  # resp.task.overrides.container_overrides[0].environment #=> Array
6663
6699
  # resp.task.overrides.container_overrides[0].environment[0].name #=> String
6664
6700
  # resp.task.overrides.container_overrides[0].environment[0].value #=> String
6701
+ # resp.task.overrides.container_overrides[0].environment_files #=> Array
6702
+ # resp.task.overrides.container_overrides[0].environment_files[0].value #=> String
6703
+ # resp.task.overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3"
6665
6704
  # resp.task.overrides.container_overrides[0].cpu #=> Integer
6666
6705
  # resp.task.overrides.container_overrides[0].memory #=> Integer
6667
6706
  # resp.task.overrides.container_overrides[0].memory_reservation #=> Integer
@@ -7959,7 +7998,7 @@ module Aws::ECS
7959
7998
  params: params,
7960
7999
  config: config)
7961
8000
  context[:gem_name] = 'aws-sdk-ecs'
7962
- context[:gem_version] = '1.61.0'
8001
+ context[:gem_version] = '1.62.0'
7963
8002
  Seahorse::Client::Request.new(handlers, context)
7964
8003
  end
7965
8004
 
@@ -123,6 +123,9 @@ module Aws::ECS
123
123
  EFSAuthorizationConfigIAM = Shapes::StringShape.new(name: 'EFSAuthorizationConfigIAM')
124
124
  EFSTransitEncryption = Shapes::StringShape.new(name: 'EFSTransitEncryption')
125
125
  EFSVolumeConfiguration = Shapes::StructureShape.new(name: 'EFSVolumeConfiguration')
126
+ EnvironmentFile = Shapes::StructureShape.new(name: 'EnvironmentFile')
127
+ EnvironmentFileType = Shapes::StringShape.new(name: 'EnvironmentFileType')
128
+ EnvironmentFiles = Shapes::ListShape.new(name: 'EnvironmentFiles')
126
129
  EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
127
130
  Failure = Shapes::StructureShape.new(name: 'Failure')
128
131
  Failures = Shapes::ListShape.new(name: 'Failures')
@@ -449,6 +452,7 @@ module Aws::ECS
449
452
  ContainerDefinition.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "entryPoint"))
450
453
  ContainerDefinition.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
451
454
  ContainerDefinition.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
455
+ ContainerDefinition.add_member(:environment_files, Shapes::ShapeRef.new(shape: EnvironmentFiles, location_name: "environmentFiles"))
452
456
  ContainerDefinition.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPointList, location_name: "mountPoints"))
453
457
  ContainerDefinition.add_member(:volumes_from, Shapes::ShapeRef.new(shape: VolumeFromList, location_name: "volumesFrom"))
454
458
  ContainerDefinition.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
@@ -511,6 +515,7 @@ module Aws::ECS
511
515
  ContainerOverride.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
512
516
  ContainerOverride.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
513
517
  ContainerOverride.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
518
+ ContainerOverride.add_member(:environment_files, Shapes::ShapeRef.new(shape: EnvironmentFiles, location_name: "environmentFiles"))
514
519
  ContainerOverride.add_member(:cpu, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "cpu"))
515
520
  ContainerOverride.add_member(:memory, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memory"))
516
521
  ContainerOverride.add_member(:memory_reservation, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memoryReservation"))
@@ -770,6 +775,12 @@ module Aws::ECS
770
775
  EFSVolumeConfiguration.add_member(:authorization_config, Shapes::ShapeRef.new(shape: EFSAuthorizationConfig, location_name: "authorizationConfig"))
771
776
  EFSVolumeConfiguration.struct_class = Types::EFSVolumeConfiguration
772
777
 
778
+ EnvironmentFile.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
779
+ EnvironmentFile.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentFileType, required: true, location_name: "type"))
780
+ EnvironmentFile.struct_class = Types::EnvironmentFile
781
+
782
+ EnvironmentFiles.member = Shapes::ShapeRef.new(shape: EnvironmentFile)
783
+
773
784
  EnvironmentVariables.member = Shapes::ShapeRef.new(shape: KeyValuePair)
774
785
 
775
786
  Failure.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
@@ -743,6 +743,12 @@ module Aws::ECS
743
743
  # value: "String",
744
744
  # },
745
745
  # ],
746
+ # environment_files: [
747
+ # {
748
+ # value: "String", # required
749
+ # type: "s3", # required, accepts s3
750
+ # },
751
+ # ],
746
752
  # mount_points: [
747
753
  # {
748
754
  # source_volume: "String",
@@ -1187,6 +1193,37 @@ module Aws::ECS
1187
1193
  # [3]: https://docs.docker.com/engine/reference/run/
1188
1194
  # @return [Array<Types::KeyValuePair>]
1189
1195
  #
1196
+ # @!attribute [rw] environment_files
1197
+ # A list of files containing the environment variables to pass to a
1198
+ # container. This parameter maps to the `--env-file` option to [docker
1199
+ # run][1].
1200
+ #
1201
+ # You can specify up to ten environment files. The file must have a
1202
+ # `.env` file extension. Each line in an environment file should
1203
+ # contain an environment variable in `VARIABLE=VALUE` format. Lines
1204
+ # beginning with `#` are treated as comments and are ignored. For more
1205
+ # information on the environment variable file syntax, see [Declare
1206
+ # default environment variables in file][2].
1207
+ #
1208
+ # If there are environment variables specified using the `environment`
1209
+ # parameter in a container definition, they take precedence over the
1210
+ # variables contained within an environment file. If multiple
1211
+ # environment files are specified that contain the same variable, they
1212
+ # are processed from the top down. It is recommended to use unique
1213
+ # variable names. For more information, see [Specifying Environment
1214
+ # Variables][3] in the *Amazon Elastic Container Service Developer
1215
+ # Guide*.
1216
+ #
1217
+ # This field is not valid for containers in tasks using the Fargate
1218
+ # launch type.
1219
+ #
1220
+ #
1221
+ #
1222
+ # [1]: https://docs.docker.com/engine/reference/run/
1223
+ # [2]: https://docs.docker.com/compose/env-file/
1224
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html
1225
+ # @return [Array<Types::EnvironmentFile>]
1226
+ #
1190
1227
  # @!attribute [rw] mount_points
1191
1228
  # The mount points for data volumes in your container.
1192
1229
  #
@@ -1719,6 +1756,7 @@ module Aws::ECS
1719
1756
  :entry_point,
1720
1757
  :command,
1721
1758
  :environment,
1759
+ :environment_files,
1722
1760
  :mount_points,
1723
1761
  :volumes_from,
1724
1762
  :linux_parameters,
@@ -2017,6 +2055,12 @@ module Aws::ECS
2017
2055
  # value: "String",
2018
2056
  # },
2019
2057
  # ],
2058
+ # environment_files: [
2059
+ # {
2060
+ # value: "String", # required
2061
+ # type: "s3", # required, accepts s3
2062
+ # },
2063
+ # ],
2020
2064
  # cpu: 1,
2021
2065
  # memory: 1,
2022
2066
  # memory_reservation: 1,
@@ -2047,6 +2091,11 @@ module Aws::ECS
2047
2091
  # container name.
2048
2092
  # @return [Array<Types::KeyValuePair>]
2049
2093
  #
2094
+ # @!attribute [rw] environment_files
2095
+ # A list of files containing the environment variables to pass to a
2096
+ # container, instead of the value from the container definition.
2097
+ # @return [Array<Types::EnvironmentFile>]
2098
+ #
2050
2099
  # @!attribute [rw] cpu
2051
2100
  # The number of `cpu` units reserved for the container, instead of the
2052
2101
  # default value from the task definition. You must also specify a
@@ -2078,6 +2127,7 @@ module Aws::ECS
2078
2127
  :name,
2079
2128
  :command,
2080
2129
  :environment,
2130
+ :environment_files,
2081
2131
  :cpu,
2082
2132
  :memory,
2083
2133
  :memory_reservation,
@@ -4329,6 +4379,56 @@ module Aws::ECS
4329
4379
  include Aws::Structure
4330
4380
  end
4331
4381
 
4382
+ # A list of files containing the environment variables to pass to a
4383
+ # container. You can specify up to ten environment files. The file must
4384
+ # have a `.env` file extension. Each line in an environment file should
4385
+ # contain an environment variable in `VARIABLE=VALUE` format. Lines
4386
+ # beginning with `#` are treated as comments and are ignored. For more
4387
+ # information on the environment variable file syntax, see [Declare
4388
+ # default environment variables in file][1].
4389
+ #
4390
+ # If there are environment variables specified using the `environment`
4391
+ # parameter in a container definition, they take precedence over the
4392
+ # variables contained within an environment file. If multiple
4393
+ # environment files are specified that contain the same variable, they
4394
+ # are processed from the top down. It is recommended to use unique
4395
+ # variable names. For more information, see [Specifying Environment
4396
+ # Variables][2] in the *Amazon Elastic Container Service Developer
4397
+ # Guide*.
4398
+ #
4399
+ # This field is not valid for containers in tasks using the Fargate
4400
+ # launch type.
4401
+ #
4402
+ #
4403
+ #
4404
+ # [1]: https://docs.docker.com/compose/env-file/
4405
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html
4406
+ #
4407
+ # @note When making an API call, you may pass EnvironmentFile
4408
+ # data as a hash:
4409
+ #
4410
+ # {
4411
+ # value: "String", # required
4412
+ # type: "s3", # required, accepts s3
4413
+ # }
4414
+ #
4415
+ # @!attribute [rw] value
4416
+ # The Amazon Resource Name (ARN) of the Amazon S3 object containing
4417
+ # the environment variable file.
4418
+ # @return [String]
4419
+ #
4420
+ # @!attribute [rw] type
4421
+ # The file type to use. The only supported value is `s3`.
4422
+ # @return [String]
4423
+ #
4424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/EnvironmentFile AWS API Documentation
4425
+ #
4426
+ class EnvironmentFile < Struct.new(
4427
+ :value,
4428
+ :type)
4429
+ include Aws::Structure
4430
+ end
4431
+
4332
4432
  # A failed resource.
4333
4433
  #
4334
4434
  # @!attribute [rw] arn
@@ -4689,8 +4789,9 @@ module Aws::ECS
4689
4789
  # `CapAdd` in the [Create a container][1] section of the [Docker
4690
4790
  # Remote API][2] and the `--cap-add` option to [docker run][3].
4691
4791
  #
4692
- # <note markdown="1"> If you are using tasks that use the Fargate launch type, the `add`
4693
- # parameter is not supported.
4792
+ # <note markdown="1"> The `SYS_PTRACE` capability is supported for tasks that use the
4793
+ # Fargate launch type if they are also using platform version 1.4.0.
4794
+ # The other capabilities are not supported for any platform versions.
4694
4795
  #
4695
4796
  # </note>
4696
4797
  #
@@ -4811,9 +4912,9 @@ module Aws::ECS
4811
4912
  # The Linux capabilities for the container that are added to or
4812
4913
  # dropped from the default configuration provided by Docker.
4813
4914
  #
4814
- # <note markdown="1"> If you are using tasks that use the Fargate launch type,
4815
- # `capabilities` is supported but the `add` parameter is not
4816
- # supported.
4915
+ # <note markdown="1"> For tasks that use the Fargate launch type, `capabilities` is
4916
+ # supported for all platform versions but the `add` parameter is only
4917
+ # supported if using platform version 1.4.0 or later.
4817
4918
  #
4818
4919
  # </note>
4819
4920
  # @return [Types::KernelCapabilities]
@@ -6828,6 +6929,12 @@ module Aws::ECS
6828
6929
  # value: "String",
6829
6930
  # },
6830
6931
  # ],
6932
+ # environment_files: [
6933
+ # {
6934
+ # value: "String", # required
6935
+ # type: "s3", # required, accepts s3
6936
+ # },
6937
+ # ],
6831
6938
  # mount_points: [
6832
6939
  # {
6833
6940
  # source_volume: "String",
@@ -7515,6 +7622,12 @@ module Aws::ECS
7515
7622
  # value: "String",
7516
7623
  # },
7517
7624
  # ],
7625
+ # environment_files: [
7626
+ # {
7627
+ # value: "String", # required
7628
+ # type: "s3", # required, accepts s3
7629
+ # },
7630
+ # ],
7518
7631
  # cpu: 1,
7519
7632
  # memory: 1,
7520
7633
  # memory_reservation: 1,
@@ -8296,6 +8409,12 @@ module Aws::ECS
8296
8409
  # value: "String",
8297
8410
  # },
8298
8411
  # ],
8412
+ # environment_files: [
8413
+ # {
8414
+ # value: "String", # required
8415
+ # type: "s3", # required, accepts s3
8416
+ # },
8417
+ # ],
8299
8418
  # cpu: 1,
8300
8419
  # memory: 1,
8301
8420
  # memory_reservation: 1,
@@ -9614,6 +9733,12 @@ module Aws::ECS
9614
9733
  # value: "String",
9615
9734
  # },
9616
9735
  # ],
9736
+ # environment_files: [
9737
+ # {
9738
+ # value: "String", # required
9739
+ # type: "s3", # required, accepts s3
9740
+ # },
9741
+ # ],
9617
9742
  # cpu: 1,
9618
9743
  # memory: 1,
9619
9744
  # memory_reservation: 1,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.61.0
4
+ version: 1.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-07 00:00:00.000000000 Z
11
+ date: 2020-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core