aws-sdk-ecs 1.221.0 → 1.223.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: b6f01f3f97ea4cd18a435956a913ffa4201ddb986ddc264b5856f6f7becdbee6
4
- data.tar.gz: db64f82419811dfe4270e9fef9f5da72f08b907a9a855eb18363feb8e3705e45
3
+ metadata.gz: 1301241819214b4c4ff7efba8582ff933b1f2fed1d22346d752ee88df81b397f
4
+ data.tar.gz: dbe2fe2623628e669ecb890609052032355a48961cde105696494b349552b248
5
5
  SHA512:
6
- metadata.gz: ce5fe8cfb8990e344bff86287ae140eb304eb96368cb3c21ac02f4ecdebd7bd6dc7bba32b247845d229e72afafc68c71faa216c1d09650587d4e13d72d80072b
7
- data.tar.gz: 9fa3f271bcee0fd6aa589acaa1d3461c8aa781d2d16e01ee0cc9d37c9efc82c468c272ef4112583b3c9398454fad21ec7274809e9ea4ef4bde7c75c0caa57f91
6
+ metadata.gz: 23030d34e6db07051a52a53714daa8ae3572e355cba984ef6832582633ff96b7fd93b3ff33319a3b87c19f4d591475ad8ab97c95014860d5cfa02a83f546062c
7
+ data.tar.gz: 487758c861e7c7be596c8e08f995be9688045501849c6fdb86beadca2830dc6203539de16e9a75ce9f786653279ec15627d750f18623646ec5dfb6a74f466ae5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.223.0 (2026-03-16)
5
+ ------------------
6
+
7
+ * Feature - Amazon ECS now supports configuring whether tags are propagated to the EC2 Instance Metadata Service (IMDS) for instances launched by the Managed Instances capacity provider. This gives customers control over tag visibility in IMDS when using ECS Managed Instances.
8
+
9
+ 1.222.0 (2026-02-26)
10
+ ------------------
11
+
12
+ * Feature - Adding support for Capacity Reservations for ECS Managed Instances by introducing a new "capacityOptionType" value of "RESERVED" and new field "capacityReservations" for CreateCapacityProvider and UpdateCapacityProvider APIs.
13
+
4
14
  1.221.0 (2026-02-20)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.221.0
1
+ 1.223.0
@@ -612,7 +612,8 @@ module Aws::ECS
612
612
  # storage_size_gi_b: 1,
613
613
  # },
614
614
  # monitoring: "BASIC", # accepts BASIC, DETAILED
615
- # capacity_option_type: "ON_DEMAND", # accepts ON_DEMAND, SPOT
615
+ # capacity_option_type: "ON_DEMAND", # accepts ON_DEMAND, SPOT, RESERVED
616
+ # instance_metadata_tags_propagation: false,
616
617
  # instance_requirements: {
617
618
  # v_cpu_count: { # required
618
619
  # min: 1, # required
@@ -667,6 +668,10 @@ module Aws::ECS
667
668
  # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
668
669
  # },
669
670
  # fips_enabled: false,
671
+ # capacity_reservations: {
672
+ # reservation_group_arn: "String",
673
+ # reservation_preference: "RESERVATIONS_ONLY", # accepts RESERVATIONS_ONLY, RESERVATIONS_FIRST, RESERVATIONS_EXCLUDED
674
+ # },
670
675
  # },
671
676
  # propagate_tags: "CAPACITY_PROVIDER", # accepts CAPACITY_PROVIDER, NONE
672
677
  # infrastructure_optimization: {
@@ -703,7 +708,8 @@ module Aws::ECS
703
708
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
704
709
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
705
710
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
706
- # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT"
711
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT", "RESERVED"
712
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_metadata_tags_propagation #=> Boolean
707
713
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
708
714
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
709
715
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
@@ -746,6 +752,8 @@ module Aws::ECS
746
752
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
747
753
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
748
754
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.fips_enabled #=> Boolean
755
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_reservations.reservation_group_arn #=> String
756
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_reservations.reservation_preference #=> String, one of "RESERVATIONS_ONLY", "RESERVATIONS_FIRST", "RESERVATIONS_EXCLUDED"
749
757
  # resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
750
758
  # resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
