aws-sdk-ecs 1.36.0 → 1.37.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2019ee6ea14fa7ba8d023667d486def343e0e1a2
4
- data.tar.gz: 104bb8f77fda44a2a3497b50b7d246aa066c5d2e
3
+ metadata.gz: e8a08b1dea67387381c44930e73aafa4f69d4ac9
4
+ data.tar.gz: 2c5669523e6bdbaca6a4606f96428e1b0078a8a9
5
5
  SHA512:
6
- metadata.gz: 163d0ca7decd652184a46462524ec47bae5fc7633a3b47b3b87c49f66c8822135b22989706580abc7d947d90c7ca72893aa70a69b7013f7b77b60db7e35287d1
7
- data.tar.gz: ba4e880571a3445ad072b12dc317b2d06859159711792ebb9fb0540938d7428346c10aa77fe405d128629fb94067936571b2cedb6154e12608fa768524b9dd82
6
+ metadata.gz: a42a6060ad9da60859ed10048d6663d16974b11f0ba34a2e8db9586b605b958b7b0b60c1e11a51b3cd1f7c580553892ed325de9776d1e0ab42fedf3a33d425f4
7
+ data.tar.gz: 4790d8c9d0c7811b06d192809ee49e9149c16b737e6557b4811d99d6b76a2c0da04c9e3365b3ca83e414f40fdbbec832cb5a7e9b6ad2558dd6ec564a85cd2b8a
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.36.0'
46
+ GEM_VERSION = '1.37.0'
47
47
 
48
48
  end
@@ -1859,6 +1859,9 @@ module Aws::ECS
1859
1859
  # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
1860
1860
  # resp.task_definition.container_definitions[0].log_configuration.options #=> Hash
1861
1861
  # resp.task_definition.container_definitions[0].log_configuration.options["String"] #=> String
1862
+ # resp.task_definition.container_definitions[0].log_configuration.secret_options #=> Array
1863
+ # resp.task_definition.container_definitions[0].log_configuration.secret_options[0].name #=> String
1864
+ # resp.task_definition.container_definitions[0].log_configuration.secret_options[0].value_from #=> String
1862
1865
  # resp.task_definition.container_definitions[0].health_check.command #=> Array
1863
1866
  # resp.task_definition.container_definitions[0].health_check.command[0] #=> String
1864
1867
  # resp.task_definition.container_definitions[0].health_check.interval #=> Integer
@@ -2564,6 +2567,9 @@ module Aws::ECS
2564
2567
  # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
2565
2568
  # resp.task_definition.container_definitions[0].log_configuration.options #=> Hash
2566
2569
  # resp.task_definition.container_definitions[0].log_configuration.options["String"] #=> String
2570
+ # resp.task_definition.container_definitions[0].log_configuration.secret_options #=> Array
2571
+ # resp.task_definition.container_definitions[0].log_configuration.secret_options[0].name #=> String
2572
+ # resp.task_definition.container_definitions[0].log_configuration.secret_options[0].value_from #=> String
2567
2573
  # resp.task_definition.container_definitions[0].health_check.command #=> Array
2568
2574
  # resp.task_definition.container_definitions[0].health_check.command[0] #=> String
2569
2575
  # resp.task_definition.container_definitions[0].health_check.interval #=> Integer
@@ -4455,13 +4461,18 @@ module Aws::ECS
4455
4461
  # @option params [Types::ProxyConfiguration] :proxy_configuration
4456
4462
  # The configuration details for the App Mesh proxy.
4457
4463
  #
