aws-sdk-ecs 1.226.0 → 1.227.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
  SHA256:
3
- metadata.gz: f3f487cf606102dd35b8defc6ccc4276ca1b348bbb7d84087ff967534e586a75
4
- data.tar.gz: '04926215f9538b430309fde98f834e19d1a46416518b2daaf2804baad732e7b6'
3
+ metadata.gz: f7d4df2f43e7303f64ac443121b0678f8c86f496265d89a1ddfe9d35bff886eb
4
+ data.tar.gz: 92b5b72c4e6b389fa942edbfe5727d582be7ca63d92c39d7193e12907c0d22fd
5
5
  SHA512:
6
- metadata.gz: 9ec8d21a4ba36488a17e1d27f9947c137ae0570cd6e2456381272591b9e49ff86eb3e89e5774e8ea1beee31b394ba863b398fedaf0a27ba14f53061034804aaf
7
- data.tar.gz: bda1b69959aee8a93b4ef4a943bf2051d935aad1e213171d42eab36e995ba5232cb66716ab756bb26dfffea25c6a2b4cc0de66e9923b2a989d29b4ea6eed789f
6
+ metadata.gz: f265e3422777c50a827842998693713879003ba1e11bfa9329a883e48f7b3a68c835505ae35c652e3ed07fcf5dd43f47f31fb7b0c609044c1d8a4f2e12ce4472
7
+ data.tar.gz: 7b7269d59366a17e64a0214712685fee0f780623d52ad67b6728090133986884430b94cd6d52c463e7981d1a0cecc803399a4bf4e68de5164a0838afa5f1f758
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.227.0 (2026-04-07)
5
+ ------------------
6
+
7
+ * Feature - This release provides the functionality of mounting Amazon S3 Files to Amazon ECS tasks by adding support for the new S3FilesVolumeConfiguration parameter in ECS RegisterTaskDefinition API.
8
+
4
9
  1.226.0 (2026-04-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.226.0
1
+ 1.227.0
@@ -4058,6 +4058,10 @@ module Aws::ECS
4058
4058
  # resp.task_definitions[0].volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
4059
4059
  # resp.task_definitions[0].volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
4060
4060
  # resp.task_definitions[0].volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
4061
+ # resp.task_definitions[0].volumes[0].s3files_volume_configuration.file_system_arn #=> String
4062
+ # resp.task_definitions[0].volumes[0].s3files_volume_configuration.root_directory #=> String
4063
+ # resp.task_definitions[0].volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
4064
+ # resp.task_definitions[0].volumes[0].s3files_volume_configuration.access_point_arn #=> String
4061
4065
  # resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
4062
4066
  # resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
4063
4067
  # resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
@@ -4611,6 +4615,10 @@ module Aws::ECS
4611
4615
  # resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
4612
4616
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
4613
4617
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
4618
+ # resp.task_definition.volumes[0].s3files_volume_configuration.file_system_arn #=> String
4619
+ # resp.task_definition.volumes[0].s3files_volume_configuration.root_directory #=> String
4620
+ # resp.task_definition.volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
4621
+ # resp.task_definition.volumes[0].s3files_volume_configuration.access_point_arn #=> String
4614
4622
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
4615
4623
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
4616
4624
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
@@ -6725,6 +6733,10 @@ module Aws::ECS
6725
6733
  # resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
6726
6734
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
6727
6735
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
6736
+ # resp.task_definition.volumes[0].s3files_volume_configuration.file_system_arn #=> String
6737
+ # resp.task_definition.volumes[0].s3files_volume_configuration.root_directory #=> String
6738
+ # resp.task_definition.volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
6739
+ # resp.task_definition.volumes[0].s3files_volume_configuration.access_point_arn #=> String
6728
6740
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
6729
6741
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
6730
6742
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
@@ -10838,6 +10850,12 @@ module Aws::ECS
10838
10850
  # iam: "ENABLED", # accepts ENABLED, DISABLED
10839
10851
  # },
10840
10852
  # },
10853
+ # s3files_volume_configuration: {
10854
+ # file_system_arn: "String", # required
10855
+ # root_directory: "String",
10856
+ # transit_encryption_port: 1,
10857
+ # access_point_arn: "String",
10858
+ # },
10841
10859
  # fsx_windows_file_server_volume_configuration: {
10842
10860
  # file_system_id: "String", # required
10843
10861
  # root_directory: "String", # required
@@ -11027,6 +11045,10 @@ module Aws::ECS
11027
11045
  # resp.task_definition.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
11028
11046
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
11029
11047
  # resp.task_definition.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
11048
+ # resp.task_definition.volumes[0].s3files_volume_configuration.file_system_arn #=> String
11049
+ # resp.task_definition.volumes[0].s3files_volume_configuration.root_directory #=> String
11050
+ # resp.task_definition.volumes[0].s3files_volume_configuration.transit_encryption_port #=> Integer
11051
+ # resp.task_definition.volumes[0].s3files_volume_configuration.access_point_arn #=> String
11030
11052
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.file_system_id #=> String
11031
11053
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
11032
11054
  # resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
@@ -15608,7 +15630,7 @@ module Aws::ECS
15608
15630
  tracer: tracer
15609
15631
  )