751
759
  # resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
@@ -2982,7 +2990,8 @@ module Aws::ECS
2982
2990
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
2983
2991
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
2984
2992
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
2985
- # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT"
2993
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT", "RESERVED"
2994
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_metadata_tags_propagation #=> Boolean
2986
2995
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
2987
2996
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
2988
2997
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
@@ -3025,6 +3034,8 @@ module Aws::ECS
3025
3034
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
3026
3035
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
3027
3036
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.fips_enabled #=> Boolean
3037
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_reservations.reservation_group_arn #=> String
3038
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_reservations.reservation_preference #=> String, one of "RESERVATIONS_ONLY", "RESERVATIONS_FIRST", "RESERVATIONS_EXCLUDED"
3028
3039
  # resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
3029
3040
  # resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
3030
3041
  # resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
@@ -4518,7 +4529,8 @@ module Aws::ECS
4518
4529
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
4519
4530
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
4520
4531
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
4521
- # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT"
4532
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT", "RESERVED"
4533
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_metadata_tags_propagation #=> Boolean
4522
4534
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
4523
4535
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
4524
4536
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
@@ -4561,6 +4573,8 @@ module Aws::ECS
4561
4573
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
4562
4574
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
4563
4575
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.fips_enabled #=> Boolean
4576
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.capacity_reservations.reservation_group_arn #=> String
4577
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.capacity_reservations.reservation_preference #=> String, one of "RESERVATIONS_ONLY", "RESERVATIONS_FIRST", "RESERVATIONS_EXCLUDED"
4564
4578
  # resp.capacity_providers[0].managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
4565
4579
  # resp.capacity_providers[0].managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
4566
4580
  # resp.capacity_providers[0].update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
@@ -11463,6 +11477,7 @@ module Aws::ECS
11463
11477
  # storage_configuration: {
11464
11478
  # storage_size_gi_b: 1,
11465
11479
  # },
11480
+ # instance_metadata_tags_propagation: false,
11466
11481
  # monitoring: "BASIC", # accepts BASIC, DETAILED
11467
11482
  # instance_requirements: {
11468
11483
  # v_cpu_count: { # required
@@ -11517,6 +11532,10 @@ module Aws::ECS
11517
11532
  # allowed_instance_types: ["AllowedInstanceType"],
11518
11533
  # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
11519
11534
  # },
11535
+ # capacity_reservations: {
11536
+ # reservation_group_arn: "String",
11537
+ # reservation_preference: "RESERVATIONS_ONLY", # accepts RESERVATIONS_ONLY, RESERVATIONS_FIRST, RESERVATIONS_EXCLUDED
11538
+ # },
11520
11539
  # },
11521
11540
  # propagate_tags: "CAPACITY_PROVIDER", # accepts CAPACITY_PROVIDER, NONE
11522
11541
  # infrastructure_optimization: {
@@ -11547,7 +11566,8 @@ module Aws::ECS
11547
11566
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
11548
11567
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
11549
11568
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
11550
- # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT"
11569
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT", "RESERVED"
11570
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_metadata_tags_propagation #=> Boolean
11551
11571
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
11552
11572
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
11553
11573
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
@@ -11590,6 +11610,8 @@ module Aws::ECS
11590
11610
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
11591
11611
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
11592
11612
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.fips_enabled #=> Boolean
11613
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_reservations.reservation_group_arn #=> String
11614
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_reservations.reservation_preference #=> String, one of "RESERVATIONS_ONLY", "RESERVATIONS_FIRST", "RESERVATIONS_EXCLUDED"
11593
11615
  # resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
11594
11616
  # resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
11595
11617
  # resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
@@ -14046,7 +14068,7 @@ module Aws::ECS
14046
14068
  tracer: tracer
14047
14069
  )
14048
14070
  context[:gem_name] = 'aws-sdk-ecs'
14049
- context[:gem_version] = '1.221.0'
14071
+ context[:gem_version] = '1.223.0'
14050
14072
  Seahorse::Client::Request.new(handlers, context)
14051
14073
  end
14052
14074
 
@@ -64,6 +64,8 @@ module Aws::ECS
64
64
  CapacityProviderType = Shapes::StringShape.new(name: 'CapacityProviderType')