4458
- # Your Amazon ECS container instances require at least version 1.26.0 of
4459
- # the container agent and at least version 1.26.0-1 of the `ecs-init`
4460
- # package to enable a proxy configuration. If your container instances
4461
- # are launched from the Amazon ECS-optimized AMI version `20190301` or
4462
- # later, then they contain the required versions of the container agent
4463
- # and `ecs-init`. For more information, see [Amazon ECS-optimized Linux
4464
- # AMI][1] in the *Amazon Elastic Container Service Developer Guide*.
4464
+ # For tasks using the EC2 launch type, the container instances require
4465
+ # at least version 1.26.0 of the container agent and at least version
4466
+ # 1.26.0-1 of the `ecs-init` package to enable a proxy configuration. If
4467
+ # your container instances are launched from the Amazon ECS-optimized
4468
+ # AMI version `20190301` or later, then they contain the required
4469
+ # versions of the container agent and `ecs-init`. For more information,
4470
+ # see [Amazon ECS-optimized Linux AMI][1] in the *Amazon Elastic
4471
+ # Container Service Developer Guide*.
4472
+ #
4473
+ # This parameter is available for tasks using the Fargate launch type in
4474
+ # the Ohio (us-east-2) region only and the task or service requires
4475
+ # platform version 1.3.0 or later.
4465
4476
  #
4466
4477
  #
4467
4478
  #
@@ -4644,6 +4655,12 @@ module Aws::ECS
4644
4655
  # options: {
4645
4656
  # "String" => "String",
4646
4657
  # },
4658
+ # secret_options: [
4659
+ # {
4660
+ # name: "String", # required
4661
+ # value_from: "String", # required
4662
+ # },
4663
+ # ],
4647
4664
  # },
4648
4665
  # health_check: {
4649
4666
  # command: ["String"], # required
@@ -4795,6 +4812,9 @@ module Aws::ECS
4795
4812
  # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
4796
4813
  # resp.task_definition.container_definitions[0].log_configuration.options #=> Hash
4797
4814
  # resp.task_definition.container_definitions[0].log_configuration.options["String"] #=> String
4815
+ # resp.task_definition.container_definitions[0].log_configuration.secret_options #=> Array
4816
+ # resp.task_definition.container_definitions[0].log_configuration.secret_options[0].name #=> String
4817
+ # resp.task_definition.container_definitions[0].log_configuration.secret_options[0].value_from #=> String
4798
4818
  # resp.task_definition.container_definitions[0].health_check.command #=> Array
4799
4819
  # resp.task_definition.container_definitions[0].health_check.command[0] #=> String
4800
4820
  # resp.task_definition.container_definitions[0].health_check.interval #=> Integer
@@ -6570,7 +6590,7 @@ module Aws::ECS
6570
6590
  params: params,
6571
6591
  config: config)
6572
6592
  context[:gem_name] = 'aws-sdk-ecs'
6573
- context[:gem_version] = '1.36.0'
6593
+ context[:gem_version] = '1.37.0'
6574
6594
  Seahorse::Client::Request.new(handlers, context)
6575
6595
  end
6576
6596
 
@@ -777,6 +777,7 @@ module Aws::ECS
777
777
 
778
778
  LogConfiguration.add_member(:log_driver, Shapes::ShapeRef.new(shape: LogDriver, required: true, location_name: "logDriver"))
779
779
  LogConfiguration.add_member(:options, Shapes::ShapeRef.new(shape: LogConfigurationOptionsMap, location_name: "options"))
780
+ LogConfiguration.add_member(:secret_options, Shapes::ShapeRef.new(shape: SecretList, location_name: "secretOptions"))
780
781
  LogConfiguration.struct_class = Types::LogConfiguration
781
782
 
782
783
  LogConfigurationOptionsMap.key = Shapes::ShapeRef.new(shape: String)
@@ -441,6 +441,12 @@ module Aws::ECS
441
441
  # options: {
442
442
  # "String" => "String",
443
443
  # },
444
+ # secret_options: [
445
+ # {
446
+ # name: "String", # required
447
+ # value_from: "String", # required
448
+ # },
449
+ # ],
444
450
  # },
445
451
  # health_check: {
446
452
  # command: ["String"], # required
@@ -857,18 +863,23 @@ module Aws::ECS
857
863
  # defined for container startup, for container shutdown it is
858
864
  # reversed.
859
865
  #
