aws-sdk-ecs 1.105.0 → 1.107.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +338 -14
- data/lib/aws-sdk-ecs/client_api.rb +88 -0
- data/lib/aws-sdk-ecs/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-ecs/endpoint_provider.rb +76 -76
- data/lib/aws-sdk-ecs/endpoints.rb +14 -0
- data/lib/aws-sdk-ecs/errors.rb +11 -0
- data/lib/aws-sdk-ecs/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-ecs/types.rb +700 -2106
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -51,14 +51,6 @@ module Aws::ECS
|
|
51
51
|
|
52
52
|
# An object representing a change in state for a task attachment.
|
53
53
|
#
|
54
|
-
# @note When making an API call, you may pass AttachmentStateChange
|
55
|
-
# data as a hash:
|
56
|
-
#
|
57
|
-
# {
|
58
|
-
# attachment_arn: "String", # required
|
59
|
-
# status: "String", # required
|
60
|
-
# }
|
61
|
-
#
|
62
54
|
# @!attribute [rw] attachment_arn
|
63
55
|
# The Amazon Resource Name (ARN) of the attachment.
|
64
56
|
# @return [String]
|
@@ -86,16 +78,6 @@ module Aws::ECS
|
|
86
78
|
#
|
87
79
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes
|
88
80
|
#
|
89
|
-
# @note When making an API call, you may pass Attribute
|
90
|
-
# data as a hash:
|
91
|
-
#
|
92
|
-
# {
|
93
|
-
# name: "String", # required
|
94
|
-
# value: "String",
|
95
|
-
# target_type: "container-instance", # accepts container-instance
|
96
|
-
# target_id: "String",
|
97
|
-
# }
|
98
|
-
#
|
99
81
|
# @!attribute [rw] name
|
100
82
|
# The name of the attribute. The `name` must contain between 1 and 128
|
101
83
|
# characters. The name may contain letters (uppercase and lowercase),
|
@@ -108,7 +90,7 @@ module Aws::ECS
|
|
108
90
|
# 128 characters. It can contain letters (uppercase and lowercase),
|
109
91
|
# numbers, hyphens (-), underscores (\_), periods (.), at signs (@),
|
110
92
|
# forward slashes (/), back slashes (\\), colons (:), or spaces. The
|
111
|
-
# value can't
|
93
|
+
# value can't start or end with a space.
|
112
94
|
# @return [String]
|
113
95
|
#
|
114
96
|
# @!attribute [rw] target_type
|
@@ -143,21 +125,6 @@ module Aws::ECS
|
|
143
125
|
|
144
126
|
# The details of the Auto Scaling group for the capacity provider.
|
145
127
|
#
|
146
|
-
# @note When making an API call, you may pass AutoScalingGroupProvider
|
147
|
-
# data as a hash:
|
148
|
-
#
|
149
|
-
# {
|
150
|
-
# auto_scaling_group_arn: "String", # required
|
151
|
-
# managed_scaling: {
|
152
|
-
# status: "ENABLED", # accepts ENABLED, DISABLED
|
153
|
-
# target_capacity: 1,
|
154
|
-
# minimum_scaling_step_size: 1,
|
155
|
-
# maximum_scaling_step_size: 1,
|
156
|
-
# instance_warmup_period: 1,
|
157
|
-
# },
|
158
|
-
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
159
|
-
# }
|
160
|
-
#
|
161
128
|
# @!attribute [rw] auto_scaling_group_arn
|
162
129
|
# The Amazon Resource Name (ARN) that identifies the Auto Scaling
|
163
130
|
# group.
|
@@ -206,20 +173,6 @@ module Aws::ECS
|
|
206
173
|
|
207
174
|
# The details of the Auto Scaling group capacity provider to update.
|
208
175
|
#
|
209
|
-
# @note When making an API call, you may pass AutoScalingGroupProviderUpdate
|
210
|
-
# data as a hash:
|
211
|
-
#
|
212
|
-
# {
|
213
|
-
# managed_scaling: {
|
214
|
-
# status: "ENABLED", # accepts ENABLED, DISABLED
|
215
|
-
# target_capacity: 1,
|
216
|
-
# minimum_scaling_step_size: 1,
|
217
|
-
# maximum_scaling_step_size: 1,
|
218
|
-
# instance_warmup_period: 1,
|
219
|
-
# },
|
220
|
-
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
221
|
-
# }
|
222
|
-
#
|
223
176
|
# @!attribute [rw] managed_scaling
|
224
177
|
# The managed scaling settings for the Auto Scaling group capacity
|
225
178
|
# provider.
|
@@ -260,15 +213,6 @@ module Aws::ECS
|
|
260
213
|
|
261
214
|
# An object representing the networking details for a task or service.
|
262
215
|
#
|
263
|
-
# @note When making an API call, you may pass AwsVpcConfiguration
|
264
|
-
# data as a hash:
|
265
|
-
#
|
266
|
-
# {
|
267
|
-
# subnets: ["String"], # required
|
268
|
-
# security_groups: ["String"],
|
269
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
270
|
-
# }
|
271
|
-
#
|
272
216
|
# @!attribute [rw] subnets
|
273
217
|
# The IDs of the subnets associated with the task or service. There's
|
274
218
|
# a limit of 16 subnets that can be specified per
|
@@ -429,15 +373,6 @@ module Aws::ECS
|
|
429
373
|
# A capacity provider strategy may contain a maximum of 6 capacity
|
430
374
|
# providers.
|
431
375
|
#
|
432
|
-
# @note When making an API call, you may pass CapacityProviderStrategyItem
|
433
|
-
# data as a hash:
|
434
|
-
#
|
435
|
-
# {
|
436
|
-
# capacity_provider: "String", # required
|
437
|
-
# weight: 1,
|
438
|
-
# base: 1,
|
439
|
-
# }
|
440
|
-
#
|
441
376
|
# @!attribute [rw] capacity_provider
|
442
377
|
# The short name of the capacity provider.
|
443
378
|
# @return [String]
|
@@ -665,6 +600,30 @@ module Aws::ECS
|
|
665
600
|
# : The capacity provider updates failed.
|
666
601
|
# @return [String]
|
667
602
|
#
|
603
|
+
# @!attribute [rw] service_connect_defaults
|
604
|
+
# Use this parameter to set a default Service Connect namespace. After
|
605
|
+
# you set a default Service Connect namespace, any new services with
|
606
|
+
# Service Connect turned on that are created in the cluster are added
|
607
|
+
# as client services in the namespace. This setting only applies to
|
608
|
+
# new services that set the `enabled` parameter to `true` in the
|
609
|
+
# `ServiceConnectConfiguration`. You can set the namespace of each
|
610
|
+
# service individually in the `ServiceConnectConfiguration` to
|
611
|
+
# override this default parameter.
|
612
|
+
#
|
613
|
+
# Tasks that run in a namespace can use short names to connect to
|
614
|
+
# services in the namespace. Tasks can connect to services across all
|
615
|
+
# of the clusters in the namespace. Tasks connect through a managed
|
616
|
+
# proxy container that collects logs and metrics for increased
|
617
|
+
# visibility. Only the tasks that Amazon ECS services create are
|
618
|
+
# supported with Service Connect. For more information, see [Service
|
619
|
+
# Connect][1] in the *Amazon Elastic Container Service Developer
|
620
|
+
# Guide*.
|
621
|
+
#
|
622
|
+
#
|
623
|
+
#
|
624
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
625
|
+
# @return [Types::ClusterServiceConnectDefaults]
|
626
|
+
#
|
668
627
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Cluster AWS API Documentation
|
669
628
|
#
|
670
629
|
class Cluster < Struct.new(
|
@@ -682,30 +641,14 @@ module Aws::ECS
|
|
682
641
|
:capacity_providers,
|
683
642
|
:default_capacity_provider_strategy,
|
684
643
|
:attachments,
|
685
|
-
:attachments_status
|
644
|
+
:attachments_status,
|
645
|
+
:service_connect_defaults)
|
686
646
|
SENSITIVE = []
|
687
647
|
include Aws::Structure
|
688
648
|
end
|
689
649
|
|
690
650
|
# The execute command configuration for the cluster.
|
691
651
|
#
|
692
|
-
# @note When making an API call, you may pass ClusterConfiguration
|
693
|
-
# data as a hash:
|
694
|
-
#
|
695
|
-
# {
|
696
|
-
# execute_command_configuration: {
|
697
|
-
# kms_key_id: "String",
|
698
|
-
# logging: "NONE", # accepts NONE, DEFAULT, OVERRIDE
|
699
|
-
# log_configuration: {
|
700
|
-
# cloud_watch_log_group_name: "String",
|
701
|
-
# cloud_watch_encryption_enabled: false,
|
702
|
-
# s3_bucket_name: "String",
|
703
|
-
# s3_encryption_enabled: false,
|
704
|
-
# s3_key_prefix: "String",
|
705
|
-
# },
|
706
|
-
# },
|
707
|
-
# }
|
708
|
-
#
|
709
652
|
# @!attribute [rw] execute_command_configuration
|
710
653
|
# The details of the execute command configuration.
|
711
654
|
# @return [Types::ExecuteCommandConfiguration]
|
@@ -747,16 +690,103 @@ module Aws::ECS
|
|
747
690
|
#
|
748
691
|
class ClusterNotFoundException < Aws::EmptyStructure; end
|
749
692
|
|
750
|
-
#
|
751
|
-
#
|
693
|
+
# Use this parameter to set a default Service Connect namespace. After
|
694
|
+
# you set a default Service Connect namespace, any new services with
|
695
|
+
# Service Connect turned on that are created in the cluster are added as
|
696
|
+
# client services in the namespace. This setting only applies to new
|
697
|
+
# services that set the `enabled` parameter to `true` in the
|
698
|
+
# `ServiceConnectConfiguration`. You can set the namespace of each
|
699
|
+
# service individually in the `ServiceConnectConfiguration` to override
|
700
|
+
# this default parameter.
|
701
|
+
#
|
702
|
+
# Tasks that run in a namespace can use short names to connect to
|
703
|
+
# services in the namespace. Tasks can connect to services across all of
|
704
|
+
# the clusters in the namespace. Tasks connect through a managed proxy
|
705
|
+
# container that collects logs and metrics for increased visibility.
|
706
|
+
# Only the tasks that Amazon ECS services create are supported with
|
707
|
+
# Service Connect. For more information, see [Service Connect][1] in the
|
708
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
709
|
+
#
|
710
|
+
#
|
752
711
|
#
|
753
|
-
#
|
754
|
-
# data as a hash:
|
712
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
755
713
|
#
|
756
|
-
#
|
757
|
-
#
|
758
|
-
#
|
759
|
-
#
|
714
|
+
# @!attribute [rw] namespace
|
715
|
+
# The namespace name or full Amazon Resource Name (ARN) of the Cloud
|
716
|
+
# Map namespace. When you create a service and don't specify a
|
717
|
+
# Service Connect configuration, this namespace is used.
|
718
|
+
# @return [String]
|
719
|
+
#
|
720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ClusterServiceConnectDefaults AWS API Documentation
|
721
|
+
#
|
722
|
+
class ClusterServiceConnectDefaults < Struct.new(
|
723
|
+
:namespace)
|
724
|
+
SENSITIVE = []
|
725
|
+
include Aws::Structure
|
726
|
+
end
|
727
|
+
|
728
|
+
# Use this parameter to set a default Service Connect namespace. After
|
729
|
+
# you set a default Service Connect namespace, any new services with
|
730
|
+
# Service Connect turned on that are created in the cluster are added as
|
731
|
+
# client services in the namespace. This setting only applies to new
|
732
|
+
# services that set the `enabled` parameter to `true` in the
|
733
|
+
# `ServiceConnectConfiguration`. You can set the namespace of each
|
734
|
+
# service individually in the `ServiceConnectConfiguration` to override
|
735
|
+
# this default parameter.
|
736
|
+
#
|
737
|
+
# Tasks that run in a namespace can use short names to connect to
|
738
|
+
# services in the namespace. Tasks can connect to services across all of
|
739
|
+
# the clusters in the namespace. Tasks connect through a managed proxy
|
740
|
+
# container that collects logs and metrics for increased visibility.
|
741
|
+
# Only the tasks that Amazon ECS services create are supported with
|
742
|
+
# Service Connect. For more information, see [Service Connect][1] in the
|
743
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
744
|
+
#
|
745
|
+
#
|
746
|
+
#
|
747
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
748
|
+
#
|
749
|
+
# @!attribute [rw] namespace
|
750
|
+
# The namespace name or full Amazon Resource Name (ARN) of the Cloud
|
751
|
+
# Map namespace that's used when you create a service and don't
|
752
|
+
# specify a Service Connect configuration. The namespace name can
|
753
|
+
# include up to 1024 characters. The name is case-sensitive. The name
|
754
|
+
# can't include hyphens (-), tilde (~), greater than (>), less
|
755
|
+
# than (<), or slash (/).
|
756
|
+
#
|
757
|
+
# If you enter an existing namespace name or ARN, then that namespace
|
758
|
+
# will be used. Any namespace type is supported. The namespace must be
|
759
|
+
# in this account and this Amazon Web Services Region.
|
760
|
+
#
|
761
|
+
# If you enter a new name, a Cloud Map namespace will be created.
|
762
|
+
# Amazon ECS creates a Cloud Map namespace with the "API calls"
|
763
|
+
# method of instance discovery only. This instance discovery method is
|
764
|
+
# the "HTTP" namespace type in the Command Line Interface. Other
|
765
|
+
# types of instance discovery aren't used by Service Connect.
|
766
|
+
#
|
767
|
+
# If you update the service with an empty string `""` for the
|
768
|
+
# namespace name, the cluster configuration for Service Connect is
|
769
|
+
# removed. Note that the namespace will remain in Cloud Map and must
|
770
|
+
# be deleted separately.
|
771
|
+
#
|
772
|
+
# For more information about Cloud Map, see [Working with Services][1]
|
773
|
+
# in the *Cloud Map Developer Guide*.
|
774
|
+
#
|
775
|
+
#
|
776
|
+
#
|
777
|
+
# [1]: https://docs.aws.amazon.com/
|
778
|
+
# @return [String]
|
779
|
+
#
|
780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ClusterServiceConnectDefaultsRequest AWS API Documentation
|
781
|
+
#
|
782
|
+
class ClusterServiceConnectDefaultsRequest < Struct.new(
|
783
|
+
:namespace)
|
784
|
+
SENSITIVE = []
|
785
|
+
include Aws::Structure
|
786
|
+
end
|
787
|
+
|
788
|
+
# The settings to use when creating a cluster. This parameter is used to
|
789
|
+
# turn on CloudWatch Container Insights for a cluster.
|
760
790
|
#
|
761
791
|
# @!attribute [rw] name
|
762
792
|
# The name of the cluster setting. The only supported value is
|
@@ -890,158 +920,6 @@ module Aws::ECS
|
|
890
920
|
# Container definitions are used in task definitions to describe the
|
891
921
|
# different containers that are launched as part of a task.
|
892
922
|
#
|
893
|
-
# @note When making an API call, you may pass ContainerDefinition
|
894
|
-
# data as a hash:
|
895
|
-
#
|
896
|
-
# {
|
897
|
-
# name: "String",
|
898
|
-
# image: "String",
|
899
|
-
# repository_credentials: {
|
900
|
-
# credentials_parameter: "String", # required
|
901
|
-
# },
|
902
|
-
# cpu: 1,
|
903
|
-
# memory: 1,
|
904
|
-
# memory_reservation: 1,
|
905
|
-
# links: ["String"],
|
906
|
-
# port_mappings: [
|
907
|
-
# {
|
908
|
-
# container_port: 1,
|
909
|
-
# host_port: 1,
|
910
|
-
# protocol: "tcp", # accepts tcp, udp
|
911
|
-
# },
|
912
|
-
# ],
|
913
|
-
# essential: false,
|
914
|
-
# entry_point: ["String"],
|
915
|
-
# command: ["String"],
|
916
|
-
# environment: [
|
917
|
-
# {
|
918
|
-
# name: "String",
|
919
|
-
# value: "String",
|
920
|
-
# },
|
921
|
-
# ],
|
922
|
-
# environment_files: [
|
923
|
-
# {
|
924
|
-
# value: "String", # required
|
925
|
-
# type: "s3", # required, accepts s3
|
926
|
-
# },
|
927
|
-
# ],
|
928
|
-
# mount_points: [
|
929
|
-
# {
|
930
|
-
# source_volume: "String",
|
931
|
-
# container_path: "String",
|
932
|
-
# read_only: false,
|
933
|
-
# },
|
934
|
-
# ],
|
935
|
-
# volumes_from: [
|
936
|
-
# {
|
937
|
-
# source_container: "String",
|
938
|
-
# read_only: false,
|
939
|
-
# },
|
940
|
-
# ],
|
941
|
-
# linux_parameters: {
|
942
|
-
# capabilities: {
|
943
|
-
# add: ["String"],
|
944
|
-
# drop: ["String"],
|
945
|
-
# },
|
946
|
-
# devices: [
|
947
|
-
# {
|
948
|
-
# host_path: "String", # required
|
949
|
-
# container_path: "String",
|
950
|
-
# permissions: ["read"], # accepts read, write, mknod
|
951
|
-
# },
|
952
|
-
# ],
|
953
|
-
# init_process_enabled: false,
|
954
|
-
# shared_memory_size: 1,
|
955
|
-
# tmpfs: [
|
956
|
-
# {
|
957
|
-
# container_path: "String", # required
|
958
|
-
# size: 1, # required
|
959
|
-
# mount_options: ["String"],
|
960
|
-
# },
|
961
|
-
# ],
|
962
|
-
# max_swap: 1,
|
963
|
-
# swappiness: 1,
|
964
|
-
# },
|
965
|
-
# secrets: [
|
966
|
-
# {
|
967
|
-
# name: "String", # required
|
968
|
-
# value_from: "String", # required
|
969
|
-
# },
|
970
|
-
# ],
|
971
|
-
# depends_on: [
|
972
|
-
# {
|
973
|
-
# container_name: "String", # required
|
974
|
-
# condition: "START", # required, accepts START, COMPLETE, SUCCESS, HEALTHY
|
975
|
-
# },
|
976
|
-
# ],
|
977
|
-
# start_timeout: 1,
|
978
|
-
# stop_timeout: 1,
|
979
|
-
# hostname: "String",
|
980
|
-
# user: "String",
|
981
|
-
# working_directory: "String",
|
982
|
-
# disable_networking: false,
|
983
|
-
# privileged: false,
|
984
|
-
# readonly_root_filesystem: false,
|
985
|
-
# dns_servers: ["String"],
|
986
|
-
# dns_search_domains: ["String"],
|
987
|
-
# extra_hosts: [
|
988
|
-
# {
|
989
|
-
# hostname: "String", # required
|
990
|
-
# ip_address: "String", # required
|
991
|
-
# },
|
992
|
-
# ],
|
993
|
-
# docker_security_options: ["String"],
|
994
|
-
# interactive: false,
|
995
|
-
# pseudo_terminal: false,
|
996
|
-
# docker_labels: {
|
997
|
-
# "String" => "String",
|
998
|
-
# },
|
999
|
-
# ulimits: [
|
1000
|
-
# {
|
1001
|
-
# name: "core", # required, accepts core, cpu, data, fsize, locks, memlock, msgqueue, nice, nofile, nproc, rss, rtprio, rttime, sigpending, stack
|
1002
|
-
# soft_limit: 1, # required
|
1003
|
-
# hard_limit: 1, # required
|
1004
|
-
# },
|
1005
|
-
# ],
|
1006
|
-
# log_configuration: {
|
1007
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
|
1008
|
-
# options: {
|
1009
|
-
# "String" => "String",
|
1010
|
-
# },
|
1011
|
-
# secret_options: [
|
1012
|
-
# {
|
1013
|
-
# name: "String", # required
|
1014
|
-
# value_from: "String", # required
|
1015
|
-
# },
|
1016
|
-
# ],
|
1017
|
-
# },
|
1018
|
-
# health_check: {
|
1019
|
-
# command: ["String"], # required
|
1020
|
-
# interval: 1,
|
1021
|
-
# timeout: 1,
|
1022
|
-
# retries: 1,
|
1023
|
-
# start_period: 1,
|
1024
|
-
# },
|
1025
|
-
# system_controls: [
|
1026
|
-
# {
|
1027
|
-
# namespace: "String",
|
1028
|
-
# value: "String",
|
1029
|
-
# },
|
1030
|
-
# ],
|
1031
|
-
# resource_requirements: [
|
1032
|
-
# {
|
1033
|
-
# value: "String", # required
|
1034
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
1035
|
-
# },
|
1036
|
-
# ],
|
1037
|
-
# firelens_configuration: {
|
1038
|
-
# type: "fluentd", # required, accepts fluentd, fluentbit
|
1039
|
-
# options: {
|
1040
|
-
# "String" => "String",
|
1041
|
-
# },
|
1042
|
-
# },
|
1043
|
-
# }
|
1044
|
-
#
|
1045
923
|
# @!attribute [rw] name
|
1046
924
|
# The name of a container. If you're linking multiple containers
|
1047
925
|
# together in a task definition, the `name` of one container can be
|
@@ -1823,7 +1701,7 @@ module Aws::ECS
|
|
1823
1701
|
# @return [Hash<String,String>]
|
1824
1702
|
#
|
1825
1703
|
# @!attribute [rw] ulimits
|
1826
|
-
# A list of `ulimits` to set in the container. If a ulimit value is
|
1704
|
+
# A list of `ulimits` to set in the container. If a `ulimit` value is
|
1827
1705
|
# specified in a task definition, it overrides the default values set
|
1828
1706
|
# by Docker. This parameter maps to `Ulimits` in the [Create a
|
1829
1707
|
# container][1] section of the [Docker Remote API][2] and the
|
@@ -2031,14 +1909,6 @@ module Aws::ECS
|
|
2031
1909
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
2032
1910
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
2033
1911
|
#
|
2034
|
-
# @note When making an API call, you may pass ContainerDependency
|
2035
|
-
# data as a hash:
|
2036
|
-
#
|
2037
|
-
# {
|
2038
|
-
# container_name: "String", # required
|
2039
|
-
# condition: "START", # required, accepts START, COMPLETE, SUCCESS, HEALTHY
|
2040
|
-
# }
|
2041
|
-
#
|
2042
1912
|
# @!attribute [rw] container_name
|
2043
1913
|
# The name of a container.
|
2044
1914
|
# @return [String]
|
@@ -2297,35 +2167,6 @@ module Aws::ECS
|
|
2297
2167
|
# is `\{"containerOverrides": [ ] \}`. If a non-empty container override
|
2298
2168
|
# is specified, the `name` parameter must be included.
|
2299
2169
|
#
|
2300
|
-
# @note When making an API call, you may pass ContainerOverride
|
2301
|
-
# data as a hash:
|
2302
|
-
#
|
2303
|
-
# {
|
2304
|
-
# name: "String",
|
2305
|
-
# command: ["String"],
|
2306
|
-
# environment: [
|
2307
|
-
# {
|
2308
|
-
# name: "String",
|
2309
|
-
# value: "String",
|
2310
|
-
# },
|
2311
|
-
# ],
|
2312
|
-
# environment_files: [
|
2313
|
-
# {
|
2314
|
-
# value: "String", # required
|
2315
|
-
# type: "s3", # required, accepts s3
|
2316
|
-
# },
|
2317
|
-
# ],
|
2318
|
-
# cpu: 1,
|
2319
|
-
# memory: 1,
|
2320
|
-
# memory_reservation: 1,
|
2321
|
-
# resource_requirements: [
|
2322
|
-
# {
|
2323
|
-
# value: "String", # required
|
2324
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
2325
|
-
# },
|
2326
|
-
# ],
|
2327
|
-
# }
|
2328
|
-
#
|
2329
2170
|
# @!attribute [rw] name
|
2330
2171
|
# The name of the container that receives the override. This parameter
|
2331
2172
|
# is required if any override is specified.
|
@@ -2392,26 +2233,6 @@ module Aws::ECS
|
|
2392
2233
|
|
2393
2234
|
# An object that represents a change in state for a container.
|
2394
2235
|
#
|
2395
|
-
# @note When making an API call, you may pass ContainerStateChange
|
2396
|
-
# data as a hash:
|
2397
|
-
#
|
2398
|
-
# {
|
2399
|
-
# container_name: "String",
|
2400
|
-
# image_digest: "String",
|
2401
|
-
# runtime_id: "String",
|
2402
|
-
# exit_code: 1,
|
2403
|
-
# network_bindings: [
|
2404
|
-
# {
|
2405
|
-
# bind_ip: "String",
|
2406
|
-
# container_port: 1,
|
2407
|
-
# host_port: 1,
|
2408
|
-
# protocol: "tcp", # accepts tcp, udp
|
2409
|
-
# },
|
2410
|
-
# ],
|
2411
|
-
# reason: "String",
|
2412
|
-
# status: "String",
|
2413
|
-
# }
|
2414
|
-
#
|
2415
2236
|
# @!attribute [rw] container_name
|
2416
2237
|
# The name of the container.
|
2417
2238
|
# @return [String]
|
@@ -2455,30 +2276,6 @@ module Aws::ECS
|
|
2455
2276
|
include Aws::Structure
|
2456
2277
|
end
|
2457
2278
|
|
2458
|
-
# @note When making an API call, you may pass CreateCapacityProviderRequest
|
2459
|
-
# data as a hash:
|
2460
|
-
#
|
2461
|
-
# {
|
2462
|
-
# name: "String", # required
|
2463
|
-
# auto_scaling_group_provider: { # required
|
2464
|
-
# auto_scaling_group_arn: "String", # required
|
2465
|
-
# managed_scaling: {
|
2466
|
-
# status: "ENABLED", # accepts ENABLED, DISABLED
|
2467
|
-
# target_capacity: 1,
|
2468
|
-
# minimum_scaling_step_size: 1,
|
2469
|
-
# maximum_scaling_step_size: 1,
|
2470
|
-
# instance_warmup_period: 1,
|
2471
|
-
# },
|
2472
|
-
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
2473
|
-
# },
|
2474
|
-
# tags: [
|
2475
|
-
# {
|
2476
|
-
# key: "TagKey",
|
2477
|
-
# value: "TagValue",
|
2478
|
-
# },
|
2479
|
-
# ],
|
2480
|
-
# }
|
2481
|
-
#
|
2482
2279
|
# @!attribute [rw] name
|
2483
2280
|
# The name of the capacity provider. Up to 255 characters are allowed.
|
2484
2281
|
# They include letters (both upper and lowercase letters), numbers,
|
@@ -2543,46 +2340,6 @@ module Aws::ECS
|
|
2543
2340
|
include Aws::Structure
|
2544
2341
|
end
|
2545
2342
|
|
2546
|
-
# @note When making an API call, you may pass CreateClusterRequest
|
2547
|
-
# data as a hash:
|
2548
|
-
#
|
2549
|
-
# {
|
2550
|
-
# cluster_name: "String",
|
2551
|
-
# tags: [
|
2552
|
-
# {
|
2553
|
-
# key: "TagKey",
|
2554
|
-
# value: "TagValue",
|
2555
|
-
# },
|
2556
|
-
# ],
|
2557
|
-
# settings: [
|
2558
|
-
# {
|
2559
|
-
# name: "containerInsights", # accepts containerInsights
|
2560
|
-
# value: "String",
|
2561
|
-
# },
|
2562
|
-
# ],
|
2563
|
-
# configuration: {
|
2564
|
-
# execute_command_configuration: {
|
2565
|
-
# kms_key_id: "String",
|
2566
|
-
# logging: "NONE", # accepts NONE, DEFAULT, OVERRIDE
|
2567
|
-
# log_configuration: {
|
2568
|
-
# cloud_watch_log_group_name: "String",
|
2569
|
-
# cloud_watch_encryption_enabled: false,
|
2570
|
-
# s3_bucket_name: "String",
|
2571
|
-
# s3_encryption_enabled: false,
|
2572
|
-
# s3_key_prefix: "String",
|
2573
|
-
# },
|
2574
|
-
# },
|
2575
|
-
# },
|
2576
|
-
# capacity_providers: ["String"],
|
2577
|
-
# default_capacity_provider_strategy: [
|
2578
|
-
# {
|
2579
|
-
# capacity_provider: "String", # required
|
2580
|
-
# weight: 1,
|
2581
|
-
# base: 1,
|
2582
|
-
# },
|
2583
|
-
# ],
|
2584
|
-
# }
|
2585
|
-
#
|
2586
2343
|
# @!attribute [rw] cluster_name
|
2587
2344
|
# The name of your cluster. If you don't specify a name for your
|
2588
2345
|
# cluster, you create a cluster that's named `default`. Up to 255
|
@@ -2666,6 +2423,30 @@ module Aws::ECS
|
|
2666
2423
|
# PutClusterCapacityProviders API operation.
|
2667
2424
|
# @return [Array<Types::CapacityProviderStrategyItem>]
|
2668
2425
|
#
|
2426
|
+
# @!attribute [rw] service_connect_defaults
|
2427
|
+
# Use this parameter to set a default Service Connect namespace. After
|
2428
|
+
# you set a default Service Connect namespace, any new services with
|
2429
|
+
# Service Connect turned on that are created in the cluster are added
|
2430
|
+
# as client services in the namespace. This setting only applies to
|
2431
|
+
# new services that set the `enabled` parameter to `true` in the
|
2432
|
+
# `ServiceConnectConfiguration`. You can set the namespace of each
|
2433
|
+
# service individually in the `ServiceConnectConfiguration` to
|
2434
|
+
# override this default parameter.
|
2435
|
+
#
|
2436
|
+
# Tasks that run in a namespace can use short names to connect to
|
2437
|
+
# services in the namespace. Tasks can connect to services across all
|
2438
|
+
# of the clusters in the namespace. Tasks connect through a managed
|
2439
|
+
# proxy container that collects logs and metrics for increased
|
2440
|
+
# visibility. Only the tasks that Amazon ECS services create are
|
2441
|
+
# supported with Service Connect. For more information, see [Service
|
2442
|
+
# Connect][1] in the *Amazon Elastic Container Service Developer
|
2443
|
+
# Guide*.
|
2444
|
+
#
|
2445
|
+
#
|
2446
|
+
#
|
2447
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
2448
|
+
# @return [Types::ClusterServiceConnectDefaultsRequest]
|
2449
|
+
#
|
2669
2450
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateClusterRequest AWS API Documentation
|
2670
2451
|
#
|
2671
2452
|
class CreateClusterRequest < Struct.new(
|
@@ -2674,7 +2455,8 @@ module Aws::ECS
|
|
2674
2455
|
:settings,
|
2675
2456
|
:configuration,
|
2676
2457
|
:capacity_providers,
|
2677
|
-
:default_capacity_provider_strategy
|
2458
|
+
:default_capacity_provider_strategy,
|
2459
|
+
:service_connect_defaults)
|
2678
2460
|
SENSITIVE = []
|
2679
2461
|
include Aws::Structure
|
2680
2462
|
end
|
@@ -2691,84 +2473,6 @@ module Aws::ECS
|
|
2691
2473
|
include Aws::Structure
|
2692
2474
|
end
|
2693
2475
|
|
2694
|
-
# @note When making an API call, you may pass CreateServiceRequest
|
2695
|
-
# data as a hash:
|
2696
|
-
#
|
2697
|
-
# {
|
2698
|
-
# cluster: "String",
|
2699
|
-
# service_name: "String", # required
|
2700
|
-
# task_definition: "String",
|
2701
|
-
# load_balancers: [
|
2702
|
-
# {
|
2703
|
-
# target_group_arn: "String",
|
2704
|
-
# load_balancer_name: "String",
|
2705
|
-
# container_name: "String",
|
2706
|
-
# container_port: 1,
|
2707
|
-
# },
|
2708
|
-
# ],
|
2709
|
-
# service_registries: [
|
2710
|
-
# {
|
2711
|
-
# registry_arn: "String",
|
2712
|
-
# port: 1,
|
2713
|
-
# container_name: "String",
|
2714
|
-
# container_port: 1,
|
2715
|
-
# },
|
2716
|
-
# ],
|
2717
|
-
# desired_count: 1,
|
2718
|
-
# client_token: "String",
|
2719
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
2720
|
-
# capacity_provider_strategy: [
|
2721
|
-
# {
|
2722
|
-
# capacity_provider: "String", # required
|
2723
|
-
# weight: 1,
|
2724
|
-
# base: 1,
|
2725
|
-
# },
|
2726
|
-
# ],
|
2727
|
-
# platform_version: "String",
|
2728
|
-
# role: "String",
|
2729
|
-
# deployment_configuration: {
|
2730
|
-
# deployment_circuit_breaker: {
|
2731
|
-
# enable: false, # required
|
2732
|
-
# rollback: false, # required
|
2733
|
-
# },
|
2734
|
-
# maximum_percent: 1,
|
2735
|
-
# minimum_healthy_percent: 1,
|
2736
|
-
# },
|
2737
|
-
# placement_constraints: [
|
2738
|
-
# {
|
2739
|
-
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
2740
|
-
# expression: "String",
|
2741
|
-
# },
|
2742
|
-
# ],
|
2743
|
-
# placement_strategy: [
|
2744
|
-
# {
|
2745
|
-
# type: "random", # accepts random, spread, binpack
|
2746
|
-
# field: "String",
|
2747
|
-
# },
|
2748
|
-
# ],
|
2749
|
-
# network_configuration: {
|
2750
|
-
# awsvpc_configuration: {
|
2751
|
-
# subnets: ["String"], # required
|
2752
|
-
# security_groups: ["String"],
|
2753
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
2754
|
-
# },
|
2755
|
-
# },
|
2756
|
-
# health_check_grace_period_seconds: 1,
|
2757
|
-
# scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
|
2758
|
-
# deployment_controller: {
|
2759
|
-
# type: "ECS", # required, accepts ECS, CODE_DEPLOY, EXTERNAL
|
2760
|
-
# },
|
2761
|
-
# tags: [
|
2762
|
-
# {
|
2763
|
-
# key: "TagKey",
|
2764
|
-
# value: "TagValue",
|
2765
|
-
# },
|
2766
|
-
# ],
|
2767
|
-
# enable_ecs_managed_tags: false,
|
2768
|
-
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
2769
|
-
# enable_execute_command: false,
|
2770
|
-
# }
|
2771
|
-
#
|
2772
2476
|
# @!attribute [rw] cluster
|
2773
2477
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
2774
2478
|
# that you run your service on. If you do not specify a cluster, the
|
@@ -3006,8 +2710,8 @@ module Aws::ECS
|
|
3006
2710
|
# load balancer defined and you don't specify a health check grace
|
3007
2711
|
# period value, the default value of `0` is used.
|
3008
2712
|
#
|
3009
|
-
# If you do not use an Elastic Load Balancing, we
|
3010
|
-
# use the `startPeriod` in the task definition
|
2713
|
+
# If you do not use an Elastic Load Balancing, we recommend that you
|
2714
|
+
# use the `startPeriod` in the task definition health check
|
3011
2715
|
# parameters. For more information, see [Health check][1].
|
3012
2716
|
#
|
3013
2717
|
# If your service's tasks take a while to start and respond to
|
@@ -3118,6 +2822,25 @@ module Aws::ECS
|
|
3118
2822
|
# on all containers in the service tasks.
|
3119
2823
|
# @return [Boolean]
|
3120
2824
|
#
|
2825
|
+
# @!attribute [rw] service_connect_configuration
|
2826
|
+
# The configuration for this service to discover and connect to
|
2827
|
+
# services, and be discovered by, and connected from, other services
|
2828
|
+
# within a namespace.
|
2829
|
+
#
|
2830
|
+
# Tasks that run in a namespace can use short names to connect to
|
2831
|
+
# services in the namespace. Tasks can connect to services across all
|
2832
|
+
# of the clusters in the namespace. Tasks connect through a managed
|
2833
|
+
# proxy container that collects logs and metrics for increased
|
2834
|
+
# visibility. Only the tasks that Amazon ECS services create are
|
2835
|
+
# supported with Service Connect. For more information, see [Service
|
2836
|
+
# Connect][1] in the *Amazon Elastic Container Service Developer
|
2837
|
+
# Guide*.
|
2838
|
+
#
|
2839
|
+
#
|
2840
|
+
#
|
2841
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
2842
|
+
# @return [Types::ServiceConnectConfiguration]
|
2843
|
+
#
|
3121
2844
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateServiceRequest AWS API Documentation
|
3122
2845
|
#
|
3123
2846
|
class CreateServiceRequest < Struct.new(
|
@@ -3142,7 +2865,8 @@ module Aws::ECS
|
|
3142
2865
|
:tags,
|
3143
2866
|
:enable_ecs_managed_tags,
|
3144
2867
|
:propagate_tags,
|
3145
|
-
:enable_execute_command
|
2868
|
+
:enable_execute_command,
|
2869
|
+
:service_connect_configuration)
|
3146
2870
|
SENSITIVE = []
|
3147
2871
|
include Aws::Structure
|
3148
2872
|
end
|
@@ -3172,59 +2896,6 @@ module Aws::ECS
|
|
3172
2896
|
include Aws::Structure
|
3173
2897
|
end
|
3174
2898
|
|
3175
|
-
# @note When making an API call, you may pass CreateTaskSetRequest
|
3176
|
-
# data as a hash:
|
3177
|
-
#
|
3178
|
-
# {
|
3179
|
-
# service: "String", # required
|
3180
|
-
# cluster: "String", # required
|
3181
|
-
# external_id: "String",
|
3182
|
-
# task_definition: "String", # required
|
3183
|
-
# network_configuration: {
|
3184
|
-
# awsvpc_configuration: {
|
3185
|
-
# subnets: ["String"], # required
|
3186
|
-
# security_groups: ["String"],
|
3187
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
3188
|
-
# },
|
3189
|
-
# },
|
3190
|
-
# load_balancers: [
|
3191
|
-
# {
|
3192
|
-
# target_group_arn: "String",
|
3193
|
-
# load_balancer_name: "String",
|
3194
|
-
# container_name: "String",
|
3195
|
-
# container_port: 1,
|
3196
|
-
# },
|
3197
|
-
# ],
|
3198
|
-
# service_registries: [
|
3199
|
-
# {
|
3200
|
-
# registry_arn: "String",
|
3201
|
-
# port: 1,
|
3202
|
-
# container_name: "String",
|
3203
|
-
# container_port: 1,
|
3204
|
-
# },
|
3205
|
-
# ],
|
3206
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
3207
|
-
# capacity_provider_strategy: [
|
3208
|
-
# {
|
3209
|
-
# capacity_provider: "String", # required
|
3210
|
-
# weight: 1,
|
3211
|
-
# base: 1,
|
3212
|
-
# },
|
3213
|
-
# ],
|
3214
|
-
# platform_version: "String",
|
3215
|
-
# scale: {
|
3216
|
-
# value: 1.0,
|
3217
|
-
# unit: "PERCENT", # accepts PERCENT
|
3218
|
-
# },
|
3219
|
-
# client_token: "String",
|
3220
|
-
# tags: [
|
3221
|
-
# {
|
3222
|
-
# key: "TagKey",
|
3223
|
-
# value: "TagValue",
|
3224
|
-
# },
|
3225
|
-
# ],
|
3226
|
-
# }
|
3227
|
-
#
|
3228
2899
|
# @!attribute [rw] service
|
3229
2900
|
# The short name or full Amazon Resource Name (ARN) of the service to
|
3230
2901
|
# create the task set in.
|
@@ -3392,14 +3063,6 @@ module Aws::ECS
|
|
3392
3063
|
include Aws::Structure
|
3393
3064
|
end
|
3394
3065
|
|
3395
|
-
# @note When making an API call, you may pass DeleteAccountSettingRequest
|
3396
|
-
# data as a hash:
|
3397
|
-
#
|
3398
|
-
# {
|
3399
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
3400
|
-
# principal_arn: "String",
|
3401
|
-
# }
|
3402
|
-
#
|
3403
3066
|
# @!attribute [rw] name
|
3404
3067
|
# The resource name to disable the account setting for. If
|
3405
3068
|
# `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
|
@@ -3441,21 +3104,6 @@ module Aws::ECS
|
|
3441
3104
|
include Aws::Structure
|
3442
3105
|
end
|
3443
3106
|
|
3444
|
-
# @note When making an API call, you may pass DeleteAttributesRequest
|
3445
|
-
# data as a hash:
|
3446
|
-
#
|
3447
|
-
# {
|
3448
|
-
# cluster: "String",
|
3449
|
-
# attributes: [ # required
|
3450
|
-
# {
|
3451
|
-
# name: "String", # required
|
3452
|
-
# value: "String",
|
3453
|
-
# target_type: "container-instance", # accepts container-instance
|
3454
|
-
# target_id: "String",
|
3455
|
-
# },
|
3456
|
-
# ],
|
3457
|
-
# }
|
3458
|
-
#
|
3459
3107
|
# @!attribute [rw] cluster
|
3460
3108
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
3461
3109
|
# that contains the resource to delete attributes. If you do not
|
@@ -3492,13 +3140,6 @@ module Aws::ECS
|
|
3492
3140
|
include Aws::Structure
|
3493
3141
|
end
|
3494
3142
|
|
3495
|
-
# @note When making an API call, you may pass DeleteCapacityProviderRequest
|
3496
|
-
# data as a hash:
|
3497
|
-
#
|
3498
|
-
# {
|
3499
|
-
# capacity_provider: "String", # required
|
3500
|
-
# }
|
3501
|
-
#
|
3502
3143
|
# @!attribute [rw] capacity_provider
|
3503
3144
|
# The short name or full Amazon Resource Name (ARN) of the capacity
|
3504
3145
|
# provider to delete.
|
@@ -3524,13 +3165,6 @@ module Aws::ECS
|
|
3524
3165
|
include Aws::Structure
|
3525
3166
|
end
|
3526
3167
|
|
3527
|
-
# @note When making an API call, you may pass DeleteClusterRequest
|
3528
|
-
# data as a hash:
|
3529
|
-
#
|
3530
|
-
# {
|
3531
|
-
# cluster: "String", # required
|
3532
|
-
# }
|
3533
|
-
#
|
3534
3168
|
# @!attribute [rw] cluster
|
3535
3169
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
3536
3170
|
# delete.
|
@@ -3556,15 +3190,6 @@ module Aws::ECS
|
|
3556
3190
|
include Aws::Structure
|
3557
3191
|
end
|
3558
3192
|
|
3559
|
-
# @note When making an API call, you may pass DeleteServiceRequest
|
3560
|
-
# data as a hash:
|
3561
|
-
#
|
3562
|
-
# {
|
3563
|
-
# cluster: "String",
|
3564
|
-
# service: "String", # required
|
3565
|
-
# force: false,
|
3566
|
-
# }
|
3567
|
-
#
|
3568
3193
|
# @!attribute [rw] cluster
|
3569
3194
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
3570
3195
|
# that hosts the service to delete. If you do not specify a cluster,
|
@@ -3603,16 +3228,6 @@ module Aws::ECS
|
|
3603
3228
|
include Aws::Structure
|
3604
3229
|
end
|
3605
3230
|
|
3606
|
-
# @note When making an API call, you may pass DeleteTaskSetRequest
|
3607
|
-
# data as a hash:
|
3608
|
-
#
|
3609
|
-
# {
|
3610
|
-
# cluster: "String", # required
|
3611
|
-
# service: "String", # required
|
3612
|
-
# task_set: "String", # required
|
3613
|
-
# force: false,
|
3614
|
-
# }
|
3615
|
-
#
|
3616
3231
|
# @!attribute [rw] cluster
|
3617
3232
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
3618
3233
|
# that hosts the service that the task set found in to delete.
|
@@ -3784,6 +3399,35 @@ module Aws::ECS
|
|
3784
3399
|
# A description of the rollout state of a deployment.
|
3785
3400
|
# @return [String]
|
3786
3401
|
#
|
3402
|
+
# @!attribute [rw] service_connect_configuration
|
3403
|
+
# The details of the Service Connect configuration that's used by
|
3404
|
+
# this deployment. Compare the configuration between multiple
|
3405
|
+
# deployments when troubleshooting issues with new deployments.
|
3406
|
+
#
|
3407
|
+
# The configuration for this service to discover and connect to
|
3408
|
+
# services, and be discovered by, and connected from, other services
|
3409
|
+
# within a namespace.
|
3410
|
+
#
|
3411
|
+
# Tasks that run in a namespace can use short names to connect to
|
3412
|
+
# services in the namespace. Tasks can connect to services across all
|
3413
|
+
# of the clusters in the namespace. Tasks connect through a managed
|
3414
|
+
# proxy container that collects logs and metrics for increased
|
3415
|
+
# visibility. Only the tasks that Amazon ECS services create are
|
3416
|
+
# supported with Service Connect. For more information, see [Service
|
3417
|
+
# Connect][1] in the *Amazon Elastic Container Service Developer
|
3418
|
+
# Guide*.
|
3419
|
+
#
|
3420
|
+
#
|
3421
|
+
#
|
3422
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
3423
|
+
# @return [Types::ServiceConnectConfiguration]
|
3424
|
+
#
|
3425
|
+
# @!attribute [rw] service_connect_resources
|
3426
|
+
# The list of Service Connect resources that are associated with this
|
3427
|
+
# deployment. Each list entry maps a discovery name to a Cloud Map
|
3428
|
+
# service name.
|
3429
|
+
# @return [Array<Types::ServiceConnectServiceResource>]
|
3430
|
+
#
|
3787
3431
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Deployment AWS API Documentation
|
3788
3432
|
#
|
3789
3433
|
class Deployment < Struct.new(
|
@@ -3802,7 +3446,9 @@ module Aws::ECS
|
|
3802
3446
|
:platform_family,
|
3803
3447
|
:network_configuration,
|
3804
3448
|
:rollout_state,
|
3805
|
-
:rollout_state_reason
|
3449
|
+
:rollout_state_reason,
|
3450
|
+
:service_connect_configuration,
|
3451
|
+
:service_connect_resources)
|
3806
3452
|
SENSITIVE = []
|
3807
3453
|
include Aws::Structure
|
3808
3454
|
end
|
@@ -3825,14 +3471,6 @@ module Aws::ECS
|
|
3825
3471
|
#
|
3826
3472
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html
|
3827
3473
|
#
|
3828
|
-
# @note When making an API call, you may pass DeploymentCircuitBreaker
|
3829
|
-
# data as a hash:
|
3830
|
-
#
|
3831
|
-
# {
|
3832
|
-
# enable: false, # required
|
3833
|
-
# rollback: false, # required
|
3834
|
-
# }
|
3835
|
-
#
|
3836
3474
|
# @!attribute [rw] enable
|
3837
3475
|
# Determines whether to use the deployment circuit breaker logic for
|
3838
3476
|
# the service.
|
@@ -3857,18 +3495,6 @@ module Aws::ECS
|
|
3857
3495
|
# Optional deployment parameters that control how many tasks run during
|
3858
3496
|
# a deployment and the ordering of stopping and starting tasks.
|
3859
3497
|
#
|
3860
|
-
# @note When making an API call, you may pass DeploymentConfiguration
|
3861
|
-
# data as a hash:
|
3862
|
-
#
|
3863
|
-
# {
|
3864
|
-
# deployment_circuit_breaker: {
|
3865
|
-
# enable: false, # required
|
3866
|
-
# rollback: false, # required
|
3867
|
-
# },
|
3868
|
-
# maximum_percent: 1,
|
3869
|
-
# minimum_healthy_percent: 1,
|
3870
|
-
# }
|
3871
|
-
#
|
3872
3498
|
# @!attribute [rw] deployment_circuit_breaker
|
3873
3499
|
# <note markdown="1"> The deployment circuit breaker can only be used for services using
|
3874
3500
|
# the rolling update (`ECS`) deployment type.
|
@@ -3982,13 +3608,6 @@ module Aws::ECS
|
|
3982
3608
|
#
|
3983
3609
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
|
3984
3610
|
#
|
3985
|
-
# @note When making an API call, you may pass DeploymentController
|
3986
|
-
# data as a hash:
|
3987
|
-
#
|
3988
|
-
# {
|
3989
|
-
# type: "ECS", # required, accepts ECS, CODE_DEPLOY, EXTERNAL
|
3990
|
-
# }
|
3991
|
-
#
|
3992
3611
|
# @!attribute [rw] type
|
3993
3612
|
# The deployment controller type to use.
|
3994
3613
|
#
|
@@ -4025,15 +3644,6 @@ module Aws::ECS
|
|
4025
3644
|
include Aws::Structure
|
4026
3645
|
end
|
4027
3646
|
|
4028
|
-
# @note When making an API call, you may pass DeregisterContainerInstanceRequest
|
4029
|
-
# data as a hash:
|
4030
|
-
#
|
4031
|
-
# {
|
4032
|
-
# cluster: "String",
|
4033
|
-
# container_instance: "String", # required
|
4034
|
-
# force: false,
|
4035
|
-
# }
|
4036
|
-
#
|
4037
3647
|
# @!attribute [rw] cluster
|
4038
3648
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
4039
3649
|
# that hosts the container instance to deregister. If you do not
|
@@ -4088,13 +3698,6 @@ module Aws::ECS
|
|
4088
3698
|
include Aws::Structure
|
4089
3699
|
end
|
4090
3700
|
|
4091
|
-
# @note When making an API call, you may pass DeregisterTaskDefinitionRequest
|
4092
|
-
# data as a hash:
|
4093
|
-
#
|
4094
|
-
# {
|
4095
|
-
# task_definition: "String", # required
|
4096
|
-
# }
|
4097
|
-
#
|
4098
3701
|
# @!attribute [rw] task_definition
|
4099
3702
|
# The `family` and `revision` (`family:revision`) or full Amazon
|
4100
3703
|
# Resource Name (ARN) of the task definition to deregister. You must
|
@@ -4121,16 +3724,6 @@ module Aws::ECS
|
|
4121
3724
|
include Aws::Structure
|
4122
3725
|
end
|
4123
3726
|
|
4124
|
-
# @note When making an API call, you may pass DescribeCapacityProvidersRequest
|
4125
|
-
# data as a hash:
|
4126
|
-
#
|
4127
|
-
# {
|
4128
|
-
# capacity_providers: ["String"],
|
4129
|
-
# include: ["TAGS"], # accepts TAGS
|
4130
|
-
# max_results: 1,
|
4131
|
-
# next_token: "String",
|
4132
|
-
# }
|
4133
|
-
#
|
4134
3727
|
# @!attribute [rw] capacity_providers
|
4135
3728
|
# The short name or full Amazon Resource Name (ARN) of one or more
|
4136
3729
|
# capacity providers. Up to `100` capacity providers can be described
|
@@ -4207,14 +3800,6 @@ module Aws::ECS
|
|
4207
3800
|
include Aws::Structure
|
4208
3801
|
end
|
4209
3802
|
|
4210
|
-
# @note When making an API call, you may pass DescribeClustersRequest
|
4211
|
-
# data as a hash:
|
4212
|
-
#
|
4213
|
-
# {
|
4214
|
-
# clusters: ["String"],
|
4215
|
-
# include: ["ATTACHMENTS"], # accepts ATTACHMENTS, CONFIGURATIONS, SETTINGS, STATISTICS, TAGS
|
4216
|
-
# }
|
4217
|
-
#
|
4218
3803
|
# @!attribute [rw] clusters
|
4219
3804
|
# A list of up to 100 cluster names or full cluster Amazon Resource
|
4220
3805
|
# Name (ARN) entries. If you do not specify a cluster, the default
|
@@ -4227,7 +3812,8 @@ module Aws::ECS
|
|
4227
3812
|
# isn't included.
|
4228
3813
|
#
|
4229
3814
|
# If `ATTACHMENTS` is specified, the attachments for the container
|
4230
|
-
# instances or tasks within the cluster are included
|
3815
|
+
# instances or tasks within the cluster are included, for example the
|
3816
|
+
# capacity providers.
|
4231
3817
|
#
|
4232
3818
|
# If `SETTINGS` is specified, the settings for the cluster are
|
4233
3819
|
# included.
|
@@ -4268,15 +3854,6 @@ module Aws::ECS
|
|
4268
3854
|
include Aws::Structure
|
4269
3855
|
end
|
4270
3856
|
|
4271
|
-
# @note When making an API call, you may pass DescribeContainerInstancesRequest
|
4272
|
-
# data as a hash:
|
4273
|
-
#
|
4274
|
-
# {
|
4275
|
-
# cluster: "String",
|
4276
|
-
# container_instances: ["String"], # required
|
4277
|
-
# include: ["TAGS"], # accepts TAGS, CONTAINER_INSTANCE_HEALTH
|
4278
|
-
# }
|
4279
|
-
#
|
4280
3857
|
# @!attribute [rw] cluster
|
4281
3858
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
4282
3859
|
# that hosts the container instances to describe. If you do not
|
@@ -4327,15 +3904,6 @@ module Aws::ECS
|
|
4327
3904
|
include Aws::Structure
|
4328
3905
|
end
|
4329
3906
|
|
4330
|
-
# @note When making an API call, you may pass DescribeServicesRequest
|
4331
|
-
# data as a hash:
|
4332
|
-
#
|
4333
|
-
# {
|
4334
|
-
# cluster: "String",
|
4335
|
-
# services: ["String"], # required
|
4336
|
-
# include: ["TAGS"], # accepts TAGS
|
4337
|
-
# }
|
4338
|
-
#
|
4339
3907
|
# @!attribute [rw] cluster
|
4340
3908
|
# The short name or full Amazon Resource Name (ARN)the cluster that
|
4341
3909
|
# hosts the service to describe. If you do not specify a cluster, the
|
@@ -4383,14 +3951,6 @@ module Aws::ECS
|
|
4383
3951
|
include Aws::Structure
|
4384
3952
|
end
|
4385
3953
|
|
4386
|
-
# @note When making an API call, you may pass DescribeTaskDefinitionRequest
|
4387
|
-
# data as a hash:
|
4388
|
-
#
|
4389
|
-
# {
|
4390
|
-
# task_definition: "String", # required
|
4391
|
-
# include: ["TAGS"], # accepts TAGS
|
4392
|
-
# }
|
4393
|
-
#
|
4394
3954
|
# @!attribute [rw] task_definition
|
4395
3955
|
# The `family` for the latest `ACTIVE` revision, `family` and
|
4396
3956
|
# `revision` (`family:revision`) for a specific revision in the
|
@@ -4457,16 +4017,6 @@ module Aws::ECS
|
|
4457
4017
|
include Aws::Structure
|
4458
4018
|
end
|
4459
4019
|
|
4460
|
-
# @note When making an API call, you may pass DescribeTaskSetsRequest
|
4461
|
-
# data as a hash:
|
4462
|
-
#
|
4463
|
-
# {
|
4464
|
-
# cluster: "String", # required
|
4465
|
-
# service: "String", # required
|
4466
|
-
# task_sets: ["String"],
|
4467
|
-
# include: ["TAGS"], # accepts TAGS
|
4468
|
-
# }
|
4469
|
-
#
|
4470
4020
|
# @!attribute [rw] cluster
|
4471
4021
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
4472
4022
|
# that hosts the service that the task sets exist in.
|
@@ -4515,15 +4065,6 @@ module Aws::ECS
|
|
4515
4065
|
include Aws::Structure
|
4516
4066
|
end
|
4517
4067
|
|
4518
|
-
# @note When making an API call, you may pass DescribeTasksRequest
|
4519
|
-
# data as a hash:
|
4520
|
-
#
|
4521
|
-
# {
|
4522
|
-
# cluster: "String",
|
4523
|
-
# tasks: ["String"], # required
|
4524
|
-
# include: ["TAGS"], # accepts TAGS
|
4525
|
-
# }
|
4526
|
-
#
|
4527
4068
|
# @!attribute [rw] cluster
|
4528
4069
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
4529
4070
|
# that hosts the task or tasks to describe. If you do not specify a
|
@@ -4571,15 +4112,6 @@ module Aws::ECS
|
|
4571
4112
|
|
4572
4113
|
# An object representing a container instance host device.
|
4573
4114
|
#
|
4574
|
-
# @note When making an API call, you may pass Device
|
4575
|
-
# data as a hash:
|
4576
|
-
#
|
4577
|
-
# {
|
4578
|
-
# host_path: "String", # required
|
4579
|
-
# container_path: "String",
|
4580
|
-
# permissions: ["read"], # accepts read, write, mknod
|
4581
|
-
# }
|
4582
|
-
#
|
4583
4115
|
# @!attribute [rw] host_path
|
4584
4116
|
# The path for the device on the host container instance.
|
4585
4117
|
# @return [String]
|
@@ -4604,14 +4136,6 @@ module Aws::ECS
|
|
4604
4136
|
include Aws::Structure
|
4605
4137
|
end
|
4606
4138
|
|
4607
|
-
# @note When making an API call, you may pass DiscoverPollEndpointRequest
|
4608
|
-
# data as a hash:
|
4609
|
-
#
|
4610
|
-
# {
|
4611
|
-
# container_instance: "String",
|
4612
|
-
# cluster: "String",
|
4613
|
-
# }
|
4614
|
-
#
|
4615
4139
|
# @!attribute [rw] container_instance
|
4616
4140
|
# The container instance ID or full ARN of the container instance. For
|
4617
4141
|
# more information about the ARN format, see [Amazon Resource Name
|
@@ -4644,11 +4168,22 @@ module Aws::ECS
|
|
4644
4168
|
# The telemetry endpoint for the Amazon ECS agent.
|
4645
4169
|
# @return [String]
|
4646
4170
|
#
|
4171
|
+
# @!attribute [rw] service_connect_endpoint
|
4172
|
+
# The endpoint for the Amazon ECS agent to poll for Service Connect
|
4173
|
+
# configuration. For more information, see [Service Connect][1] in the
|
4174
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
4175
|
+
#
|
4176
|
+
#
|
4177
|
+
#
|
4178
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
4179
|
+
# @return [String]
|
4180
|
+
#
|
4647
4181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpointResponse AWS API Documentation
|
4648
4182
|
#
|
4649
4183
|
class DiscoverPollEndpointResponse < Struct.new(
|
4650
4184
|
:endpoint,
|
4651
|
-
:telemetry_endpoint
|
4185
|
+
:telemetry_endpoint,
|
4186
|
+
:service_connect_endpoint)
|
4652
4187
|
SENSITIVE = []
|
4653
4188
|
include Aws::Structure
|
4654
4189
|
end
|
@@ -4658,21 +4193,6 @@ module Aws::ECS
|
|
4658
4193
|
# Windows containers only support the use of the `local` driver. To use
|
4659
4194
|
# bind mounts, specify a `host` instead.
|
4660
4195
|
#
|
4661
|
-
# @note When making an API call, you may pass DockerVolumeConfiguration
|
4662
|
-
# data as a hash:
|
4663
|
-
#
|
4664
|
-
# {
|
4665
|
-
# scope: "task", # accepts task, shared
|
4666
|
-
# autoprovision: false,
|
4667
|
-
# driver: "String",
|
4668
|
-
# driver_opts: {
|
4669
|
-
# "String" => "String",
|
4670
|
-
# },
|
4671
|
-
# labels: {
|
4672
|
-
# "String" => "String",
|
4673
|
-
# },
|
4674
|
-
# }
|
4675
|
-
#
|
4676
4196
|
# @!attribute [rw] scope
|
4677
4197
|
# The scope for the Docker volume that determines its lifecycle.
|
4678
4198
|
# Docker volumes that are scoped to a `task` are automatically
|
@@ -4750,14 +4270,6 @@ module Aws::ECS
|
|
4750
4270
|
# The authorization configuration details for the Amazon EFS file
|
4751
4271
|
# system.
|
4752
4272
|
#
|
4753
|
-
# @note When making an API call, you may pass EFSAuthorizationConfig
|
4754
|
-
# data as a hash:
|
4755
|
-
#
|
4756
|
-
# {
|
4757
|
-
# access_point_id: "String",
|
4758
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
4759
|
-
# }
|
4760
|
-
#
|
4761
4273
|
# @!attribute [rw] access_point_id
|
4762
4274
|
# The Amazon EFS access point ID to use. If an access point is
|
4763
4275
|
# specified, the root directory value specified in the
|
@@ -4805,20 +4317,6 @@ module Aws::ECS
|
|
4805
4317
|
#
|
4806
4318
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html
|
4807
4319
|
#
|
4808
|
-
# @note When making an API call, you may pass EFSVolumeConfiguration
|
4809
|
-
# data as a hash:
|
4810
|
-
#
|
4811
|
-
# {
|
4812
|
-
# file_system_id: "String", # required
|
4813
|
-
# root_directory: "String",
|
4814
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
4815
|
-
# transit_encryption_port: 1,
|
4816
|
-
# authorization_config: {
|
4817
|
-
# access_point_id: "String",
|
4818
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
4819
|
-
# },
|
4820
|
-
# }
|
4821
|
-
#
|
4822
4320
|
# @!attribute [rw] file_system_id
|
4823
4321
|
# The Amazon EFS file system ID to use.
|
4824
4322
|
# @return [String]
|
@@ -4905,14 +4403,6 @@ module Aws::ECS
|
|
4905
4403
|
# [1]: https://docs.docker.com/compose/env-file/
|
4906
4404
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html
|
4907
4405
|
#
|
4908
|
-
# @note When making an API call, you may pass EnvironmentFile
|
4909
|
-
# data as a hash:
|
4910
|
-
#
|
4911
|
-
# {
|
4912
|
-
# value: "String", # required
|
4913
|
-
# type: "s3", # required, accepts s3
|
4914
|
-
# }
|
4915
|
-
#
|
4916
4406
|
# @!attribute [rw] value
|
4917
4407
|
# The Amazon Resource Name (ARN) of the Amazon S3 object containing
|
4918
4408
|
# the environment variable file.
|
@@ -4947,13 +4437,6 @@ module Aws::ECS
|
|
4947
4437
|
#
|
4948
4438
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html
|
4949
4439
|
#
|
4950
|
-
# @note When making an API call, you may pass EphemeralStorage
|
4951
|
-
# data as a hash:
|
4952
|
-
#
|
4953
|
-
# {
|
4954
|
-
# size_in_gi_b: 1, # required
|
4955
|
-
# }
|
4956
|
-
#
|
4957
4440
|
# @!attribute [rw] size_in_gi_b
|
4958
4441
|
# The total amount, in GiB, of ephemeral storage to set for the task.
|
4959
4442
|
# The minimum supported value is `21` GiB and the maximum supported
|
@@ -4970,21 +4453,6 @@ module Aws::ECS
|
|
4970
4453
|
|
4971
4454
|
# The details of the execute command configuration.
|
4972
4455
|
#
|
4973
|
-
# @note When making an API call, you may pass ExecuteCommandConfiguration
|
4974
|
-
# data as a hash:
|
4975
|
-
#
|
4976
|
-
# {
|
4977
|
-
# kms_key_id: "String",
|
4978
|
-
# logging: "NONE", # accepts NONE, DEFAULT, OVERRIDE
|
4979
|
-
# log_configuration: {
|
4980
|
-
# cloud_watch_log_group_name: "String",
|
4981
|
-
# cloud_watch_encryption_enabled: false,
|
4982
|
-
# s3_bucket_name: "String",
|
4983
|
-
# s3_encryption_enabled: false,
|
4984
|
-
# s3_key_prefix: "String",
|
4985
|
-
# },
|
4986
|
-
# }
|
4987
|
-
#
|
4988
4456
|
# @!attribute [rw] kms_key_id
|
4989
4457
|
# Specify an Key Management Service key ID to encrypt the data between
|
4990
4458
|
# the local client and the container.
|
@@ -5026,17 +4494,6 @@ module Aws::ECS
|
|
5026
4494
|
# The log configuration for the results of the execute command actions.
|
5027
4495
|
# The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.
|
5028
4496
|
#
|
5029
|
-
# @note When making an API call, you may pass ExecuteCommandLogConfiguration
|
5030
|
-
# data as a hash:
|
5031
|
-
#
|
5032
|
-
# {
|
5033
|
-
# cloud_watch_log_group_name: "String",
|
5034
|
-
# cloud_watch_encryption_enabled: false,
|
5035
|
-
# s3_bucket_name: "String",
|
5036
|
-
# s3_encryption_enabled: false,
|
5037
|
-
# s3_key_prefix: "String",
|
5038
|
-
# }
|
5039
|
-
#
|
5040
4497
|
# @!attribute [rw] cloud_watch_log_group_name
|
5041
4498
|
# The name of the CloudWatch log group to send logs to.
|
5042
4499
|
#
|
@@ -5079,17 +4536,6 @@ module Aws::ECS
|
|
5079
4536
|
include Aws::Structure
|
5080
4537
|
end
|
5081
4538
|
|
5082
|
-
# @note When making an API call, you may pass ExecuteCommandRequest
|
5083
|
-
# data as a hash:
|
5084
|
-
#
|
5085
|
-
# {
|
5086
|
-
# cluster: "String",
|
5087
|
-
# container: "String",
|
5088
|
-
# command: "String", # required
|
5089
|
-
# interactive: false, # required
|
5090
|
-
# task: "String", # required
|
5091
|
-
# }
|
5092
|
-
#
|
5093
4539
|
# @!attribute [rw] cluster
|
5094
4540
|
# The Amazon Resource Name (ARN) or short name of the cluster the task
|
5095
4541
|
# is running in. If you do not specify a cluster, the default cluster
|
@@ -5181,14 +4627,6 @@ module Aws::ECS
|
|
5181
4627
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FSxWindowsFileServerVolumeConfiguration.html
|
5182
4628
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html
|
5183
4629
|
#
|
5184
|
-
# @note When making an API call, you may pass FSxWindowsFileServerAuthorizationConfig
|
5185
|
-
# data as a hash:
|
5186
|
-
#
|
5187
|
-
# {
|
5188
|
-
# credentials_parameter: "String", # required
|
5189
|
-
# domain: "String", # required
|
5190
|
-
# }
|
5191
|
-
#
|
5192
4630
|
# @!attribute [rw] credentials_parameter
|
5193
4631
|
# The authorization credential option to use. The authorization
|
5194
4632
|
# credential options can be provided using either the Amazon Resource
|
@@ -5227,18 +4665,6 @@ module Aws::ECS
|
|
5227
4665
|
# [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html
|
5228
4666
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html
|
5229
4667
|
#
|
5230
|
-
# @note When making an API call, you may pass FSxWindowsFileServerVolumeConfiguration
|
5231
|
-
# data as a hash:
|
5232
|
-
#
|
5233
|
-
# {
|
5234
|
-
# file_system_id: "String", # required
|
5235
|
-
# root_directory: "String", # required
|
5236
|
-
# authorization_config: { # required
|
5237
|
-
# credentials_parameter: "String", # required
|
5238
|
-
# domain: "String", # required
|
5239
|
-
# },
|
5240
|
-
# }
|
5241
|
-
#
|
5242
4668
|
# @!attribute [rw] file_system_id
|
5243
4669
|
# The Amazon FSx for Windows File Server file system ID to use.
|
5244
4670
|
# @return [String]
|
@@ -5301,16 +4727,6 @@ module Aws::ECS
|
|
5301
4727
|
#
|
5302
4728
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html
|
5303
4729
|
#
|
5304
|
-
# @note When making an API call, you may pass FirelensConfiguration
|
5305
|
-
# data as a hash:
|
5306
|
-
#
|
5307
|
-
# {
|
5308
|
-
# type: "fluentd", # required, accepts fluentd, fluentbit
|
5309
|
-
# options: {
|
5310
|
-
# "String" => "String",
|
5311
|
-
# },
|
5312
|
-
# }
|
5313
|
-
#
|
5314
4730
|
# @!attribute [rw] type
|
5315
4731
|
# The log router to use. The valid values are `fluentd` or
|
5316
4732
|
# `fluentbit`.
|
@@ -5346,14 +4762,6 @@ module Aws::ECS
|
|
5346
4762
|
include Aws::Structure
|
5347
4763
|
end
|
5348
4764
|
|
5349
|
-
# @note When making an API call, you may pass GetTaskProtectionRequest
|
5350
|
-
# data as a hash:
|
5351
|
-
#
|
5352
|
-
# {
|
5353
|
-
# cluster: "String", # required
|
5354
|
-
# tasks: ["String"],
|
5355
|
-
# }
|
5356
|
-
#
|
5357
4765
|
# @!attribute [rw] cluster
|
5358
4766
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
5359
4767
|
# that hosts the service that the task sets exist in.
|
@@ -5427,8 +4835,9 @@ module Aws::ECS
|
|
5427
4835
|
# no container health check defined.
|
5428
4836
|
#
|
5429
4837
|
# The following describes the possible `healthStatus` values for a task.
|
5430
|
-
# The container health check status of nonessential containers
|
5431
|
-
#
|
4838
|
+
# The container health check status of nonessential containers only
|
4839
|
+
# affects the health status of a task if no essential containers have
|
4840
|
+
# health checks defined.
|
5432
4841
|
#
|
5433
4842
|
# * `HEALTHY`-All essential containers within the task have passed their
|
5434
4843
|
# health checks.
|
@@ -5437,14 +4846,21 @@ module Aws::ECS
|
|
5437
4846
|
# health check.
|
5438
4847
|
#
|
5439
4848
|
# * `UNKNOWN`-The essential containers within the task are still having
|
5440
|
-
# their health checks evaluated or there are
|
5441
|
-
# checks defined.
|
4849
|
+
# their health checks evaluated or there are only nonessential
|
4850
|
+
# containers with health checks defined.
|
5442
4851
|
#
|
5443
4852
|
# If a task is run manually, and not as part of a service, the task will
|
5444
4853
|
# continue its lifecycle regardless of its health status. For tasks that
|
5445
4854
|
# are part of a service, if the task reports as unhealthy then the task
|
5446
4855
|
# will be stopped and the service scheduler will replace it.
|
5447
4856
|
#
|
4857
|
+
# For tasks that are a part of a service and the service uses the `ECS`
|
4858
|
+
# rolling deployment type, the deployment is paused while the new tasks
|
4859
|
+
# have the `UNKNOWN` task health check status. For example, tasks that
|
4860
|
+
# define health checks for nonessential containers when no essential
|
4861
|
+
# containers have health checks will have the `UNKNOWN` health check
|
4862
|
+
# status indefinitely which prevents the deployment from completing.
|
4863
|
+
#
|
5448
4864
|
# The following are notes about container health check support:
|
5449
4865
|
#
|
5450
4866
|
# * Container health checks require version 1.17.0 or greater of the
|
@@ -5463,17 +4879,6 @@ module Aws::ECS
|
|
5463
4879
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
5464
4880
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
5465
4881
|
#
|
5466
|
-
# @note When making an API call, you may pass HealthCheck
|
5467
|
-
# data as a hash:
|
5468
|
-
#
|
5469
|
-
# {
|
5470
|
-
# command: ["String"], # required
|
5471
|
-
# interval: 1,
|
5472
|
-
# timeout: 1,
|
5473
|
-
# retries: 1,
|
5474
|
-
# start_period: 1,
|
5475
|
-
# }
|
5476
|
-
#
|
5477
4882
|
# @!attribute [rw] command
|
5478
4883
|
# A string array representing the command that the container runs to
|
5479
4884
|
# determine if it is healthy. The string array must start with `CMD`
|
@@ -5548,14 +4953,6 @@ module Aws::ECS
|
|
5548
4953
|
# file of a container via the `extraHosts` parameter of its
|
5549
4954
|
# ContainerDefinition.
|
5550
4955
|
#
|
5551
|
-
# @note When making an API call, you may pass HostEntry
|
5552
|
-
# data as a hash:
|
5553
|
-
#
|
5554
|
-
# {
|
5555
|
-
# hostname: "String", # required
|
5556
|
-
# ip_address: "String", # required
|
5557
|
-
# }
|
5558
|
-
#
|
5559
4956
|
# @!attribute [rw] hostname
|
5560
4957
|
# The hostname to use in the `/etc/hosts` entry.
|
5561
4958
|
# @return [String]
|
@@ -5575,13 +4972,6 @@ module Aws::ECS
|
|
5575
4972
|
|
5576
4973
|
# Details on a container instance bind mount host volume.
|
5577
4974
|
#
|
5578
|
-
# @note When making an API call, you may pass HostVolumeProperties
|
5579
|
-
# data as a hash:
|
5580
|
-
#
|
5581
|
-
# {
|
5582
|
-
# source_path: "String",
|
5583
|
-
# }
|
5584
|
-
#
|
5585
4975
|
# @!attribute [rw] source_path
|
5586
4976
|
# When the `host` parameter is used, specify a `sourcePath` to declare
|
5587
4977
|
# the path on the host container instance that's presented to the
|
@@ -5613,14 +5003,6 @@ module Aws::ECS
|
|
5613
5003
|
#
|
5614
5004
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
5615
5005
|
#
|
5616
|
-
# @note When making an API call, you may pass InferenceAccelerator
|
5617
|
-
# data as a hash:
|
5618
|
-
#
|
5619
|
-
# {
|
5620
|
-
# device_name: "String", # required
|
5621
|
-
# device_type: "String", # required
|
5622
|
-
# }
|
5623
|
-
#
|
5624
5006
|
# @!attribute [rw] device_name
|
5625
5007
|
# The Elastic Inference accelerator device name. The `deviceName` must
|
5626
5008
|
# also be referenced in a container definition as a
|
@@ -5650,14 +5032,6 @@ module Aws::ECS
|
|
5650
5032
|
#
|
5651
5033
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
5652
5034
|
#
|
5653
|
-
# @note When making an API call, you may pass InferenceAcceleratorOverride
|
5654
|
-
# data as a hash:
|
5655
|
-
#
|
5656
|
-
# {
|
5657
|
-
# device_name: "String",
|
5658
|
-
# device_type: "String",
|
5659
|
-
# }
|
5660
|
-
#
|
5661
5035
|
# @!attribute [rw] device_name
|
5662
5036
|
# The Elastic Inference accelerator device name to override for the
|
5663
5037
|
# task. This parameter must match a `deviceName` specified in the task
|
@@ -5729,14 +5103,6 @@ module Aws::ECS
|
|
5729
5103
|
# [1]: https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities
|
5730
5104
|
# [2]: http://man7.org/linux/man-pages/man7/capabilities.7.html
|
5731
5105
|
#
|
5732
|
-
# @note When making an API call, you may pass KernelCapabilities
|
5733
|
-
# data as a hash:
|
5734
|
-
#
|
5735
|
-
# {
|
5736
|
-
# add: ["String"],
|
5737
|
-
# drop: ["String"],
|
5738
|
-
# }
|
5739
|
-
#
|
5740
5106
|
# @!attribute [rw] add
|
5741
5107
|
# The Linux capabilities for the container that have been added to the
|
5742
5108
|
# default configuration provided by Docker. This parameter maps to
|
@@ -5799,14 +5165,6 @@ module Aws::ECS
|
|
5799
5165
|
|
5800
5166
|
# A key-value pair object.
|
5801
5167
|
#
|
5802
|
-
# @note When making an API call, you may pass KeyValuePair
|
5803
|
-
# data as a hash:
|
5804
|
-
#
|
5805
|
-
# {
|
5806
|
-
# name: "String",
|
5807
|
-
# value: "String",
|
5808
|
-
# }
|
5809
|
-
#
|
5810
5168
|
# @!attribute [rw] name
|
5811
5169
|
# The name of the key-value pair. For environment variables, this is
|
5812
5170
|
# the name of the environment variable.
|
@@ -5835,34 +5193,6 @@ module Aws::ECS
|
|
5835
5193
|
# Linux-specific options that are applied to the container, such as
|
5836
5194
|
# Linux KernelCapabilities.
|
5837
5195
|
#
|
5838
|
-
# @note When making an API call, you may pass LinuxParameters
|
5839
|
-
# data as a hash:
|
5840
|
-
#
|
5841
|
-
# {
|
5842
|
-
# capabilities: {
|
5843
|
-
# add: ["String"],
|
5844
|
-
# drop: ["String"],
|
5845
|
-
# },
|
5846
|
-
# devices: [
|
5847
|
-
# {
|
5848
|
-
# host_path: "String", # required
|
5849
|
-
# container_path: "String",
|
5850
|
-
# permissions: ["read"], # accepts read, write, mknod
|
5851
|
-
# },
|
5852
|
-
# ],
|
5853
|
-
# init_process_enabled: false,
|
5854
|
-
# shared_memory_size: 1,
|
5855
|
-
# tmpfs: [
|
5856
|
-
# {
|
5857
|
-
# container_path: "String", # required
|
5858
|
-
# size: 1, # required
|
5859
|
-
# mount_options: ["String"],
|
5860
|
-
# },
|
5861
|
-
# ],
|
5862
|
-
# max_swap: 1,
|
5863
|
-
# swappiness: 1,
|
5864
|
-
# }
|
5865
|
-
#
|
5866
5196
|
# @!attribute [rw] capabilities
|
5867
5197
|
# The Linux capabilities for the container that are added to or
|
5868
5198
|
# dropped from the default configuration provided by Docker.
|
@@ -5992,18 +5322,6 @@ module Aws::ECS
|
|
5992
5322
|
include Aws::Structure
|
5993
5323
|
end
|
5994
5324
|
|
5995
|
-
# @note When making an API call, you may pass ListAccountSettingsRequest
|
5996
|
-
# data as a hash:
|
5997
|
-
#
|
5998
|
-
# {
|
5999
|
-
# name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
6000
|
-
# value: "String",
|
6001
|
-
# principal_arn: "String",
|
6002
|
-
# effective_settings: false,
|
6003
|
-
# next_token: "String",
|
6004
|
-
# max_results: 1,
|
6005
|
-
# }
|
6006
|
-
#
|
6007
5325
|
# @!attribute [rw] name
|
6008
5326
|
# The name of the account setting you want to list the settings for.
|
6009
5327
|
# @return [String]
|
@@ -6091,18 +5409,6 @@ module Aws::ECS
|
|
6091
5409
|
include Aws::Structure
|
6092
5410
|
end
|
6093
5411
|
|
6094
|
-
# @note When making an API call, you may pass ListAttributesRequest
|
6095
|
-
# data as a hash:
|
6096
|
-
#
|
6097
|
-
# {
|
6098
|
-
# cluster: "String",
|
6099
|
-
# target_type: "container-instance", # required, accepts container-instance
|
6100
|
-
# attribute_name: "String",
|
6101
|
-
# attribute_value: "String",
|
6102
|
-
# next_token: "String",
|
6103
|
-
# max_results: 1,
|
6104
|
-
# }
|
6105
|
-
#
|
6106
5412
|
# @!attribute [rw] cluster
|
6107
5413
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
6108
5414
|
# list attributes. If you do not specify a cluster, the default
|
@@ -6180,14 +5486,6 @@ module Aws::ECS
|
|
6180
5486
|
include Aws::Structure
|
6181
5487
|
end
|
6182
5488
|
|
6183
|
-
# @note When making an API call, you may pass ListClustersRequest
|
6184
|
-
# data as a hash:
|
6185
|
-
#
|
6186
|
-
# {
|
6187
|
-
# next_token: "String",
|
6188
|
-
# max_results: 1,
|
6189
|
-
# }
|
6190
|
-
#
|
6191
5489
|
# @!attribute [rw] next_token
|
6192
5490
|
# The `nextToken` value returned from a `ListClusters` request
|
6193
5491
|
# indicating that more results are available to fulfill the request
|
@@ -6242,17 +5540,6 @@ module Aws::ECS
|
|
6242
5540
|
include Aws::Structure
|
6243
5541
|
end
|
6244
5542
|
|
6245
|
-
# @note When making an API call, you may pass ListContainerInstancesRequest
|
6246
|
-
# data as a hash:
|
6247
|
-
#
|
6248
|
-
# {
|
6249
|
-
# cluster: "String",
|
6250
|
-
# filter: "String",
|
6251
|
-
# next_token: "String",
|
6252
|
-
# max_results: 1,
|
6253
|
-
# status: "ACTIVE", # accepts ACTIVE, DRAINING, REGISTERING, DEREGISTERING, REGISTRATION_FAILED
|
6254
|
-
# }
|
6255
|
-
#
|
6256
5543
|
# @!attribute [rw] cluster
|
6257
5544
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
6258
5545
|
# that hosts the container instances to list. If you do not specify a
|
@@ -6338,17 +5625,76 @@ module Aws::ECS
|
|
6338
5625
|
include Aws::Structure
|
6339
5626
|
end
|
6340
5627
|
|
6341
|
-
#
|
6342
|
-
#
|
5628
|
+
# @!attribute [rw] namespace
|
5629
|
+
# The namespace name or full Amazon Resource Name (ARN) of the Cloud
|
5630
|
+
# Map namespace to list the services in.
|
5631
|
+
#
|
5632
|
+
# Tasks that run in a namespace can use short names to connect to
|
5633
|
+
# services in the namespace. Tasks can connect to services across all
|
5634
|
+
# of the clusters in the namespace. Tasks connect through a managed
|
5635
|
+
# proxy container that collects logs and metrics for increased
|
5636
|
+
# visibility. Only the tasks that Amazon ECS services create are
|
5637
|
+
# supported with Service Connect. For more information, see [Service
|
5638
|
+
# Connect][1] in the *Amazon Elastic Container Service Developer
|
5639
|
+
# Guide*.
|
5640
|
+
#
|
5641
|
+
#
|
5642
|
+
#
|
5643
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
5644
|
+
# @return [String]
|
5645
|
+
#
|
5646
|
+
# @!attribute [rw] next_token
|
5647
|
+
# The `nextToken` value that's returned from a
|
5648
|
+
# `ListServicesByNamespace` request. It indicates that more results
|
5649
|
+
# are available to fulfill the request and further calls are needed.
|
5650
|
+
# If `maxResults` is returned, it is possible the number of results is
|
5651
|
+
# less than `maxResults`.
|
5652
|
+
# @return [String]
|
5653
|
+
#
|
5654
|
+
# @!attribute [rw] max_results
|
5655
|
+
# The maximum number of service results that `ListServicesByNamespace`
|
5656
|
+
# returns in paginated output. When this parameter is used,
|
5657
|
+
# `ListServicesByNamespace` only returns `maxResults` results in a
|
5658
|
+
# single page along with a `nextToken` response element. The remaining
|
5659
|
+
# results of the initial request can be seen by sending another
|
5660
|
+
# `ListServicesByNamespace` request with the returned `nextToken`
|
5661
|
+
# value. This value can be between 1 and 100. If this parameter isn't
|
5662
|
+
# used, then `ListServicesByNamespace` returns up to 10 results and a
|
5663
|
+
# `nextToken` value if applicable.
|
5664
|
+
# @return [Integer]
|
5665
|
+
#
|
5666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServicesByNamespaceRequest AWS API Documentation
|
5667
|
+
#
|
5668
|
+
class ListServicesByNamespaceRequest < Struct.new(
|
5669
|
+
:namespace,
|
5670
|
+
:next_token,
|
5671
|
+
:max_results)
|
5672
|
+
SENSITIVE = []
|
5673
|
+
include Aws::Structure
|
5674
|
+
end
|
5675
|
+
|
5676
|
+
# @!attribute [rw] service_arns
|
5677
|
+
# The list of full ARN entries for each service that's associated
|
5678
|
+
# with the specified namespace.
|
5679
|
+
# @return [Array<String>]
|
5680
|
+
#
|
5681
|
+
# @!attribute [rw] next_token
|
5682
|
+
# The `nextToken` value to include in a future
|
5683
|
+
# `ListServicesByNamespace` request. When the results of a
|
5684
|
+
# `ListServicesByNamespace` request exceed `maxResults`, this value
|
5685
|
+
# can be used to retrieve the next page of results. When there are no
|
5686
|
+
# more results to return, this value is `null`.
|
5687
|
+
# @return [String]
|
6343
5688
|
#
|
6344
|
-
#
|
6345
|
-
# cluster: "String",
|
6346
|
-
# next_token: "String",
|
6347
|
-
# max_results: 1,
|
6348
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
6349
|
-
# scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
|
6350
|
-
# }
|
5689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServicesByNamespaceResponse AWS API Documentation
|
6351
5690
|
#
|
5691
|
+
class ListServicesByNamespaceResponse < Struct.new(
|
5692
|
+
:service_arns,
|
5693
|
+
:next_token)
|
5694
|
+
SENSITIVE = []
|
5695
|
+
include Aws::Structure
|
5696
|
+
end
|
5697
|
+
|
6352
5698
|
# @!attribute [rw] cluster
|
6353
5699
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
6354
5700
|
# use when filtering the `ListServices` results. If you do not specify
|
@@ -6421,13 +5767,6 @@ module Aws::ECS
|
|
6421
5767
|
include Aws::Structure
|
6422
5768
|
end
|
6423
5769
|
|
6424
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
6425
|
-
# data as a hash:
|
6426
|
-
#
|
6427
|
-
# {
|
6428
|
-
# resource_arn: "String", # required
|
6429
|
-
# }
|
6430
|
-
#
|
6431
5770
|
# @!attribute [rw] resource_arn
|
6432
5771
|
# The Amazon Resource Name (ARN) that identifies the resource to list
|
6433
5772
|
# the tags for. Currently, the supported resources are Amazon ECS
|
@@ -6455,16 +5794,6 @@ module Aws::ECS
|
|
6455
5794
|
include Aws::Structure
|
6456
5795
|
end
|
6457
5796
|
|
6458
|
-
# @note When making an API call, you may pass ListTaskDefinitionFamiliesRequest
|
6459
|
-
# data as a hash:
|
6460
|
-
#
|
6461
|
-
# {
|
6462
|
-
# family_prefix: "String",
|
6463
|
-
# status: "ACTIVE", # accepts ACTIVE, INACTIVE, ALL
|
6464
|
-
# next_token: "String",
|
6465
|
-
# max_results: 1,
|
6466
|
-
# }
|
6467
|
-
#
|
6468
5797
|
# @!attribute [rw] family_prefix
|
6469
5798
|
# The `familyPrefix` is a string that's used to filter the results of
|
6470
5799
|
# `ListTaskDefinitionFamilies`. If you specify a `familyPrefix`, only
|
@@ -6543,17 +5872,6 @@ module Aws::ECS
|
|
6543
5872
|
include Aws::Structure
|
6544
5873
|
end
|
6545
5874
|
|
6546
|
-
# @note When making an API call, you may pass ListTaskDefinitionsRequest
|
6547
|
-
# data as a hash:
|
6548
|
-
#
|
6549
|
-
# {
|
6550
|
-
# family_prefix: "String",
|
6551
|
-
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
6552
|
-
# sort: "ASC", # accepts ASC, DESC
|
6553
|
-
# next_token: "String",
|
6554
|
-
# max_results: 1,
|
6555
|
-
# }
|
6556
|
-
#
|
6557
5875
|
# @!attribute [rw] family_prefix
|
6558
5876
|
# The full family name to filter the `ListTaskDefinitions` results
|
6559
5877
|
# with. Specifying a `familyPrefix` limits the listed task definitions
|
@@ -6638,21 +5956,6 @@ module Aws::ECS
|
|
6638
5956
|
include Aws::Structure
|
6639
5957
|
end
|
6640
5958
|
|
6641
|
-
# @note When making an API call, you may pass ListTasksRequest
|
6642
|
-
# data as a hash:
|
6643
|
-
#
|
6644
|
-
# {
|
6645
|
-
# cluster: "String",
|
6646
|
-
# container_instance: "String",
|
6647
|
-
# family: "String",
|
6648
|
-
# next_token: "String",
|
6649
|
-
# max_results: 1,
|
6650
|
-
# started_by: "String",
|
6651
|
-
# service_name: "String",
|
6652
|
-
# desired_status: "RUNNING", # accepts RUNNING, PENDING, STOPPED
|
6653
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
6654
|
-
# }
|
6655
|
-
#
|
6656
5959
|
# @!attribute [rw] cluster
|
6657
5960
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
6658
5961
|
# use when filtering the `ListTasks` results. If you do not specify a
|
@@ -6700,6 +6003,9 @@ module Aws::ECS
|
|
6700
6003
|
# The `startedBy` value to filter the task results with. Specifying a
|
6701
6004
|
# `startedBy` value limits the results to tasks that were started with
|
6702
6005
|
# that value.
|
6006
|
+
#
|
6007
|
+
# When you specify `startedBy` as the filter, it must be the only
|
6008
|
+
# filter that you use.
|
6703
6009
|
# @return [String]
|
6704
6010
|
#
|
6705
6011
|
# @!attribute [rw] service_name
|
@@ -6787,16 +6093,6 @@ module Aws::ECS
|
|
6787
6093
|
#
|
6788
6094
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
|
6789
6095
|
#
|
6790
|
-
# @note When making an API call, you may pass LoadBalancer
|
6791
|
-
# data as a hash:
|
6792
|
-
#
|
6793
|
-
# {
|
6794
|
-
# target_group_arn: "String",
|
6795
|
-
# load_balancer_name: "String",
|
6796
|
-
# container_name: "String",
|
6797
|
-
# container_port: 1,
|
6798
|
-
# }
|
6799
|
-
#
|
6800
6096
|
# @!attribute [rw] target_group_arn
|
6801
6097
|
# The full Amazon Resource Name (ARN) of the Elastic Load Balancing
|
6802
6098
|
# target group or groups associated with a service or task set.
|
@@ -6905,22 +6201,6 @@ module Aws::ECS
|
|
6905
6201
|
# [4]: https://docs.docker.com/engine/admin/logging/overview/
|
6906
6202
|
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
|
6907
6203
|
#
|
6908
|
-
# @note When making an API call, you may pass LogConfiguration
|
6909
|
-
# data as a hash:
|
6910
|
-
#
|
6911
|
-
# {
|
6912
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
|
6913
|
-
# options: {
|
6914
|
-
# "String" => "String",
|
6915
|
-
# },
|
6916
|
-
# secret_options: [
|
6917
|
-
# {
|
6918
|
-
# name: "String", # required
|
6919
|
-
# value_from: "String", # required
|
6920
|
-
# },
|
6921
|
-
# ],
|
6922
|
-
# }
|
6923
|
-
#
|
6924
6204
|
# @!attribute [rw] log_driver
|
6925
6205
|
# The log driver to use for the container.
|
6926
6206
|
#
|
@@ -7017,16 +6297,6 @@ module Aws::ECS
|
|
7017
6297
|
|
7018
6298
|
# An object representing a change in state for a managed agent.
|
7019
6299
|
#
|
7020
|
-
# @note When making an API call, you may pass ManagedAgentStateChange
|
7021
|
-
# data as a hash:
|
7022
|
-
#
|
7023
|
-
# {
|
7024
|
-
# container_name: "String", # required
|
7025
|
-
# managed_agent_name: "ExecuteCommandAgent", # required, accepts ExecuteCommandAgent
|
7026
|
-
# status: "String", # required
|
7027
|
-
# reason: "String",
|
7028
|
-
# }
|
7029
|
-
#
|
7030
6300
|
# @!attribute [rw] container_name
|
7031
6301
|
# The name of the container that's associated with the managed agent.
|
7032
6302
|
# @return [String]
|
@@ -7071,17 +6341,6 @@ module Aws::ECS
|
|
7071
6341
|
#
|
7072
6342
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html#asg-capacity-providers-managed-scaling
|
7073
6343
|
#
|
7074
|
-
# @note When making an API call, you may pass ManagedScaling
|
7075
|
-
# data as a hash:
|
7076
|
-
#
|
7077
|
-
# {
|
7078
|
-
# status: "ENABLED", # accepts ENABLED, DISABLED
|
7079
|
-
# target_capacity: 1,
|
7080
|
-
# minimum_scaling_step_size: 1,
|
7081
|
-
# maximum_scaling_step_size: 1,
|
7082
|
-
# instance_warmup_period: 1,
|
7083
|
-
# }
|
7084
|
-
#
|
7085
6344
|
# @!attribute [rw] status
|
7086
6345
|
# Determines whether to use managed scaling for the capacity provider.
|
7087
6346
|
# @return [String]
|
@@ -7113,8 +6372,8 @@ module Aws::ECS
|
|
7113
6372
|
# @!attribute [rw] maximum_scaling_step_size
|
7114
6373
|
# The maximum number of Amazon EC2 instances that Amazon ECS will
|
7115
6374
|
# scale out at one time. The scale in process is not affected by this
|
7116
|
-
# parameter. If this parameter is omitted, the default value of
|
7117
|
-
#
|
6375
|
+
# parameter. If this parameter is omitted, the default value of `1` is
|
6376
|
+
# used.
|
7118
6377
|
# @return [Integer]
|
7119
6378
|
#
|
7120
6379
|
# @!attribute [rw] instance_warmup_period
|
@@ -7149,15 +6408,6 @@ module Aws::ECS
|
|
7149
6408
|
# Details for a volume mount point that's used in a container
|
7150
6409
|
# definition.
|
7151
6410
|
#
|
7152
|
-
# @note When making an API call, you may pass MountPoint
|
7153
|
-
# data as a hash:
|
7154
|
-
#
|
7155
|
-
# {
|
7156
|
-
# source_volume: "String",
|
7157
|
-
# container_path: "String",
|
7158
|
-
# read_only: false,
|
7159
|
-
# }
|
7160
|
-
#
|
7161
6411
|
# @!attribute [rw] source_volume
|
7162
6412
|
# The name of the volume to mount. Must be a volume name referenced in
|
7163
6413
|
# the `name` parameter of task definition `volume`.
|
@@ -7183,21 +6433,17 @@ module Aws::ECS
|
|
7183
6433
|
include Aws::Structure
|
7184
6434
|
end
|
7185
6435
|
|
6436
|
+
# The specified namespace wasn't found.
|
6437
|
+
#
|
6438
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NamespaceNotFoundException AWS API Documentation
|
6439
|
+
#
|
6440
|
+
class NamespaceNotFoundException < Aws::EmptyStructure; end
|
6441
|
+
|
7186
6442
|
# Details on the network bindings between a container and its host
|
7187
6443
|
# container instance. After a task reaches the `RUNNING` status, manual
|
7188
6444
|
# and automatic host and container port assignments are visible in the
|
7189
6445
|
# `networkBindings` section of DescribeTasks API responses.
|
7190
6446
|
#
|
7191
|
-
# @note When making an API call, you may pass NetworkBinding
|
7192
|
-
# data as a hash:
|
7193
|
-
#
|
7194
|
-
# {
|
7195
|
-
# bind_ip: "String",
|
7196
|
-
# container_port: 1,
|
7197
|
-
# host_port: 1,
|
7198
|
-
# protocol: "tcp", # accepts tcp, udp
|
7199
|
-
# }
|
7200
|
-
#
|
7201
6447
|
# @!attribute [rw] bind_ip
|
7202
6448
|
# The IP address that the container is bound to on the container
|
7203
6449
|
# instance.
|
@@ -7230,17 +6476,6 @@ module Aws::ECS
|
|
7230
6476
|
# An object representing the network configuration for a task or
|
7231
6477
|
# service.
|
7232
6478
|
#
|
7233
|
-
# @note When making an API call, you may pass NetworkConfiguration
|
7234
|
-
# data as a hash:
|
7235
|
-
#
|
7236
|
-
# {
|
7237
|
-
# awsvpc_configuration: {
|
7238
|
-
# subnets: ["String"], # required
|
7239
|
-
# security_groups: ["String"],
|
7240
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
7241
|
-
# },
|
7242
|
-
# }
|
7243
|
-
#
|
7244
6479
|
# @!attribute [rw] awsvpc_configuration
|
7245
6480
|
# The VPC subnets and security groups that are associated with a task.
|
7246
6481
|
#
|
@@ -7304,14 +6539,6 @@ module Aws::ECS
|
|
7304
6539
|
#
|
7305
6540
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html
|
7306
6541
|
#
|
7307
|
-
# @note When making an API call, you may pass PlacementConstraint
|
7308
|
-
# data as a hash:
|
7309
|
-
#
|
7310
|
-
# {
|
7311
|
-
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
7312
|
-
# expression: "String",
|
7313
|
-
# }
|
7314
|
-
#
|
7315
6542
|
# @!attribute [rw] type
|
7316
6543
|
# The type of constraint. Use `distinctInstance` to ensure that each
|
7317
6544
|
# task in a particular group is running on a different container
|
@@ -7348,14 +6575,6 @@ module Aws::ECS
|
|
7348
6575
|
#
|
7349
6576
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html
|
7350
6577
|
#
|
7351
|
-
# @note When making an API call, you may pass PlacementStrategy
|
7352
|
-
# data as a hash:
|
7353
|
-
#
|
7354
|
-
# {
|
7355
|
-
# type: "random", # accepts random, spread, binpack
|
7356
|
-
# field: "String",
|
7357
|
-
# }
|
7358
|
-
#
|
7359
6578
|
# @!attribute [rw] type
|
7360
6579
|
# The type of placement strategy. The `random` placement strategy
|
7361
6580
|
# randomly places tasks on available candidates. The `spread`
|
@@ -7390,14 +6609,6 @@ module Aws::ECS
|
|
7390
6609
|
# The devices that are available on the container instance. The only
|
7391
6610
|
# supported device type is a GPU.
|
7392
6611
|
#
|
7393
|
-
# @note When making an API call, you may pass PlatformDevice
|
7394
|
-
# data as a hash:
|
7395
|
-
#
|
7396
|
-
# {
|
7397
|
-
# id: "String", # required
|
7398
|
-
# type: "GPU", # required, accepts GPU
|
7399
|
-
# }
|
7400
|
-
#
|
7401
6612
|
# @!attribute [rw] id
|
7402
6613
|
# The ID for the GPUs on the container instance. The available GPU IDs
|
7403
6614
|
# can also be obtained on the container instance in the
|
@@ -7448,15 +6659,6 @@ module Aws::ECS
|
|
7448
6659
|
# and container port assignments are visible in the `networkBindings`
|
7449
6660
|
# section of DescribeTasks API responses.
|
7450
6661
|
#
|
7451
|
-
# @note When making an API call, you may pass PortMapping
|
7452
|
-
# data as a hash:
|
7453
|
-
#
|
7454
|
-
# {
|
7455
|
-
# container_port: 1,
|
7456
|
-
# host_port: 1,
|
7457
|
-
# protocol: "tcp", # accepts tcp, udp
|
7458
|
-
# }
|
7459
|
-
#
|
7460
6662
|
# @!attribute [rw] container_port
|
7461
6663
|
# The port number on the container that's bound to the user-specified
|
7462
6664
|
# or automatically assigned host port.
|
@@ -7512,12 +6714,57 @@ module Aws::ECS
|
|
7512
6714
|
# `udp`. The default is `tcp`.
|
7513
6715
|
# @return [String]
|
7514
6716
|
#
|
6717
|
+
# @!attribute [rw] name
|
6718
|
+
# The name that's used for the port mapping. This parameter only
|
6719
|
+
# applies to Service Connect. This parameter is the name that you use
|
6720
|
+
# in the `serviceConnectConfiguration` of a service. The name can
|
6721
|
+
# include up to 64 characters. The characters can include lowercase
|
6722
|
+
# letters, numbers, underscores (\_), and hyphens (-). The name can't
|
6723
|
+
# start with a hyphen.
|
6724
|
+
#
|
6725
|
+
# For more information, see [Service Connect][1] in the *Amazon
|
6726
|
+
# Elastic Container Service Developer Guide*.
|
6727
|
+
#
|
6728
|
+
#
|
6729
|
+
#
|
6730
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
6731
|
+
# @return [String]
|
6732
|
+
#
|
6733
|
+
# @!attribute [rw] app_protocol
|
6734
|
+
# The application protocol that's used for the port mapping. This
|
6735
|
+
# parameter only applies to Service Connect. We recommend that you set
|
6736
|
+
# this parameter to be consistent with the protocol that your
|
6737
|
+
# application uses. If you set this parameter, Amazon ECS adds
|
6738
|
+
# protocol-specific connection handling to the Service Connect proxy.
|
6739
|
+
# If you set this parameter, Amazon ECS adds protocol-specific
|
6740
|
+
# telemetry in the Amazon ECS console and CloudWatch.
|
6741
|
+
#
|
6742
|
+
# If you don't set a value for this parameter, then TCP is used.
|
6743
|
+
# However, Amazon ECS doesn't add protocol-specific telemetry for
|
6744
|
+
# TCP.
|
6745
|
+
#
|
6746
|
+
# Tasks that run in a namespace can use short names to connect to
|
6747
|
+
# services in the namespace. Tasks can connect to services across all
|
6748
|
+
# of the clusters in the namespace. Tasks connect through a managed
|
6749
|
+
# proxy container that collects logs and metrics for increased
|
6750
|
+
# visibility. Only the tasks that Amazon ECS services create are
|
6751
|
+
# supported with Service Connect. For more information, see [Service
|
6752
|
+
# Connect][1] in the *Amazon Elastic Container Service Developer
|
6753
|
+
# Guide*.
|
6754
|
+
#
|
6755
|
+
#
|
6756
|
+
#
|
6757
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
6758
|
+
# @return [String]
|
6759
|
+
#
|
7515
6760
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PortMapping AWS API Documentation
|
7516
6761
|
#
|
7517
6762
|
class PortMapping < Struct.new(
|
7518
6763
|
:container_port,
|
7519
6764
|
:host_port,
|
7520
|
-
:protocol
|
6765
|
+
:protocol,
|
6766
|
+
:name,
|
6767
|
+
:app_protocol)
|
7521
6768
|
SENSITIVE = []
|
7522
6769
|
include Aws::Structure
|
7523
6770
|
end
|
@@ -7563,20 +6810,6 @@ module Aws::ECS
|
|
7563
6810
|
#
|
7564
6811
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
7565
6812
|
#
|
7566
|
-
# @note When making an API call, you may pass ProxyConfiguration
|
7567
|
-
# data as a hash:
|
7568
|
-
#
|
7569
|
-
# {
|
7570
|
-
# type: "APPMESH", # accepts APPMESH
|
7571
|
-
# container_name: "String", # required
|
7572
|
-
# properties: [
|
7573
|
-
# {
|
7574
|
-
# name: "String",
|
7575
|
-
# value: "String",
|
7576
|
-
# },
|
7577
|
-
# ],
|
7578
|
-
# }
|
7579
|
-
#
|
7580
6813
|
# @!attribute [rw] type
|
7581
6814
|
# The proxy type. The only supported value is `APPMESH`.
|
7582
6815
|
# @return [String]
|
@@ -7628,14 +6861,6 @@ module Aws::ECS
|
|
7628
6861
|
include Aws::Structure
|
7629
6862
|
end
|
7630
6863
|
|
7631
|
-
# @note When making an API call, you may pass PutAccountSettingDefaultRequest
|
7632
|
-
# data as a hash:
|
7633
|
-
#
|
7634
|
-
# {
|
7635
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
7636
|
-
# value: "String", # required
|
7637
|
-
# }
|
7638
|
-
#
|
7639
6864
|
# @!attribute [rw] name
|
7640
6865
|
# The resource name for which to modify the account setting. If
|
7641
6866
|
# `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
|
@@ -7685,15 +6910,6 @@ module Aws::ECS
|
|
7685
6910
|
include Aws::Structure
|
7686
6911
|
end
|
7687
6912
|
|
7688
|
-
# @note When making an API call, you may pass PutAccountSettingRequest
|
7689
|
-
# data as a hash:
|
7690
|
-
#
|
7691
|
-
# {
|
7692
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
7693
|
-
# value: "String", # required
|
7694
|
-
# principal_arn: "String",
|
7695
|
-
# }
|
7696
|
-
#
|
7697
6913
|
# @!attribute [rw] name
|
7698
6914
|
# The Amazon ECS resource name for which to modify the account
|
7699
6915
|
# setting. If `serviceLongArnFormat` is specified, the ARN for your
|
@@ -7748,21 +6964,6 @@ module Aws::ECS
|
|
7748
6964
|
include Aws::Structure
|
7749
6965
|
end
|
7750
6966
|
|
7751
|
-
# @note When making an API call, you may pass PutAttributesRequest
|
7752
|
-
# data as a hash:
|
7753
|
-
#
|
7754
|
-
# {
|
7755
|
-
# cluster: "String",
|
7756
|
-
# attributes: [ # required
|
7757
|
-
# {
|
7758
|
-
# name: "String", # required
|
7759
|
-
# value: "String",
|
7760
|
-
# target_type: "container-instance", # accepts container-instance
|
7761
|
-
# target_id: "String",
|
7762
|
-
# },
|
7763
|
-
# ],
|
7764
|
-
# }
|
7765
|
-
#
|
7766
6967
|
# @!attribute [rw] cluster
|
7767
6968
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
7768
6969
|
# that contains the resource to apply attributes. If you do not
|
@@ -7796,21 +6997,6 @@ module Aws::ECS
|
|
7796
6997
|
include Aws::Structure
|
7797
6998
|
end
|
7798
6999
|
|
7799
|
-
# @note When making an API call, you may pass PutClusterCapacityProvidersRequest
|
7800
|
-
# data as a hash:
|
7801
|
-
#
|
7802
|
-
# {
|
7803
|
-
# cluster: "String", # required
|
7804
|
-
# capacity_providers: ["String"], # required
|
7805
|
-
# default_capacity_provider_strategy: [ # required
|
7806
|
-
# {
|
7807
|
-
# capacity_provider: "String", # required
|
7808
|
-
# weight: 1,
|
7809
|
-
# base: 1,
|
7810
|
-
# },
|
7811
|
-
# ],
|
7812
|
-
# }
|
7813
|
-
#
|
7814
7000
|
# @!attribute [rw] cluster
|
7815
7001
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
7816
7002
|
# modify the capacity provider settings for. If you don't specify a
|
@@ -7879,51 +7065,6 @@ module Aws::ECS
|
|
7879
7065
|
include Aws::Structure
|
7880
7066
|
end
|
7881
7067
|
|
7882
|
-
# @note When making an API call, you may pass RegisterContainerInstanceRequest
|
7883
|
-
# data as a hash:
|
7884
|
-
#
|
7885
|
-
# {
|
7886
|
-
# cluster: "String",
|
7887
|
-
# instance_identity_document: "String",
|
7888
|
-
# instance_identity_document_signature: "String",
|
7889
|
-
# total_resources: [
|
7890
|
-
# {
|
7891
|
-
# name: "String",
|
7892
|
-
# type: "String",
|
7893
|
-
# double_value: 1.0,
|
7894
|
-
# long_value: 1,
|
7895
|
-
# integer_value: 1,
|
7896
|
-
# string_set_value: ["String"],
|
7897
|
-
# },
|
7898
|
-
# ],
|
7899
|
-
# version_info: {
|
7900
|
-
# agent_version: "String",
|
7901
|
-
# agent_hash: "String",
|
7902
|
-
# docker_version: "String",
|
7903
|
-
# },
|
7904
|
-
# container_instance_arn: "String",
|
7905
|
-
# attributes: [
|
7906
|
-
# {
|
7907
|
-
# name: "String", # required
|
7908
|
-
# value: "String",
|
7909
|
-
# target_type: "container-instance", # accepts container-instance
|
7910
|
-
# target_id: "String",
|
7911
|
-
# },
|
7912
|
-
# ],
|
7913
|
-
# platform_devices: [
|
7914
|
-
# {
|
7915
|
-
# id: "String", # required
|
7916
|
-
# type: "GPU", # required, accepts GPU
|
7917
|
-
# },
|
7918
|
-
# ],
|
7919
|
-
# tags: [
|
7920
|
-
# {
|
7921
|
-
# key: "TagKey",
|
7922
|
-
# value: "TagValue",
|
7923
|
-
# },
|
7924
|
-
# ],
|
7925
|
-
# }
|
7926
|
-
#
|
7927
7068
|
# @!attribute [rw] cluster
|
7928
7069
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
7929
7070
|
# register your container instance with. If you do not specify a
|
@@ -8026,243 +7167,6 @@ module Aws::ECS
|
|
8026
7167
|
include Aws::Structure
|
8027
7168
|
end
|
8028
7169
|
|
8029
|
-
# @note When making an API call, you may pass RegisterTaskDefinitionRequest
|
8030
|
-
# data as a hash:
|
8031
|
-
#
|
8032
|
-
# {
|
8033
|
-
# family: "String", # required
|
8034
|
-
# task_role_arn: "String",
|
8035
|
-
# execution_role_arn: "String",
|
8036
|
-
# network_mode: "bridge", # accepts bridge, host, awsvpc, none
|
8037
|
-
# container_definitions: [ # required
|
8038
|
-
# {
|
8039
|
-
# name: "String",
|
8040
|
-
# image: "String",
|
8041
|
-
# repository_credentials: {
|
8042
|
-
# credentials_parameter: "String", # required
|
8043
|
-
# },
|
8044
|
-
# cpu: 1,
|
8045
|
-
# memory: 1,
|
8046
|
-
# memory_reservation: 1,
|
8047
|
-
# links: ["String"],
|
8048
|
-
# port_mappings: [
|
8049
|
-
# {
|
8050
|
-
# container_port: 1,
|
8051
|
-
# host_port: 1,
|
8052
|
-
# protocol: "tcp", # accepts tcp, udp
|
8053
|
-
# },
|
8054
|
-
# ],
|
8055
|
-
# essential: false,
|
8056
|
-
# entry_point: ["String"],
|
8057
|
-
# command: ["String"],
|
8058
|
-
# environment: [
|
8059
|
-
# {
|
8060
|
-
# name: "String",
|
8061
|
-
# value: "String",
|
8062
|
-
# },
|
8063
|
-
# ],
|
8064
|
-
# environment_files: [
|
8065
|
-
# {
|
8066
|
-
# value: "String", # required
|
8067
|
-
# type: "s3", # required, accepts s3
|
8068
|
-
# },
|
8069
|
-
# ],
|
8070
|
-
# mount_points: [
|
8071
|
-
# {
|
8072
|
-
# source_volume: "String",
|
8073
|
-
# container_path: "String",
|
8074
|
-
# read_only: false,
|
8075
|
-
# },
|
8076
|
-
# ],
|
8077
|
-
# volumes_from: [
|
8078
|
-
# {
|
8079
|
-
# source_container: "String",
|
8080
|
-
# read_only: false,
|
8081
|
-
# },
|
8082
|
-
# ],
|
8083
|
-
# linux_parameters: {
|
8084
|
-
# capabilities: {
|
8085
|
-
# add: ["String"],
|
8086
|
-
# drop: ["String"],
|
8087
|
-
# },
|
8088
|
-
# devices: [
|
8089
|
-
# {
|
8090
|
-
# host_path: "String", # required
|
8091
|
-
# container_path: "String",
|
8092
|
-
# permissions: ["read"], # accepts read, write, mknod
|
8093
|
-
# },
|
8094
|
-
# ],
|
8095
|
-
# init_process_enabled: false,
|
8096
|
-
# shared_memory_size: 1,
|
8097
|
-
# tmpfs: [
|
8098
|
-
# {
|
8099
|
-
# container_path: "String", # required
|
8100
|
-
# size: 1, # required
|
8101
|
-
# mount_options: ["String"],
|
8102
|
-
# },
|
8103
|
-
# ],
|
8104
|
-
# max_swap: 1,
|
8105
|
-
# swappiness: 1,
|
8106
|
-
# },
|
8107
|
-
# secrets: [
|
8108
|
-
# {
|
8109
|
-
# name: "String", # required
|
8110
|
-
# value_from: "String", # required
|
8111
|
-
# },
|
8112
|
-
# ],
|
8113
|
-
# depends_on: [
|
8114
|
-
# {
|
8115
|
-
# container_name: "String", # required
|
8116
|
-
# condition: "START", # required, accepts START, COMPLETE, SUCCESS, HEALTHY
|
8117
|
-
# },
|
8118
|
-
# ],
|
8119
|
-
# start_timeout: 1,
|
8120
|
-
# stop_timeout: 1,
|
8121
|
-
# hostname: "String",
|
8122
|
-
# user: "String",
|
8123
|
-
# working_directory: "String",
|
8124
|
-
# disable_networking: false,
|
8125
|
-
# privileged: false,
|
8126
|
-
# readonly_root_filesystem: false,
|
8127
|
-
# dns_servers: ["String"],
|
8128
|
-
# dns_search_domains: ["String"],
|
8129
|
-
# extra_hosts: [
|
8130
|
-
# {
|
8131
|
-
# hostname: "String", # required
|
8132
|
-
# ip_address: "String", # required
|
8133
|
-
# },
|
8134
|
-
# ],
|
8135
|
-
# docker_security_options: ["String"],
|
8136
|
-
# interactive: false,
|
8137
|
-
# pseudo_terminal: false,
|
8138
|
-
# docker_labels: {
|
8139
|
-
# "String" => "String",
|
8140
|
-
# },
|
8141
|
-
# ulimits: [
|
8142
|
-
# {
|
8143
|
-
# name: "core", # required, accepts core, cpu, data, fsize, locks, memlock, msgqueue, nice, nofile, nproc, rss, rtprio, rttime, sigpending, stack
|
8144
|
-
# soft_limit: 1, # required
|
8145
|
-
# hard_limit: 1, # required
|
8146
|
-
# },
|
8147
|
-
# ],
|
8148
|
-
# log_configuration: {
|
8149
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
|
8150
|
-
# options: {
|
8151
|
-
# "String" => "String",
|
8152
|
-
# },
|
8153
|
-
# secret_options: [
|
8154
|
-
# {
|
8155
|
-
# name: "String", # required
|
8156
|
-
# value_from: "String", # required
|
8157
|
-
# },
|
8158
|
-
# ],
|
8159
|
-
# },
|
8160
|
-
# health_check: {
|
8161
|
-
# command: ["String"], # required
|
8162
|
-
# interval: 1,
|
8163
|
-
# timeout: 1,
|
8164
|
-
# retries: 1,
|
8165
|
-
# start_period: 1,
|
8166
|
-
# },
|
8167
|
-
# system_controls: [
|
8168
|
-
# {
|
8169
|
-
# namespace: "String",
|
8170
|
-
# value: "String",
|
8171
|
-
# },
|
8172
|
-
# ],
|
8173
|
-
# resource_requirements: [
|
8174
|
-
# {
|
8175
|
-
# value: "String", # required
|
8176
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
8177
|
-
# },
|
8178
|
-
# ],
|
8179
|
-
# firelens_configuration: {
|
8180
|
-
# type: "fluentd", # required, accepts fluentd, fluentbit
|
8181
|
-
# options: {
|
8182
|
-
# "String" => "String",
|
8183
|
-
# },
|
8184
|
-
# },
|
8185
|
-
# },
|
8186
|
-
# ],
|
8187
|
-
# volumes: [
|
8188
|
-
# {
|
8189
|
-
# name: "String",
|
8190
|
-
# host: {
|
8191
|
-
# source_path: "String",
|
8192
|
-
# },
|
8193
|
-
# docker_volume_configuration: {
|
8194
|
-
# scope: "task", # accepts task, shared
|
8195
|
-
# autoprovision: false,
|
8196
|
-
# driver: "String",
|
8197
|
-
# driver_opts: {
|
8198
|
-
# "String" => "String",
|
8199
|
-
# },
|
8200
|
-
# labels: {
|
8201
|
-
# "String" => "String",
|
8202
|
-
# },
|
8203
|
-
# },
|
8204
|
-
# efs_volume_configuration: {
|
8205
|
-
# file_system_id: "String", # required
|
8206
|
-
# root_directory: "String",
|
8207
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
8208
|
-
# transit_encryption_port: 1,
|
8209
|
-
# authorization_config: {
|
8210
|
-
# access_point_id: "String",
|
8211
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
8212
|
-
# },
|
8213
|
-
# },
|
8214
|
-
# fsx_windows_file_server_volume_configuration: {
|
8215
|
-
# file_system_id: "String", # required
|
8216
|
-
# root_directory: "String", # required
|
8217
|
-
# authorization_config: { # required
|
8218
|
-
# credentials_parameter: "String", # required
|
8219
|
-
# domain: "String", # required
|
8220
|
-
# },
|
8221
|
-
# },
|
8222
|
-
# },
|
8223
|
-
# ],
|
8224
|
-
# placement_constraints: [
|
8225
|
-
# {
|
8226
|
-
# type: "memberOf", # accepts memberOf
|
8227
|
-
# expression: "String",
|
8228
|
-
# },
|
8229
|
-
# ],
|
8230
|
-
# requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL
|
8231
|
-
# cpu: "String",
|
8232
|
-
# memory: "String",
|
8233
|
-
# tags: [
|
8234
|
-
# {
|
8235
|
-
# key: "TagKey",
|
8236
|
-
# value: "TagValue",
|
8237
|
-
# },
|
8238
|
-
# ],
|
8239
|
-
# pid_mode: "host", # accepts host, task
|
8240
|
-
# ipc_mode: "host", # accepts host, task, none
|
8241
|
-
# proxy_configuration: {
|
8242
|
-
# type: "APPMESH", # accepts APPMESH
|
8243
|
-
# container_name: "String", # required
|
8244
|
-
# properties: [
|
8245
|
-
# {
|
8246
|
-
# name: "String",
|
8247
|
-
# value: "String",
|
8248
|
-
# },
|
8249
|
-
# ],
|
8250
|
-
# },
|
8251
|
-
# inference_accelerators: [
|
8252
|
-
# {
|
8253
|
-
# device_name: "String", # required
|
8254
|
-
# device_type: "String", # required
|
8255
|
-
# },
|
8256
|
-
# ],
|
8257
|
-
# ephemeral_storage: {
|
8258
|
-
# size_in_gi_b: 1, # required
|
8259
|
-
# },
|
8260
|
-
# runtime_platform: {
|
8261
|
-
# cpu_architecture: "X86_64", # accepts X86_64, ARM64
|
8262
|
-
# operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts 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_20H2_CORE, LINUX
|
8263
|
-
# },
|
8264
|
-
# }
|
8265
|
-
#
|
8266
7170
|
# @!attribute [rw] family
|
8267
7171
|
# You must specify a `family` for a task definition. You can use it
|
8268
7172
|
# track multiple versions of the same task definition. The `family` is
|
@@ -8657,13 +7561,6 @@ module Aws::ECS
|
|
8657
7561
|
|
8658
7562
|
# The repository credentials for private registry authentication.
|
8659
7563
|
#
|
8660
|
-
# @note When making an API call, you may pass RepositoryCredentials
|
8661
|
-
# data as a hash:
|
8662
|
-
#
|
8663
|
-
# {
|
8664
|
-
# credentials_parameter: "String", # required
|
8665
|
-
# }
|
8666
|
-
#
|
8667
7564
|
# @!attribute [rw] credentials_parameter
|
8668
7565
|
# The Amazon Resource Name (ARN) of the secret containing the private
|
8669
7566
|
# repository credentials.
|
@@ -8687,18 +7584,6 @@ module Aws::ECS
|
|
8687
7584
|
|
8688
7585
|
# Describes the resources available for a container instance.
|
8689
7586
|
#
|
8690
|
-
# @note When making an API call, you may pass Resource
|
8691
|
-
# data as a hash:
|
8692
|
-
#
|
8693
|
-
# {
|
8694
|
-
# name: "String",
|
8695
|
-
# type: "String",
|
8696
|
-
# double_value: 1.0,
|
8697
|
-
# long_value: 1,
|
8698
|
-
# integer_value: 1,
|
8699
|
-
# string_set_value: ["String"],
|
8700
|
-
# }
|
8701
|
-
#
|
8702
7587
|
# @!attribute [rw] name
|
8703
7588
|
# The name of the resource, such as `CPU`, `MEMORY`, `PORTS`,
|
8704
7589
|
# `PORTS_UDP`, or a user-defined resource.
|
@@ -8765,14 +7650,6 @@ module Aws::ECS
|
|
8765
7650
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html
|
8766
7651
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
8767
7652
|
#
|
8768
|
-
# @note When making an API call, you may pass ResourceRequirement
|
8769
|
-
# data as a hash:
|
8770
|
-
#
|
8771
|
-
# {
|
8772
|
-
# value: "String", # required
|
8773
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
8774
|
-
# }
|
8775
|
-
#
|
8776
7653
|
# @!attribute [rw] value
|
8777
7654
|
# The value for the specified resource type.
|
8778
7655
|
#
|
@@ -8801,97 +7678,6 @@ module Aws::ECS
|
|
8801
7678
|
include Aws::Structure
|
8802
7679
|
end
|
8803
7680
|
|
8804
|
-
# @note When making an API call, you may pass RunTaskRequest
|
8805
|
-
# data as a hash:
|
8806
|
-
#
|
8807
|
-
# {
|
8808
|
-
# capacity_provider_strategy: [
|
8809
|
-
# {
|
8810
|
-
# capacity_provider: "String", # required
|
8811
|
-
# weight: 1,
|
8812
|
-
# base: 1,
|
8813
|
-
# },
|
8814
|
-
# ],
|
8815
|
-
# cluster: "String",
|
8816
|
-
# count: 1,
|
8817
|
-
# enable_ecs_managed_tags: false,
|
8818
|
-
# enable_execute_command: false,
|
8819
|
-
# group: "String",
|
8820
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
8821
|
-
# network_configuration: {
|
8822
|
-
# awsvpc_configuration: {
|
8823
|
-
# subnets: ["String"], # required
|
8824
|
-
# security_groups: ["String"],
|
8825
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
8826
|
-
# },
|
8827
|
-
# },
|
8828
|
-
# overrides: {
|
8829
|
-
# container_overrides: [
|
8830
|
-
# {
|
8831
|
-
# name: "String",
|
8832
|
-
# command: ["String"],
|
8833
|
-
# environment: [
|
8834
|
-
# {
|
8835
|
-
# name: "String",
|
8836
|
-
# value: "String",
|
8837
|
-
# },
|
8838
|
-
# ],
|
8839
|
-
# environment_files: [
|
8840
|
-
# {
|
8841
|
-
# value: "String", # required
|
8842
|
-
# type: "s3", # required, accepts s3
|
8843
|
-
# },
|
8844
|
-
# ],
|
8845
|
-
# cpu: 1,
|
8846
|
-
# memory: 1,
|
8847
|
-
# memory_reservation: 1,
|
8848
|
-
# resource_requirements: [
|
8849
|
-
# {
|
8850
|
-
# value: "String", # required
|
8851
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
8852
|
-
# },
|
8853
|
-
# ],
|
8854
|
-
# },
|
8855
|
-
# ],
|
8856
|
-
# cpu: "String",
|
8857
|
-
# inference_accelerator_overrides: [
|
8858
|
-
# {
|
8859
|
-
# device_name: "String",
|
8860
|
-
# device_type: "String",
|
8861
|
-
# },
|
8862
|
-
# ],
|
8863
|
-
# execution_role_arn: "String",
|
8864
|
-
# memory: "String",
|
8865
|
-
# task_role_arn: "String",
|
8866
|
-
# ephemeral_storage: {
|
8867
|
-
# size_in_gi_b: 1, # required
|
8868
|
-
# },
|
8869
|
-
# },
|
8870
|
-
# placement_constraints: [
|
8871
|
-
# {
|
8872
|
-
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
8873
|
-
# expression: "String",
|
8874
|
-
# },
|
8875
|
-
# ],
|
8876
|
-
# placement_strategy: [
|
8877
|
-
# {
|
8878
|
-
# type: "random", # accepts random, spread, binpack
|
8879
|
-
# field: "String",
|
8880
|
-
# },
|
8881
|
-
# ],
|
8882
|
-
# platform_version: "String",
|
8883
|
-
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
8884
|
-
# reference_id: "String",
|
8885
|
-
# started_by: "String",
|
8886
|
-
# tags: [
|
8887
|
-
# {
|
8888
|
-
# key: "TagKey",
|
8889
|
-
# value: "TagValue",
|
8890
|
-
# },
|
8891
|
-
# ],
|
8892
|
-
# task_definition: "String", # required
|
8893
|
-
# }
|
8894
|
-
#
|
8895
7681
|
# @!attribute [rw] capacity_provider_strategy
|
8896
7682
|
# The capacity provider strategy to use for the task.
|
8897
7683
|
#
|
@@ -9170,19 +7956,11 @@ module Aws::ECS
|
|
9170
7956
|
#
|
9171
7957
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform
|
9172
7958
|
#
|
9173
|
-
# @note When making an API call, you may pass RuntimePlatform
|
9174
|
-
# data as a hash:
|
9175
|
-
#
|
9176
|
-
# {
|
9177
|
-
# cpu_architecture: "X86_64", # accepts X86_64, ARM64
|
9178
|
-
# operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts 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_20H2_CORE, LINUX
|
9179
|
-
# }
|
9180
|
-
#
|
9181
7959
|
# @!attribute [rw] cpu_architecture
|
9182
7960
|
# The CPU architecture.
|
9183
7961
|
#
|
9184
7962
|
# You can run your Linux tasks on an ARM-based platform by setting the
|
9185
|
-
# value to `ARM64`. This option is
|
7963
|
+
# value to `ARM64`. This option is available for tasks that run on
|
9186
7964
|
# Linux Amazon EC2 instance or Linux containers on Fargate.
|
9187
7965
|
# @return [String]
|
9188
7966
|
#
|
@@ -9202,14 +7980,6 @@ module Aws::ECS
|
|
9202
7980
|
# A floating-point percentage of the desired number of tasks to place
|
9203
7981
|
# and keep running in the task set.
|
9204
7982
|
#
|
9205
|
-
# @note When making an API call, you may pass Scale
|
9206
|
-
# data as a hash:
|
9207
|
-
#
|
9208
|
-
# {
|
9209
|
-
# value: 1.0,
|
9210
|
-
# unit: "PERCENT", # accepts PERCENT
|
9211
|
-
# }
|
9212
|
-
#
|
9213
7983
|
# @!attribute [rw] value
|
9214
7984
|
# The value, specified as a percent total of a service's
|
9215
7985
|
# `desiredCount`, to scale the task set. Accepted values are numbers
|
@@ -9245,14 +8015,6 @@ module Aws::ECS
|
|
9245
8015
|
#
|
9246
8016
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html
|
9247
8017
|
#
|
9248
|
-
# @note When making an API call, you may pass Secret
|
9249
|
-
# data as a hash:
|
9250
|
-
#
|
9251
|
-
# {
|
9252
|
-
# name: "String", # required
|
9253
|
-
# value_from: "String", # required
|
9254
|
-
# }
|
9255
|
-
#
|
9256
8018
|
# @!attribute [rw] name
|
9257
8019
|
# The name of the secret.
|
9258
8020
|
# @return [String]
|
@@ -9584,6 +8346,290 @@ module Aws::ECS
|
|
9584
8346
|
include Aws::Structure
|
9585
8347
|
end
|
9586
8348
|
|
8349
|
+
# Each alias ("endpoint") is a fully-qualified name and port number
|
8350
|
+
# that other tasks ("clients") can use to connect to this service.
|
8351
|
+
#
|
8352
|
+
# Each name and port mapping must be unique within the namespace.
|
8353
|
+
#
|
8354
|
+
# Tasks that run in a namespace can use short names to connect to
|
8355
|
+
# services in the namespace. Tasks can connect to services across all of
|
8356
|
+
# the clusters in the namespace. Tasks connect through a managed proxy
|
8357
|
+
# container that collects logs and metrics for increased visibility.
|
8358
|
+
# Only the tasks that Amazon ECS services create are supported with
|
8359
|
+
# Service Connect. For more information, see [Service Connect][1] in the
|
8360
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
8361
|
+
#
|
8362
|
+
#
|
8363
|
+
#
|
8364
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
8365
|
+
#
|
8366
|
+
# @!attribute [rw] port
|
8367
|
+
# The listening port number for the Service Connect proxy. This port
|
8368
|
+
# is available inside of all of the tasks within the same namespace.
|
8369
|
+
#
|
8370
|
+
# To avoid changing your applications in client Amazon ECS services,
|
8371
|
+
# set this to the same port that the client application uses by
|
8372
|
+
# default. For more information, see [Service Connect][1] in the
|
8373
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
8374
|
+
#
|
8375
|
+
#
|
8376
|
+
#
|
8377
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
8378
|
+
# @return [Integer]
|
8379
|
+
#
|
8380
|
+
# @!attribute [rw] dns_name
|
8381
|
+
# The `dnsName` is the name that you use in the applications of client
|
8382
|
+
# tasks to connect to this service. The name must be a valid DNS name
|
8383
|
+
# but doesn't need to be fully-qualified. The name can include up to
|
8384
|
+
# 127 characters. The name can include lowercase letters, numbers,
|
8385
|
+
# underscores (\_), hyphens (-), and periods (.). The name can't
|
8386
|
+
# start with a hyphen.
|
8387
|
+
#
|
8388
|
+
# If this parameter isn't specified, the default value of
|
8389
|
+
# `discoveryName.namespace` is used. If the `discoveryName` isn't
|
8390
|
+
# specified, the port mapping name from the task definition is used in
|
8391
|
+
# `portName.namespace`.
|
8392
|
+
#
|
8393
|
+
# To avoid changing your applications in client Amazon ECS services,
|
8394
|
+
# set this to the same name that the client application uses by
|
8395
|
+
# default. For example, a few common names are `database`, `db`, or
|
8396
|
+
# the lowercase name of a database, such as `mysql` or `redis`. For
|
8397
|
+
# more information, see [Service Connect][1] in the *Amazon Elastic
|
8398
|
+
# Container Service Developer Guide*.
|
8399
|
+
#
|
8400
|
+
#
|
8401
|
+
#
|
8402
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
8403
|
+
# @return [String]
|
8404
|
+
#
|
8405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectClientAlias AWS API Documentation
|
8406
|
+
#
|
8407
|
+
class ServiceConnectClientAlias < Struct.new(
|
8408
|
+
:port,
|
8409
|
+
:dns_name)
|
8410
|
+
SENSITIVE = []
|
8411
|
+
include Aws::Structure
|
8412
|
+
end
|
8413
|
+
|
8414
|
+
# The Service Connect configuration of your Amazon ECS service. The
|
8415
|
+
# configuration for this service to discover and connect to services,
|
8416
|
+
# and be discovered by, and connected from, other services within a
|
8417
|
+
# namespace.
|
8418
|
+
#
|
8419
|
+
# Tasks that run in a namespace can use short names to connect to
|
8420
|
+
# services in the namespace. Tasks can connect to services across all of
|
8421
|
+
# the clusters in the namespace. Tasks connect through a managed proxy
|
8422
|
+
# container that collects logs and metrics for increased visibility.
|
8423
|
+
# Only the tasks that Amazon ECS services create are supported with
|
8424
|
+
# Service Connect. For more information, see [Service Connect][1] in the
|
8425
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
8426
|
+
#
|
8427
|
+
#
|
8428
|
+
#
|
8429
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
8430
|
+
#
|
8431
|
+
# @!attribute [rw] enabled
|
8432
|
+
# Specifies whether to use Service Connect with this service.
|
8433
|
+
# @return [Boolean]
|
8434
|
+
#
|
8435
|
+
# @!attribute [rw] namespace
|
8436
|
+
# The namespace name or full Amazon Resource Name (ARN) of the Cloud
|
8437
|
+
# Map namespace for use with Service Connect. The namespace must be in
|
8438
|
+
# the same Amazon Web Services Region as the Amazon ECS service and
|
8439
|
+
# cluster. The type of namespace doesn't affect Service Connect. For
|
8440
|
+
# more information about Cloud Map, see [Working with Services][1] in
|
8441
|
+
# the *Cloud Map Developer Guide*.
|
8442
|
+
#
|
8443
|
+
#
|
8444
|
+
#
|
8445
|
+
# [1]: https://docs.aws.amazon.com/
|
8446
|
+
# @return [String]
|
8447
|
+
#
|
8448
|
+
# @!attribute [rw] services
|
8449
|
+
# The list of Service Connect service objects. These are names and
|
8450
|
+
# aliases (also known as endpoints) that are used by other Amazon ECS
|
8451
|
+
# services to connect to this service.
|
8452
|
+
#
|
8453
|
+
# This field is not required for a "client" Amazon ECS service
|
8454
|
+
# that's a member of a namespace only to connect to other services
|
8455
|
+
# within the namespace. An example of this would be a frontend
|
8456
|
+
# application that accepts incoming requests from either a load
|
8457
|
+
# balancer that's attached to the service or by other means.
|
8458
|
+
#
|
8459
|
+
# An object selects a port from the task definition, assigns a name
|
8460
|
+
# for the Cloud Map service, and a list of aliases (endpoints) and
|
8461
|
+
# ports for client applications to refer to this service.
|
8462
|
+
# @return [Array<Types::ServiceConnectService>]
|
8463
|
+
#
|
8464
|
+
# @!attribute [rw] log_configuration
|
8465
|
+
# The log configuration for the container. This parameter maps to
|
8466
|
+
# `LogConfig` in the [Create a container][1] section of the [Docker
|
8467
|
+
# Remote API][2] and the `--log-driver` option to [ `docker run` ][3].
|
8468
|
+
#
|
8469
|
+
# By default, containers use the same logging driver that the Docker
|
8470
|
+
# daemon uses. However, the container might use a different logging
|
8471
|
+
# driver than the Docker daemon by specifying a log driver
|
8472
|
+
# configuration in the container definition. For more information
|
8473
|
+
# about the options for different supported log drivers, see
|
8474
|
+
# [Configure logging drivers][4] in the Docker documentation.
|
8475
|
+
#
|
8476
|
+
# Understand the following when specifying a log configuration for
|
8477
|
+
# your containers.
|
8478
|
+
#
|
8479
|
+
# * Amazon ECS currently supports a subset of the logging drivers
|
8480
|
+
# available to the Docker daemon (shown in the valid values below).
|
8481
|
+
# Additional log drivers may be available in future releases of the
|
8482
|
+
# Amazon ECS container agent.
|
8483
|
+
#
|
8484
|
+
# * This parameter requires version 1.18 of the Docker Remote API or
|
8485
|
+
# greater on your container instance.
|
8486
|
+
#
|
8487
|
+
# * For tasks that are hosted on Amazon EC2 instances, the Amazon ECS
|
8488
|
+
# container agent must register the available logging drivers with
|
8489
|
+
# the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before
|
8490
|
+
# containers placed on that instance can use these log configuration
|
8491
|
+
# options. For more information, see [Amazon ECS container agent
|
8492
|
+
# configuration][5] in the *Amazon Elastic Container Service
|
8493
|
+
# Developer Guide*.
|
8494
|
+
#
|
8495
|
+
# * For tasks that are on Fargate, because you don't have access to
|
8496
|
+
# the underlying infrastructure your tasks are hosted on, any
|
8497
|
+
# additional software needed must be installed outside of the task.
|
8498
|
+
# For example, the Fluentd output aggregators or a remote host
|
8499
|
+
# running Logstash to send Gelf logs to.
|
8500
|
+
#
|
8501
|
+
#
|
8502
|
+
#
|
8503
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
8504
|
+
# [2]: https://docs.docker.com/engine/api/v1.35/
|
8505
|
+
# [3]: https://docs.docker.com/engine/reference/commandline/run/
|
8506
|
+
# [4]: https://docs.docker.com/engine/admin/logging/overview/
|
8507
|
+
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
|
8508
|
+
# @return [Types::LogConfiguration]
|
8509
|
+
#
|
8510
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectConfiguration AWS API Documentation
|
8511
|
+
#
|
8512
|
+
class ServiceConnectConfiguration < Struct.new(
|
8513
|
+
:enabled,
|
8514
|
+
:namespace,
|
8515
|
+
:services,
|
8516
|
+
:log_configuration)
|
8517
|
+
SENSITIVE = []
|
8518
|
+
include Aws::Structure
|
8519
|
+
end
|
8520
|
+
|
8521
|
+
# The Service Connect service object configuration. For more
|
8522
|
+
# information, see [Service Connect][1] in the *Amazon Elastic Container
|
8523
|
+
# Service Developer Guide*.
|
8524
|
+
#
|
8525
|
+
#
|
8526
|
+
#
|
8527
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
8528
|
+
#
|
8529
|
+
# @!attribute [rw] port_name
|
8530
|
+
# The `portName` must match the name of one of the `portMappings` from
|
8531
|
+
# all the containers in the task definition of this Amazon ECS
|
8532
|
+
# service.
|
8533
|
+
# @return [String]
|
8534
|
+
#
|
8535
|
+
# @!attribute [rw] discovery_name
|
8536
|
+
# The `discoveryName` is the name of the new Cloud Map service that
|
8537
|
+
# Amazon ECS creates for this Amazon ECS service. This must be unique
|
8538
|
+
# within the Cloud Map namespace. The name can contain up to 64
|
8539
|
+
# characters. The name can include lowercase letters, numbers,
|
8540
|
+
# underscores (\_), and hyphens (-). The name can't start with a
|
8541
|
+
# hyphen.
|
8542
|
+
#
|
8543
|
+
# If this parameter isn't specified, the default value of
|
8544
|
+
# `discoveryName.namespace` is used. If the `discoveryName` isn't
|
8545
|
+
# specified, the port mapping name from the task definition is used in
|
8546
|
+
# `portName.namespace`.
|
8547
|
+
# @return [String]
|
8548
|
+
#
|
8549
|
+
# @!attribute [rw] client_aliases
|
8550
|
+
# The list of client aliases for this Service Connect service. You use
|
8551
|
+
# these to assign names that can be used by client applications. The
|
8552
|
+
# maximum number of client aliases that you can have in this list is
|
8553
|
+
# 1.
|
8554
|
+
#
|
8555
|
+
# Each alias ("endpoint") is a fully-qualified name and port number
|
8556
|
+
# that other Amazon ECS tasks ("clients") can use to connect to this
|
8557
|
+
# service.
|
8558
|
+
#
|
8559
|
+
# Each name and port mapping must be unique within the namespace.
|
8560
|
+
#
|
8561
|
+
# For each `ServiceConnectService`, you must provide at least one
|
8562
|
+
# `clientAlias` with one `port`.
|
8563
|
+
# @return [Array<Types::ServiceConnectClientAlias>]
|
8564
|
+
#
|
8565
|
+
# @!attribute [rw] ingress_port_override
|
8566
|
+
# The port number for the Service Connect proxy to listen on.
|
8567
|
+
#
|
8568
|
+
# Use the value of this field to bypass the proxy for traffic on the
|
8569
|
+
# port number specified in the named `portMapping` in the task
|
8570
|
+
# definition of this application, and then use it in your VPC security
|
8571
|
+
# groups to allow traffic into the proxy for this Amazon ECS service.
|
8572
|
+
#
|
8573
|
+
# In `awsvpc` mode and Fargate, the default value is the container
|
8574
|
+
# port number. The container port number is in the `portMapping` in
|
8575
|
+
# the task definition. In bridge mode, the default value is the
|
8576
|
+
# ephemeral port of the Service Connect proxy.
|
8577
|
+
# @return [Integer]
|
8578
|
+
#
|
8579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectService AWS API Documentation
|
8580
|
+
#
|
8581
|
+
class ServiceConnectService < Struct.new(
|
8582
|
+
:port_name,
|
8583
|
+
:discovery_name,
|
8584
|
+
:client_aliases,
|
8585
|
+
:ingress_port_override)
|
8586
|
+
SENSITIVE = []
|
8587
|
+
include Aws::Structure
|
8588
|
+
end
|
8589
|
+
|
8590
|
+
# The Service Connect resource. Each configuration maps a discovery name
|
8591
|
+
# to a Cloud Map service name. The data is stored in Cloud Map as part
|
8592
|
+
# of the Service Connect configuration for each discovery name of this
|
8593
|
+
# Amazon ECS service.
|
8594
|
+
#
|
8595
|
+
# A task can resolve the `dnsName` for each of the `clientAliases` of a
|
8596
|
+
# service. However a task can't resolve the discovery names. If you
|
8597
|
+
# want to connect to a service, refer to the
|
8598
|
+
# `ServiceConnectConfiguration` of that service for the list of
|
8599
|
+
# `clientAliases` that you can use.
|
8600
|
+
#
|
8601
|
+
# @!attribute [rw] discovery_name
|
8602
|
+
# The discovery name of this Service Connect resource.
|
8603
|
+
#
|
8604
|
+
# The `discoveryName` is the name of the new Cloud Map service that
|
8605
|
+
# Amazon ECS creates for this Amazon ECS service. This must be unique
|
8606
|
+
# within the Cloud Map namespace. The name can contain up to 64
|
8607
|
+
# characters. The name can include lowercase letters, numbers,
|
8608
|
+
# underscores (\_), and hyphens (-). The name can't start with a
|
8609
|
+
# hyphen.
|
8610
|
+
#
|
8611
|
+
# If this parameter isn't specified, the default value of
|
8612
|
+
# `discoveryName.namespace` is used. If the `discoveryName` isn't
|
8613
|
+
# specified, the port mapping name from the task definition is used in
|
8614
|
+
# `portName.namespace`.
|
8615
|
+
# @return [String]
|
8616
|
+
#
|
8617
|
+
# @!attribute [rw] discovery_arn
|
8618
|
+
# The Amazon Resource Name (ARN) for the namespace in Cloud Map that
|
8619
|
+
# matches the discovery name for this Service Connect resource. You
|
8620
|
+
# can use this ARN in other integrations with Cloud Map. However,
|
8621
|
+
# Service Connect can't ensure connectivity outside of Amazon ECS.
|
8622
|
+
# @return [String]
|
8623
|
+
#
|
8624
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectServiceResource AWS API Documentation
|
8625
|
+
#
|
8626
|
+
class ServiceConnectServiceResource < Struct.new(
|
8627
|
+
:discovery_name,
|
8628
|
+
:discovery_arn)
|
8629
|
+
SENSITIVE = []
|
8630
|
+
include Aws::Structure
|
8631
|
+
end
|
8632
|
+
|
9587
8633
|
# The details for an event that's associated with a service.
|
9588
8634
|
#
|
9589
8635
|
# @!attribute [rw] id
|
@@ -9633,16 +8679,6 @@ module Aws::ECS
|
|
9633
8679
|
# Amazon ECS starts a new deployment. New tasks are registered and
|
9634
8680
|
# deregistered to the updated service registry configuration.
|
9635
8681
|
#
|
9636
|
-
# @note When making an API call, you may pass ServiceRegistry
|
9637
|
-
# data as a hash:
|
9638
|
-
#
|
9639
|
-
# {
|
9640
|
-
# registry_arn: "String",
|
9641
|
-
# port: 1,
|
9642
|
-
# container_name: "String",
|
9643
|
-
# container_port: 1,
|
9644
|
-
# }
|
9645
|
-
#
|
9646
8682
|
# @!attribute [rw] registry_arn
|
9647
8683
|
# The Amazon Resource Name (ARN) of the service registry. The
|
9648
8684
|
# currently supported service registry is Cloud Map. For more
|
@@ -9748,76 +8784,6 @@ module Aws::ECS
|
|
9748
8784
|
include Aws::Structure
|
9749
8785
|
end
|
9750
8786
|
|
9751
|
-
# @note When making an API call, you may pass StartTaskRequest
|
9752
|
-
# data as a hash:
|
9753
|
-
#
|
9754
|
-
# {
|
9755
|
-
# cluster: "String",
|
9756
|
-
# container_instances: ["String"], # required
|
9757
|
-
# enable_ecs_managed_tags: false,
|
9758
|
-
# enable_execute_command: false,
|
9759
|
-
# group: "String",
|
9760
|
-
# network_configuration: {
|
9761
|
-
# awsvpc_configuration: {
|
9762
|
-
# subnets: ["String"], # required
|
9763
|
-
# security_groups: ["String"],
|
9764
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
9765
|
-
# },
|
9766
|
-
# },
|
9767
|
-
# overrides: {
|
9768
|
-
# container_overrides: [
|
9769
|
-
# {
|
9770
|
-
# name: "String",
|
9771
|
-
# command: ["String"],
|
9772
|
-
# environment: [
|
9773
|
-
# {
|
9774
|
-
# name: "String",
|
9775
|
-
# value: "String",
|
9776
|
-
# },
|
9777
|
-
# ],
|
9778
|
-
# environment_files: [
|
9779
|
-
# {
|
9780
|
-
# value: "String", # required
|
9781
|
-
# type: "s3", # required, accepts s3
|
9782
|
-
# },
|
9783
|
-
# ],
|
9784
|
-
# cpu: 1,
|
9785
|
-
# memory: 1,
|
9786
|
-
# memory_reservation: 1,
|
9787
|
-
# resource_requirements: [
|
9788
|
-
# {
|
9789
|
-
# value: "String", # required
|
9790
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
9791
|
-
# },
|
9792
|
-
# ],
|
9793
|
-
# },
|
9794
|
-
# ],
|
9795
|
-
# cpu: "String",
|
9796
|
-
# inference_accelerator_overrides: [
|
9797
|
-
# {
|
9798
|
-
# device_name: "String",
|
9799
|
-
# device_type: "String",
|
9800
|
-
# },
|
9801
|
-
# ],
|
9802
|
-
# execution_role_arn: "String",
|
9803
|
-
# memory: "String",
|
9804
|
-
# task_role_arn: "String",
|
9805
|
-
# ephemeral_storage: {
|
9806
|
-
# size_in_gi_b: 1, # required
|
9807
|
-
# },
|
9808
|
-
# },
|
9809
|
-
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
9810
|
-
# reference_id: "String",
|
9811
|
-
# started_by: "String",
|
9812
|
-
# tags: [
|
9813
|
-
# {
|
9814
|
-
# key: "TagKey",
|
9815
|
-
# value: "TagValue",
|
9816
|
-
# },
|
9817
|
-
# ],
|
9818
|
-
# task_definition: "String", # required
|
9819
|
-
# }
|
9820
|
-
#
|
9821
8787
|
# @!attribute [rw] cluster
|
9822
8788
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
9823
8789
|
# where to start your task. If you do not specify a cluster, the
|
@@ -9971,15 +8937,6 @@ module Aws::ECS
|
|
9971
8937
|
include Aws::Structure
|
9972
8938
|
end
|
9973
8939
|
|
9974
|
-
# @note When making an API call, you may pass StopTaskRequest
|
9975
|
-
# data as a hash:
|
9976
|
-
#
|
9977
|
-
# {
|
9978
|
-
# cluster: "String",
|
9979
|
-
# task: "String", # required
|
9980
|
-
# reason: "String",
|
9981
|
-
# }
|
9982
|
-
#
|
9983
8940
|
# @!attribute [rw] cluster
|
9984
8941
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
9985
8942
|
# that hosts the task to stop. If you do not specify a cluster, the
|
@@ -10020,19 +8977,6 @@ module Aws::ECS
|
|
10020
8977
|
include Aws::Structure
|
10021
8978
|
end
|
10022
8979
|
|
10023
|
-
# @note When making an API call, you may pass SubmitAttachmentStateChangesRequest
|
10024
|
-
# data as a hash:
|
10025
|
-
#
|
10026
|
-
# {
|
10027
|
-
# cluster: "String",
|
10028
|
-
# attachments: [ # required
|
10029
|
-
# {
|
10030
|
-
# attachment_arn: "String", # required
|
10031
|
-
# status: "String", # required
|
10032
|
-
# },
|
10033
|
-
# ],
|
10034
|
-
# }
|
10035
|
-
#
|
10036
8980
|
# @!attribute [rw] cluster
|
10037
8981
|
# The short name or full ARN of the cluster that hosts the container
|
10038
8982
|
# instance the attachment belongs to.
|
@@ -10063,27 +9007,6 @@ module Aws::ECS
|
|
10063
9007
|
include Aws::Structure
|
10064
9008
|
end
|
10065
9009
|
|
10066
|
-
# @note When making an API call, you may pass SubmitContainerStateChangeRequest
|
10067
|
-
# data as a hash:
|
10068
|
-
#
|
10069
|
-
# {
|
10070
|
-
# cluster: "String",
|
10071
|
-
# task: "String",
|
10072
|
-
# container_name: "String",
|
10073
|
-
# runtime_id: "String",
|
10074
|
-
# status: "String",
|
10075
|
-
# exit_code: 1,
|
10076
|
-
# reason: "String",
|
10077
|
-
# network_bindings: [
|
10078
|
-
# {
|
10079
|
-
# bind_ip: "String",
|
10080
|
-
# container_port: 1,
|
10081
|
-
# host_port: 1,
|
10082
|
-
# protocol: "tcp", # accepts tcp, udp
|
10083
|
-
# },
|
10084
|
-
# ],
|
10085
|
-
# }
|
10086
|
-
#
|
10087
9010
|
# @!attribute [rw] cluster
|
10088
9011
|
# The short name or full ARN of the cluster that hosts the container.
|
10089
9012
|
# @return [String]
|
@@ -10144,51 +9067,6 @@ module Aws::ECS
|
|
10144
9067
|
include Aws::Structure
|
10145
9068
|
end
|
10146
9069
|
|
10147
|
-
# @note When making an API call, you may pass SubmitTaskStateChangeRequest
|
10148
|
-
# data as a hash:
|
10149
|
-
#
|
10150
|
-
# {
|
10151
|
-
# cluster: "String",
|
10152
|
-
# task: "String",
|
10153
|
-
# status: "String",
|
10154
|
-
# reason: "String",
|
10155
|
-
# containers: [
|
10156
|
-
# {
|
10157
|
-
# container_name: "String",
|
10158
|
-
# image_digest: "String",
|
10159
|
-
# runtime_id: "String",
|
10160
|
-
# exit_code: 1,
|
10161
|
-
# network_bindings: [
|
10162
|
-
# {
|
10163
|
-
# bind_ip: "String",
|
10164
|
-
# container_port: 1,
|
10165
|
-
# host_port: 1,
|
10166
|
-
# protocol: "tcp", # accepts tcp, udp
|
10167
|
-
# },
|
10168
|
-
# ],
|
10169
|
-
# reason: "String",
|
10170
|
-
# status: "String",
|
10171
|
-
# },
|
10172
|
-
# ],
|
10173
|
-
# attachments: [
|
10174
|
-
# {
|
10175
|
-
# attachment_arn: "String", # required
|
10176
|
-
# status: "String", # required
|
10177
|
-
# },
|
10178
|
-
# ],
|
10179
|
-
# managed_agents: [
|
10180
|
-
# {
|
10181
|
-
# container_name: "String", # required
|
10182
|
-
# managed_agent_name: "ExecuteCommandAgent", # required, accepts ExecuteCommandAgent
|
10183
|
-
# status: "String", # required
|
10184
|
-
# reason: "String",
|
10185
|
-
# },
|
10186
|
-
# ],
|
10187
|
-
# pull_started_at: Time.now,
|
10188
|
-
# pull_stopped_at: Time.now,
|
10189
|
-
# execution_stopped_at: Time.now,
|
10190
|
-
# }
|
10191
|
-
#
|
10192
9070
|
# @!attribute [rw] cluster
|
10193
9071
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
10194
9072
|
# that hosts the task.
|
@@ -10288,14 +9166,6 @@ module Aws::ECS
|
|
10288
9166
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
10289
9167
|
# [3]: https://docs.docker.com/engine/reference/run/#security-configuration
|
10290
9168
|
#
|
10291
|
-
# @note When making an API call, you may pass SystemControl
|
10292
|
-
# data as a hash:
|
10293
|
-
#
|
10294
|
-
# {
|
10295
|
-
# namespace: "String",
|
10296
|
-
# value: "String",
|
10297
|
-
# }
|
10298
|
-
#
|
10299
9169
|
# @!attribute [rw] namespace
|
10300
9170
|
# The namespaced kernel parameter to set a `value` for.
|
10301
9171
|
# @return [String]
|
@@ -10343,14 +9213,6 @@ module Aws::ECS
|
|
10343
9213
|
# values with this prefix. Tags with this prefix do not count against
|
10344
9214
|
# your tags per resource limit.
|
10345
9215
|
#
|
10346
|
-
# @note When making an API call, you may pass Tag
|
10347
|
-
# data as a hash:
|
10348
|
-
#
|
10349
|
-
# {
|
10350
|
-
# key: "TagKey",
|
10351
|
-
# value: "TagValue",
|
10352
|
-
# }
|
10353
|
-
#
|
10354
9216
|
# @!attribute [rw] key
|
10355
9217
|
# One part of a key-value pair that make up a tag. A `key` is a
|
10356
9218
|
# general label that acts like a category for more specific tag
|
@@ -10371,19 +9233,6 @@ module Aws::ECS
|
|
10371
9233
|
include Aws::Structure
|
10372
9234
|
end
|
10373
9235
|
|
10374
|
-
# @note When making an API call, you may pass TagResourceRequest
|
10375
|
-
# data as a hash:
|
10376
|
-
#
|
10377
|
-
# {
|
10378
|
-
# resource_arn: "String", # required
|
10379
|
-
# tags: [ # required
|
10380
|
-
# {
|
10381
|
-
# key: "TagKey",
|
10382
|
-
# value: "TagValue",
|
10383
|
-
# },
|
10384
|
-
# ],
|
10385
|
-
# }
|
10386
|
-
#
|
10387
9236
|
# @!attribute [rw] resource_arn
|
10388
9237
|
# The Amazon Resource Name (ARN) of the resource to add tags to.
|
10389
9238
|
# Currently, the supported resources are Amazon ECS capacity
|
@@ -11258,14 +10107,6 @@ module Aws::ECS
|
|
11258
10107
|
#
|
11259
10108
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html
|
11260
10109
|
#
|
11261
|
-
# @note When making an API call, you may pass TaskDefinitionPlacementConstraint
|
11262
|
-
# data as a hash:
|
11263
|
-
#
|
11264
|
-
# {
|
11265
|
-
# type: "memberOf", # accepts memberOf
|
11266
|
-
# expression: "String",
|
11267
|
-
# }
|
11268
|
-
#
|
11269
10110
|
# @!attribute [rw] type
|
11270
10111
|
# The type of constraint. The `MemberOf` constraint restricts
|
11271
10112
|
# selection to be from a group of valid candidates.
|
@@ -11292,58 +10133,12 @@ module Aws::ECS
|
|
11292
10133
|
|
11293
10134
|
# The overrides that are associated with a task.
|
11294
10135
|
#
|
11295
|
-
# @note When making an API call, you may pass TaskOverride
|
11296
|
-
# data as a hash:
|
11297
|
-
#
|
11298
|
-
# {
|
11299
|
-
# container_overrides: [
|
11300
|
-
# {
|
11301
|
-
# name: "String",
|
11302
|
-
# command: ["String"],
|
11303
|
-
# environment: [
|
11304
|
-
# {
|
11305
|
-
# name: "String",
|
11306
|
-
# value: "String",
|
11307
|
-
# },
|
11308
|
-
# ],
|
11309
|
-
# environment_files: [
|
11310
|
-
# {
|
11311
|
-
# value: "String", # required
|
11312
|
-
# type: "s3", # required, accepts s3
|
11313
|
-
# },
|
11314
|
-
# ],
|
11315
|
-
# cpu: 1,
|
11316
|
-
# memory: 1,
|
11317
|
-
# memory_reservation: 1,
|
11318
|
-
# resource_requirements: [
|
11319
|
-
# {
|
11320
|
-
# value: "String", # required
|
11321
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
11322
|
-
# },
|
11323
|
-
# ],
|
11324
|
-
# },
|
11325
|
-
# ],
|
11326
|
-
# cpu: "String",
|
11327
|
-
# inference_accelerator_overrides: [
|
11328
|
-
# {
|
11329
|
-
# device_name: "String",
|
11330
|
-
# device_type: "String",
|
11331
|
-
# },
|
11332
|
-
# ],
|
11333
|
-
# execution_role_arn: "String",
|
11334
|
-
# memory: "String",
|
11335
|
-
# task_role_arn: "String",
|
11336
|
-
# ephemeral_storage: {
|
11337
|
-
# size_in_gi_b: 1, # required
|
11338
|
-
# },
|
11339
|
-
# }
|
11340
|
-
#
|
11341
10136
|
# @!attribute [rw] container_overrides
|
11342
10137
|
# One or more container overrides that are sent to a task.
|
11343
10138
|
# @return [Array<Types::ContainerOverride>]
|
11344
10139
|
#
|
11345
10140
|
# @!attribute [rw] cpu
|
11346
|
-
# The
|
10141
|
+
# The CPU override for the task.
|
11347
10142
|
# @return [String]
|
11348
10143
|
#
|
11349
10144
|
# @!attribute [rw] inference_accelerator_overrides
|
@@ -11431,7 +10226,7 @@ module Aws::ECS
|
|
11431
10226
|
# The tag specified when a task set is started. If an CodeDeploy
|
11432
10227
|
# deployment created the task set, the `startedBy` parameter is
|
11433
10228
|
# `CODE_DEPLOY`. If an external deployment created the task set, the
|
11434
|
-
# startedBy field isn't used.
|
10229
|
+
# `startedBy` field isn't used.
|
11435
10230
|
# @return [String]
|
11436
10231
|
#
|
11437
10232
|
# @!attribute [rw] external_id
|
@@ -11556,7 +10351,7 @@ module Aws::ECS
|
|
11556
10351
|
# @!attribute [rw] stability_status
|
11557
10352
|
# The stability status. This indicates whether the task set has
|
11558
10353
|
# reached a steady state. If the following conditions are met, the
|
11559
|
-
# task set
|
10354
|
+
# task set are in `STEADY_STATE`\:
|
11560
10355
|
#
|
11561
10356
|
# * The task `runningCount` is equal to the `computedDesiredCount`.
|
11562
10357
|
#
|
@@ -11649,15 +10444,6 @@ module Aws::ECS
|
|
11649
10444
|
|
11650
10445
|
# The container path, mount options, and size of the tmpfs mount.
|
11651
10446
|
#
|
11652
|
-
# @note When making an API call, you may pass Tmpfs
|
11653
|
-
# data as a hash:
|
11654
|
-
#
|
11655
|
-
# {
|
11656
|
-
# container_path: "String", # required
|
11657
|
-
# size: 1, # required
|
11658
|
-
# mount_options: ["String"],
|
11659
|
-
# }
|
11660
|
-
#
|
11661
10447
|
# @!attribute [rw] container_path
|
11662
10448
|
# The absolute file path where the tmpfs volume is to be mounted.
|
11663
10449
|
# @return [String]
|
@@ -11697,25 +10483,16 @@ module Aws::ECS
|
|
11697
10483
|
# container can use. The default `nofile` soft limit is `1024` and hard
|
11698
10484
|
# limit is `4096`.
|
11699
10485
|
#
|
11700
|
-
# @note When making an API call, you may pass Ulimit
|
11701
|
-
# data as a hash:
|
11702
|
-
#
|
11703
|
-
# {
|
11704
|
-
# name: "core", # required, accepts core, cpu, data, fsize, locks, memlock, msgqueue, nice, nofile, nproc, rss, rtprio, rttime, sigpending, stack
|
11705
|
-
# soft_limit: 1, # required
|
11706
|
-
# hard_limit: 1, # required
|
11707
|
-
# }
|
11708
|
-
#
|
11709
10486
|
# @!attribute [rw] name
|
11710
10487
|
# The `type` of the `ulimit`.
|
11711
10488
|
# @return [String]
|
11712
10489
|
#
|
11713
10490
|
# @!attribute [rw] soft_limit
|
11714
|
-
# The soft limit for the ulimit type.
|
10491
|
+
# The soft limit for the `ulimit` type.
|
11715
10492
|
# @return [Integer]
|
11716
10493
|
#
|
11717
10494
|
# @!attribute [rw] hard_limit
|
11718
|
-
# The hard limit for the ulimit type.
|
10495
|
+
# The hard limit for the `ulimit` type.
|
11719
10496
|
# @return [Integer]
|
11720
10497
|
#
|
11721
10498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Ulimit AWS API Documentation
|
@@ -11734,14 +10511,6 @@ module Aws::ECS
|
|
11734
10511
|
#
|
11735
10512
|
class UnsupportedFeatureException < Aws::EmptyStructure; end
|
11736
10513
|
|
11737
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
11738
|
-
# data as a hash:
|
11739
|
-
#
|
11740
|
-
# {
|
11741
|
-
# resource_arn: "String", # required
|
11742
|
-
# tag_keys: ["TagKey"], # required
|
11743
|
-
# }
|
11744
|
-
#
|
11745
10514
|
# @!attribute [rw] resource_arn
|
11746
10515
|
# The Amazon Resource Name (ARN) of the resource to delete tags from.
|
11747
10516
|
# Currently, the supported resources are Amazon ECS capacity
|
@@ -11766,23 +10535,6 @@ module Aws::ECS
|
|
11766
10535
|
#
|
11767
10536
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
11768
10537
|
|
11769
|
-
# @note When making an API call, you may pass UpdateCapacityProviderRequest
|
11770
|
-
# data as a hash:
|
11771
|
-
#
|
11772
|
-
# {
|
11773
|
-
# name: "String", # required
|
11774
|
-
# auto_scaling_group_provider: { # required
|
11775
|
-
# managed_scaling: {
|
11776
|
-
# status: "ENABLED", # accepts ENABLED, DISABLED
|
11777
|
-
# target_capacity: 1,
|
11778
|
-
# minimum_scaling_step_size: 1,
|
11779
|
-
# maximum_scaling_step_size: 1,
|
11780
|
-
# instance_warmup_period: 1,
|
11781
|
-
# },
|
11782
|
-
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
11783
|
-
# },
|
11784
|
-
# }
|
11785
|
-
#
|
11786
10538
|
# @!attribute [rw] name
|
11787
10539
|
# The name of the capacity provider to update.
|
11788
10540
|
# @return [String]
|
@@ -11813,32 +10565,6 @@ module Aws::ECS
|
|
11813
10565
|
include Aws::Structure
|
11814
10566
|
end
|
11815
10567
|
|
11816
|
-
# @note When making an API call, you may pass UpdateClusterRequest
|
11817
|
-
# data as a hash:
|
11818
|
-
#
|
11819
|
-
# {
|
11820
|
-
# cluster: "String", # required
|
11821
|
-
# settings: [
|
11822
|
-
# {
|
11823
|
-
# name: "containerInsights", # accepts containerInsights
|
11824
|
-
# value: "String",
|
11825
|
-
# },
|
11826
|
-
# ],
|
11827
|
-
# configuration: {
|
11828
|
-
# execute_command_configuration: {
|
11829
|
-
# kms_key_id: "String",
|
11830
|
-
# logging: "NONE", # accepts NONE, DEFAULT, OVERRIDE
|
11831
|
-
# log_configuration: {
|
11832
|
-
# cloud_watch_log_group_name: "String",
|
11833
|
-
# cloud_watch_encryption_enabled: false,
|
11834
|
-
# s3_bucket_name: "String",
|
11835
|
-
# s3_encryption_enabled: false,
|
11836
|
-
# s3_key_prefix: "String",
|
11837
|
-
# },
|
11838
|
-
# },
|
11839
|
-
# },
|
11840
|
-
# }
|
11841
|
-
#
|
11842
10568
|
# @!attribute [rw] cluster
|
11843
10569
|
# The name of the cluster to modify the settings for.
|
11844
10570
|
# @return [String]
|
@@ -11851,12 +10577,37 @@ module Aws::ECS
|
|
11851
10577
|
# The execute command configuration for the cluster.
|
11852
10578
|
# @return [Types::ClusterConfiguration]
|
11853
10579
|
#
|
10580
|
+
# @!attribute [rw] service_connect_defaults
|
10581
|
+
# Use this parameter to set a default Service Connect namespace. After
|
10582
|
+
# you set a default Service Connect namespace, any new services with
|
10583
|
+
# Service Connect turned on that are created in the cluster are added
|
10584
|
+
# as client services in the namespace. This setting only applies to
|
10585
|
+
# new services that set the `enabled` parameter to `true` in the
|
10586
|
+
# `ServiceConnectConfiguration`. You can set the namespace of each
|
10587
|
+
# service individually in the `ServiceConnectConfiguration` to
|
10588
|
+
# override this default parameter.
|
10589
|
+
#
|
10590
|
+
# Tasks that run in a namespace can use short names to connect to
|
10591
|
+
# services in the namespace. Tasks can connect to services across all
|
10592
|
+
# of the clusters in the namespace. Tasks connect through a managed
|
10593
|
+
# proxy container that collects logs and metrics for increased
|
10594
|
+
# visibility. Only the tasks that Amazon ECS services create are
|
10595
|
+
# supported with Service Connect. For more information, see [Service
|
10596
|
+
# Connect][1] in the *Amazon Elastic Container Service Developer
|
10597
|
+
# Guide*.
|
10598
|
+
#
|
10599
|
+
#
|
10600
|
+
#
|
10601
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
10602
|
+
# @return [Types::ClusterServiceConnectDefaultsRequest]
|
10603
|
+
#
|
11854
10604
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterRequest AWS API Documentation
|
11855
10605
|
#
|
11856
10606
|
class UpdateClusterRequest < Struct.new(
|
11857
10607
|
:cluster,
|
11858
10608
|
:settings,
|
11859
|
-
:configuration
|
10609
|
+
:configuration,
|
10610
|
+
:service_connect_defaults)
|
11860
10611
|
SENSITIVE = []
|
11861
10612
|
include Aws::Structure
|
11862
10613
|
end
|
@@ -11873,19 +10624,6 @@ module Aws::ECS
|
|
11873
10624
|
include Aws::Structure
|
11874
10625
|
end
|
11875
10626
|
|
11876
|
-
# @note When making an API call, you may pass UpdateClusterSettingsRequest
|
11877
|
-
# data as a hash:
|
11878
|
-
#
|
11879
|
-
# {
|
11880
|
-
# cluster: "String", # required
|
11881
|
-
# settings: [ # required
|
11882
|
-
# {
|
11883
|
-
# name: "containerInsights", # accepts containerInsights
|
11884
|
-
# value: "String",
|
11885
|
-
# },
|
11886
|
-
# ],
|
11887
|
-
# }
|
11888
|
-
#
|
11889
10627
|
# @!attribute [rw] cluster
|
11890
10628
|
# The name of the cluster to modify the settings for.
|
11891
10629
|
# @return [String]
|
@@ -11895,6 +10633,13 @@ module Aws::ECS
|
|
11895
10633
|
# to turn on CloudWatch Container Insights for a cluster. If this
|
11896
10634
|
# value is specified, it overrides the `containerInsights` value set
|
11897
10635
|
# with PutAccountSetting or PutAccountSettingDefault.
|
10636
|
+
#
|
10637
|
+
# Currently, if you delete an existing cluster that does not have
|
10638
|
+
# Container Insights turned on, and then create a new cluster with the
|
10639
|
+
# same name with Container Insights tuned on, Container Insights will
|
10640
|
+
# not actually be turned on. If you want to preserve the same name for
|
10641
|
+
# your existing cluster and turn on Container Insights, you must wait
|
10642
|
+
# 7 days before you can re-create it.
|
11898
10643
|
# @return [Array<Types::ClusterSetting>]
|
11899
10644
|
#
|
11900
10645
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettingsRequest AWS API Documentation
|
@@ -11918,14 +10663,6 @@ module Aws::ECS
|
|
11918
10663
|
include Aws::Structure
|
11919
10664
|
end
|
11920
10665
|
|
11921
|
-
# @note When making an API call, you may pass UpdateContainerAgentRequest
|
11922
|
-
# data as a hash:
|
11923
|
-
#
|
11924
|
-
# {
|
11925
|
-
# cluster: "String",
|
11926
|
-
# container_instance: "String", # required
|
11927
|
-
# }
|
11928
|
-
#
|
11929
10666
|
# @!attribute [rw] cluster
|
11930
10667
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
11931
10668
|
# that your container instance is running on. If you do not specify a
|
@@ -11959,15 +10696,6 @@ module Aws::ECS
|
|
11959
10696
|
include Aws::Structure
|
11960
10697
|
end
|
11961
10698
|
|
11962
|
-
# @note When making an API call, you may pass UpdateContainerInstancesStateRequest
|
11963
|
-
# data as a hash:
|
11964
|
-
#
|
11965
|
-
# {
|
11966
|
-
# cluster: "String",
|
11967
|
-
# container_instances: ["String"], # required
|
11968
|
-
# status: "ACTIVE", # required, accepts ACTIVE, DRAINING, REGISTERING, DEREGISTERING, REGISTRATION_FAILED
|
11969
|
-
# }
|
11970
|
-
#
|
11971
10699
|
# @!attribute [rw] cluster
|
11972
10700
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
11973
10701
|
# that hosts the container instance to update. If you do not specify a
|
@@ -12026,15 +10754,6 @@ module Aws::ECS
|
|
12026
10754
|
#
|
12027
10755
|
class UpdateInProgressException < Aws::EmptyStructure; end
|
12028
10756
|
|
12029
|
-
# @note When making an API call, you may pass UpdateServicePrimaryTaskSetRequest
|
12030
|
-
# data as a hash:
|
12031
|
-
#
|
12032
|
-
# {
|
12033
|
-
# cluster: "String", # required
|
12034
|
-
# service: "String", # required
|
12035
|
-
# primary_task_set: "String", # required
|
12036
|
-
# }
|
12037
|
-
#
|
12038
10757
|
# @!attribute [rw] cluster
|
12039
10758
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
12040
10759
|
# that hosts the service that the task set exists in.
|
@@ -12061,7 +10780,7 @@ module Aws::ECS
|
|
12061
10780
|
end
|
12062
10781
|
|
12063
10782
|
# @!attribute [rw] task_set
|
12064
|
-
#
|
10783
|
+
# The details about the task set.
|
12065
10784
|
# @return [Types::TaskSet]
|
12066
10785
|
#
|
12067
10786
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServicePrimaryTaskSetResponse AWS API Documentation
|
@@ -12072,72 +10791,6 @@ module Aws::ECS
|
|
12072
10791
|
include Aws::Structure
|
12073
10792
|
end
|
12074
10793
|
|
12075
|
-
# @note When making an API call, you may pass UpdateServiceRequest
|
12076
|
-
# data as a hash:
|
12077
|
-
#
|
12078
|
-
# {
|
12079
|
-
# cluster: "String",
|
12080
|
-
# service: "String", # required
|
12081
|
-
# desired_count: 1,
|
12082
|
-
# task_definition: "String",
|
12083
|
-
# capacity_provider_strategy: [
|
12084
|
-
# {
|
12085
|
-
# capacity_provider: "String", # required
|
12086
|
-
# weight: 1,
|
12087
|
-
# base: 1,
|
12088
|
-
# },
|
12089
|
-
# ],
|
12090
|
-
# deployment_configuration: {
|
12091
|
-
# deployment_circuit_breaker: {
|
12092
|
-
# enable: false, # required
|
12093
|
-
# rollback: false, # required
|
12094
|
-
# },
|
12095
|
-
# maximum_percent: 1,
|
12096
|
-
# minimum_healthy_percent: 1,
|
12097
|
-
# },
|
12098
|
-
# network_configuration: {
|
12099
|
-
# awsvpc_configuration: {
|
12100
|
-
# subnets: ["String"], # required
|
12101
|
-
# security_groups: ["String"],
|
12102
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
12103
|
-
# },
|
12104
|
-
# },
|
12105
|
-
# placement_constraints: [
|
12106
|
-
# {
|
12107
|
-
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
12108
|
-
# expression: "String",
|
12109
|
-
# },
|
12110
|
-
# ],
|
12111
|
-
# placement_strategy: [
|
12112
|
-
# {
|
12113
|
-
# type: "random", # accepts random, spread, binpack
|
12114
|
-
# field: "String",
|
12115
|
-
# },
|
12116
|
-
# ],
|
12117
|
-
# platform_version: "String",
|
12118
|
-
# force_new_deployment: false,
|
12119
|
-
# health_check_grace_period_seconds: 1,
|
12120
|
-
# enable_execute_command: false,
|
12121
|
-
# enable_ecs_managed_tags: false,
|
12122
|
-
# load_balancers: [
|
12123
|
-
# {
|
12124
|
-
# target_group_arn: "String",
|
12125
|
-
# load_balancer_name: "String",
|
12126
|
-
# container_name: "String",
|
12127
|
-
# container_port: 1,
|
12128
|
-
# },
|
12129
|
-
# ],
|
12130
|
-
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
12131
|
-
# service_registries: [
|
12132
|
-
# {
|
12133
|
-
# registry_arn: "String",
|
12134
|
-
# port: 1,
|
12135
|
-
# container_name: "String",
|
12136
|
-
# container_port: 1,
|
12137
|
-
# },
|
12138
|
-
# ],
|
12139
|
-
# }
|
12140
|
-
#
|
12141
10794
|
# @!attribute [rw] cluster
|
12142
10795
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
12143
10796
|
# that your service runs on. If you do not specify a cluster, the
|
@@ -12353,6 +11006,25 @@ module Aws::ECS
|
|
12353
11006
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
|
12354
11007
|
# @return [Array<Types::ServiceRegistry>]
|
12355
11008
|
#
|
11009
|
+
# @!attribute [rw] service_connect_configuration
|
11010
|
+
# The configuration for this service to discover and connect to
|
11011
|
+
# services, and be discovered by, and connected from, other services
|
11012
|
+
# within a namespace.
|
11013
|
+
#
|
11014
|
+
# Tasks that run in a namespace can use short names to connect to
|
11015
|
+
# services in the namespace. Tasks can connect to services across all
|
11016
|
+
# of the clusters in the namespace. Tasks connect through a managed
|
11017
|
+
# proxy container that collects logs and metrics for increased
|
11018
|
+
# visibility. Only the tasks that Amazon ECS services create are
|
11019
|
+
# supported with Service Connect. For more information, see [Service
|
11020
|
+
# Connect][1] in the *Amazon Elastic Container Service Developer
|
11021
|
+
# Guide*.
|
11022
|
+
#
|
11023
|
+
#
|
11024
|
+
#
|
11025
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
11026
|
+
# @return [Types::ServiceConnectConfiguration]
|
11027
|
+
#
|
12356
11028
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceRequest AWS API Documentation
|
12357
11029
|
#
|
12358
11030
|
class UpdateServiceRequest < Struct.new(
|
@@ -12372,7 +11044,8 @@ module Aws::ECS
|
|
12372
11044
|
:enable_ecs_managed_tags,
|
12373
11045
|
:load_balancers,
|
12374
11046
|
:propagate_tags,
|
12375
|
-
:service_registries
|
11047
|
+
:service_registries,
|
11048
|
+
:service_connect_configuration)
|
12376
11049
|
SENSITIVE = []
|
12377
11050
|
include Aws::Structure
|
12378
11051
|
end
|
@@ -12389,16 +11062,6 @@ module Aws::ECS
|
|
12389
11062
|
include Aws::Structure
|
12390
11063
|
end
|
12391
11064
|
|
12392
|
-
# @note When making an API call, you may pass UpdateTaskProtectionRequest
|
12393
|
-
# data as a hash:
|
12394
|
-
#
|
12395
|
-
# {
|
12396
|
-
# cluster: "String", # required
|
12397
|
-
# tasks: ["String"], # required
|
12398
|
-
# protection_enabled: false, # required
|
12399
|
-
# expires_in_minutes: 1,
|
12400
|
-
# }
|
12401
|
-
#
|
12402
11065
|
# @!attribute [rw] cluster
|
12403
11066
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
12404
11067
|
# that hosts the service that the task sets exist in.
|
@@ -12462,19 +11125,6 @@ module Aws::ECS
|
|
12462
11125
|
include Aws::Structure
|
12463
11126
|
end
|
12464
11127
|
|
12465
|
-
# @note When making an API call, you may pass UpdateTaskSetRequest
|
12466
|
-
# data as a hash:
|
12467
|
-
#
|
12468
|
-
# {
|
12469
|
-
# cluster: "String", # required
|
12470
|
-
# service: "String", # required
|
12471
|
-
# task_set: "String", # required
|
12472
|
-
# scale: { # required
|
12473
|
-
# value: 1.0,
|
12474
|
-
# unit: "PERCENT", # accepts PERCENT
|
12475
|
-
# },
|
12476
|
-
# }
|
12477
|
-
#
|
12478
11128
|
# @!attribute [rw] cluster
|
12479
11129
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
12480
11130
|
# that hosts the service that the task set is found in.
|
@@ -12521,15 +11171,6 @@ module Aws::ECS
|
|
12521
11171
|
# The Docker and Amazon ECS container agent version information about a
|
12522
11172
|
# container instance.
|
12523
11173
|
#
|
12524
|
-
# @note When making an API call, you may pass VersionInfo
|
12525
|
-
# data as a hash:
|
12526
|
-
#
|
12527
|
-
# {
|
12528
|
-
# agent_version: "String",
|
12529
|
-
# agent_hash: "String",
|
12530
|
-
# docker_version: "String",
|
12531
|
-
# }
|
12532
|
-
#
|
12533
11174
|
# @!attribute [rw] agent_version
|
12534
11175
|
# The version number of the Amazon ECS container agent.
|
12535
11176
|
# @return [String]
|
@@ -12570,45 +11211,6 @@ module Aws::ECS
|
|
12570
11211
|
#
|
12571
11212
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html
|
12572
11213
|
#
|
12573
|
-
# @note When making an API call, you may pass Volume
|
12574
|
-
# data as a hash:
|
12575
|
-
#
|
12576
|
-
# {
|
12577
|
-
# name: "String",
|
12578
|
-
# host: {
|
12579
|
-
# source_path: "String",
|
12580
|
-
# },
|
12581
|
-
# docker_volume_configuration: {
|
12582
|
-
# scope: "task", # accepts task, shared
|
12583
|
-
# autoprovision: false,
|
12584
|
-
# driver: "String",
|
12585
|
-
# driver_opts: {
|
12586
|
-
# "String" => "String",
|
12587
|
-
# },
|
12588
|
-
# labels: {
|
12589
|
-
# "String" => "String",
|
12590
|
-
# },
|
12591
|
-
# },
|
12592
|
-
# efs_volume_configuration: {
|
12593
|
-
# file_system_id: "String", # required
|
12594
|
-
# root_directory: "String",
|
12595
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
12596
|
-
# transit_encryption_port: 1,
|
12597
|
-
# authorization_config: {
|
12598
|
-
# access_point_id: "String",
|
12599
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
12600
|
-
# },
|
12601
|
-
# },
|
12602
|
-
# fsx_windows_file_server_volume_configuration: {
|
12603
|
-
# file_system_id: "String", # required
|
12604
|
-
# root_directory: "String", # required
|
12605
|
-
# authorization_config: { # required
|
12606
|
-
# credentials_parameter: "String", # required
|
12607
|
-
# domain: "String", # required
|
12608
|
-
# },
|
12609
|
-
# },
|
12610
|
-
# }
|
12611
|
-
#
|
12612
11214
|
# @!attribute [rw] name
|
12613
11215
|
# The name of the volume. Up to 255 letters (uppercase and lowercase),
|
12614
11216
|
# numbers, underscores, and hyphens are allowed. This name is
|
@@ -12668,14 +11270,6 @@ module Aws::ECS
|
|
12668
11270
|
# Details on a data volume from another container in the same task
|
12669
11271
|
# definition.
|
12670
11272
|
#
|
12671
|
-
# @note When making an API call, you may pass VolumeFrom
|
12672
|
-
# data as a hash:
|
12673
|
-
#
|
12674
|
-
# {
|
12675
|
-
# source_container: "String",
|
12676
|
-
# read_only: false,
|
12677
|
-
# }
|
12678
|
-
#
|
12679
11273
|
# @!attribute [rw] source_container
|
12680
11274
|
# The name of another container within the same task definition to
|
12681
11275
|
# mount volumes from.
|