15610
15632
  context[:gem_name] = 'aws-sdk-ecs'
15611
- context[:gem_version] = '1.226.0'
15633
+ context[:gem_version] = '1.227.0'
15612
15634
  Seahorse::Client::Request.new(handlers, context)
15613
15635
  end
15614
15636
 
@@ -464,6 +464,7 @@ module Aws::ECS
464
464
  RunTaskRequest = Shapes::StructureShape.new(name: 'RunTaskRequest')
465
465
  RunTaskResponse = Shapes::StructureShape.new(name: 'RunTaskResponse')
466
466
  RuntimePlatform = Shapes::StructureShape.new(name: 'RuntimePlatform')
467
+ S3FilesVolumeConfiguration = Shapes::StructureShape.new(name: 'S3FilesVolumeConfiguration')
467
468
  Scale = Shapes::StructureShape.new(name: 'Scale')
468
469
  ScaleUnit = Shapes::StringShape.new(name: 'ScaleUnit')
469
470
  SchedulingStrategy = Shapes::StringShape.new(name: 'SchedulingStrategy')
@@ -2380,6 +2381,12 @@ module Aws::ECS
2380
2381
  RuntimePlatform.add_member(:operating_system_family, Shapes::ShapeRef.new(shape: OSFamily, location_name: "operatingSystemFamily"))
2381
2382
  RuntimePlatform.struct_class = Types::RuntimePlatform
2382
2383
 
2384
+ S3FilesVolumeConfiguration.add_member(:file_system_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fileSystemArn"))
2385
+ S3FilesVolumeConfiguration.add_member(:root_directory, Shapes::ShapeRef.new(shape: String, location_name: "rootDirectory"))
2386
+ S3FilesVolumeConfiguration.add_member(:transit_encryption_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "transitEncryptionPort"))
2387
+ S3FilesVolumeConfiguration.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: String, location_name: "accessPointArn"))
2388
+ S3FilesVolumeConfiguration.struct_class = Types::S3FilesVolumeConfiguration
2389
+
2383
2390
  Scale.add_member(:value, Shapes::ShapeRef.new(shape: Double, location_name: "value"))
2384
2391
  Scale.add_member(:unit, Shapes::ShapeRef.new(shape: ScaleUnit, location_name: "unit"))
2385
2392
  Scale.struct_class = Types::Scale
@@ -3076,6 +3083,7 @@ module Aws::ECS
3076
3083
  Volume.add_member(:host, Shapes::ShapeRef.new(shape: HostVolumeProperties, location_name: "host"))
3077
3084
  Volume.add_member(:docker_volume_configuration, Shapes::ShapeRef.new(shape: DockerVolumeConfiguration, location_name: "dockerVolumeConfiguration"))
3078
3085
  Volume.add_member(:efs_volume_configuration, Shapes::ShapeRef.new(shape: EFSVolumeConfiguration, location_name: "efsVolumeConfiguration"))