860
- # Your Amazon ECS container instances require at least version 1.26.0
861
- # of the container agent to enable container dependencies. However, we
862
- # recommend using the latest container agent version. For information
863
- # about checking your agent version and updating to the latest
864
- # version, see [Updating the Amazon ECS Container Agent][1] in the
865
- # *Amazon Elastic Container Service Developer Guide*. If you are using
866
- # an Amazon ECS-optimized Linux AMI, your instance needs at least
867
- # version 1.26.0-1 of the `ecs-init` package. If your container
868
- # instances are launched from version `20190301` or later, then they
869
- # contain the required versions of the container agent and `ecs-init`.
870
- # For more information, see [Amazon ECS-optimized Linux AMI][2] in the
871
- # *Amazon Elastic Container Service Developer Guide*.
866
+ # For tasks using the EC2 launch type, the container instances require
867
+ # at least version 1.26.0 of the container agent to enable container
868
+ # dependencies. However, we recommend using the latest container agent
869
+ # version. For information about checking your agent version and
870
+ # updating to the latest version, see [Updating the Amazon ECS
871
+ # Container Agent][1] in the *Amazon Elastic Container Service
872
+ # Developer Guide*. If you are using an Amazon ECS-optimized Linux
873
+ # AMI, your instance needs at least version 1.26.0-1 of the `ecs-init`
874
+ # package. If your container instances are launched from version
875
+ # `20190301` or later, then they contain the required versions of the
876
+ # container agent and `ecs-init`. For more information, see [Amazon
877
+ # ECS-optimized Linux AMI][2] in the *Amazon Elastic Container Service
878
+ # Developer Guide*.
879
+ #
880
+ # This parameter is available for tasks using the Fargate launch type
881
+ # in the Ohio (us-east-2) region only and the task or service requires
882
+ # platform version 1.3.0 or later.
872
883
  #
873
884
  #
874
885
  #
@@ -886,18 +897,23 @@ module Aws::ECS
886
897
  # up and not start. This results in the task transitioning to a
887
898
  # `STOPPED` state.
888
899
  #
889
- # Your Amazon ECS container instances require at least version 1.26.0
890
- # of the container agent to enable a container start timeout value.
891
- # However, we recommend using the latest container agent version. For
892
- # information about checking your agent version and updating to the
893
- # latest version, see [Updating the Amazon ECS Container Agent][1] in
894
- # the *Amazon Elastic Container Service Developer Guide*. If you are
895
- # using an Amazon ECS-optimized Linux AMI, your instance needs at
896
- # least version 1.26.0-1 of the `ecs-init` package. If your container
897
- # instances are launched from version `20190301` or later, then they
898
- # contain the required versions of the container agent and `ecs-init`.
899
- # For more information, see [Amazon ECS-optimized Linux AMI][2] in the
900
- # *Amazon Elastic Container Service Developer Guide*.
900
+ # For tasks using the EC2 launch type, the container instances require
901
+ # at least version 1.26.0 of the container agent to enable a container
902
+ # start timeout value. However, we recommend using the latest
903
+ # container agent version. For information about checking your agent
904
+ # version and updating to the latest version, see [Updating the Amazon
905
+ # ECS Container Agent][1] in the *Amazon Elastic Container Service
906
+ # Developer Guide*. If you are using an Amazon ECS-optimized Linux
907
+ # AMI, your instance needs at least version 1.26.0-1 of the `ecs-init`
908
+ # package. If your container instances are launched from version
909
+ # `20190301` or later, then they contain the required versions of the
910
+ # container agent and `ecs-init`. For more information, see [Amazon
911
+ # ECS-optimized Linux AMI][2] in the *Amazon Elastic Container Service
912
+ # Developer Guide*.
913
+ #
914
+ # This parameter is available for tasks using the Fargate launch type
915
+ # in the Ohio (us-east-2) region only and the task or service requires
916
+ # platform version 1.3.0 or later.
901
917
  #
902
918
  #
903
919
  #
@@ -907,22 +923,27 @@ module Aws::ECS
907
923
  #
908
924
  # @!attribute [rw] stop_timeout