65
65
  CapacityProviderUpdateStatus = Shapes::StringShape.new(name: 'CapacityProviderUpdateStatus')
66
66
  CapacityProviders = Shapes::ListShape.new(name: 'CapacityProviders')
67
+ CapacityReservationPreference = Shapes::StringShape.new(name: 'CapacityReservationPreference')
68
+ CapacityReservationRequest = Shapes::StructureShape.new(name: 'CapacityReservationRequest')
67
69
  ClientException = Shapes::StructureShape.new(name: 'ClientException')
68
70
  Cluster = Shapes::StructureShape.new(name: 'Cluster')
69
71
  ClusterConfiguration = Shapes::StructureShape.new(name: 'ClusterConfiguration')
@@ -658,6 +660,10 @@ module Aws::ECS
658
660
 
659
661
  CapacityProviders.member = Shapes::ShapeRef.new(shape: CapacityProvider)
660
662
 
663
+ CapacityReservationRequest.add_member(:reservation_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "reservationGroupArn"))
664
+ CapacityReservationRequest.add_member(:reservation_preference, Shapes::ShapeRef.new(shape: CapacityReservationPreference, location_name: "reservationPreference"))
665
+ CapacityReservationRequest.struct_class = Types::CapacityReservationRequest
666
+
661
667
  ClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
662
668
  ClientException.struct_class = Types::ClientException
663
669
 
@@ -1405,15 +1411,19 @@ module Aws::ECS
1405
1411
  InstanceLaunchTemplate.add_member(:storage_configuration, Shapes::ShapeRef.new(shape: ManagedInstancesStorageConfiguration, location_name: "storageConfiguration"))
1406
1412
  InstanceLaunchTemplate.add_member(:monitoring, Shapes::ShapeRef.new(shape: ManagedInstancesMonitoringOptions, location_name: "monitoring"))
1407
1413
  InstanceLaunchTemplate.add_member(:capacity_option_type, Shapes::ShapeRef.new(shape: CapacityOptionType, location_name: "capacityOptionType"))
1414
+ InstanceLaunchTemplate.add_member(:instance_metadata_tags_propagation, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "instanceMetadataTagsPropagation"))
1408
1415
  InstanceLaunchTemplate.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "instanceRequirements"))
1409
1416
  InstanceLaunchTemplate.add_member(:fips_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "fipsEnabled"))
1417
+ InstanceLaunchTemplate.add_member(:capacity_reservations, Shapes::ShapeRef.new(shape: CapacityReservationRequest, location_name: "capacityReservations"))
1410
1418
  InstanceLaunchTemplate.struct_class = Types::InstanceLaunchTemplate
1411
1419
 
1412
1420
  InstanceLaunchTemplateUpdate.add_member(:ec2_instance_profile_arn, Shapes::ShapeRef.new(shape: String, location_name: "ec2InstanceProfileArn"))
1413
1421
  InstanceLaunchTemplateUpdate.add_member(:network_configuration, Shapes::ShapeRef.new(shape: ManagedInstancesNetworkConfiguration, location_name: "networkConfiguration"))
1414
1422
  InstanceLaunchTemplateUpdate.add_member(:storage_configuration, Shapes::ShapeRef.new(shape: ManagedInstancesStorageConfiguration, location_name: "storageConfiguration"))
1423
+ InstanceLaunchTemplateUpdate.add_member(:instance_metadata_tags_propagation, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "instanceMetadataTagsPropagation"))
1415
1424
  InstanceLaunchTemplateUpdate.add_member(:monitoring, Shapes::ShapeRef.new(shape: ManagedInstancesMonitoringOptions, location_name: "monitoring"))
1416
1425
  InstanceLaunchTemplateUpdate.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "instanceRequirements"))
1426
+ InstanceLaunchTemplateUpdate.add_member(:capacity_reservations, Shapes::ShapeRef.new(shape: CapacityReservationRequest, location_name: "capacityReservations"))
1417
1427
  InstanceLaunchTemplateUpdate.struct_class = Types::InstanceLaunchTemplateUpdate
1418
1428
 
1419
1429
  InstanceRequirementsRequest.add_member(:v_cpu_count, Shapes::ShapeRef.new(shape: VCpuCountRangeRequest, required: true, location_name: "vCpuCount"))