3086
+ Volume.add_member(:s3files_volume_configuration, Shapes::ShapeRef.new(shape: S3FilesVolumeConfiguration, location_name: "s3filesVolumeConfiguration"))
3079
3087
  Volume.add_member(:fsx_windows_file_server_volume_configuration, Shapes::ShapeRef.new(shape: FSxWindowsFileServerVolumeConfiguration, location_name: "fsxWindowsFileServerVolumeConfiguration"))
3080
3088
  Volume.add_member(:configured_at_launch, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "configuredAtLaunch"))
3081
3089
  Volume.struct_class = Types::Volume
@@ -13740,6 +13740,69 @@ module Aws::ECS
13740
13740
  include Aws::Structure
13741
13741
  end
13742
13742
 
13743
+ # This parameter is specified when you're using an Amazon S3 Files file
13744
+ # system for task storage. For more information, see [Amazon S3 Files
13745
+ # volumes][1] in the *Amazon Elastic Container Service Developer Guide*.
13746
+ #
13747
+ # Your task definition must include a Task IAM Role. See [ IAM role for
13748
+ # attaching your file system to AWS compute resources][2] for required
13749
+ # permissions.
13750
+ #
13751
+ #
13752
+ #
13753
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/s3files-volumes.html
13754
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-prereq-policies.html#s3-files-prereq-iam-compute-role
13755
+ #
13756
+ # @!attribute [rw] file_system_arn
13757
+ # The full ARN of the S3 Files file system to mount.
13758
+ # @return [String]
13759
+ #
13760
+ # @!attribute [rw] root_directory
13761
+ # The directory within the Amazon S3 Files file system to mount as the
13762
+ # root directory. If this parameter is omitted, the root of the Amazon
13763
+ # S3 Files file system will be used. Specifying `/` will have the same
13764
+ # effect as omitting this parameter.
13765
+ #
13766
+ # If a S3 Files access point is specified in the `accessPointArn`, the
13767
+ # root directory parameter must either be omitted or set to `/` which
13768
+ # will enforce the path set on the S3 Files access point.
13769
+ # @return [String]
13770
+ #
13771
+ # @!attribute [rw] transit_encryption_port
13772
+ # The port to use for sending encrypted data between the ECS host and
13773
+ # the S3 Files file system. If you do not specify a transit encryption
13774
+ # port, it will use the port selection strategy that the Amazon S3
13775
+ # Files mount helper uses. For more information, see [S3 Files mount
13776
+ # helper][1].
13777
+ #
13778
+ #
13779
+ #
13780
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-mounting.html
13781
+ # @return [Integer]
13782
+ #
13783
+ # @!attribute [rw] access_point_arn
13784
+ # The full ARN of the S3 Files access point to use. If an access point
13785
+ # is specified, the root directory value specified in the
13786
+ # `S3FilesVolumeConfiguration` must either be omitted or set to `/`
13787
+ # which will enforce the path set on the S3 Files access point. For
13788
+ # more information, see [Creating S3 Files access points][1].
13789
+ #
13790
+ #
13791
+ #
13792
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-access-points-creating.html
13793
+ # @return [String]
13794
+ #
13795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/S3FilesVolumeConfiguration AWS API Documentation
13796
+ #
13797
+ class S3FilesVolumeConfiguration < Struct.new(
13798
+ :file_system_arn,
13799
+ :root_directory,
13800
+ :transit_encryption_port,
13801
+ :access_point_arn)
13802
+ SENSITIVE = []
13803
+ include Aws::Structure
13804
+ end
13805
+
13743
13806
  # A floating-point percentage of the desired number of tasks to place
13744
13807
  # and keep running in the task set.
13745
13808
  #
@@ -19024,10 +19087,10 @@ module Aws::ECS
19024
19087
  # only one volume configured at launch is supported. Each volume defined
19025
19088
  # in the volume configuration may only specify a `name` and one of
19026
19089
  # either `configuredAtLaunch`, `dockerVolumeConfiguration`,