909
925
  # Time duration to wait before the container is forcefully killed if
910
- # it doesn't exit normally on its own. The stop timeout value for the
911
- # container takes precedence over the `ECS_CONTAINER_STOP_TIMEOUT`
912
- # container agent configuration parameter, if used.
926
+ # it doesn't exit normally on its own. For tasks using the Fargate
927
+ # launch type, the max `stopTimeout` value is 2 minutes. This
928
+ # parameter is available for tasks using the Fargate launch type in
929
+ # the Ohio (us-east-2) region only and the task or service requires
930
+ # platform version 1.3.0 or later.
913
931
  #
914
- # Your Amazon ECS container instances require at least version 1.26.0
915
- # of the container agent to enable a container stop timeout value.
916
- # However, we recommend using the latest container agent version. For
917
- # information about checking your agent version and updating to the
918
- # latest version, see [Updating the Amazon ECS Container Agent][1] in
919
- # the *Amazon Elastic Container Service Developer Guide*. If you are
920
- # using an Amazon ECS-optimized Linux AMI, your instance needs at
921
- # least version 1.26.0-1 of the `ecs-init` package. If your container
922
- # instances are launched from version `20190301` or later, then they
923
- # contain the required versions of the container agent and `ecs-init`.
924
- # For more information, see [Amazon ECS-optimized Linux AMI][2] in the
925
- # *Amazon Elastic Container Service Developer Guide*.
932
+ # For tasks using the EC2 launch type, the stop timeout value for the
933
+ # container takes precedence over the `ECS_CONTAINER_STOP_TIMEOUT`
934
+ # container agent configuration parameter, if used. Container
935
+ # instances require at least version 1.26.0 of the container agent to
936
+ # enable a container stop timeout value. However, we recommend using
937
+ # the latest container agent version. For information about checking
938
+ # your agent version and updating to the latest version, see [Updating
939
+ # the Amazon ECS Container Agent][1] in the *Amazon Elastic Container
940
+ # Service Developer Guide*. If you are using an Amazon ECS-optimized
941
+ # Linux AMI, your instance needs at least version 1.26.0-1 of the
942
+ # `ecs-init` package. If your container instances are launched from
943
+ # version `20190301` or later, then they contain the required versions
944
+ # of the container agent and `ecs-init`. For more information, see
945
+ # [Amazon ECS-optimized Linux AMI][2] in the *Amazon Elastic Container
946
+ # Service Developer Guide*.
926
947
  #
927
948
  #
928
949
  #
@@ -1190,8 +1211,12 @@ module Aws::ECS
1190
1211
  # @!attribute [rw] log_configuration
1191
1212
  # The log configuration specification for the container.
1192
1213
  #
1193
- # If you are using the Fargate launch type, the only supported value
1194
- # is `awslogs`.
1214
+ # For tasks using the Fargate launch type, the supported log drivers
1215
+ # are `awslogs` and `splunk`.
1216
+ #
1217
+ # For tasks using the EC2 launch type, the supported log drivers are
1218
+ # `awslogs`, `syslog`, `gelf`, `fluentd`, `splunk`, `journald`, and
1219
+ # `json-file`.
1195
1220
  #
1196
1221
  # This parameter maps to `LogConfig` in the [Create a container][1]
1197
1222
  # section of the [Docker Remote API][2] and the `--log-driver` option
@@ -4462,16 +4487,29 @@ module Aws::ECS
4462
4487
  # options: {
4463
4488
  # "String" => "String",
4464
4489
  # },
4490
+ # secret_options: [
4491
+ # {
4492
+ # name: "String", # required
4493
+ # value_from: "String", # required
4494
+ # },
4495
+ # ],
4465
4496
  # }
4466
4497
  #
4467
4498
  # @!attribute [rw] log_driver
4468
4499
  # The log driver to use for the container. The valid values listed for
4469
4500
  # this parameter are log drivers that the Amazon ECS container agent