@@ -672,6 +672,42 @@ module Aws::ECS
672
672
  include Aws::Structure
673
673
  end
674
674
 
675
+ # The Capacity Reservation configurations to be used when using the
676
+ # `RESERVED` capacity option type.
677
+ #
678
+ # @!attribute [rw] reservation_group_arn
679
+ # The ARN of the Capacity Reservation resource group in which to run
680
+ # the instance.
681
+ # @return [String]
682
+ #
683
+ # @!attribute [rw] reservation_preference
684
+ # The preference on when capacity reservations should be used.
685
+ #
686
+ # Valid values are:
687
+ #
688
+ # * `RESERVATIONS_ONLY` - Exclusively launch instances into capacity
689
+ # reservations that match the instance requirements configured for
690
+ # the capacity provider. If none exist, instances will fail to
691
+ # provision.
692
+ #
693
+ # * `RESERVATIONS_FIRST` - Prefer to launch instances into a capacity
694
+ # reservation if any exist that match the instance requirements
695
+ # configured for the capacity provider. If none exist, fall back to
696
+ # launching instances On-Demand.
697
+ #
698
+ # * `RESERVATIONS_EXCLUDED` - Avoid using capacity reservations and
699
+ # launch exclusively On-Demand.
700
+ # @return [String]
701
+ #
702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CapacityReservationRequest AWS API Documentation
703
+ #
704
+ class CapacityReservationRequest < Struct.new(
705
+ :reservation_group_arn,
706
+ :reservation_preference)
707
+ SENSITIVE = []
708
+ include Aws::Structure
709
+ end
710
+
675
711
  # These errors are usually caused by a client action. This client action
676
712
  # might be using an action or resource on behalf of a user that doesn't
677
713
  # have permissions to use the action or resource. Or, it might be
@@ -6980,8 +7016,8 @@ module Aws::ECS
6980
7016
  #
6981
7017
  # @!attribute [rw] capacity_option_type
6982
7018
  # The capacity option type. This determines whether Amazon ECS
6983
- # launches On-Demand or Spot Instances for your managed instance
6984
- # capacity provider.
7019
+ # launches On-Demand, Spot or Capacity Reservation Instances for your
7020
+ # managed instance capacity provider.
6985
7021
  #
6986
7022
  # Valid values are:
6987
7023
  #
@@ -6993,6 +7029,10 @@ module Aws::ECS
6993
7029
  # Amazon EC2 with a two-minute notification when the capacity is
6994
7030
  # needed back.
6995
7031
  #
7032
+ # * `RESERVED` - Launches Instances using Amazon EC2 Capacity
7033
+ # Reservations. Capacity Reservations allow you to reserve compute
7034
+ # capacity for Amazon EC2 instances in a specific Availability Zone.
7035
+ #
6996
7036
  # The default is On-Demand
6997
7037
  #
6998
7038
  # For more information about Amazon EC2 capacity options, see
@@ -7003,6 +7043,27 @@ module Aws::ECS
7003
7043
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
7004
7044
  # @return [String]
7005
7045
  #
7046
+ # @!attribute [rw] instance_metadata_tags_propagation
7047
+ # Determines whether tags are propagated to the instance metadata
7048
+ # service (IMDS) for Amazon EC2 instances launched by the Managed
7049
+ # Instances capacity provider. When enabled, all tags associated with
7050
+ # the instance are available through the instance metadata service.
7051
+ # When disabled, tags are not propagated to IMDS.
7052
+ #
7053
+ # Disable this setting if your tags contain characters that are not
7054
+ # compatible with IMDS, such as `/`. IMDS requires tag keys to match
7055
+ # the pattern `[0-9a-zA-Z\-_+=,.@:]{1,255}`.
7056
+ #
7057
+ # The default value is `true`.
7058
+ #
7059
+ # For more information, see [Work with instance tags in instance
7060
+ # metadata][1] in the *Amazon EC2 User Guide*.
7061
+ #
7062
+ #
7063
+ #
7064
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS
7065
+ # @return [Boolean]
7066
+ #
7006
7067
  # @!attribute [rw] instance_requirements
7007
7068
  # The instance requirements. You can specify:
7008
7069
  #
@@ -7026,6 +7087,18 @@ module Aws::ECS
7026
7087
  # GovCloud (US) regions and FIPS disabled in other regions.
7027
7088
  # @return [Boolean]
7028
7089
  #
7090
+ # @!attribute [rw] capacity_reservations
7091
+ # Capacity reservation specifications. You can specify:
7092
+ #
7093
+ # * Capacity reservation preference
7094
+ #
7095
+ # * Reservation resource group to be used for targeted capacity
7096
+ # reservations
7097
+ #
7098
+ # Amazon ECS will launch instances according to the specified
7099
+ # criteria.
7100
+ # @return [Types::CapacityReservationRequest]
7101
+ #
7029
7102
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/InstanceLaunchTemplate AWS API Documentation
7030
7103
  #
7031
7104
  class InstanceLaunchTemplate < Struct.new(
@@ -7034,8 +7107,10 @@ module Aws::ECS
7034
7107
  :storage_configuration,
7035
7108
  :monitoring,
7036
7109
  :capacity_option_type,
7110
+ :instance_metadata_tags_propagation,
7037
7111
  :instance_requirements,
7038
- :fips_enabled)
7112
+ :fips_enabled,
7113
+ :capacity_reservations)
7039
7114
  SENSITIVE = []
7040
7115
  include Aws::Structure
7041
7116
  end
@@ -7077,6 +7152,27 @@ module Aws::ECS
7077
7152
  # the update.
7078
7153
  # @return [Types::ManagedInstancesStorageConfiguration]
7079
7154
  #
7155
+ # @!attribute [rw] instance_metadata_tags_propagation
7156
+ # Determines whether tags are propagated to the instance metadata
7157
+ # service (IMDS) for Amazon EC2 instances launched by the Managed
7158
+ # Instances capacity provider. When enabled, all tags associated with
7159
+ # the instance are available through the instance metadata service.
7160
+ # When disabled, tags are not propagated to IMDS.
7161
+ #
7162
+ # Disable this setting if your tags contain characters that are not
7163
+ # compatible with IMDS, such as `/`. IMDS requires tag keys to match
7164
+ # the pattern `[0-9a-zA-Z\-_+=,.@:]{1,255}`.
7165
+ #
7166
+ # The default value is `true`.
7167
+ #
7168
+ # For more information, see [Work with instance tags in instance
7169
+ # metadata][1] in the *Amazon EC2 User Guide*.
7170
+ #
7171
+ #
7172
+ #
7173
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS
7174
+ # @return [Boolean]
7175
+ #
7080
7176
  # @!attribute [rw] monitoring
7081
7177
  # CloudWatch provides two categories of monitoring: basic monitoring
7082
7178
  # and detailed monitoring. By default, your managed instance is
@@ -7098,14 +7194,22 @@ module Aws::ECS
7098
7194
  # types Amazon ECS selects for new instances.
7099
7195
  # @return [Types::InstanceRequirementsRequest]
7100
7196
  #
7197
+ # @!attribute [rw] capacity_reservations
7198
+ # The updated capacity reservations specifications for Amazon ECS
7199
+ # Managed Instances. Changes to capacity reservations settings apply
7200
+ # to new instances launched after the update.
7201
+ # @return [Types::CapacityReservationRequest]
7202
+ #
7101
7203
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/InstanceLaunchTemplateUpdate AWS API Documentation
7102
7204
  #
7103
7205
  class InstanceLaunchTemplateUpdate < Struct.new(
7104
7206
  :ec2_instance_profile_arn,
7105
7207
  :network_configuration,
7106
7208
  :storage_configuration,
7209
+ :instance_metadata_tags_propagation,
7107
7210
  :monitoring,
7108
- :instance_requirements)
7211
+ :instance_requirements,
7212
+ :capacity_reservations)
7109
7213
  SENSITIVE = []
7110
7214
  include Aws::Structure
7111
7215
  end
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.221.0'
58
+ GEM_VERSION = '1.223.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -111,7 +111,8 @@ module Aws
111
111
  storage_size_gi_b: ::Integer?
112
112
  }?,
113
113
  monitoring: ("BASIC" | "DETAILED")?,
