aws-sdk-ecs 1.203.0 → 1.206.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +445 -57
- data/lib/aws-sdk-ecs/client_api.rb +180 -2
- data/lib/aws-sdk-ecs/customizations.rb +0 -8
- data/lib/aws-sdk-ecs/errors.rb +11 -0
- data/lib/aws-sdk-ecs/types.rb +812 -7
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +155 -11
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +160 -15
- metadata +1 -1
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -483,14 +483,11 @@ module Aws::ECS
|
|
483
483
|
|
484
484
|
# @!group API Operations
|
485
485
|
|
486
|
-
# Creates a
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
# Amazon ECS tasks on Fargate use the `FARGATE` and `FARGATE_SPOT`
|
492
|
-
# capacity providers. These providers are available to all accounts in
|
493
|
-
# the Amazon Web Services Regions that Fargate supports.
|
486
|
+
# Creates a capacity provider. Capacity providers are associated with a
|
487
|
+
# cluster and are used in capacity provider strategies to facilitate
|
488
|
+
# cluster auto scaling. You can create capacity providers for Amazon ECS
|
489
|
+
# Managed Instances and EC2 instances. Fargate has the predefined
|
490
|
+
# `FARGATE` and `FARGATE_SPOT` capacity providers.
|
494
491
|
#
|
495
492
|
# @option params [required, String] :name
|
496
493
|
# The name of the capacity provider. Up to 255 characters are allowed.
|
@@ -498,9 +495,20 @@ module Aws::ECS
|
|
498
495
|
# underscores (\_), and hyphens (-). The name can't be prefixed with
|
499
496
|
# "`aws`", "`ecs`", or "`fargate`".
|
500
497
|
#
|
501
|
-
# @option params [
|
498
|
+
# @option params [String] :cluster
|
499
|
+
# The name of the cluster to associate with the capacity provider. When
|
500
|
+
# you create a capacity provider with Amazon ECS Managed Instances, it
|
501
|
+
# becomes available only within the specified cluster.
|
502
|
+
#
|
503
|
+
# @option params [Types::AutoScalingGroupProvider] :auto_scaling_group_provider
|
502
504
|
# The details of the Auto Scaling group for the capacity provider.
|
503
505
|
#
|
506
|
+
# @option params [Types::CreateManagedInstancesProviderConfiguration] :managed_instances_provider
|
507
|
+
# The configuration for the Amazon ECS Managed Instances provider. This
|
508
|
+
# configuration specifies how Amazon ECS manages Amazon EC2 instances on
|
509
|
+
# your behalf, including the infrastructure role, instance launch
|
510
|
+
# template, and tag propagation settings.
|
511
|
+
#
|
504
512
|
# @option params [Array<Types::Tag>] :tags
|
505
513
|
# The metadata that you apply to the capacity provider to categorize and
|
506
514
|
# organize them more conveniently. Each tag consists of a key and an
|
@@ -579,7 +587,8 @@ module Aws::ECS
|
|
579
587
|
#
|
580
588
|
# resp = client.create_capacity_provider({
|
581
589
|
# name: "String", # required
|
582
|
-
#
|
590
|
+
# cluster: "String",
|
591
|
+
# auto_scaling_group_provider: {
|
583
592
|
# auto_scaling_group_arn: "String", # required
|
584
593
|
# managed_scaling: {
|
585
594
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
@@ -591,6 +600,74 @@ module Aws::ECS
|
|
591
600
|
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
592
601
|
# managed_draining: "ENABLED", # accepts ENABLED, DISABLED
|
593
602
|
# },
|
603
|
+
# managed_instances_provider: {
|
604
|
+
# infrastructure_role_arn: "String", # required
|
605
|
+
# instance_launch_template: { # required
|
606
|
+
# ec2_instance_profile_arn: "String", # required
|
607
|
+
# network_configuration: { # required
|
608
|
+
# subnets: ["String"],
|
609
|
+
# security_groups: ["String"],
|
610
|
+
# },
|
611
|
+
# storage_configuration: {
|
612
|
+
# storage_size_gi_b: 1,
|
613
|
+
# },
|
614
|
+
# monitoring: "BASIC", # accepts BASIC, DETAILED
|
615
|
+
# instance_requirements: {
|
616
|
+
# v_cpu_count: { # required
|
617
|
+
# min: 1, # required
|
618
|
+
# max: 1,
|
619
|
+
# },
|
620
|
+
# memory_mi_b: { # required
|
621
|
+
# min: 1, # required
|
622
|
+
# max: 1,
|
623
|
+
# },
|
624
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
625
|
+
# memory_gi_b_per_v_cpu: {
|
626
|
+
# min: 1.0,
|
627
|
+
# max: 1.0,
|
628
|
+
# },
|
629
|
+
# excluded_instance_types: ["ExcludedInstanceType"],
|
630
|
+
# instance_generations: ["current"], # accepts current, previous
|
631
|
+
# spot_max_price_percentage_over_lowest_price: 1,
|
632
|
+
# on_demand_max_price_percentage_over_lowest_price: 1,
|
633
|
+
# bare_metal: "included", # accepts included, required, excluded
|
634
|
+
# burstable_performance: "included", # accepts included, required, excluded
|
635
|
+
# require_hibernate_support: false,
|
636
|
+
# network_interface_count: {
|
637
|
+
# min: 1,
|
638
|
+
# max: 1,
|
639
|
+
# },
|
640
|
+
# local_storage: "included", # accepts included, required, excluded
|
641
|
+
# local_storage_types: ["hdd"], # accepts hdd, ssd
|
642
|
+
# total_local_storage_gb: {
|
643
|
+
# min: 1.0,
|
644
|
+
# max: 1.0,
|
645
|
+
# },
|
646
|
+
# baseline_ebs_bandwidth_mbps: {
|
647
|
+
# min: 1,
|
648
|
+
# max: 1,
|
649
|
+
# },
|
650
|
+
# accelerator_types: ["gpu"], # accepts gpu, fpga, inference
|
651
|
+
# accelerator_count: {
|
652
|
+
# min: 1,
|
653
|
+
# max: 1,
|
654
|
+
# },
|
655
|
+
# accelerator_manufacturers: ["amazon-web-services"], # accepts amazon-web-services, amd, nvidia, xilinx, habana
|
656
|
+
# accelerator_names: ["a100"], # accepts a100, inferentia, k520, k80, m60, radeon-pro-v520, t4, vu9p, v100, a10g, h100, t4g
|
657
|
+
# accelerator_total_memory_mi_b: {
|
658
|
+
# min: 1,
|
659
|
+
# max: 1,
|
660
|
+
# },
|
661
|
+
# network_bandwidth_gbps: {
|
662
|
+
# min: 1.0,
|
663
|
+
# max: 1.0,
|
664
|
+
# },
|
665
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
666
|
+
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
667
|
+
# },
|
668
|
+
# },
|
669
|
+
# propagate_tags: "CAPACITY_PROVIDER", # accepts CAPACITY_PROVIDER, NONE
|
670
|
+
# },
|
594
671
|
# tags: [
|
595
672
|
# {
|
596
673
|
# key: "TagKey",
|
@@ -603,7 +680,8 @@ module Aws::ECS
|
|
603
680
|
#
|
604
681
|
# resp.capacity_provider.capacity_provider_arn #=> String
|
605
682
|
# resp.capacity_provider.name #=> String
|
606
|
-
# resp.capacity_provider.
|
683
|
+
# resp.capacity_provider.cluster #=> String
|
684
|
+
# resp.capacity_provider.status #=> String, one of "PROVISIONING", "ACTIVE", "DEPROVISIONING", "INACTIVE"
|
607
685
|
# resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
608
686
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
609
687
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
@@ -612,11 +690,62 @@ module Aws::ECS
|
|
612
690
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
613
691
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
614
692
|
# resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
|
615
|
-
# resp.capacity_provider.
|
693
|
+
# resp.capacity_provider.managed_instances_provider.infrastructure_role_arn #=> String
|
694
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.ec2_instance_profile_arn #=> String
|
695
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets #=> Array
|
696
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets[0] #=> String
|
697
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups #=> Array
|
698
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
|
699
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
|
700
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
|
701
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
|
702
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
|
703
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
|
704
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.max #=> Integer
|
705
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers #=> Array
|
706
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
707
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
708
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
709
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types #=> Array
|
710
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types[0] #=> String
|
711
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations #=> Array
|
712
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
|
713
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
|
714
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
|
715
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
|
716
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
|
717
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.require_hibernate_support #=> Boolean
|
718
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.min #=> Integer
|
719
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.max #=> Integer
|
720
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
|
721
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types #=> Array
|
722
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
|
723
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.min #=> Float
|
724
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.max #=> Float
|
725
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
|
726
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
|
727
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types #=> Array
|
728
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
|
729
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.min #=> Integer
|
730
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.max #=> Integer
|
731
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers #=> Array
|
732
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers[0] #=> String, one of "amazon-web-services", "amd", "nvidia", "xilinx", "habana"
|
733
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names #=> Array
|
734
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names[0] #=> String, one of "a100", "inferentia", "k520", "k80", "m60", "radeon-pro-v520", "t4", "vu9p", "v100", "a10g", "h100", "t4g"
|
735
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
736
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
737
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.min #=> Float
|
738
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.max #=> Float
|
739
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types #=> Array
|
740
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
|
741
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
742
|
+
# resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
743
|
+
# 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"
|
616
744
|
# resp.capacity_provider.update_status_reason #=> String
|
617
745
|
# resp.capacity_provider.tags #=> Array
|
618
746
|
# resp.capacity_provider.tags[0].key #=> String
|
619
747
|
# resp.capacity_provider.tags[0].value #=> String
|
748
|
+
# resp.capacity_provider.type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
|
620
749
|
#
|
621
750
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCapacityProvider AWS API Documentation
|
622
751
|
#
|
@@ -1582,7 +1711,7 @@ module Aws::ECS
|
|
1582
1711
|
# ],
|
1583
1712
|
# desired_count: 1,
|
1584
1713
|
# client_token: "String",
|
1585
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
1714
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
1586
1715
|
# capacity_provider_strategy: [
|
1587
1716
|
# {
|
1588
1717
|
# capacity_provider: "String", # required
|
@@ -1611,6 +1740,8 @@ module Aws::ECS
|
|
1611
1740
|
# hook_target_arn: "String",
|
1612
1741
|
# role_arn: "IAMRoleArn",
|
1613
1742
|
# lifecycle_stages: ["RECONCILE_SERVICE"], # accepts RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT
|
1743
|
+
# hook_details: {
|
1744
|
+
# },
|
1614
1745
|
# },
|
1615
1746
|
# ],
|
1616
1747
|
# },
|
@@ -1756,7 +1887,7 @@ module Aws::ECS
|
|
1756
1887
|
# resp.service.desired_count #=> Integer
|
1757
1888
|
# resp.service.running_count #=> Integer
|
1758
1889
|
# resp.service.pending_count #=> Integer
|
1759
|
-
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
1890
|
+
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
1760
1891
|
# resp.service.capacity_provider_strategy #=> Array
|
1761
1892
|
# resp.service.capacity_provider_strategy[0].capacity_provider #=> String
|
1762
1893
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
@@ -1793,7 +1924,7 @@ module Aws::ECS
|
|
1793
1924
|
# resp.service.task_sets[0].running_count #=> Integer
|
1794
1925
|
# resp.service.task_sets[0].created_at #=> Time
|
1795
1926
|
# resp.service.task_sets[0].updated_at #=> Time
|
1796
|
-
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
1927
|
+
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
1797
1928
|
# resp.service.task_sets[0].capacity_provider_strategy #=> Array
|
1798
1929
|
# resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
|
1799
1930
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -1841,7 +1972,7 @@ module Aws::ECS
|
|
1841
1972
|
# resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
|
1842
1973
|
# resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
|
1843
1974
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
1844
|
-
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
1975
|
+
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
1845
1976
|
# resp.service.deployments[0].platform_version #=> String
|
1846
1977
|
# resp.service.deployments[0].platform_family #=> String
|
1847
1978
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
@@ -2180,7 +2311,7 @@ module Aws::ECS
|
|
2180
2311
|
# container_port: 1,
|
2181
2312
|
# },
|
2182
2313
|
# ],
|
2183
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
2314
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
2184
2315
|
# capacity_provider_strategy: [
|
2185
2316
|
# {
|
2186
2317
|
# capacity_provider: "String", # required
|
@@ -2217,7 +2348,7 @@ module Aws::ECS
|
|
2217
2348
|
# resp.task_set.running_count #=> Integer
|
2218
2349
|
# resp.task_set.created_at #=> Time
|
2219
2350
|
# resp.task_set.updated_at #=> Time
|
2220
|
-
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2351
|
+
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
2221
2352
|
# resp.task_set.capacity_provider_strategy #=> Array
|
2222
2353
|
# resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
|
2223
2354
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
@@ -2452,6 +2583,11 @@ module Aws::ECS
|
|
2452
2583
|
# The short name or full Amazon Resource Name (ARN) of the capacity
|
2453
2584
|
# provider to delete.
|
2454
2585
|
#
|
2586
|
+
# @option params [String] :cluster
|
2587
|
+
# The name of the cluster that contains the capacity provider to delete.
|
2588
|
+
# Managed instances capacity providers are cluster-scoped and can only
|
2589
|
+
# be deleted from their associated cluster.
|
2590
|
+
#
|
2455
2591
|
# @return [Types::DeleteCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2456
2592
|
#
|
2457
2593
|
# * {Types::DeleteCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
|
@@ -2491,13 +2627,15 @@ module Aws::ECS
|
|
2491
2627
|
#
|
2492
2628
|
# resp = client.delete_capacity_provider({
|
2493
2629
|
# capacity_provider: "String", # required
|
2630
|
+
# cluster: "String",
|
2494
2631
|
# })
|
2495
2632
|
#
|
2496
2633
|
# @example Response structure
|
2497
2634
|
#
|
2498
2635
|
# resp.capacity_provider.capacity_provider_arn #=> String
|
2499
2636
|
# resp.capacity_provider.name #=> String
|
2500
|
-
# resp.capacity_provider.
|
2637
|
+
# resp.capacity_provider.cluster #=> String
|
2638
|
+
# resp.capacity_provider.status #=> String, one of "PROVISIONING", "ACTIVE", "DEPROVISIONING", "INACTIVE"
|
2501
2639
|
# resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
2502
2640
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
2503
2641
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
@@ -2506,11 +2644,62 @@ module Aws::ECS
|
|
2506
2644
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
2507
2645
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
2508
2646
|
# resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
|
2509
|
-
# resp.capacity_provider.
|
2647
|
+
# resp.capacity_provider.managed_instances_provider.infrastructure_role_arn #=> String
|
2648
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.ec2_instance_profile_arn #=> String
|
2649
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets #=> Array
|
2650
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets[0] #=> String
|
2651
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups #=> Array
|
2652
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
|
2653
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
|
2654
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
|
2655
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
|
2656
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
|
2657
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
|
2658
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.max #=> Integer
|
2659
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers #=> Array
|
2660
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
2661
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
2662
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
2663
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types #=> Array
|
2664
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types[0] #=> String
|
2665
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations #=> Array
|
2666
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
|
2667
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
|
2668
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
|
2669
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
|
2670
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
|
2671
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.require_hibernate_support #=> Boolean
|
2672
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.min #=> Integer
|
2673
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.max #=> Integer
|
2674
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
|
2675
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types #=> Array
|
2676
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
|
2677
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.min #=> Float
|
2678
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.max #=> Float
|
2679
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
|
2680
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
|
2681
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types #=> Array
|
2682
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
|
2683
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.min #=> Integer
|
2684
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.max #=> Integer
|
2685
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers #=> Array
|
2686
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers[0] #=> String, one of "amazon-web-services", "amd", "nvidia", "xilinx", "habana"
|
2687
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names #=> Array
|
2688
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names[0] #=> String, one of "a100", "inferentia", "k520", "k80", "m60", "radeon-pro-v520", "t4", "vu9p", "v100", "a10g", "h100", "t4g"
|
2689
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
2690
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
2691
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.min #=> Float
|
2692
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.max #=> Float
|
2693
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types #=> Array
|
2694
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
|
2695
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
2696
|
+
# resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
2697
|
+
# 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"
|
2510
2698
|
# resp.capacity_provider.update_status_reason #=> String
|
2511
2699
|
# resp.capacity_provider.tags #=> Array
|
2512
2700
|
# resp.capacity_provider.tags[0].key #=> String
|
2513
2701
|
# resp.capacity_provider.tags[0].value #=> String
|
2702
|
+
# resp.capacity_provider.type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
|
2514
2703
|
#
|
2515
2704
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProvider AWS API Documentation
|
2516
2705
|
#
|
@@ -2717,7 +2906,7 @@ module Aws::ECS
|
|
2717
2906
|
# resp.service.desired_count #=> Integer
|
2718
2907
|
# resp.service.running_count #=> Integer
|
2719
2908
|
# resp.service.pending_count #=> Integer
|
2720
|
-
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2909
|
+
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
2721
2910
|
# resp.service.capacity_provider_strategy #=> Array
|
2722
2911
|
# resp.service.capacity_provider_strategy[0].capacity_provider #=> String
|
2723
2912
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
@@ -2754,7 +2943,7 @@ module Aws::ECS
|
|
2754
2943
|
# resp.service.task_sets[0].running_count #=> Integer
|
2755
2944
|
# resp.service.task_sets[0].created_at #=> Time
|
2756
2945
|
# resp.service.task_sets[0].updated_at #=> Time
|
2757
|
-
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2946
|
+
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
2758
2947
|
# resp.service.task_sets[0].capacity_provider_strategy #=> Array
|
2759
2948
|
# resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
|
2760
2949
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -2802,7 +2991,7 @@ module Aws::ECS
|
|
2802
2991
|
# resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
|
2803
2992
|
# resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
|
2804
2993
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
2805
|
-
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
2994
|
+
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
2806
2995
|
# resp.service.deployments[0].platform_version #=> String
|
2807
2996
|
# resp.service.deployments[0].platform_family #=> String
|
2808
2997
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
@@ -3150,11 +3339,11 @@ module Aws::ECS
|
|
3150
3339
|
# resp.task_definitions[0].placement_constraints[0].type #=> String, one of "memberOf"
|
3151
3340
|
# resp.task_definitions[0].placement_constraints[0].expression #=> String
|
3152
3341
|
# resp.task_definitions[0].compatibilities #=> Array
|
3153
|
-
# resp.task_definitions[0].compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3342
|
+
# resp.task_definitions[0].compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
3154
3343
|
# resp.task_definitions[0].runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
3155
3344
|
# resp.task_definitions[0].runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
|
3156
3345
|
# resp.task_definitions[0].requires_compatibilities #=> Array
|
3157
|
-
# resp.task_definitions[0].requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3346
|
+
# resp.task_definitions[0].requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
3158
3347
|
# resp.task_definitions[0].cpu #=> String
|
3159
3348
|
# resp.task_definitions[0].memory #=> String
|
3160
3349
|
# resp.task_definitions[0].inference_accelerators #=> Array
|
@@ -3288,7 +3477,7 @@ module Aws::ECS
|
|
3288
3477
|
# resp.task_set.running_count #=> Integer
|
3289
3478
|
# resp.task_set.created_at #=> Time
|
3290
3479
|
# resp.task_set.updated_at #=> Time
|
3291
|
-
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3480
|
+
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
3292
3481
|
# resp.task_set.capacity_provider_strategy #=> Array
|
3293
3482
|
# resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
|
3294
3483
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
@@ -3702,11 +3891,11 @@ module Aws::ECS
|
|
3702
3891
|
# resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
|
3703
3892
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
3704
3893
|
# resp.task_definition.compatibilities #=> Array
|
3705
|
-
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3894
|
+
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
3706
3895
|
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
3707
3896
|
# resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
|
3708
3897
|
# resp.task_definition.requires_compatibilities #=> Array
|
3709
|
-
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
3898
|
+
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
3710
3899
|
# resp.task_definition.cpu #=> String
|
3711
3900
|
# resp.task_definition.memory #=> String
|
3712
3901
|
# resp.task_definition.inference_accelerators #=> Array
|
@@ -3741,6 +3930,11 @@ module Aws::ECS
|
|
3741
3930
|
# capacity providers. Up to `100` capacity providers can be described in
|
3742
3931
|
# an action.
|
3743
3932
|
#
|
3933
|
+
# @option params [String] :cluster
|
3934
|
+
# The name of the cluster to describe capacity providers for. When
|
3935
|
+
# specified, only capacity providers associated with this cluster are
|
3936
|
+
# returned, including Amazon ECS Managed Instances capacity providers.
|
3937
|
+
#
|
3744
3938
|
# @option params [Array<String>] :include
|
3745
3939
|
# Specifies whether or not you want to see the resource tags for the
|
3746
3940
|
# capacity provider. If `TAGS` is specified, the tags are included in
|
@@ -3866,6 +4060,7 @@ module Aws::ECS
|
|
3866
4060
|
#
|
3867
4061
|
# resp = client.describe_capacity_providers({
|
3868
4062
|
# capacity_providers: ["String"],
|
4063
|
+
# cluster: "String",
|
3869
4064
|
# include: ["TAGS"], # accepts TAGS
|
3870
4065
|
# max_results: 1,
|
3871
4066
|
# next_token: "String",
|
@@ -3876,7 +4071,8 @@ module Aws::ECS
|
|
3876
4071
|
# resp.capacity_providers #=> Array
|
3877
4072
|
# resp.capacity_providers[0].capacity_provider_arn #=> String
|
3878
4073
|
# resp.capacity_providers[0].name #=> String
|
3879
|
-
# resp.capacity_providers[0].
|
4074
|
+
# resp.capacity_providers[0].cluster #=> String
|
4075
|
+
# resp.capacity_providers[0].status #=> String, one of "PROVISIONING", "ACTIVE", "DEPROVISIONING", "INACTIVE"
|
3880
4076
|
# resp.capacity_providers[0].auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
3881
4077
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
3882
4078
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
@@ -3885,11 +4081,62 @@ module Aws::ECS
|
|
3885
4081
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
3886
4082
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
3887
4083
|
# resp.capacity_providers[0].auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
|
3888
|
-
# resp.capacity_providers[0].
|
4084
|
+
# resp.capacity_providers[0].managed_instances_provider.infrastructure_role_arn #=> String
|
4085
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.ec2_instance_profile_arn #=> String
|
4086
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.subnets #=> Array
|
4087
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.subnets[0] #=> String
|
4088
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.security_groups #=> Array
|
4089
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
|
4090
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
|
4091
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
|
4092
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
|
4093
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
|
4094
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
|
4095
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.max #=> Integer
|
4096
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers #=> Array
|
4097
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
4098
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
4099
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
4100
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types #=> Array
|
4101
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types[0] #=> String
|
4102
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.instance_generations #=> Array
|
4103
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
|
4104
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
|
4105
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
|
4106
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
|
4107
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
|
4108
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.require_hibernate_support #=> Boolean
|
4109
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.min #=> Integer
|
4110
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.max #=> Integer
|
4111
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
|
4112
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types #=> Array
|
4113
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
|
4114
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.min #=> Float
|
4115
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.max #=> Float
|
4116
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
|
4117
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
|
4118
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types #=> Array
|
4119
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
|
4120
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.min #=> Integer
|
4121
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.max #=> Integer
|
4122
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers #=> Array
|
4123
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers[0] #=> String, one of "amazon-web-services", "amd", "nvidia", "xilinx", "habana"
|
4124
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names #=> Array
|
4125
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names[0] #=> String, one of "a100", "inferentia", "k520", "k80", "m60", "radeon-pro-v520", "t4", "vu9p", "v100", "a10g", "h100", "t4g"
|
4126
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
4127
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
4128
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.min #=> Float
|
4129
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.max #=> Float
|
4130
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types #=> Array
|
4131
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
|
4132
|
+
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
4133
|
+
# resp.capacity_providers[0].managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
4134
|
+
# 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"
|
3889
4135
|
# resp.capacity_providers[0].update_status_reason #=> String
|
3890
4136
|
# resp.capacity_providers[0].tags #=> Array
|
3891
4137
|
# resp.capacity_providers[0].tags[0].key #=> String
|
3892
4138
|
# resp.capacity_providers[0].tags[0].value #=> String
|
4139
|
+
# resp.capacity_providers[0].type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
|
3893
4140
|
# resp.failures #=> Array
|
3894
4141
|
# resp.failures[0].arn #=> String
|
3895
4142
|
# resp.failures[0].reason #=> String
|
@@ -4439,7 +4686,7 @@ module Aws::ECS
|
|
4439
4686
|
# resp.service_revisions[0].capacity_provider_strategy[0].capacity_provider #=> String
|
4440
4687
|
# resp.service_revisions[0].capacity_provider_strategy[0].weight #=> Integer
|
4441
4688
|
# resp.service_revisions[0].capacity_provider_strategy[0].base #=> Integer
|
4442
|
-
# resp.service_revisions[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
4689
|
+
# resp.service_revisions[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
4443
4690
|
# resp.service_revisions[0].platform_version #=> String
|
4444
4691
|
# resp.service_revisions[0].platform_family #=> String
|
4445
4692
|
# resp.service_revisions[0].load_balancers #=> Array
|
@@ -4639,7 +4886,7 @@ module Aws::ECS
|
|
4639
4886
|
# resp.services[0].desired_count #=> Integer
|
4640
4887
|
# resp.services[0].running_count #=> Integer
|
4641
4888
|
# resp.services[0].pending_count #=> Integer
|
4642
|
-
# resp.services[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
4889
|
+
# resp.services[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
4643
4890
|
# resp.services[0].capacity_provider_strategy #=> Array
|
4644
4891
|
# resp.services[0].capacity_provider_strategy[0].capacity_provider #=> String
|
4645
4892
|
# resp.services[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -4676,7 +4923,7 @@ module Aws::ECS
|
|
4676
4923
|
# resp.services[0].task_sets[0].running_count #=> Integer
|
4677
4924
|
# resp.services[0].task_sets[0].created_at #=> Time
|
4678
4925
|
# resp.services[0].task_sets[0].updated_at #=> Time
|
4679
|
-
# resp.services[0].task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
4926
|
+
# resp.services[0].task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
4680
4927
|
# resp.services[0].task_sets[0].capacity_provider_strategy #=> Array
|
4681
4928
|
# resp.services[0].task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
|
4682
4929
|
# resp.services[0].task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -4724,7 +4971,7 @@ module Aws::ECS
|
|
4724
4971
|
# resp.services[0].deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
|
4725
4972
|
# resp.services[0].deployments[0].capacity_provider_strategy[0].weight #=> Integer
|
4726
4973
|
# resp.services[0].deployments[0].capacity_provider_strategy[0].base #=> Integer
|
4727
|
-
# resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
4974
|
+
# resp.services[0].deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
4728
4975
|
# resp.services[0].deployments[0].platform_version #=> String
|
4729
4976
|
# resp.services[0].deployments[0].platform_family #=> String
|
4730
4977
|
# resp.services[0].deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
@@ -5075,11 +5322,11 @@ module Aws::ECS
|
|
5075
5322
|
# resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
|
5076
5323
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
5077
5324
|
# resp.task_definition.compatibilities #=> Array
|
5078
|
-
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
5325
|
+
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
5079
5326
|
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
5080
5327
|
# resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
|
5081
5328
|
# resp.task_definition.requires_compatibilities #=> Array
|
5082
|
-
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
5329
|
+
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
5083
5330
|
# resp.task_definition.cpu #=> String
|
5084
5331
|
# resp.task_definition.memory #=> String
|
5085
5332
|
# resp.task_definition.inference_accelerators #=> Array
|
@@ -5219,7 +5466,7 @@ module Aws::ECS
|
|
5219
5466
|
# resp.task_sets[0].running_count #=> Integer
|
5220
5467
|
# resp.task_sets[0].created_at #=> Time
|
5221
5468
|
# resp.task_sets[0].updated_at #=> Time
|
5222
|
-
# resp.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
5469
|
+
# resp.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
5223
5470
|
# resp.task_sets[0].capacity_provider_strategy #=> Array
|
5224
5471
|
# resp.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
|
5225
5472
|
# resp.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -5417,7 +5664,7 @@ module Aws::ECS
|
|
5417
5664
|
# resp.tasks[0].inference_accelerators[0].device_name #=> String
|
5418
5665
|
# resp.tasks[0].inference_accelerators[0].device_type #=> String
|
5419
5666
|
# resp.tasks[0].last_status #=> String
|
5420
|
-
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
5667
|
+
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
5421
5668
|
# resp.tasks[0].memory #=> String
|
5422
5669
|
# resp.tasks[0].overrides.container_overrides #=> Array
|
5423
5670
|
# resp.tasks[0].overrides.container_overrides[0].name #=> String
|
@@ -6313,7 +6560,7 @@ module Aws::ECS
|
|
6313
6560
|
# cluster: "String",
|
6314
6561
|
# next_token: "String",
|
6315
6562
|
# max_results: 1,
|
6316
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
6563
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
6317
6564
|
# scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
|
6318
6565
|
# })
|
6319
6566
|
#
|
@@ -6820,7 +7067,7 @@ module Aws::ECS
|
|
6820
7067
|
# started_by: "String",
|
6821
7068
|
# service_name: "String",
|
6822
7069
|
# desired_status: "RUNNING", # accepts RUNNING, PENDING, STOPPED
|
6823
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
7070
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
6824
7071
|
# })
|
6825
7072
|
#
|
6826
7073
|
# @example Response structure
|
@@ -7383,6 +7630,10 @@ module Aws::ECS
|
|
7383
7630
|
# default capacity provider strategy for your cluster. However, you must
|
7384
7631
|
# specify an empty array (`[]`) to bypass defining a default strategy.
|
7385
7632
|
#
|
7633
|
+
# Amazon ECS Managed Instances doesn't support this, because when you
|
7634
|
+
# create a capacity provider with Amazon ECS Managed Instances, it
|
7635
|
+
# becomes available only within the specified cluster.
|
7636
|
+
#
|
7386
7637
|
#
|
7387
7638
|
#
|
7388
7639
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
|
@@ -8553,7 +8804,7 @@ module Aws::ECS
|
|
8553
8804
|
# expression: "String",
|
8554
8805
|
# },
|
8555
8806
|
# ],
|
8556
|
-
# requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL
|
8807
|
+
# requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
8557
8808
|
# cpu: "String",
|
8558
8809
|
# memory: "String",
|
8559
8810
|
# tags: [
|
@@ -8740,11 +8991,11 @@ module Aws::ECS
|
|
8740
8991
|
# resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
|
8741
8992
|
# resp.task_definition.placement_constraints[0].expression #=> String
|
8742
8993
|
# resp.task_definition.compatibilities #=> Array
|
8743
|
-
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
8994
|
+
# resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
8744
8995
|
# resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
|
8745
8996
|
# resp.task_definition.runtime_platform.operating_system_family #=> String, one of "WINDOWS_SERVER_2019_FULL", "WINDOWS_SERVER_2019_CORE", "WINDOWS_SERVER_2016_FULL", "WINDOWS_SERVER_2004_CORE", "WINDOWS_SERVER_2022_CORE", "WINDOWS_SERVER_2022_FULL", "WINDOWS_SERVER_2025_CORE", "WINDOWS_SERVER_2025_FULL", "WINDOWS_SERVER_20H2_CORE", "LINUX"
|
8746
8997
|
# resp.task_definition.requires_compatibilities #=> Array
|
8747
|
-
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
8998
|
+
# resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
8748
8999
|
# resp.task_definition.cpu #=> String
|
8749
9000
|
# resp.task_definition.memory #=> String
|
8750
9001
|
# resp.task_definition.inference_accelerators #=> Array
|
@@ -9146,7 +9397,7 @@ module Aws::ECS
|
|
9146
9397
|
# enable_ecs_managed_tags: false,
|
9147
9398
|
# enable_execute_command: false,
|
9148
9399
|
# group: "String",
|
9149
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
9400
|
+
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL, MANAGED_INSTANCES
|
9150
9401
|
# network_configuration: {
|
9151
9402
|
# awsvpc_configuration: {
|
9152
9403
|
# subnets: ["String"], # required
|
@@ -9318,7 +9569,7 @@ module Aws::ECS
|
|
9318
9569
|
# resp.tasks[0].inference_accelerators[0].device_name #=> String
|
9319
9570
|
# resp.tasks[0].inference_accelerators[0].device_type #=> String
|
9320
9571
|
# resp.tasks[0].last_status #=> String
|
9321
|
-
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
9572
|
+
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
9322
9573
|
# resp.tasks[0].memory #=> String
|
9323
9574
|
# resp.tasks[0].overrides.container_overrides #=> Array
|
9324
9575
|
# resp.tasks[0].overrides.container_overrides[0].name #=> String
|
@@ -9751,7 +10002,7 @@ module Aws::ECS
|
|
9751
10002
|
# resp.tasks[0].inference_accelerators[0].device_name #=> String
|
9752
10003
|
# resp.tasks[0].inference_accelerators[0].device_type #=> String
|
9753
10004
|
# resp.tasks[0].last_status #=> String
|
9754
|
-
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
10005
|
+
# resp.tasks[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
9755
10006
|
# resp.tasks[0].memory #=> String
|
9756
10007
|
# resp.tasks[0].overrides.container_overrides #=> Array
|
9757
10008
|
# resp.tasks[0].overrides.container_overrides[0].name #=> String
|
@@ -10056,7 +10307,7 @@ module Aws::ECS
|
|
10056
10307
|
# resp.task.inference_accelerators[0].device_name #=> String
|
10057
10308
|
# resp.task.inference_accelerators[0].device_type #=> String
|
10058
10309
|
# resp.task.last_status #=> String
|
10059
|
-
# resp.task.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
10310
|
+
# resp.task.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
10060
10311
|
# resp.task.memory #=> String
|
10061
10312
|
# resp.task.overrides.container_overrides #=> Array
|
10062
10313
|
# resp.task.overrides.container_overrides[0].name #=> String
|
@@ -10472,13 +10723,27 @@ module Aws::ECS
|
|
10472
10723
|
|
10473
10724
|
# Modifies the parameters for a capacity provider.
|
10474
10725
|
#
|
10726
|
+
# These changes only apply to new Amazon ECS Managed Instances, or EC2
|
10727
|
+
# instances, not existing ones.
|
10728
|
+
#
|
10475
10729
|
# @option params [required, String] :name
|
10476
10730
|
# The name of the capacity provider to update.
|
10477
10731
|
#
|
10478
|
-
# @option params [
|
10732
|
+
# @option params [String] :cluster
|
10733
|
+
# The name of the cluster that contains the capacity provider to update.
|
10734
|
+
# Managed instances capacity providers are cluster-scoped and can only
|
10735
|
+
# be updated within their associated cluster.
|
10736
|
+
#
|
10737
|
+
# @option params [Types::AutoScalingGroupProviderUpdate] :auto_scaling_group_provider
|
10479
10738
|
# An object that represent the parameters to update for the Auto Scaling
|
10480
10739
|
# group capacity provider.
|
10481
10740
|
#
|
10741
|
+
# @option params [Types::UpdateManagedInstancesProviderConfiguration] :managed_instances_provider
|
10742
|
+
# The updated configuration for the Amazon ECS Managed Instances
|
10743
|
+
# provider. You can modify the infrastructure role, instance launch
|
10744
|
+
# template, and tag propagation settings. Changes take effect for new
|
10745
|
+
# instances launched after the update.
|
10746
|
+
#
|
10482
10747
|
# @return [Types::UpdateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10483
10748
|
#
|
10484
10749
|
# * {Types::UpdateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
|
@@ -10527,7 +10792,8 @@ module Aws::ECS
|
|
10527
10792
|
#
|
10528
10793
|
# resp = client.update_capacity_provider({
|
10529
10794
|
# name: "String", # required
|
10530
|
-
#
|
10795
|
+
# cluster: "String",
|
10796
|
+
# auto_scaling_group_provider: {
|
10531
10797
|
# managed_scaling: {
|
10532
10798
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
10533
10799
|
# target_capacity: 1,
|
@@ -10538,13 +10804,82 @@ module Aws::ECS
|
|
10538
10804
|
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
10539
10805
|
# managed_draining: "ENABLED", # accepts ENABLED, DISABLED
|
10540
10806
|
# },
|
10807
|
+
# managed_instances_provider: {
|
10808
|
+
# infrastructure_role_arn: "String", # required
|
10809
|
+
# instance_launch_template: { # required
|
10810
|
+
# ec2_instance_profile_arn: "String",
|
10811
|
+
# network_configuration: {
|
10812
|
+
# subnets: ["String"],
|
10813
|
+
# security_groups: ["String"],
|
10814
|
+
# },
|
10815
|
+
# storage_configuration: {
|
10816
|
+
# storage_size_gi_b: 1,
|
10817
|
+
# },
|
10818
|
+
# monitoring: "BASIC", # accepts BASIC, DETAILED
|
10819
|
+
# instance_requirements: {
|
10820
|
+
# v_cpu_count: { # required
|
10821
|
+
# min: 1, # required
|
10822
|
+
# max: 1,
|
10823
|
+
# },
|
10824
|
+
# memory_mi_b: { # required
|
10825
|
+
# min: 1, # required
|
10826
|
+
# max: 1,
|
10827
|
+
# },
|
10828
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
10829
|
+
# memory_gi_b_per_v_cpu: {
|
10830
|
+
# min: 1.0,
|
10831
|
+
# max: 1.0,
|
10832
|
+
# },
|
10833
|
+
# excluded_instance_types: ["ExcludedInstanceType"],
|
10834
|
+
# instance_generations: ["current"], # accepts current, previous
|
10835
|
+
# spot_max_price_percentage_over_lowest_price: 1,
|
10836
|
+
# on_demand_max_price_percentage_over_lowest_price: 1,
|
10837
|
+
# bare_metal: "included", # accepts included, required, excluded
|
10838
|
+
# burstable_performance: "included", # accepts included, required, excluded
|
10839
|
+
# require_hibernate_support: false,
|
10840
|
+
# network_interface_count: {
|
10841
|
+
# min: 1,
|
10842
|
+
# max: 1,
|
10843
|
+
# },
|
10844
|
+
# local_storage: "included", # accepts included, required, excluded
|
10845
|
+
# local_storage_types: ["hdd"], # accepts hdd, ssd
|
10846
|
+
# total_local_storage_gb: {
|
10847
|
+
# min: 1.0,
|
10848
|
+
# max: 1.0,
|
10849
|
+
# },
|
10850
|
+
# baseline_ebs_bandwidth_mbps: {
|
10851
|
+
# min: 1,
|
10852
|
+
# max: 1,
|
10853
|
+
# },
|
10854
|
+
# accelerator_types: ["gpu"], # accepts gpu, fpga, inference
|
10855
|
+
# accelerator_count: {
|
10856
|
+
# min: 1,
|
10857
|
+
# max: 1,
|
10858
|
+
# },
|
10859
|
+
# accelerator_manufacturers: ["amazon-web-services"], # accepts amazon-web-services, amd, nvidia, xilinx, habana
|
10860
|
+
# accelerator_names: ["a100"], # accepts a100, inferentia, k520, k80, m60, radeon-pro-v520, t4, vu9p, v100, a10g, h100, t4g
|
10861
|
+
# accelerator_total_memory_mi_b: {
|
10862
|
+
# min: 1,
|
10863
|
+
# max: 1,
|
10864
|
+
# },
|
10865
|
+
# network_bandwidth_gbps: {
|
10866
|
+
# min: 1.0,
|
10867
|
+
# max: 1.0,
|
10868
|
+
# },
|
10869
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
10870
|
+
# max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
|
10871
|
+
# },
|
10872
|
+
# },
|
10873
|
+
# propagate_tags: "CAPACITY_PROVIDER", # accepts CAPACITY_PROVIDER, NONE
|
10874
|
+
# },
|
10541
10875
|
# })
|
10542
10876
|
#
|
10543
10877
|
# @example Response structure
|
10544
10878
|
#
|
10545
10879
|
# resp.capacity_provider.capacity_provider_arn #=> String
|
10546
10880
|
# resp.capacity_provider.name #=> String
|
10547
|
-
# resp.capacity_provider.
|
10881
|
+
# resp.capacity_provider.cluster #=> String
|
10882
|
+
# resp.capacity_provider.status #=> String, one of "PROVISIONING", "ACTIVE", "DEPROVISIONING", "INACTIVE"
|
10548
10883
|
# resp.capacity_provider.auto_scaling_group_provider.auto_scaling_group_arn #=> String
|
10549
10884
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.status #=> String, one of "ENABLED", "DISABLED"
|
10550
10885
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.target_capacity #=> Integer
|
@@ -10553,11 +10888,62 @@ module Aws::ECS
|
|
10553
10888
|
# resp.capacity_provider.auto_scaling_group_provider.managed_scaling.instance_warmup_period #=> Integer
|
10554
10889
|
# resp.capacity_provider.auto_scaling_group_provider.managed_termination_protection #=> String, one of "ENABLED", "DISABLED"
|
10555
10890
|
# resp.capacity_provider.auto_scaling_group_provider.managed_draining #=> String, one of "ENABLED", "DISABLED"
|
10556
|
-
# resp.capacity_provider.
|
10891
|
+
# resp.capacity_provider.managed_instances_provider.infrastructure_role_arn #=> String
|
10892
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.ec2_instance_profile_arn #=> String
|
10893
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets #=> Array
|
10894
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.subnets[0] #=> String
|
10895
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups #=> Array
|
10896
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
|
10897
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
|
10898
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
|
10899
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
|
10900
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
|
10901
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
|
10902
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.max #=> Integer
|
10903
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers #=> Array
|
10904
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
10905
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
10906
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
10907
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types #=> Array
|
10908
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.excluded_instance_types[0] #=> String
|
10909
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations #=> Array
|
10910
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
|
10911
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
|
10912
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
|
10913
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.bare_metal #=> String, one of "included", "required", "excluded"
|
10914
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.burstable_performance #=> String, one of "included", "required", "excluded"
|
10915
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.require_hibernate_support #=> Boolean
|
10916
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.min #=> Integer
|
10917
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count.max #=> Integer
|
10918
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage #=> String, one of "included", "required", "excluded"
|
10919
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types #=> Array
|
10920
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
|
10921
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.min #=> Float
|
10922
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb.max #=> Float
|
10923
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
|
10924
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
|
10925
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types #=> Array
|
10926
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
|
10927
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.min #=> Integer
|
10928
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count.max #=> Integer
|
10929
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers #=> Array
|
10930
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_manufacturers[0] #=> String, one of "amazon-web-services", "amd", "nvidia", "xilinx", "habana"
|
10931
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names #=> Array
|
10932
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_names[0] #=> String, one of "a100", "inferentia", "k520", "k80", "m60", "radeon-pro-v520", "t4", "vu9p", "v100", "a10g", "h100", "t4g"
|
10933
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
10934
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
10935
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.min #=> Float
|
10936
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps.max #=> Float
|
10937
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types #=> Array
|
10938
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
|
10939
|
+
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
10940
|
+
# resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
10941
|
+
# 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"
|
10557
10942
|
# resp.capacity_provider.update_status_reason #=> String
|
10558
10943
|
# resp.capacity_provider.tags #=> Array
|
10559
10944
|
# resp.capacity_provider.tags[0].key #=> String
|
10560
10945
|
# resp.capacity_provider.tags[0].value #=> String
|
10946
|
+
# resp.capacity_provider.type #=> String, one of "EC2_AUTOSCALING", "MANAGED_INSTANCES", "FARGATE", "FARGATE_SPOT"
|
10561
10947
|
#
|
10562
10948
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCapacityProvider AWS API Documentation
|
10563
10949
|
#
|
@@ -11986,6 +12372,8 @@ module Aws::ECS
|
|
11986
12372
|
# hook_target_arn: "String",
|
11987
12373
|
# role_arn: "IAMRoleArn",
|
11988
12374
|
# lifecycle_stages: ["RECONCILE_SERVICE"], # accepts RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT
|
12375
|
+
# hook_details: {
|
12376
|
+
# },
|
11989
12377
|
# },
|
11990
12378
|
# ],
|
11991
12379
|
# },
|
@@ -12149,7 +12537,7 @@ module Aws::ECS
|
|
12149
12537
|
# resp.service.desired_count #=> Integer
|
12150
12538
|
# resp.service.running_count #=> Integer
|
12151
12539
|
# resp.service.pending_count #=> Integer
|
12152
|
-
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
12540
|
+
# resp.service.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
12153
12541
|
# resp.service.capacity_provider_strategy #=> Array
|
12154
12542
|
# resp.service.capacity_provider_strategy[0].capacity_provider #=> String
|
12155
12543
|
# resp.service.capacity_provider_strategy[0].weight #=> Integer
|
@@ -12186,7 +12574,7 @@ module Aws::ECS
|
|
12186
12574
|
# resp.service.task_sets[0].running_count #=> Integer
|
12187
12575
|
# resp.service.task_sets[0].created_at #=> Time
|
12188
12576
|
# resp.service.task_sets[0].updated_at #=> Time
|
12189
|
-
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
12577
|
+
# resp.service.task_sets[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
12190
12578
|
# resp.service.task_sets[0].capacity_provider_strategy #=> Array
|
12191
12579
|
# resp.service.task_sets[0].capacity_provider_strategy[0].capacity_provider #=> String
|
12192
12580
|
# resp.service.task_sets[0].capacity_provider_strategy[0].weight #=> Integer
|
@@ -12234,7 +12622,7 @@ module Aws::ECS
|
|
12234
12622
|
# resp.service.deployments[0].capacity_provider_strategy[0].capacity_provider #=> String
|
12235
12623
|
# resp.service.deployments[0].capacity_provider_strategy[0].weight #=> Integer
|
12236
12624
|
# resp.service.deployments[0].capacity_provider_strategy[0].base #=> Integer
|
12237
|
-
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
12625
|
+
# resp.service.deployments[0].launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
12238
12626
|
# resp.service.deployments[0].platform_version #=> String
|
12239
12627
|
# resp.service.deployments[0].platform_family #=> String
|
12240
12628
|
# resp.service.deployments[0].network_configuration.awsvpc_configuration.subnets #=> Array
|
@@ -12428,7 +12816,7 @@ module Aws::ECS
|
|
12428
12816
|
# resp.task_set.running_count #=> Integer
|
12429
12817
|
# resp.task_set.created_at #=> Time
|
12430
12818
|
# resp.task_set.updated_at #=> Time
|
12431
|
-
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
12819
|
+
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
12432
12820
|
# resp.task_set.capacity_provider_strategy #=> Array
|
12433
12821
|
# resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
|
12434
12822
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
@@ -12752,7 +13140,7 @@ module Aws::ECS
|
|
12752
13140
|
# resp.task_set.running_count #=> Integer
|
12753
13141
|
# resp.task_set.created_at #=> Time
|
12754
13142
|
# resp.task_set.updated_at #=> Time
|
12755
|
-
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL"
|
13143
|
+
# resp.task_set.launch_type #=> String, one of "EC2", "FARGATE", "EXTERNAL", "MANAGED_INSTANCES"
|
12756
13144
|
# resp.task_set.capacity_provider_strategy #=> Array
|
12757
13145
|
# resp.task_set.capacity_provider_strategy[0].capacity_provider #=> String
|
12758
13146
|
# resp.task_set.capacity_provider_strategy[0].weight #=> Integer
|
@@ -12814,7 +13202,7 @@ module Aws::ECS
|
|
12814
13202
|
tracer: tracer
|
12815
13203
|
)
|
12816
13204
|
context[:gem_name] = 'aws-sdk-ecs'
|
12817
|
-
context[:gem_version] = '1.
|
13205
|
+
context[:gem_version] = '1.206.0'
|
12818
13206
|
Seahorse::Client::Request.new(handlers, context)
|
12819
13207
|
end
|
12820
13208
|
|