4470
- # can communicate with by default. If you are using the Fargate launch
4471
- # type, the only supported value is `awslogs`. For more information
4472
- # about using the `awslogs` driver, see [Using the awslogs Log
4473
- # Driver][1] in the *Amazon Elastic Container Service Developer
4474
- # Guide*.
4501
+ # can communicate with by default.
4502
+ #
4503
+ # For tasks using the Fargate launch type, the supported log drivers
4504
+ # are `awslogs` and `splunk`.
4505
+ #
4506
+ # For tasks using the EC2 launch type, the supported log drivers are
4507
+ # `awslogs`, `syslog`, `gelf`, `fluentd`, `splunk`, `journald`, and
4508
+ # `json-file`.
4509
+ #
4510
+ # For more information about using the `awslogs` log driver, see
4511
+ # [Using the awslogs Log Driver][1] in the *Amazon Elastic Container
4512
+ # Service Developer Guide*.
4475
4513
  #
4476
4514
  # <note markdown="1"> If you have a custom driver that is not listed above that you would
4477
4515
  # like to work with the Amazon ECS container agent, you can fork the
@@ -4504,11 +4542,16 @@ module Aws::ECS
4504
4542
  # '\{\{.Server.APIVersion\}\}'`
4505
4543
  # @return [Hash<String,String>]
4506
4544
  #
4545
+ # @!attribute [rw] secret_options
4546
+ # The secrets to pass to the log configuration.
4547
+ # @return [Array<Types::Secret>]
4548
+ #
4507
4549
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LogConfiguration AWS API Documentation
4508
4550
  #
4509
4551
  class LogConfiguration < Struct.new(
4510
4552
  :log_driver,
4511
- :options)
4553
+ :options,
4554
+ :secret_options)
4512
4555
  include Aws::Structure
4513
4556
  end
4514
4557
 
@@ -4858,13 +4901,18 @@ module Aws::ECS
4858
4901
 
4859
4902
  # The configuration details for the App Mesh proxy.
4860
4903
  #
4861
- # Your Amazon ECS container instances require at least version 1.26.0 of
4862
- # the container agent and at least version 1.26.0-1 of the `ecs-init`
4863
- # package to enable a proxy configuration. If your container instances
4864
- # are launched from the Amazon ECS-optimized AMI version `20190301` or
4865
- # later, then they contain the required versions of the container agent
4866
- # and `ecs-init`. For more information, see [Amazon ECS-optimized Linux
4867
- # AMI][1] in the *Amazon Elastic Container Service Developer Guide*.
4904
+ # For tasks using the EC2 launch type, the container instances require
4905
+ # at least version 1.26.0 of the container agent and at least version
4906
+ # 1.26.0-1 of the `ecs-init` package to enable a proxy configuration. If
4907
+ # your container instances are launched from the Amazon ECS-optimized
4908
+ # AMI version `20190301` or later, then they contain the required
4909
+ # versions of the container agent and `ecs-init`. For more information,
4910
+ # see [Amazon ECS-optimized Linux AMI][1] in the *Amazon Elastic
4911
+ # Container Service Developer Guide*.
4912
+ #
4913
+ # This parameter is available for tasks using the Fargate launch type in
4914
+ # the Ohio (us-east-2) region only and the task or service requires
4915
+ # platform version 1.3.0 or later.
4868
4916
  #
4869
4917
  #
4870
4918
  #
@@ -5311,6 +5359,12 @@ module Aws::ECS
5311
5359
  # options: {
5312
5360
  # "String" => "String",
5313
5361
  # },
5362
+ # secret_options: [
5363
+ # {
5364
+ # name: "String", # required
5365
+ # value_from: "String", # required
5366
+ # },
5367
+ # ],
5314
5368
  # },
5315
5369
  # health_check: {
5316
5370
  # command: ["String"], # required
@@ -5629,14 +5683,18 @@ module Aws::ECS
5629
5683
  # @!attribute [rw] proxy_configuration
5630
5684
  # The configuration details for the App Mesh proxy.
5631
5685
  #