114
- capacity_option_type: ("ON_DEMAND" | "SPOT")?,
114
+ capacity_option_type: ("ON_DEMAND" | "SPOT" | "RESERVED")?,
115
+ instance_metadata_tags_propagation: bool?,
115
116
  instance_requirements: {
116
117
  v_cpu_count: {
117
118
  min: ::Integer,
@@ -165,7 +166,11 @@ module Aws
165
166
  allowed_instance_types: Array[::String]?,
166
167
  max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
167
168
  }?,
168
- fips_enabled: bool?
169
+ fips_enabled: bool?,
170
+ capacity_reservations: {
171
+ reservation_group_arn: ::String?,
172
+ reservation_preference: ("RESERVATIONS_ONLY" | "RESERVATIONS_FIRST" | "RESERVATIONS_EXCLUDED")?
173
+ }?
169
174
  },
170
175
  propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?,
171
176
  infrastructure_optimization: {
@@ -1755,6 +1760,7 @@ module Aws
1755
1760
  storage_configuration: {
1756
1761
  storage_size_gi_b: ::Integer?
1757
1762
  }?,
1763
+ instance_metadata_tags_propagation: bool?,
1758
1764
  monitoring: ("BASIC" | "DETAILED")?,
1759
1765
  instance_requirements: {
1760
1766
  v_cpu_count: {
@@ -1808,6 +1814,10 @@ module Aws
1808
1814
  }?,
1809
1815
  allowed_instance_types: Array[::String]?,
1810
1816
  max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
1817
+ }?,
1818
+ capacity_reservations: {
1819
+ reservation_group_arn: ::String?,
1820
+ reservation_preference: ("RESERVATIONS_ONLY" | "RESERVATIONS_FIRST" | "RESERVATIONS_EXCLUDED")?
1811
1821
  }?
1812
1822
  },
1813
1823
  propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?,
data/sig/types.rbs CHANGED
@@ -114,6 +114,12 @@ module Aws::ECS
114
114
  SENSITIVE: []
115
115
  end
116
116
 
117
+ class CapacityReservationRequest
118
+ attr_accessor reservation_group_arn: ::String
119
+ attr_accessor reservation_preference: ("RESERVATIONS_ONLY" | "RESERVATIONS_FIRST" | "RESERVATIONS_EXCLUDED")
120
+ SENSITIVE: []
121
+ end
122
+
117
123
  class ClientException
118
124
  attr_accessor message: ::String
119
125
  SENSITIVE: []
@@ -1018,9 +1024,11 @@ module Aws::ECS
1018
1024
  attr_accessor network_configuration: Types::ManagedInstancesNetworkConfiguration
1019
1025
  attr_accessor storage_configuration: Types::ManagedInstancesStorageConfiguration
1020
1026
  attr_accessor monitoring: ("BASIC" | "DETAILED")
1021
- attr_accessor capacity_option_type: ("ON_DEMAND" | "SPOT")
1027
+ attr_accessor capacity_option_type: ("ON_DEMAND" | "SPOT" | "RESERVED")
1028
+ attr_accessor instance_metadata_tags_propagation: bool
1022
1029
  attr_accessor instance_requirements: Types::InstanceRequirementsRequest
1023
1030
  attr_accessor fips_enabled: bool
1031
+ attr_accessor capacity_reservations: Types::CapacityReservationRequest
1024
1032
  SENSITIVE: []
1025
1033
  end
1026
1034
 
@@ -1028,8 +1036,10 @@ module Aws::ECS
1028
1036
  attr_accessor ec2_instance_profile_arn: ::String
1029
1037
  attr_accessor network_configuration: Types::ManagedInstancesNetworkConfiguration
1030
1038
  attr_accessor storage_configuration: Types::ManagedInstancesStorageConfiguration
1039
+ attr_accessor instance_metadata_tags_propagation: bool
1031
1040
  attr_accessor monitoring: ("BASIC" | "DETAILED")
1032
1041
  attr_accessor instance_requirements: Types::InstanceRequirementsRequest
1042
+ attr_accessor capacity_reservations: Types::CapacityReservationRequest
1033
1043
  SENSITIVE: []
1034
1044
  end
1035
1045
 
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.221.0
4
+ version: 1.223.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services