19027
- # `efsVolumeConfiguration`, `fsxWindowsFileServerVolumeConfiguration`,
19028
- # or `host`. If an empty volume configuration is specified, by default
19029
- # Amazon ECS uses a host volume. For more information, see [Using data
19030
- # volumes in tasks][1].
19090
+ # `efsVolumeConfiguration`, `s3filesVolumeConfiguration`,
19091
+ # `fsxWindowsFileServerVolumeConfiguration`, or `host`. If an empty
19092
+ # volume configuration is specified, by default Amazon ECS uses a host
19093
+ # volume. For more information, see [Using data volumes in tasks][1].
19031
19094
  #
19032
19095
  #
19033
19096
  #
@@ -19048,6 +19111,9 @@ module Aws::ECS
19048
19111
  #
19049
19112
  # When a volume is using the `efsVolumeConfiguration`, the name is
19050
19113
  # required.
19114
+ #
19115
+ # When a volume is using the `s3filesVolumeConfiguration`, the name is
19116
+ # required.
19051
19117
  # @return [String]
19052
19118
  #
19053
19119
  # @!attribute [rw] host
@@ -19082,6 +19148,11 @@ module Aws::ECS
19082
19148
  # System file system for task storage.
19083
19149
  # @return [Types::EFSVolumeConfiguration]
19084
19150
  #
19151
+ # @!attribute [rw] s3files_volume_configuration
19152
+ # This parameter is specified when you use an Amazon S3 Files file
19153
+ # system for task storage.
19154
+ # @return [Types::S3FilesVolumeConfiguration]
19155
+ #
19085
19156
  # @!attribute [rw] fsx_windows_file_server_volume_configuration
19086
19157
  # This parameter is specified when you use Amazon FSx for Windows File
19087
19158
  # Server file system for task storage.
@@ -19106,6 +19177,7 @@ module Aws::ECS
19106
19177
  :host,
19107
19178
  :docker_volume_configuration,
19108
19179
  :efs_volume_configuration,
19180
+ :s3files_volume_configuration,
19109
19181
  :fsx_windows_file_server_volume_configuration,
19110
19182
  :configured_at_launch)
19111
19183
  SENSITIVE = []
data/lib/aws-sdk-ecs.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECS
55
55
  autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecs/endpoints'
57
57
 
58
- GEM_VERSION = '1.226.0'
58
+ GEM_VERSION = '1.227.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1596,6 +1596,12 @@ module Aws
1596
1596
  iam: ("ENABLED" | "DISABLED")?
1597
1597
  }?
1598
1598
  }?,
1599
+ s3files_volume_configuration: {
1600
+ file_system_arn: ::String,
1601
+ root_directory: ::String?,
1602
+ transit_encryption_port: ::Integer?,
1603
+ access_point_arn: ::String?
1604
+ }?,
1599
1605
  fsx_windows_file_server_volume_configuration: {
1600
1606
  file_system_id: ::String,
1601
1607
  root_directory: ::String,
data/sig/types.rbs CHANGED
@@ -2132,6 +2132,14 @@ module Aws::ECS
2132
2132
  SENSITIVE: []
2133
2133
  end
2134
2134
 
2135
+ class S3FilesVolumeConfiguration
2136
+ attr_accessor file_system_arn: ::String
2137
+ attr_accessor root_directory: ::String
2138
+ attr_accessor transit_encryption_port: ::Integer
2139
+ attr_accessor access_point_arn: ::String
2140
+ SENSITIVE: []
2141
+ end
2142
+
2135
2143
  class Scale
2136
2144
  attr_accessor value: ::Float
2137
2145
  attr_accessor unit: ("PERCENT")
@@ -2946,6 +2954,7 @@ module Aws::ECS
2946
2954
  attr_accessor host: Types::HostVolumeProperties
2947
2955
  attr_accessor docker_volume_configuration: Types::DockerVolumeConfiguration
2948
2956
  attr_accessor efs_volume_configuration: Types::EFSVolumeConfiguration
2957
+ attr_accessor s3files_volume_configuration: Types::S3FilesVolumeConfiguration
2949
2958
  attr_accessor fsx_windows_file_server_volume_configuration: Types::FSxWindowsFileServerVolumeConfiguration
2950
2959
  attr_accessor configured_at_launch: bool
2951
2960
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.226.0
4
+ version: 1.227.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services