5632
- # Your Amazon ECS container instances require at least version 1.26.0
5633
- # of the container agent and at least version 1.26.0-1 of the
5634
- # `ecs-init` package to enable a proxy configuration. If your
5635
- # container instances are launched from the Amazon ECS-optimized AMI
5636
- # version `20190301` or later, then they contain the required versions
5637
- # of the container agent and `ecs-init`. For more information, see
5638
- # [Amazon ECS-optimized Linux AMI][1] in the *Amazon Elastic Container
5639
- # Service Developer Guide*.
5686
+ # For tasks using the EC2 launch type, the container instances require
5687
+ # at least version 1.26.0 of the container agent and at least version
5688
+ # 1.26.0-1 of the `ecs-init` package to enable a proxy configuration.
5689
+ # If your container instances are launched from the Amazon
5690
+ # ECS-optimized AMI version `20190301` or later, then they contain the
5691
+ # required versions of the container agent and `ecs-init`. For more
5692
+ # information, see [Amazon ECS-optimized Linux AMI][1] in the *Amazon
5693
+ # Elastic Container Service Developer Guide*.
5694
+ #
5695
+ # This parameter is available for tasks using the Fargate launch type
5696
+ # in the Ohio (us-east-2) region only and the task or service requires
5697
+ # platform version 1.3.0 or later.
5640
5698
  #
5641
5699
  #
5642
5700
  #
@@ -6059,9 +6117,17 @@ module Aws::ECS
6059
6117
  include Aws::Structure
6060
6118
  end
6061
6119
 
6062
- # An object representing the secret to expose to your container. For
6063
- # more information, see [Specifying Sensitive Data][1] in the *Amazon
6064
- # Elastic Container Service Developer Guide*.
6120
+ # An object representing the secret to expose to your container. Secrets
6121
+ # can be exposed to a container in the following ways:
6122
+ #
6123
+ # * To inject sensitive data into your containers as environment
6124
+ # variables, use the `secrets` container definition parameter.
6125
+ #
6126
+ # * To reference sensitive information in the log configuration of a
6127
+ # container, use the `secretOptions` container definition parameter.
6128
+ #
6129
+ # For more information, see [Specifying Sensitive Data][1] in the
6130
+ # *Amazon Elastic Container Service Developer Guide*.
6065
6131
  #
6066
6132
  #
6067
6133
  #
@@ -6076,16 +6142,13 @@ module Aws::ECS
6076
6142
  # }
6077
6143
  #
6078
6144
  # @!attribute [rw] name
6079
- # The value to set as the environment variable on the container.
6145
+ # The name of the secret.
6080
6146
  # @return [String]
6081
6147
  #
6082
6148
  # @!attribute [rw] value_from
6083
- # The secret to expose to the container. If your task is using the EC2
6084
- # launch type, then supported values are either the full ARN of the
6085
- # AWS Secrets Manager secret or the full ARN of the parameter in the
6086
- # AWS Systems Manager Parameter Store. If your task is using the
6087
- # Fargate launch type, then the only supported value is the full ARN
6088
- # of the parameter in the AWS Systems Manager Parameter Store.
6149
+ # The secret to expose to the container. The supported values are
6150
+ # either the full ARN of the AWS Secrets Manager secret or the full
6151
+ # ARN of the parameter in the AWS Systems Manager Parameter Store.
6089
6152
  #
6090
6153
  # <note markdown="1"> If the AWS Systems Manager Parameter Store parameter exists in the
6091
6154
  # same Region as the task you are launching, then you can use either
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.36.0
4
+ version: 1.37.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: 2019-03-27 00:00:00.000000000 Z
11
+ date: 2019-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -60,7 +60,7 @@ files:
60
60
  - lib/aws-sdk-ecs/resource.rb
61
61
  - lib/aws-sdk-ecs/types.rb
62
62
  - lib/aws-sdk-ecs/waiters.rb
63
- homepage: http://github.com/aws/aws-sdk-ruby
63
+ homepage: https://github.com/aws/aws-sdk-ruby
64
64
  licenses:
65
65
  - Apache-2.0
66
66
  metadata: