aws-sdk-ecs 1.106.0 → 1.108.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 +25 -1
- data/lib/aws-sdk-ecs/client_api.rb +3 -0
- data/lib/aws-sdk-ecs/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-ecs/endpoint_provider.rb +74 -75
- data/lib/aws-sdk-ecs/types.rb +178 -2250
- 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),
|
@@ -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]
|
@@ -714,23 +649,6 @@ module Aws::ECS
|
|
714
649
|
|
715
650
|
# The execute command configuration for the cluster.
|
716
651
|
#
|
717
|
-
# @note When making an API call, you may pass ClusterConfiguration
|
718
|
-
# data as a hash:
|
719
|
-
#
|
720
|
-
# {
|
721
|
-
# execute_command_configuration: {
|
722
|
-
# kms_key_id: "String",
|
723
|
-
# logging: "NONE", # accepts NONE, DEFAULT, OVERRIDE
|
724
|
-
# log_configuration: {
|
725
|
-
# cloud_watch_log_group_name: "String",
|
726
|
-
# cloud_watch_encryption_enabled: false,
|
727
|
-
# s3_bucket_name: "String",
|
728
|
-
# s3_encryption_enabled: false,
|
729
|
-
# s3_key_prefix: "String",
|
730
|
-
# },
|
731
|
-
# },
|
732
|
-
# }
|
733
|
-
#
|
734
652
|
# @!attribute [rw] execute_command_configuration
|
735
653
|
# The details of the execute command configuration.
|
736
654
|
# @return [Types::ExecuteCommandConfiguration]
|
@@ -828,20 +746,13 @@ module Aws::ECS
|
|
828
746
|
#
|
829
747
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
830
748
|
#
|
831
|
-
# @note When making an API call, you may pass ClusterServiceConnectDefaultsRequest
|
832
|
-
# data as a hash:
|
833
|
-
#
|
834
|
-
# {
|
835
|
-
# namespace: "String", # required
|
836
|
-
# }
|
837
|
-
#
|
838
749
|
# @!attribute [rw] namespace
|
839
750
|
# The namespace name or full Amazon Resource Name (ARN) of the Cloud
|
840
751
|
# Map namespace that's used when you create a service and don't
|
841
|
-
# specify a Service Connect configuration.
|
842
|
-
#
|
843
|
-
# hyphens (-), tilde (~), greater than (>), less
|
844
|
-
# slash (/).
|
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 (/).
|
845
756
|
#
|
846
757
|
# If you enter an existing namespace name or ARN, then that namespace
|
847
758
|
# will be used. Any namespace type is supported. The namespace must be
|
@@ -877,14 +788,6 @@ module Aws::ECS
|
|
877
788
|
# The settings to use when creating a cluster. This parameter is used to
|
878
789
|
# turn on CloudWatch Container Insights for a cluster.
|
879
790
|
#
|
880
|
-
# @note When making an API call, you may pass ClusterSetting
|
881
|
-
# data as a hash:
|
882
|
-
#
|
883
|
-
# {
|
884
|
-
# name: "containerInsights", # accepts containerInsights
|
885
|
-
# value: "String",
|
886
|
-
# }
|
887
|
-
#
|
888
791
|
# @!attribute [rw] name
|
889
792
|
# The name of the cluster setting. The only supported value is
|
890
793
|
# `containerInsights`.
|
@@ -1017,160 +920,6 @@ module Aws::ECS
|
|
1017
920
|
# Container definitions are used in task definitions to describe the
|
1018
921
|
# different containers that are launched as part of a task.
|
1019
922
|
#
|
1020
|
-
# @note When making an API call, you may pass ContainerDefinition
|
1021
|
-
# data as a hash:
|
1022
|
-
#
|
1023
|
-
# {
|
1024
|
-
# name: "String",
|
1025
|
-
# image: "String",
|
1026
|
-
# repository_credentials: {
|
1027
|
-
# credentials_parameter: "String", # required
|
1028
|
-
# },
|
1029
|
-
# cpu: 1,
|
1030
|
-
# memory: 1,
|
1031
|
-
# memory_reservation: 1,
|
1032
|
-
# links: ["String"],
|
1033
|
-
# port_mappings: [
|
1034
|
-
# {
|
1035
|
-
# container_port: 1,
|
1036
|
-
# host_port: 1,
|
1037
|
-
# protocol: "tcp", # accepts tcp, udp
|
1038
|
-
# name: "String",
|
1039
|
-
# app_protocol: "http", # accepts http, http2, grpc
|
1040
|
-
# },
|
1041
|
-
# ],
|
1042
|
-
# essential: false,
|
1043
|
-
# entry_point: ["String"],
|
1044
|
-
# command: ["String"],
|
1045
|
-
# environment: [
|
1046
|
-
# {
|
1047
|
-
# name: "String",
|
1048
|
-
# value: "String",
|
1049
|
-
# },
|
1050
|
-
# ],
|
1051
|
-
# environment_files: [
|
1052
|
-
# {
|
1053
|
-
# value: "String", # required
|
1054
|
-
# type: "s3", # required, accepts s3
|
1055
|
-
# },
|
1056
|
-
# ],
|
1057
|
-
# mount_points: [
|
1058
|
-
# {
|
1059
|
-
# source_volume: "String",
|
1060
|
-
# container_path: "String",
|
1061
|
-
# read_only: false,
|
1062
|
-
# },
|
1063
|
-
# ],
|
1064
|
-
# volumes_from: [
|
1065
|
-
# {
|
1066
|
-
# source_container: "String",
|
1067
|
-
# read_only: false,
|
1068
|
-
# },
|
1069
|
-
# ],
|
1070
|
-
# linux_parameters: {
|
1071
|
-
# capabilities: {
|
1072
|
-
# add: ["String"],
|
1073
|
-
# drop: ["String"],
|
1074
|
-
# },
|
1075
|
-
# devices: [
|
1076
|
-
# {
|
1077
|
-
# host_path: "String", # required
|
1078
|
-
# container_path: "String",
|
1079
|
-
# permissions: ["read"], # accepts read, write, mknod
|
1080
|
-
# },
|
1081
|
-
# ],
|
1082
|
-
# init_process_enabled: false,
|
1083
|
-
# shared_memory_size: 1,
|
1084
|
-
# tmpfs: [
|
1085
|
-
# {
|
1086
|
-
# container_path: "String", # required
|
1087
|
-
# size: 1, # required
|
1088
|
-
# mount_options: ["String"],
|
1089
|
-
# },
|
1090
|
-
# ],
|
1091
|
-
# max_swap: 1,
|
1092
|
-
# swappiness: 1,
|
1093
|
-
# },
|
1094
|
-
# secrets: [
|
1095
|
-
# {
|
1096
|
-
# name: "String", # required
|
1097
|
-
# value_from: "String", # required
|
1098
|
-
# },
|
1099
|
-
# ],
|
1100
|
-
# depends_on: [
|
1101
|
-
# {
|
1102
|
-
# container_name: "String", # required
|
1103
|
-
# condition: "START", # required, accepts START, COMPLETE, SUCCESS, HEALTHY
|
1104
|
-
# },
|
1105
|
-
# ],
|
1106
|
-
# start_timeout: 1,
|
1107
|
-
# stop_timeout: 1,
|
1108
|
-
# hostname: "String",
|
1109
|
-
# user: "String",
|
1110
|
-
# working_directory: "String",
|
1111
|
-
# disable_networking: false,
|
1112
|
-
# privileged: false,
|
1113
|
-
# readonly_root_filesystem: false,
|
1114
|
-
# dns_servers: ["String"],
|
1115
|
-
# dns_search_domains: ["String"],
|
1116
|
-
# extra_hosts: [
|
1117
|
-
# {
|
1118
|
-
# hostname: "String", # required
|
1119
|
-
# ip_address: "String", # required
|
1120
|
-
# },
|
1121
|
-
# ],
|
1122
|
-
# docker_security_options: ["String"],
|
1123
|
-
# interactive: false,
|
1124
|
-
# pseudo_terminal: false,
|
1125
|
-
# docker_labels: {
|
1126
|
-
# "String" => "String",
|
1127
|
-
# },
|
1128
|
-
# ulimits: [
|
1129
|
-
# {
|
1130
|
-
# name: "core", # required, accepts core, cpu, data, fsize, locks, memlock, msgqueue, nice, nofile, nproc, rss, rtprio, rttime, sigpending, stack
|
1131
|
-
# soft_limit: 1, # required
|
1132
|
-
# hard_limit: 1, # required
|
1133
|
-
# },
|
1134
|
-
# ],
|
1135
|
-
# log_configuration: {
|
1136
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
|
1137
|
-
# options: {
|
1138
|
-
# "String" => "String",
|
1139
|
-
# },
|
1140
|
-
# secret_options: [
|
1141
|
-
# {
|
1142
|
-
# name: "String", # required
|
1143
|
-
# value_from: "String", # required
|
1144
|
-
# },
|
1145
|
-
# ],
|
1146
|
-
# },
|
1147
|
-
# health_check: {
|
1148
|
-
# command: ["String"], # required
|
1149
|
-
# interval: 1,
|
1150
|
-
# timeout: 1,
|
1151
|
-
# retries: 1,
|
1152
|
-
# start_period: 1,
|
1153
|
-
# },
|
1154
|
-
# system_controls: [
|
1155
|
-
# {
|
1156
|
-
# namespace: "String",
|
1157
|
-
# value: "String",
|
1158
|
-
# },
|
1159
|
-
# ],
|
1160
|
-
# resource_requirements: [
|
1161
|
-
# {
|
1162
|
-
# value: "String", # required
|
1163
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
1164
|
-
# },
|
1165
|
-
# ],
|
1166
|
-
# firelens_configuration: {
|
1167
|
-
# type: "fluentd", # required, accepts fluentd, fluentbit
|
1168
|
-
# options: {
|
1169
|
-
# "String" => "String",
|
1170
|
-
# },
|
1171
|
-
# },
|
1172
|
-
# }
|
1173
|
-
#
|
1174
923
|
# @!attribute [rw] name
|
1175
924
|
# The name of a container. If you're linking multiple containers
|
1176
925
|
# together in a task definition, the `name` of one container can be
|
@@ -2160,14 +1909,6 @@ module Aws::ECS
|
|
2160
1909
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
2161
1910
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
2162
1911
|
#
|
2163
|
-
# @note When making an API call, you may pass ContainerDependency
|
2164
|
-
# data as a hash:
|
2165
|
-
#
|
2166
|
-
# {
|
2167
|
-
# container_name: "String", # required
|
2168
|
-
# condition: "START", # required, accepts START, COMPLETE, SUCCESS, HEALTHY
|
2169
|
-
# }
|
2170
|
-
#
|
2171
1912
|
# @!attribute [rw] container_name
|
2172
1913
|
# The name of a container.
|
2173
1914
|
# @return [String]
|
@@ -2426,35 +2167,6 @@ module Aws::ECS
|
|
2426
2167
|
# is `\{"containerOverrides": [ ] \}`. If a non-empty container override
|
2427
2168
|
# is specified, the `name` parameter must be included.
|
2428
2169
|
#
|
2429
|
-
# @note When making an API call, you may pass ContainerOverride
|
2430
|
-
# data as a hash:
|
2431
|
-
#
|
2432
|
-
# {
|
2433
|
-
# name: "String",
|
2434
|
-
# command: ["String"],
|
2435
|
-
# environment: [
|
2436
|
-
# {
|
2437
|
-
# name: "String",
|
2438
|
-
# value: "String",
|
2439
|
-
# },
|
2440
|
-
# ],
|
2441
|
-
# environment_files: [
|
2442
|
-
# {
|
2443
|
-
# value: "String", # required
|
2444
|
-
# type: "s3", # required, accepts s3
|
2445
|
-
# },
|
2446
|
-
# ],
|
2447
|
-
# cpu: 1,
|
2448
|
-
# memory: 1,
|
2449
|
-
# memory_reservation: 1,
|
2450
|
-
# resource_requirements: [
|
2451
|
-
# {
|
2452
|
-
# value: "String", # required
|
2453
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
2454
|
-
# },
|
2455
|
-
# ],
|
2456
|
-
# }
|
2457
|
-
#
|
2458
2170
|
# @!attribute [rw] name
|
2459
2171
|
# The name of the container that receives the override. This parameter
|
2460
2172
|
# is required if any override is specified.
|
@@ -2521,26 +2233,6 @@ module Aws::ECS
|
|
2521
2233
|
|
2522
2234
|
# An object that represents a change in state for a container.
|
2523
2235
|
#
|
2524
|
-
# @note When making an API call, you may pass ContainerStateChange
|
2525
|
-
# data as a hash:
|
2526
|
-
#
|
2527
|
-
# {
|
2528
|
-
# container_name: "String",
|
2529
|
-
# image_digest: "String",
|
2530
|
-
# runtime_id: "String",
|
2531
|
-
# exit_code: 1,
|
2532
|
-
# network_bindings: [
|
2533
|
-
# {
|
2534
|
-
# bind_ip: "String",
|
2535
|
-
# container_port: 1,
|
2536
|
-
# host_port: 1,
|
2537
|
-
# protocol: "tcp", # accepts tcp, udp
|
2538
|
-
# },
|
2539
|
-
# ],
|
2540
|
-
# reason: "String",
|
2541
|
-
# status: "String",
|
2542
|
-
# }
|
2543
|
-
#
|
2544
2236
|
# @!attribute [rw] container_name
|
2545
2237
|
# The name of the container.
|
2546
2238
|
# @return [String]
|
@@ -2584,30 +2276,6 @@ module Aws::ECS
|
|
2584
2276
|
include Aws::Structure
|
2585
2277
|
end
|
2586
2278
|
|
2587
|
-
# @note When making an API call, you may pass CreateCapacityProviderRequest
|
2588
|
-
# data as a hash:
|
2589
|
-
#
|
2590
|
-
# {
|
2591
|
-
# name: "String", # required
|
2592
|
-
# auto_scaling_group_provider: { # required
|
2593
|
-
# auto_scaling_group_arn: "String", # required
|
2594
|
-
# managed_scaling: {
|
2595
|
-
# status: "ENABLED", # accepts ENABLED, DISABLED
|
2596
|
-
# target_capacity: 1,
|
2597
|
-
# minimum_scaling_step_size: 1,
|
2598
|
-
# maximum_scaling_step_size: 1,
|
2599
|
-
# instance_warmup_period: 1,
|
2600
|
-
# },
|
2601
|
-
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
2602
|
-
# },
|
2603
|
-
# tags: [
|
2604
|
-
# {
|
2605
|
-
# key: "TagKey",
|
2606
|
-
# value: "TagValue",
|
2607
|
-
# },
|
2608
|
-
# ],
|
2609
|
-
# }
|
2610
|
-
#
|
2611
2279
|
# @!attribute [rw] name
|
2612
2280
|
# The name of the capacity provider. Up to 255 characters are allowed.
|
2613
2281
|
# They include letters (both upper and lowercase letters), numbers,
|
@@ -2672,49 +2340,6 @@ module Aws::ECS
|
|
2672
2340
|
include Aws::Structure
|
2673
2341
|
end
|
2674
2342
|
|
2675
|
-
# @note When making an API call, you may pass CreateClusterRequest
|
2676
|
-
# data as a hash:
|
2677
|
-
#
|
2678
|
-
# {
|
2679
|
-
# cluster_name: "String",
|
2680
|
-
# tags: [
|
2681
|
-
# {
|
2682
|
-
# key: "TagKey",
|
2683
|
-
# value: "TagValue",
|
2684
|
-
# },
|
2685
|
-
# ],
|
2686
|
-
# settings: [
|
2687
|
-
# {
|
2688
|
-
# name: "containerInsights", # accepts containerInsights
|
2689
|
-
# value: "String",
|
2690
|
-
# },
|
2691
|
-
# ],
|
2692
|
-
# configuration: {
|
2693
|
-
# execute_command_configuration: {
|
2694
|
-
# kms_key_id: "String",
|
2695
|
-
# logging: "NONE", # accepts NONE, DEFAULT, OVERRIDE
|
2696
|
-
# log_configuration: {
|
2697
|
-
# cloud_watch_log_group_name: "String",
|
2698
|
-
# cloud_watch_encryption_enabled: false,
|
2699
|
-
# s3_bucket_name: "String",
|
2700
|
-
# s3_encryption_enabled: false,
|
2701
|
-
# s3_key_prefix: "String",
|
2702
|
-
# },
|
2703
|
-
# },
|
2704
|
-
# },
|
2705
|
-
# capacity_providers: ["String"],
|
2706
|
-
# default_capacity_provider_strategy: [
|
2707
|
-
# {
|
2708
|
-
# capacity_provider: "String", # required
|
2709
|
-
# weight: 1,
|
2710
|
-
# base: 1,
|
2711
|
-
# },
|
2712
|
-
# ],
|
2713
|
-
# service_connect_defaults: {
|
2714
|
-
# namespace: "String", # required
|
2715
|
-
# },
|
2716
|
-
# }
|
2717
|
-
#
|
2718
2343
|
# @!attribute [rw] cluster_name
|
2719
2344
|
# The name of your cluster. If you don't specify a name for your
|
2720
2345
|
# cluster, you create a cluster that's named `default`. Up to 255
|
@@ -2848,113 +2473,6 @@ module Aws::ECS
|
|
2848
2473
|
include Aws::Structure
|
2849
2474
|
end
|
2850
2475
|
|
2851
|
-
# @note When making an API call, you may pass CreateServiceRequest
|
2852
|
-
# data as a hash:
|
2853
|
-
#
|
2854
|
-
# {
|
2855
|
-
# cluster: "String",
|
2856
|
-
# service_name: "String", # required
|
2857
|
-
# task_definition: "String",
|
2858
|
-
# load_balancers: [
|
2859
|
-
# {
|
2860
|
-
# target_group_arn: "String",
|
2861
|
-
# load_balancer_name: "String",
|
2862
|
-
# container_name: "String",
|
2863
|
-
# container_port: 1,
|
2864
|
-
# },
|
2865
|
-
# ],
|
2866
|
-
# service_registries: [
|
2867
|
-
# {
|
2868
|
-
# registry_arn: "String",
|
2869
|
-
# port: 1,
|
2870
|
-
# container_name: "String",
|
2871
|
-
# container_port: 1,
|
2872
|
-
# },
|
2873
|
-
# ],
|
2874
|
-
# desired_count: 1,
|
2875
|
-
# client_token: "String",
|
2876
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
2877
|
-
# capacity_provider_strategy: [
|
2878
|
-
# {
|
2879
|
-
# capacity_provider: "String", # required
|
2880
|
-
# weight: 1,
|
2881
|
-
# base: 1,
|
2882
|
-
# },
|
2883
|
-
# ],
|
2884
|
-
# platform_version: "String",
|
2885
|
-
# role: "String",
|
2886
|
-
# deployment_configuration: {
|
2887
|
-
# deployment_circuit_breaker: {
|
2888
|
-
# enable: false, # required
|
2889
|
-
# rollback: false, # required
|
2890
|
-
# },
|
2891
|
-
# maximum_percent: 1,
|
2892
|
-
# minimum_healthy_percent: 1,
|
2893
|
-
# },
|
2894
|
-
# placement_constraints: [
|
2895
|
-
# {
|
2896
|
-
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
2897
|
-
# expression: "String",
|
2898
|
-
# },
|
2899
|
-
# ],
|
2900
|
-
# placement_strategy: [
|
2901
|
-
# {
|
2902
|
-
# type: "random", # accepts random, spread, binpack
|
2903
|
-
# field: "String",
|
2904
|
-
# },
|
2905
|
-
# ],
|
2906
|
-
# network_configuration: {
|
2907
|
-
# awsvpc_configuration: {
|
2908
|
-
# subnets: ["String"], # required
|
2909
|
-
# security_groups: ["String"],
|
2910
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
2911
|
-
# },
|
2912
|
-
# },
|
2913
|
-
# health_check_grace_period_seconds: 1,
|
2914
|
-
# scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
|
2915
|
-
# deployment_controller: {
|
2916
|
-
# type: "ECS", # required, accepts ECS, CODE_DEPLOY, EXTERNAL
|
2917
|
-
# },
|
2918
|
-
# tags: [
|
2919
|
-
# {
|
2920
|
-
# key: "TagKey",
|
2921
|
-
# value: "TagValue",
|
2922
|
-
# },
|
2923
|
-
# ],
|
2924
|
-
# enable_ecs_managed_tags: false,
|
2925
|
-
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
2926
|
-
# enable_execute_command: false,
|
2927
|
-
# service_connect_configuration: {
|
2928
|
-
# enabled: false, # required
|
2929
|
-
# namespace: "String",
|
2930
|
-
# services: [
|
2931
|
-
# {
|
2932
|
-
# port_name: "String", # required
|
2933
|
-
# discovery_name: "String",
|
2934
|
-
# client_aliases: [
|
2935
|
-
# {
|
2936
|
-
# port: 1, # required
|
2937
|
-
# dns_name: "String",
|
2938
|
-
# },
|
2939
|
-
# ],
|
2940
|
-
# ingress_port_override: 1,
|
2941
|
-
# },
|
2942
|
-
# ],
|
2943
|
-
# log_configuration: {
|
2944
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
|
2945
|
-
# options: {
|
2946
|
-
# "String" => "String",
|
2947
|
-
# },
|
2948
|
-
# secret_options: [
|
2949
|
-
# {
|
2950
|
-
# name: "String", # required
|
2951
|
-
# value_from: "String", # required
|
2952
|
-
# },
|
2953
|
-
# ],
|
2954
|
-
# },
|
2955
|
-
# },
|
2956
|
-
# }
|
2957
|
-
#
|
2958
2476
|
# @!attribute [rw] cluster
|
2959
2477
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
2960
2478
|
# that you run your service on. If you do not specify a cluster, the
|
@@ -3378,59 +2896,6 @@ module Aws::ECS
|
|
3378
2896
|
include Aws::Structure
|
3379
2897
|
end
|
3380
2898
|
|
3381
|
-
# @note When making an API call, you may pass CreateTaskSetRequest
|
3382
|
-
# data as a hash:
|
3383
|
-
#
|
3384
|
-
# {
|
3385
|
-
# service: "String", # required
|
3386
|
-
# cluster: "String", # required
|
3387
|
-
# external_id: "String",
|
3388
|
-
# task_definition: "String", # required
|
3389
|
-
# network_configuration: {
|
3390
|
-
# awsvpc_configuration: {
|
3391
|
-
# subnets: ["String"], # required
|
3392
|
-
# security_groups: ["String"],
|
3393
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
3394
|
-
# },
|
3395
|
-
# },
|
3396
|
-
# load_balancers: [
|
3397
|
-
# {
|
3398
|
-
# target_group_arn: "String",
|
3399
|
-
# load_balancer_name: "String",
|
3400
|
-
# container_name: "String",
|
3401
|
-
# container_port: 1,
|
3402
|
-
# },
|
3403
|
-
# ],
|
3404
|
-
# service_registries: [
|
3405
|
-
# {
|
3406
|
-
# registry_arn: "String",
|
3407
|
-
# port: 1,
|
3408
|
-
# container_name: "String",
|
3409
|
-
# container_port: 1,
|
3410
|
-
# },
|
3411
|
-
# ],
|
3412
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
3413
|
-
# capacity_provider_strategy: [
|
3414
|
-
# {
|
3415
|
-
# capacity_provider: "String", # required
|
3416
|
-
# weight: 1,
|
3417
|
-
# base: 1,
|
3418
|
-
# },
|
3419
|
-
# ],
|
3420
|
-
# platform_version: "String",
|
3421
|
-
# scale: {
|
3422
|
-
# value: 1.0,
|
3423
|
-
# unit: "PERCENT", # accepts PERCENT
|
3424
|
-
# },
|
3425
|
-
# client_token: "String",
|
3426
|
-
# tags: [
|
3427
|
-
# {
|
3428
|
-
# key: "TagKey",
|
3429
|
-
# value: "TagValue",
|
3430
|
-
# },
|
3431
|
-
# ],
|
3432
|
-
# }
|
3433
|
-
#
|
3434
2899
|
# @!attribute [rw] service
|
3435
2900
|
# The short name or full Amazon Resource Name (ARN) of the service to
|
3436
2901
|
# create the task set in.
|
@@ -3598,14 +3063,6 @@ module Aws::ECS
|
|
3598
3063
|
include Aws::Structure
|
3599
3064
|
end
|
3600
3065
|
|
3601
|
-
# @note When making an API call, you may pass DeleteAccountSettingRequest
|
3602
|
-
# data as a hash:
|
3603
|
-
#
|
3604
|
-
# {
|
3605
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
3606
|
-
# principal_arn: "String",
|
3607
|
-
# }
|
3608
|
-
#
|
3609
3066
|
# @!attribute [rw] name
|
3610
3067
|
# The resource name to disable the account setting for. If
|
3611
3068
|
# `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
|
@@ -3647,21 +3104,6 @@ module Aws::ECS
|
|
3647
3104
|
include Aws::Structure
|
3648
3105
|
end
|
3649
3106
|
|
3650
|
-
# @note When making an API call, you may pass DeleteAttributesRequest
|
3651
|
-
# data as a hash:
|
3652
|
-
#
|
3653
|
-
# {
|
3654
|
-
# cluster: "String",
|
3655
|
-
# attributes: [ # required
|
3656
|
-
# {
|
3657
|
-
# name: "String", # required
|
3658
|
-
# value: "String",
|
3659
|
-
# target_type: "container-instance", # accepts container-instance
|
3660
|
-
# target_id: "String",
|
3661
|
-
# },
|
3662
|
-
# ],
|
3663
|
-
# }
|
3664
|
-
#
|
3665
3107
|
# @!attribute [rw] cluster
|
3666
3108
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
3667
3109
|
# that contains the resource to delete attributes. If you do not
|
@@ -3698,13 +3140,6 @@ module Aws::ECS
|
|
3698
3140
|
include Aws::Structure
|
3699
3141
|
end
|
3700
3142
|
|
3701
|
-
# @note When making an API call, you may pass DeleteCapacityProviderRequest
|
3702
|
-
# data as a hash:
|
3703
|
-
#
|
3704
|
-
# {
|
3705
|
-
# capacity_provider: "String", # required
|
3706
|
-
# }
|
3707
|
-
#
|
3708
3143
|
# @!attribute [rw] capacity_provider
|
3709
3144
|
# The short name or full Amazon Resource Name (ARN) of the capacity
|
3710
3145
|
# provider to delete.
|
@@ -3730,13 +3165,6 @@ module Aws::ECS
|
|
3730
3165
|
include Aws::Structure
|
3731
3166
|
end
|
3732
3167
|
|
3733
|
-
# @note When making an API call, you may pass DeleteClusterRequest
|
3734
|
-
# data as a hash:
|
3735
|
-
#
|
3736
|
-
# {
|
3737
|
-
# cluster: "String", # required
|
3738
|
-
# }
|
3739
|
-
#
|
3740
3168
|
# @!attribute [rw] cluster
|
3741
3169
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
3742
3170
|
# delete.
|
@@ -3762,15 +3190,6 @@ module Aws::ECS
|
|
3762
3190
|
include Aws::Structure
|
3763
3191
|
end
|
3764
3192
|
|
3765
|
-
# @note When making an API call, you may pass DeleteServiceRequest
|
3766
|
-
# data as a hash:
|
3767
|
-
#
|
3768
|
-
# {
|
3769
|
-
# cluster: "String",
|
3770
|
-
# service: "String", # required
|
3771
|
-
# force: false,
|
3772
|
-
# }
|
3773
|
-
#
|
3774
3193
|
# @!attribute [rw] cluster
|
3775
3194
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
3776
3195
|
# that hosts the service to delete. If you do not specify a cluster,
|
@@ -3809,16 +3228,6 @@ module Aws::ECS
|
|
3809
3228
|
include Aws::Structure
|
3810
3229
|
end
|
3811
3230
|
|
3812
|
-
# @note When making an API call, you may pass DeleteTaskSetRequest
|
3813
|
-
# data as a hash:
|
3814
|
-
#
|
3815
|
-
# {
|
3816
|
-
# cluster: "String", # required
|
3817
|
-
# service: "String", # required
|
3818
|
-
# task_set: "String", # required
|
3819
|
-
# force: false,
|
3820
|
-
# }
|
3821
|
-
#
|
3822
3231
|
# @!attribute [rw] cluster
|
3823
3232
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
3824
3233
|
# that hosts the service that the task set found in to delete.
|
@@ -4062,14 +3471,6 @@ module Aws::ECS
|
|
4062
3471
|
#
|
4063
3472
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html
|
4064
3473
|
#
|
4065
|
-
# @note When making an API call, you may pass DeploymentCircuitBreaker
|
4066
|
-
# data as a hash:
|
4067
|
-
#
|
4068
|
-
# {
|
4069
|
-
# enable: false, # required
|
4070
|
-
# rollback: false, # required
|
4071
|
-
# }
|
4072
|
-
#
|
4073
3474
|
# @!attribute [rw] enable
|
4074
3475
|
# Determines whether to use the deployment circuit breaker logic for
|
4075
3476
|
# the service.
|
@@ -4094,18 +3495,6 @@ module Aws::ECS
|
|
4094
3495
|
# Optional deployment parameters that control how many tasks run during
|
4095
3496
|
# a deployment and the ordering of stopping and starting tasks.
|
4096
3497
|
#
|
4097
|
-
# @note When making an API call, you may pass DeploymentConfiguration
|
4098
|
-
# data as a hash:
|
4099
|
-
#
|
4100
|
-
# {
|
4101
|
-
# deployment_circuit_breaker: {
|
4102
|
-
# enable: false, # required
|
4103
|
-
# rollback: false, # required
|
4104
|
-
# },
|
4105
|
-
# maximum_percent: 1,
|
4106
|
-
# minimum_healthy_percent: 1,
|
4107
|
-
# }
|
4108
|
-
#
|
4109
3498
|
# @!attribute [rw] deployment_circuit_breaker
|
4110
3499
|
# <note markdown="1"> The deployment circuit breaker can only be used for services using
|
4111
3500
|
# the rolling update (`ECS`) deployment type.
|
@@ -4219,13 +3608,6 @@ module Aws::ECS
|
|
4219
3608
|
#
|
4220
3609
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
|
4221
3610
|
#
|
4222
|
-
# @note When making an API call, you may pass DeploymentController
|
4223
|
-
# data as a hash:
|
4224
|
-
#
|
4225
|
-
# {
|
4226
|
-
# type: "ECS", # required, accepts ECS, CODE_DEPLOY, EXTERNAL
|
4227
|
-
# }
|
4228
|
-
#
|
4229
3611
|
# @!attribute [rw] type
|
4230
3612
|
# The deployment controller type to use.
|
4231
3613
|
#
|
@@ -4262,15 +3644,6 @@ module Aws::ECS
|
|
4262
3644
|
include Aws::Structure
|
4263
3645
|
end
|
4264
3646
|
|
4265
|
-
# @note When making an API call, you may pass DeregisterContainerInstanceRequest
|
4266
|
-
# data as a hash:
|
4267
|
-
#
|
4268
|
-
# {
|
4269
|
-
# cluster: "String",
|
4270
|
-
# container_instance: "String", # required
|
4271
|
-
# force: false,
|
4272
|
-
# }
|
4273
|
-
#
|
4274
3647
|
# @!attribute [rw] cluster
|
4275
3648
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
4276
3649
|
# that hosts the container instance to deregister. If you do not
|
@@ -4325,13 +3698,6 @@ module Aws::ECS
|
|
4325
3698
|
include Aws::Structure
|
4326
3699
|
end
|
4327
3700
|
|
4328
|
-
# @note When making an API call, you may pass DeregisterTaskDefinitionRequest
|
4329
|
-
# data as a hash:
|
4330
|
-
#
|
4331
|
-
# {
|
4332
|
-
# task_definition: "String", # required
|
4333
|
-
# }
|
4334
|
-
#
|
4335
3701
|
# @!attribute [rw] task_definition
|
4336
3702
|
# The `family` and `revision` (`family:revision`) or full Amazon
|
4337
3703
|
# Resource Name (ARN) of the task definition to deregister. You must
|
@@ -4358,16 +3724,6 @@ module Aws::ECS
|
|
4358
3724
|
include Aws::Structure
|
4359
3725
|
end
|
4360
3726
|
|
4361
|
-
# @note When making an API call, you may pass DescribeCapacityProvidersRequest
|
4362
|
-
# data as a hash:
|
4363
|
-
#
|
4364
|
-
# {
|
4365
|
-
# capacity_providers: ["String"],
|
4366
|
-
# include: ["TAGS"], # accepts TAGS
|
4367
|
-
# max_results: 1,
|
4368
|
-
# next_token: "String",
|
4369
|
-
# }
|
4370
|
-
#
|
4371
3727
|
# @!attribute [rw] capacity_providers
|
4372
3728
|
# The short name or full Amazon Resource Name (ARN) of one or more
|
4373
3729
|
# capacity providers. Up to `100` capacity providers can be described
|
@@ -4444,14 +3800,6 @@ module Aws::ECS
|
|
4444
3800
|
include Aws::Structure
|
4445
3801
|
end
|
4446
3802
|
|
4447
|
-
# @note When making an API call, you may pass DescribeClustersRequest
|
4448
|
-
# data as a hash:
|
4449
|
-
#
|
4450
|
-
# {
|
4451
|
-
# clusters: ["String"],
|
4452
|
-
# include: ["ATTACHMENTS"], # accepts ATTACHMENTS, CONFIGURATIONS, SETTINGS, STATISTICS, TAGS
|
4453
|
-
# }
|
4454
|
-
#
|
4455
3803
|
# @!attribute [rw] clusters
|
4456
3804
|
# A list of up to 100 cluster names or full cluster Amazon Resource
|
4457
3805
|
# Name (ARN) entries. If you do not specify a cluster, the default
|
@@ -4506,15 +3854,6 @@ module Aws::ECS
|
|
4506
3854
|
include Aws::Structure
|
4507
3855
|
end
|
4508
3856
|
|
4509
|
-
# @note When making an API call, you may pass DescribeContainerInstancesRequest
|
4510
|
-
# data as a hash:
|
4511
|
-
#
|
4512
|
-
# {
|
4513
|
-
# cluster: "String",
|
4514
|
-
# container_instances: ["String"], # required
|
4515
|
-
# include: ["TAGS"], # accepts TAGS, CONTAINER_INSTANCE_HEALTH
|
4516
|
-
# }
|
4517
|
-
#
|
4518
3857
|
# @!attribute [rw] cluster
|
4519
3858
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
4520
3859
|
# that hosts the container instances to describe. If you do not
|
@@ -4565,15 +3904,6 @@ module Aws::ECS
|
|
4565
3904
|
include Aws::Structure
|
4566
3905
|
end
|
4567
3906
|
|
4568
|
-
# @note When making an API call, you may pass DescribeServicesRequest
|
4569
|
-
# data as a hash:
|
4570
|
-
#
|
4571
|
-
# {
|
4572
|
-
# cluster: "String",
|
4573
|
-
# services: ["String"], # required
|
4574
|
-
# include: ["TAGS"], # accepts TAGS
|
4575
|
-
# }
|
4576
|
-
#
|
4577
3907
|
# @!attribute [rw] cluster
|
4578
3908
|
# The short name or full Amazon Resource Name (ARN)the cluster that
|
4579
3909
|
# hosts the service to describe. If you do not specify a cluster, the
|
@@ -4621,14 +3951,6 @@ module Aws::ECS
|
|
4621
3951
|
include Aws::Structure
|
4622
3952
|
end
|
4623
3953
|
|
4624
|
-
# @note When making an API call, you may pass DescribeTaskDefinitionRequest
|
4625
|
-
# data as a hash:
|
4626
|
-
#
|
4627
|
-
# {
|
4628
|
-
# task_definition: "String", # required
|
4629
|
-
# include: ["TAGS"], # accepts TAGS
|
4630
|
-
# }
|
4631
|
-
#
|
4632
3954
|
# @!attribute [rw] task_definition
|
4633
3955
|
# The `family` for the latest `ACTIVE` revision, `family` and
|
4634
3956
|
# `revision` (`family:revision`) for a specific revision in the
|
@@ -4695,16 +4017,6 @@ module Aws::ECS
|
|
4695
4017
|
include Aws::Structure
|
4696
4018
|
end
|
4697
4019
|
|
4698
|
-
# @note When making an API call, you may pass DescribeTaskSetsRequest
|
4699
|
-
# data as a hash:
|
4700
|
-
#
|
4701
|
-
# {
|
4702
|
-
# cluster: "String", # required
|
4703
|
-
# service: "String", # required
|
4704
|
-
# task_sets: ["String"],
|
4705
|
-
# include: ["TAGS"], # accepts TAGS
|
4706
|
-
# }
|
4707
|
-
#
|
4708
4020
|
# @!attribute [rw] cluster
|
4709
4021
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
4710
4022
|
# that hosts the service that the task sets exist in.
|
@@ -4753,15 +4065,6 @@ module Aws::ECS
|
|
4753
4065
|
include Aws::Structure
|
4754
4066
|
end
|
4755
4067
|
|
4756
|
-
# @note When making an API call, you may pass DescribeTasksRequest
|
4757
|
-
# data as a hash:
|
4758
|
-
#
|
4759
|
-
# {
|
4760
|
-
# cluster: "String",
|
4761
|
-
# tasks: ["String"], # required
|
4762
|
-
# include: ["TAGS"], # accepts TAGS
|
4763
|
-
# }
|
4764
|
-
#
|
4765
4068
|
# @!attribute [rw] cluster
|
4766
4069
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
4767
4070
|
# that hosts the task or tasks to describe. If you do not specify a
|
@@ -4809,15 +4112,6 @@ module Aws::ECS
|
|
4809
4112
|
|
4810
4113
|
# An object representing a container instance host device.
|
4811
4114
|
#
|
4812
|
-
# @note When making an API call, you may pass Device
|
4813
|
-
# data as a hash:
|
4814
|
-
#
|
4815
|
-
# {
|
4816
|
-
# host_path: "String", # required
|
4817
|
-
# container_path: "String",
|
4818
|
-
# permissions: ["read"], # accepts read, write, mknod
|
4819
|
-
# }
|
4820
|
-
#
|
4821
4115
|
# @!attribute [rw] host_path
|
4822
4116
|
# The path for the device on the host container instance.
|
4823
4117
|
# @return [String]
|
@@ -4842,14 +4136,6 @@ module Aws::ECS
|
|
4842
4136
|
include Aws::Structure
|
4843
4137
|
end
|
4844
4138
|
|
4845
|
-
# @note When making an API call, you may pass DiscoverPollEndpointRequest
|
4846
|
-
# data as a hash:
|
4847
|
-
#
|
4848
|
-
# {
|
4849
|
-
# container_instance: "String",
|
4850
|
-
# cluster: "String",
|
4851
|
-
# }
|
4852
|
-
#
|
4853
4139
|
# @!attribute [rw] container_instance
|
4854
4140
|
# The container instance ID or full ARN of the container instance. For
|
4855
4141
|
# more information about the ARN format, see [Amazon Resource Name
|
@@ -4907,21 +4193,6 @@ module Aws::ECS
|
|
4907
4193
|
# Windows containers only support the use of the `local` driver. To use
|
4908
4194
|
# bind mounts, specify a `host` instead.
|
4909
4195
|
#
|
4910
|
-
# @note When making an API call, you may pass DockerVolumeConfiguration
|
4911
|
-
# data as a hash:
|
4912
|
-
#
|
4913
|
-
# {
|
4914
|
-
# scope: "task", # accepts task, shared
|
4915
|
-
# autoprovision: false,
|
4916
|
-
# driver: "String",
|
4917
|
-
# driver_opts: {
|
4918
|
-
# "String" => "String",
|
4919
|
-
# },
|
4920
|
-
# labels: {
|
4921
|
-
# "String" => "String",
|
4922
|
-
# },
|
4923
|
-
# }
|
4924
|
-
#
|
4925
4196
|
# @!attribute [rw] scope
|
4926
4197
|
# The scope for the Docker volume that determines its lifecycle.
|
4927
4198
|
# Docker volumes that are scoped to a `task` are automatically
|
@@ -4999,14 +4270,6 @@ module Aws::ECS
|
|
4999
4270
|
# The authorization configuration details for the Amazon EFS file
|
5000
4271
|
# system.
|
5001
4272
|
#
|
5002
|
-
# @note When making an API call, you may pass EFSAuthorizationConfig
|
5003
|
-
# data as a hash:
|
5004
|
-
#
|
5005
|
-
# {
|
5006
|
-
# access_point_id: "String",
|
5007
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
5008
|
-
# }
|
5009
|
-
#
|
5010
4273
|
# @!attribute [rw] access_point_id
|
5011
4274
|
# The Amazon EFS access point ID to use. If an access point is
|
5012
4275
|
# specified, the root directory value specified in the
|
@@ -5054,20 +4317,6 @@ module Aws::ECS
|
|
5054
4317
|
#
|
5055
4318
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html
|
5056
4319
|
#
|
5057
|
-
# @note When making an API call, you may pass EFSVolumeConfiguration
|
5058
|
-
# data as a hash:
|
5059
|
-
#
|
5060
|
-
# {
|
5061
|
-
# file_system_id: "String", # required
|
5062
|
-
# root_directory: "String",
|
5063
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
5064
|
-
# transit_encryption_port: 1,
|
5065
|
-
# authorization_config: {
|
5066
|
-
# access_point_id: "String",
|
5067
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
5068
|
-
# },
|
5069
|
-
# }
|
5070
|
-
#
|
5071
4320
|
# @!attribute [rw] file_system_id
|
5072
4321
|
# The Amazon EFS file system ID to use.
|
5073
4322
|
# @return [String]
|
@@ -5154,14 +4403,6 @@ module Aws::ECS
|
|
5154
4403
|
# [1]: https://docs.docker.com/compose/env-file/
|
5155
4404
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html
|
5156
4405
|
#
|
5157
|
-
# @note When making an API call, you may pass EnvironmentFile
|
5158
|
-
# data as a hash:
|
5159
|
-
#
|
5160
|
-
# {
|
5161
|
-
# value: "String", # required
|
5162
|
-
# type: "s3", # required, accepts s3
|
5163
|
-
# }
|
5164
|
-
#
|
5165
4406
|
# @!attribute [rw] value
|
5166
4407
|
# The Amazon Resource Name (ARN) of the Amazon S3 object containing
|
5167
4408
|
# the environment variable file.
|
@@ -5196,13 +4437,6 @@ module Aws::ECS
|
|
5196
4437
|
#
|
5197
4438
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html
|
5198
4439
|
#
|
5199
|
-
# @note When making an API call, you may pass EphemeralStorage
|
5200
|
-
# data as a hash:
|
5201
|
-
#
|
5202
|
-
# {
|
5203
|
-
# size_in_gi_b: 1, # required
|
5204
|
-
# }
|
5205
|
-
#
|
5206
4440
|
# @!attribute [rw] size_in_gi_b
|
5207
4441
|
# The total amount, in GiB, of ephemeral storage to set for the task.
|
5208
4442
|
# The minimum supported value is `21` GiB and the maximum supported
|
@@ -5219,21 +4453,6 @@ module Aws::ECS
|
|
5219
4453
|
|
5220
4454
|
# The details of the execute command configuration.
|
5221
4455
|
#
|
5222
|
-
# @note When making an API call, you may pass ExecuteCommandConfiguration
|
5223
|
-
# data as a hash:
|
5224
|
-
#
|
5225
|
-
# {
|
5226
|
-
# kms_key_id: "String",
|
5227
|
-
# logging: "NONE", # accepts NONE, DEFAULT, OVERRIDE
|
5228
|
-
# log_configuration: {
|
5229
|
-
# cloud_watch_log_group_name: "String",
|
5230
|
-
# cloud_watch_encryption_enabled: false,
|
5231
|
-
# s3_bucket_name: "String",
|
5232
|
-
# s3_encryption_enabled: false,
|
5233
|
-
# s3_key_prefix: "String",
|
5234
|
-
# },
|
5235
|
-
# }
|
5236
|
-
#
|
5237
4456
|
# @!attribute [rw] kms_key_id
|
5238
4457
|
# Specify an Key Management Service key ID to encrypt the data between
|
5239
4458
|
# the local client and the container.
|
@@ -5275,17 +4494,6 @@ module Aws::ECS
|
|
5275
4494
|
# The log configuration for the results of the execute command actions.
|
5276
4495
|
# The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.
|
5277
4496
|
#
|
5278
|
-
# @note When making an API call, you may pass ExecuteCommandLogConfiguration
|
5279
|
-
# data as a hash:
|
5280
|
-
#
|
5281
|
-
# {
|
5282
|
-
# cloud_watch_log_group_name: "String",
|
5283
|
-
# cloud_watch_encryption_enabled: false,
|
5284
|
-
# s3_bucket_name: "String",
|
5285
|
-
# s3_encryption_enabled: false,
|
5286
|
-
# s3_key_prefix: "String",
|
5287
|
-
# }
|
5288
|
-
#
|
5289
4497
|
# @!attribute [rw] cloud_watch_log_group_name
|
5290
4498
|
# The name of the CloudWatch log group to send logs to.
|
5291
4499
|
#
|
@@ -5328,17 +4536,6 @@ module Aws::ECS
|
|
5328
4536
|
include Aws::Structure
|
5329
4537
|
end
|
5330
4538
|
|
5331
|
-
# @note When making an API call, you may pass ExecuteCommandRequest
|
5332
|
-
# data as a hash:
|
5333
|
-
#
|
5334
|
-
# {
|
5335
|
-
# cluster: "String",
|
5336
|
-
# container: "String",
|
5337
|
-
# command: "String", # required
|
5338
|
-
# interactive: false, # required
|
5339
|
-
# task: "String", # required
|
5340
|
-
# }
|
5341
|
-
#
|
5342
4539
|
# @!attribute [rw] cluster
|
5343
4540
|
# The Amazon Resource Name (ARN) or short name of the cluster the task
|
5344
4541
|
# is running in. If you do not specify a cluster, the default cluster
|
@@ -5430,14 +4627,6 @@ module Aws::ECS
|
|
5430
4627
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FSxWindowsFileServerVolumeConfiguration.html
|
5431
4628
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html
|
5432
4629
|
#
|
5433
|
-
# @note When making an API call, you may pass FSxWindowsFileServerAuthorizationConfig
|
5434
|
-
# data as a hash:
|
5435
|
-
#
|
5436
|
-
# {
|
5437
|
-
# credentials_parameter: "String", # required
|
5438
|
-
# domain: "String", # required
|
5439
|
-
# }
|
5440
|
-
#
|
5441
4630
|
# @!attribute [rw] credentials_parameter
|
5442
4631
|
# The authorization credential option to use. The authorization
|
5443
4632
|
# credential options can be provided using either the Amazon Resource
|
@@ -5476,18 +4665,6 @@ module Aws::ECS
|
|
5476
4665
|
# [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html
|
5477
4666
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html
|
5478
4667
|
#
|
5479
|
-
# @note When making an API call, you may pass FSxWindowsFileServerVolumeConfiguration
|
5480
|
-
# data as a hash:
|
5481
|
-
#
|
5482
|
-
# {
|
5483
|
-
# file_system_id: "String", # required
|
5484
|
-
# root_directory: "String", # required
|
5485
|
-
# authorization_config: { # required
|
5486
|
-
# credentials_parameter: "String", # required
|
5487
|
-
# domain: "String", # required
|
5488
|
-
# },
|
5489
|
-
# }
|
5490
|
-
#
|
5491
4668
|
# @!attribute [rw] file_system_id
|
5492
4669
|
# The Amazon FSx for Windows File Server file system ID to use.
|
5493
4670
|
# @return [String]
|
@@ -5550,16 +4727,6 @@ module Aws::ECS
|
|
5550
4727
|
#
|
5551
4728
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html
|
5552
4729
|
#
|
5553
|
-
# @note When making an API call, you may pass FirelensConfiguration
|
5554
|
-
# data as a hash:
|
5555
|
-
#
|
5556
|
-
# {
|
5557
|
-
# type: "fluentd", # required, accepts fluentd, fluentbit
|
5558
|
-
# options: {
|
5559
|
-
# "String" => "String",
|
5560
|
-
# },
|
5561
|
-
# }
|
5562
|
-
#
|
5563
4730
|
# @!attribute [rw] type
|
5564
4731
|
# The log router to use. The valid values are `fluentd` or
|
5565
4732
|
# `fluentbit`.
|
@@ -5595,14 +4762,6 @@ module Aws::ECS
|
|
5595
4762
|
include Aws::Structure
|
5596
4763
|
end
|
5597
4764
|
|
5598
|
-
# @note When making an API call, you may pass GetTaskProtectionRequest
|
5599
|
-
# data as a hash:
|
5600
|
-
#
|
5601
|
-
# {
|
5602
|
-
# cluster: "String", # required
|
5603
|
-
# tasks: ["String"],
|
5604
|
-
# }
|
5605
|
-
#
|
5606
4765
|
# @!attribute [rw] cluster
|
5607
4766
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
5608
4767
|
# that hosts the service that the task sets exist in.
|
@@ -5720,17 +4879,6 @@ module Aws::ECS
|
|
5720
4879
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
5721
4880
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
5722
4881
|
#
|
5723
|
-
# @note When making an API call, you may pass HealthCheck
|
5724
|
-
# data as a hash:
|
5725
|
-
#
|
5726
|
-
# {
|
5727
|
-
# command: ["String"], # required
|
5728
|
-
# interval: 1,
|
5729
|
-
# timeout: 1,
|
5730
|
-
# retries: 1,
|
5731
|
-
# start_period: 1,
|
5732
|
-
# }
|
5733
|
-
#
|
5734
4882
|
# @!attribute [rw] command
|
5735
4883
|
# A string array representing the command that the container runs to
|
5736
4884
|
# determine if it is healthy. The string array must start with `CMD`
|
@@ -5805,14 +4953,6 @@ module Aws::ECS
|
|
5805
4953
|
# file of a container via the `extraHosts` parameter of its
|
5806
4954
|
# ContainerDefinition.
|
5807
4955
|
#
|
5808
|
-
# @note When making an API call, you may pass HostEntry
|
5809
|
-
# data as a hash:
|
5810
|
-
#
|
5811
|
-
# {
|
5812
|
-
# hostname: "String", # required
|
5813
|
-
# ip_address: "String", # required
|
5814
|
-
# }
|
5815
|
-
#
|
5816
4956
|
# @!attribute [rw] hostname
|
5817
4957
|
# The hostname to use in the `/etc/hosts` entry.
|
5818
4958
|
# @return [String]
|
@@ -5832,13 +4972,6 @@ module Aws::ECS
|
|
5832
4972
|
|
5833
4973
|
# Details on a container instance bind mount host volume.
|
5834
4974
|
#
|
5835
|
-
# @note When making an API call, you may pass HostVolumeProperties
|
5836
|
-
# data as a hash:
|
5837
|
-
#
|
5838
|
-
# {
|
5839
|
-
# source_path: "String",
|
5840
|
-
# }
|
5841
|
-
#
|
5842
4975
|
# @!attribute [rw] source_path
|
5843
4976
|
# When the `host` parameter is used, specify a `sourcePath` to declare
|
5844
4977
|
# the path on the host container instance that's presented to the
|
@@ -5870,14 +5003,6 @@ module Aws::ECS
|
|
5870
5003
|
#
|
5871
5004
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
5872
5005
|
#
|
5873
|
-
# @note When making an API call, you may pass InferenceAccelerator
|
5874
|
-
# data as a hash:
|
5875
|
-
#
|
5876
|
-
# {
|
5877
|
-
# device_name: "String", # required
|
5878
|
-
# device_type: "String", # required
|
5879
|
-
# }
|
5880
|
-
#
|
5881
5006
|
# @!attribute [rw] device_name
|
5882
5007
|
# The Elastic Inference accelerator device name. The `deviceName` must
|
5883
5008
|
# also be referenced in a container definition as a
|
@@ -5907,14 +5032,6 @@ module Aws::ECS
|
|
5907
5032
|
#
|
5908
5033
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
5909
5034
|
#
|
5910
|
-
# @note When making an API call, you may pass InferenceAcceleratorOverride
|
5911
|
-
# data as a hash:
|
5912
|
-
#
|
5913
|
-
# {
|
5914
|
-
# device_name: "String",
|
5915
|
-
# device_type: "String",
|
5916
|
-
# }
|
5917
|
-
#
|
5918
5035
|
# @!attribute [rw] device_name
|
5919
5036
|
# The Elastic Inference accelerator device name to override for the
|
5920
5037
|
# task. This parameter must match a `deviceName` specified in the task
|
@@ -5986,14 +5103,6 @@ module Aws::ECS
|
|
5986
5103
|
# [1]: https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities
|
5987
5104
|
# [2]: http://man7.org/linux/man-pages/man7/capabilities.7.html
|
5988
5105
|
#
|
5989
|
-
# @note When making an API call, you may pass KernelCapabilities
|
5990
|
-
# data as a hash:
|
5991
|
-
#
|
5992
|
-
# {
|
5993
|
-
# add: ["String"],
|
5994
|
-
# drop: ["String"],
|
5995
|
-
# }
|
5996
|
-
#
|
5997
5106
|
# @!attribute [rw] add
|
5998
5107
|
# The Linux capabilities for the container that have been added to the
|
5999
5108
|
# default configuration provided by Docker. This parameter maps to
|
@@ -6056,14 +5165,6 @@ module Aws::ECS
|
|
6056
5165
|
|
6057
5166
|
# A key-value pair object.
|
6058
5167
|
#
|
6059
|
-
# @note When making an API call, you may pass KeyValuePair
|
6060
|
-
# data as a hash:
|
6061
|
-
#
|
6062
|
-
# {
|
6063
|
-
# name: "String",
|
6064
|
-
# value: "String",
|
6065
|
-
# }
|
6066
|
-
#
|
6067
5168
|
# @!attribute [rw] name
|
6068
5169
|
# The name of the key-value pair. For environment variables, this is
|
6069
5170
|
# the name of the environment variable.
|
@@ -6092,34 +5193,6 @@ module Aws::ECS
|
|
6092
5193
|
# Linux-specific options that are applied to the container, such as
|
6093
5194
|
# Linux KernelCapabilities.
|
6094
5195
|
#
|
6095
|
-
# @note When making an API call, you may pass LinuxParameters
|
6096
|
-
# data as a hash:
|
6097
|
-
#
|
6098
|
-
# {
|
6099
|
-
# capabilities: {
|
6100
|
-
# add: ["String"],
|
6101
|
-
# drop: ["String"],
|
6102
|
-
# },
|
6103
|
-
# devices: [
|
6104
|
-
# {
|
6105
|
-
# host_path: "String", # required
|
6106
|
-
# container_path: "String",
|
6107
|
-
# permissions: ["read"], # accepts read, write, mknod
|
6108
|
-
# },
|
6109
|
-
# ],
|
6110
|
-
# init_process_enabled: false,
|
6111
|
-
# shared_memory_size: 1,
|
6112
|
-
# tmpfs: [
|
6113
|
-
# {
|
6114
|
-
# container_path: "String", # required
|
6115
|
-
# size: 1, # required
|
6116
|
-
# mount_options: ["String"],
|
6117
|
-
# },
|
6118
|
-
# ],
|
6119
|
-
# max_swap: 1,
|
6120
|
-
# swappiness: 1,
|
6121
|
-
# }
|
6122
|
-
#
|
6123
5196
|
# @!attribute [rw] capabilities
|
6124
5197
|
# The Linux capabilities for the container that are added to or
|
6125
5198
|
# dropped from the default configuration provided by Docker.
|
@@ -6249,18 +5322,6 @@ module Aws::ECS
|
|
6249
5322
|
include Aws::Structure
|
6250
5323
|
end
|
6251
5324
|
|
6252
|
-
# @note When making an API call, you may pass ListAccountSettingsRequest
|
6253
|
-
# data as a hash:
|
6254
|
-
#
|
6255
|
-
# {
|
6256
|
-
# name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
6257
|
-
# value: "String",
|
6258
|
-
# principal_arn: "String",
|
6259
|
-
# effective_settings: false,
|
6260
|
-
# next_token: "String",
|
6261
|
-
# max_results: 1,
|
6262
|
-
# }
|
6263
|
-
#
|
6264
5325
|
# @!attribute [rw] name
|
6265
5326
|
# The name of the account setting you want to list the settings for.
|
6266
5327
|
# @return [String]
|
@@ -6348,18 +5409,6 @@ module Aws::ECS
|
|
6348
5409
|
include Aws::Structure
|
6349
5410
|
end
|
6350
5411
|
|
6351
|
-
# @note When making an API call, you may pass ListAttributesRequest
|
6352
|
-
# data as a hash:
|
6353
|
-
#
|
6354
|
-
# {
|
6355
|
-
# cluster: "String",
|
6356
|
-
# target_type: "container-instance", # required, accepts container-instance
|
6357
|
-
# attribute_name: "String",
|
6358
|
-
# attribute_value: "String",
|
6359
|
-
# next_token: "String",
|
6360
|
-
# max_results: 1,
|
6361
|
-
# }
|
6362
|
-
#
|
6363
5412
|
# @!attribute [rw] cluster
|
6364
5413
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
6365
5414
|
# list attributes. If you do not specify a cluster, the default
|
@@ -6437,14 +5486,6 @@ module Aws::ECS
|
|
6437
5486
|
include Aws::Structure
|
6438
5487
|
end
|
6439
5488
|
|
6440
|
-
# @note When making an API call, you may pass ListClustersRequest
|
6441
|
-
# data as a hash:
|
6442
|
-
#
|
6443
|
-
# {
|
6444
|
-
# next_token: "String",
|
6445
|
-
# max_results: 1,
|
6446
|
-
# }
|
6447
|
-
#
|
6448
5489
|
# @!attribute [rw] next_token
|
6449
5490
|
# The `nextToken` value returned from a `ListClusters` request
|
6450
5491
|
# indicating that more results are available to fulfill the request
|
@@ -6499,17 +5540,6 @@ module Aws::ECS
|
|
6499
5540
|
include Aws::Structure
|
6500
5541
|
end
|
6501
5542
|
|
6502
|
-
# @note When making an API call, you may pass ListContainerInstancesRequest
|
6503
|
-
# data as a hash:
|
6504
|
-
#
|
6505
|
-
# {
|
6506
|
-
# cluster: "String",
|
6507
|
-
# filter: "String",
|
6508
|
-
# next_token: "String",
|
6509
|
-
# max_results: 1,
|
6510
|
-
# status: "ACTIVE", # accepts ACTIVE, DRAINING, REGISTERING, DEREGISTERING, REGISTRATION_FAILED
|
6511
|
-
# }
|
6512
|
-
#
|
6513
5543
|
# @!attribute [rw] cluster
|
6514
5544
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
6515
5545
|
# that hosts the container instances to list. If you do not specify a
|
@@ -6595,15 +5625,6 @@ module Aws::ECS
|
|
6595
5625
|
include Aws::Structure
|
6596
5626
|
end
|
6597
5627
|
|
6598
|
-
# @note When making an API call, you may pass ListServicesByNamespaceRequest
|
6599
|
-
# data as a hash:
|
6600
|
-
#
|
6601
|
-
# {
|
6602
|
-
# namespace: "String", # required
|
6603
|
-
# next_token: "String",
|
6604
|
-
# max_results: 1,
|
6605
|
-
# }
|
6606
|
-
#
|
6607
5628
|
# @!attribute [rw] namespace
|
6608
5629
|
# The namespace name or full Amazon Resource Name (ARN) of the Cloud
|
6609
5630
|
# Map namespace to list the services in.
|
@@ -6674,17 +5695,6 @@ module Aws::ECS
|
|
6674
5695
|
include Aws::Structure
|
6675
5696
|
end
|
6676
5697
|
|
6677
|
-
# @note When making an API call, you may pass ListServicesRequest
|
6678
|
-
# data as a hash:
|
6679
|
-
#
|
6680
|
-
# {
|
6681
|
-
# cluster: "String",
|
6682
|
-
# next_token: "String",
|
6683
|
-
# max_results: 1,
|
6684
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
6685
|
-
# scheduling_strategy: "REPLICA", # accepts REPLICA, DAEMON
|
6686
|
-
# }
|
6687
|
-
#
|
6688
5698
|
# @!attribute [rw] cluster
|
6689
5699
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
6690
5700
|
# use when filtering the `ListServices` results. If you do not specify
|
@@ -6757,13 +5767,6 @@ module Aws::ECS
|
|
6757
5767
|
include Aws::Structure
|
6758
5768
|
end
|
6759
5769
|
|
6760
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
6761
|
-
# data as a hash:
|
6762
|
-
#
|
6763
|
-
# {
|
6764
|
-
# resource_arn: "String", # required
|
6765
|
-
# }
|
6766
|
-
#
|
6767
5770
|
# @!attribute [rw] resource_arn
|
6768
5771
|
# The Amazon Resource Name (ARN) that identifies the resource to list
|
6769
5772
|
# the tags for. Currently, the supported resources are Amazon ECS
|
@@ -6791,16 +5794,6 @@ module Aws::ECS
|
|
6791
5794
|
include Aws::Structure
|
6792
5795
|
end
|
6793
5796
|
|
6794
|
-
# @note When making an API call, you may pass ListTaskDefinitionFamiliesRequest
|
6795
|
-
# data as a hash:
|
6796
|
-
#
|
6797
|
-
# {
|
6798
|
-
# family_prefix: "String",
|
6799
|
-
# status: "ACTIVE", # accepts ACTIVE, INACTIVE, ALL
|
6800
|
-
# next_token: "String",
|
6801
|
-
# max_results: 1,
|
6802
|
-
# }
|
6803
|
-
#
|
6804
5797
|
# @!attribute [rw] family_prefix
|
6805
5798
|
# The `familyPrefix` is a string that's used to filter the results of
|
6806
5799
|
# `ListTaskDefinitionFamilies`. If you specify a `familyPrefix`, only
|
@@ -6879,17 +5872,6 @@ module Aws::ECS
|
|
6879
5872
|
include Aws::Structure
|
6880
5873
|
end
|
6881
5874
|
|
6882
|
-
# @note When making an API call, you may pass ListTaskDefinitionsRequest
|
6883
|
-
# data as a hash:
|
6884
|
-
#
|
6885
|
-
# {
|
6886
|
-
# family_prefix: "String",
|
6887
|
-
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
6888
|
-
# sort: "ASC", # accepts ASC, DESC
|
6889
|
-
# next_token: "String",
|
6890
|
-
# max_results: 1,
|
6891
|
-
# }
|
6892
|
-
#
|
6893
5875
|
# @!attribute [rw] family_prefix
|
6894
5876
|
# The full family name to filter the `ListTaskDefinitions` results
|
6895
5877
|
# with. Specifying a `familyPrefix` limits the listed task definitions
|
@@ -6974,21 +5956,6 @@ module Aws::ECS
|
|
6974
5956
|
include Aws::Structure
|
6975
5957
|
end
|
6976
5958
|
|
6977
|
-
# @note When making an API call, you may pass ListTasksRequest
|
6978
|
-
# data as a hash:
|
6979
|
-
#
|
6980
|
-
# {
|
6981
|
-
# cluster: "String",
|
6982
|
-
# container_instance: "String",
|
6983
|
-
# family: "String",
|
6984
|
-
# next_token: "String",
|
6985
|
-
# max_results: 1,
|
6986
|
-
# started_by: "String",
|
6987
|
-
# service_name: "String",
|
6988
|
-
# desired_status: "RUNNING", # accepts RUNNING, PENDING, STOPPED
|
6989
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
6990
|
-
# }
|
6991
|
-
#
|
6992
5959
|
# @!attribute [rw] cluster
|
6993
5960
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
6994
5961
|
# use when filtering the `ListTasks` results. If you do not specify a
|
@@ -7126,16 +6093,6 @@ module Aws::ECS
|
|
7126
6093
|
#
|
7127
6094
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
|
7128
6095
|
#
|
7129
|
-
# @note When making an API call, you may pass LoadBalancer
|
7130
|
-
# data as a hash:
|
7131
|
-
#
|
7132
|
-
# {
|
7133
|
-
# target_group_arn: "String",
|
7134
|
-
# load_balancer_name: "String",
|
7135
|
-
# container_name: "String",
|
7136
|
-
# container_port: 1,
|
7137
|
-
# }
|
7138
|
-
#
|
7139
6096
|
# @!attribute [rw] target_group_arn
|
7140
6097
|
# The full Amazon Resource Name (ARN) of the Elastic Load Balancing
|
7141
6098
|
# target group or groups associated with a service or task set.
|
@@ -7244,22 +6201,6 @@ module Aws::ECS
|
|
7244
6201
|
# [4]: https://docs.docker.com/engine/admin/logging/overview/
|
7245
6202
|
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
|
7246
6203
|
#
|
7247
|
-
# @note When making an API call, you may pass LogConfiguration
|
7248
|
-
# data as a hash:
|
7249
|
-
#
|
7250
|
-
# {
|
7251
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
|
7252
|
-
# options: {
|
7253
|
-
# "String" => "String",
|
7254
|
-
# },
|
7255
|
-
# secret_options: [
|
7256
|
-
# {
|
7257
|
-
# name: "String", # required
|
7258
|
-
# value_from: "String", # required
|
7259
|
-
# },
|
7260
|
-
# ],
|
7261
|
-
# }
|
7262
|
-
#
|
7263
6204
|
# @!attribute [rw] log_driver
|
7264
6205
|
# The log driver to use for the container.
|
7265
6206
|
#
|
@@ -7356,16 +6297,6 @@ module Aws::ECS
|
|
7356
6297
|
|
7357
6298
|
# An object representing a change in state for a managed agent.
|
7358
6299
|
#
|
7359
|
-
# @note When making an API call, you may pass ManagedAgentStateChange
|
7360
|
-
# data as a hash:
|
7361
|
-
#
|
7362
|
-
# {
|
7363
|
-
# container_name: "String", # required
|
7364
|
-
# managed_agent_name: "ExecuteCommandAgent", # required, accepts ExecuteCommandAgent
|
7365
|
-
# status: "String", # required
|
7366
|
-
# reason: "String",
|
7367
|
-
# }
|
7368
|
-
#
|
7369
6300
|
# @!attribute [rw] container_name
|
7370
6301
|
# The name of the container that's associated with the managed agent.
|
7371
6302
|
# @return [String]
|
@@ -7410,17 +6341,6 @@ module Aws::ECS
|
|
7410
6341
|
#
|
7411
6342
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html#asg-capacity-providers-managed-scaling
|
7412
6343
|
#
|
7413
|
-
# @note When making an API call, you may pass ManagedScaling
|
7414
|
-
# data as a hash:
|
7415
|
-
#
|
7416
|
-
# {
|
7417
|
-
# status: "ENABLED", # accepts ENABLED, DISABLED
|
7418
|
-
# target_capacity: 1,
|
7419
|
-
# minimum_scaling_step_size: 1,
|
7420
|
-
# maximum_scaling_step_size: 1,
|
7421
|
-
# instance_warmup_period: 1,
|
7422
|
-
# }
|
7423
|
-
#
|
7424
6344
|
# @!attribute [rw] status
|
7425
6345
|
# Determines whether to use managed scaling for the capacity provider.
|
7426
6346
|
# @return [String]
|
@@ -7488,15 +6408,6 @@ module Aws::ECS
|
|
7488
6408
|
# Details for a volume mount point that's used in a container
|
7489
6409
|
# definition.
|
7490
6410
|
#
|
7491
|
-
# @note When making an API call, you may pass MountPoint
|
7492
|
-
# data as a hash:
|
7493
|
-
#
|
7494
|
-
# {
|
7495
|
-
# source_volume: "String",
|
7496
|
-
# container_path: "String",
|
7497
|
-
# read_only: false,
|
7498
|
-
# }
|
7499
|
-
#
|
7500
6411
|
# @!attribute [rw] source_volume
|
7501
6412
|
# The name of the volume to mount. Must be a volume name referenced in
|
7502
6413
|
# the `name` parameter of task definition `volume`.
|
@@ -7533,16 +6444,6 @@ module Aws::ECS
|
|
7533
6444
|
# and automatic host and container port assignments are visible in the
|
7534
6445
|
# `networkBindings` section of DescribeTasks API responses.
|
7535
6446
|
#
|
7536
|
-
# @note When making an API call, you may pass NetworkBinding
|
7537
|
-
# data as a hash:
|
7538
|
-
#
|
7539
|
-
# {
|
7540
|
-
# bind_ip: "String",
|
7541
|
-
# container_port: 1,
|
7542
|
-
# host_port: 1,
|
7543
|
-
# protocol: "tcp", # accepts tcp, udp
|
7544
|
-
# }
|
7545
|
-
#
|
7546
6447
|
# @!attribute [rw] bind_ip
|
7547
6448
|
# The IP address that the container is bound to on the container
|
7548
6449
|
# instance.
|
@@ -7561,13 +6462,83 @@ module Aws::ECS
|
|
7561
6462
|
# The protocol used for the network binding.
|
7562
6463
|
# @return [String]
|
7563
6464
|
#
|
6465
|
+
# @!attribute [rw] container_port_range
|
6466
|
+
# The port number range on the container that's bound to the
|
6467
|
+
# dynamically mapped host port range.
|
6468
|
+
#
|
6469
|
+
# The following rules apply when you specify a `containerPortRange`\:
|
6470
|
+
#
|
6471
|
+
# * You must use either the `bridge` network mode or the `awsvpc`
|
6472
|
+
# network mode.
|
6473
|
+
#
|
6474
|
+
# * This parameter is available for both the EC2 and Fargate launch
|
6475
|
+
# types.
|
6476
|
+
#
|
6477
|
+
# * This parameter is available for both the Linux and Windows
|
6478
|
+
# operating systems.
|
6479
|
+
#
|
6480
|
+
# * The container instance must have at least version 1.67.0 of the
|
6481
|
+
# container agent and at least version 1.67.0-1 of the `ecs-init`
|
6482
|
+
# package
|
6483
|
+
#
|
6484
|
+
# * You can specify a maximum of 100 port ranges per container.
|
6485
|
+
#
|
6486
|
+
# * You do not specify a `hostPortRange`. The value of the
|
6487
|
+
# `hostPortRange` is set as follows:
|
6488
|
+
#
|
6489
|
+
# * For containers in a task with the `awsvpc` network mode, the
|
6490
|
+
# `hostPort` is set to the same value as the `containerPort`. This
|
6491
|
+
# is a static mapping strategy.
|
6492
|
+
#
|
6493
|
+
# * For containers in a task with the `bridge` network mode, the
|
6494
|
+
# Amazon ECS agent finds open host ports from the default
|
6495
|
+
# ephemeral range and passes it to docker to bind them to the
|
6496
|
+
# container ports.
|
6497
|
+
#
|
6498
|
+
# * The `containerPortRange` valid values are between 1 and 65535.
|
6499
|
+
#
|
6500
|
+
# * A port can only be included in one port mapping per container.
|
6501
|
+
#
|
6502
|
+
# * You cannot specify overlapping port ranges.
|
6503
|
+
#
|
6504
|
+
# * The first port in the range must be less than last port in the
|
6505
|
+
# range.
|
6506
|
+
#
|
6507
|
+
# * Docker recommends that you turn off the docker-proxy in the Docker
|
6508
|
+
# daemon config file when you have a large number of ports.
|
6509
|
+
#
|
6510
|
+
# For more information, see [ Issue #11185][1] on the Github
|
6511
|
+
# website.
|
6512
|
+
#
|
6513
|
+
# For information about how to turn off the docker-proxy in the
|
6514
|
+
# Docker daemon config file, see [Docker daemon][2] in the *Amazon
|
6515
|
+
# ECS Developer Guide*.
|
6516
|
+
#
|
6517
|
+
# You can call [ `DescribeTasks` ][3] to view the `hostPortRange`
|
6518
|
+
# which are the host ports that are bound to the container ports.
|
6519
|
+
#
|
6520
|
+
#
|
6521
|
+
#
|
6522
|
+
# [1]: https://github.com/moby/moby/issues/11185
|
6523
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon
|
6524
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html
|
6525
|
+
# @return [String]
|
6526
|
+
#
|
6527
|
+
# @!attribute [rw] host_port_range
|
6528
|
+
# The port number range on the host that's used with the network
|
6529
|
+
# binding. This is assigned is assigned by Docker and delivered by the
|
6530
|
+
# Amazon ECS agent.
|
6531
|
+
# @return [String]
|
6532
|
+
#
|
7564
6533
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NetworkBinding AWS API Documentation
|
7565
6534
|
#
|
7566
6535
|
class NetworkBinding < Struct.new(
|
7567
6536
|
:bind_ip,
|
7568
6537
|
:container_port,
|
7569
6538
|
:host_port,
|
7570
|
-
:protocol
|
6539
|
+
:protocol,
|
6540
|
+
:container_port_range,
|
6541
|
+
:host_port_range)
|
7571
6542
|
SENSITIVE = []
|
7572
6543
|
include Aws::Structure
|
7573
6544
|
end
|
@@ -7575,17 +6546,6 @@ module Aws::ECS
|
|
7575
6546
|
# An object representing the network configuration for a task or
|
7576
6547
|
# service.
|
7577
6548
|
#
|
7578
|
-
# @note When making an API call, you may pass NetworkConfiguration
|
7579
|
-
# data as a hash:
|
7580
|
-
#
|
7581
|
-
# {
|
7582
|
-
# awsvpc_configuration: {
|
7583
|
-
# subnets: ["String"], # required
|
7584
|
-
# security_groups: ["String"],
|
7585
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
7586
|
-
# },
|
7587
|
-
# }
|
7588
|
-
#
|
7589
6549
|
# @!attribute [rw] awsvpc_configuration
|
7590
6550
|
# The VPC subnets and security groups that are associated with a task.
|
7591
6551
|
#
|
@@ -7649,14 +6609,6 @@ module Aws::ECS
|
|
7649
6609
|
#
|
7650
6610
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html
|
7651
6611
|
#
|
7652
|
-
# @note When making an API call, you may pass PlacementConstraint
|
7653
|
-
# data as a hash:
|
7654
|
-
#
|
7655
|
-
# {
|
7656
|
-
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
7657
|
-
# expression: "String",
|
7658
|
-
# }
|
7659
|
-
#
|
7660
6612
|
# @!attribute [rw] type
|
7661
6613
|
# The type of constraint. Use `distinctInstance` to ensure that each
|
7662
6614
|
# task in a particular group is running on a different container
|
@@ -7693,14 +6645,6 @@ module Aws::ECS
|
|
7693
6645
|
#
|
7694
6646
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html
|
7695
6647
|
#
|
7696
|
-
# @note When making an API call, you may pass PlacementStrategy
|
7697
|
-
# data as a hash:
|
7698
|
-
#
|
7699
|
-
# {
|
7700
|
-
# type: "random", # accepts random, spread, binpack
|
7701
|
-
# field: "String",
|
7702
|
-
# }
|
7703
|
-
#
|
7704
6648
|
# @!attribute [rw] type
|
7705
6649
|
# The type of placement strategy. The `random` placement strategy
|
7706
6650
|
# randomly places tasks on available candidates. The `spread`
|
@@ -7735,14 +6679,6 @@ module Aws::ECS
|
|
7735
6679
|
# The devices that are available on the container instance. The only
|
7736
6680
|
# supported device type is a GPU.
|
7737
6681
|
#
|
7738
|
-
# @note When making an API call, you may pass PlatformDevice
|
7739
|
-
# data as a hash:
|
7740
|
-
#
|
7741
|
-
# {
|
7742
|
-
# id: "String", # required
|
7743
|
-
# type: "GPU", # required, accepts GPU
|
7744
|
-
# }
|
7745
|
-
#
|
7746
6682
|
# @!attribute [rw] id
|
7747
6683
|
# The ID for the GPUs on the container instance. The available GPU IDs
|
7748
6684
|
# can also be obtained on the container instance in the
|
@@ -7793,17 +6729,6 @@ module Aws::ECS
|
|
7793
6729
|
# and container port assignments are visible in the `networkBindings`
|
7794
6730
|
# section of DescribeTasks API responses.
|
7795
6731
|
#
|
7796
|
-
# @note When making an API call, you may pass PortMapping
|
7797
|
-
# data as a hash:
|
7798
|
-
#
|
7799
|
-
# {
|
7800
|
-
# container_port: 1,
|
7801
|
-
# host_port: 1,
|
7802
|
-
# protocol: "tcp", # accepts tcp, udp
|
7803
|
-
# name: "String",
|
7804
|
-
# app_protocol: "http", # accepts http, http2, grpc
|
7805
|
-
# }
|
7806
|
-
#
|
7807
6732
|
# @!attribute [rw] container_port
|
7808
6733
|
# The port number on the container that's bound to the user-specified
|
7809
6734
|
# or automatically assigned host port.
|
@@ -7823,6 +6748,18 @@ module Aws::ECS
|
|
7823
6748
|
# The port number on the container instance to reserve for your
|
7824
6749
|
# container.
|
7825
6750
|
#
|
6751
|
+
# If you specify a `containerPortRange`, leave this field empty and
|
6752
|
+
# the value of the `hostPort` is set as follows:
|
6753
|
+
#
|
6754
|
+
# * For containers in a task with the `awsvpc` network mode, the
|
6755
|
+
# `hostPort` is set to the same value as the `containerPort`. This
|
6756
|
+
# is a static mapping strategy.
|
6757
|
+
#
|
6758
|
+
# * For containers in a task with the `bridge` network mode, the
|
6759
|
+
# Amazon ECS agent finds open ports on the host and automaticaly
|
6760
|
+
# binds them to the container ports. This is a dynamic mapping
|
6761
|
+
# strategy.
|
6762
|
+
#
|
7826
6763
|
# If you use containers in a task with the `awsvpc` or `host` network
|
7827
6764
|
# mode, the `hostPort` can either be left blank or set to the same
|
7828
6765
|
# value as the `containerPort`.
|
@@ -7862,10 +6799,10 @@ module Aws::ECS
|
|
7862
6799
|
# @!attribute [rw] name
|
7863
6800
|
# The name that's used for the port mapping. This parameter only
|
7864
6801
|
# applies to Service Connect. This parameter is the name that you use
|
7865
|
-
# in the `serviceConnectConfiguration` of a service.
|
7866
|
-
#
|
7867
|
-
# letters, numbers, underscores (\_), and hyphens (-).
|
7868
|
-
#
|
6802
|
+
# in the `serviceConnectConfiguration` of a service. The name can
|
6803
|
+
# include up to 64 characters. The characters can include lowercase
|
6804
|
+
# letters, numbers, underscores (\_), and hyphens (-). The name can't
|
6805
|
+
# start with a hyphen.
|
7869
6806
|
#
|
7870
6807
|
# For more information, see [Service Connect][1] in the *Amazon
|
7871
6808
|
# Elastic Container Service Developer Guide*.
|
@@ -7902,6 +6839,68 @@ module Aws::ECS
|
|
7902
6839
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
7903
6840
|
# @return [String]
|
7904
6841
|
#
|
6842
|
+
# @!attribute [rw] container_port_range
|
6843
|
+
# The port number range on the container that's bound to the
|
6844
|
+
# dynamically mapped host port range.
|
6845
|
+
#
|
6846
|
+
# The following rules apply when you specify a `containerPortRange`\:
|
6847
|
+
#
|
6848
|
+
# * You must use either the `bridge` network mode or the `awsvpc`
|
6849
|
+
# network mode.
|
6850
|
+
#
|
6851
|
+
# * This parameter is available for both the EC2 and Fargate launch
|
6852
|
+
# types.
|
6853
|
+
#
|
6854
|
+
# * This parameter is available for both the Linux and Windows
|
6855
|
+
# operating systems.
|
6856
|
+
#
|
6857
|
+
# * The container instance must have at least version 1.67.0 of the
|
6858
|
+
# container agent and at least version 1.67.0-1 of the `ecs-init`
|
6859
|
+
# package
|
6860
|
+
#
|
6861
|
+
# * You can specify a maximum of 100 port ranges per container.
|
6862
|
+
#
|
6863
|
+
# * You do not specify a `hostPortRange`. The value of the
|
6864
|
+
# `hostPortRange` is set as follows:
|
6865
|
+
#
|
6866
|
+
# * For containers in a task with the `awsvpc` network mode, the
|
6867
|
+
# `hostPort` is set to the same value as the `containerPort`. This
|
6868
|
+
# is a static mapping strategy.
|
6869
|
+
#
|
6870
|
+
# * For containers in a task with the `bridge` network mode, the
|
6871
|
+
# Amazon ECS agent finds open host ports from the default
|
6872
|
+
# ephemeral range and passes it to docker to bind them to the
|
6873
|
+
# container ports.
|
6874
|
+
#
|
6875
|
+
# * The `containerPortRange` valid values are between 1 and 65535.
|
6876
|
+
#
|
6877
|
+
# * A port can only be included in one port mapping per container.
|
6878
|
+
#
|
6879
|
+
# * You cannot specify overlapping port ranges.
|
6880
|
+
#
|
6881
|
+
# * The first port in the range must be less than last port in the
|
6882
|
+
# range.
|
6883
|
+
#
|
6884
|
+
# * Docker recommends that you turn off the docker-proxy in the Docker
|
6885
|
+
# daemon config file when you have a large number of ports.
|
6886
|
+
#
|
6887
|
+
# For more information, see [ Issue #11185][1] on the Github
|
6888
|
+
# website.
|
6889
|
+
#
|
6890
|
+
# For information about how to turn off the docker-proxy in the
|
6891
|
+
# Docker daemon config file, see [Docker daemon][2] in the *Amazon
|
6892
|
+
# ECS Developer Guide*.
|
6893
|
+
#
|
6894
|
+
# You can call [ `DescribeTasks` ][3] to view the `hostPortRange`
|
6895
|
+
# which are the host ports that are bound to the container ports.
|
6896
|
+
#
|
6897
|
+
#
|
6898
|
+
#
|
6899
|
+
# [1]: https://github.com/moby/moby/issues/11185
|
6900
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon
|
6901
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html
|
6902
|
+
# @return [String]
|
6903
|
+
#
|
7905
6904
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PortMapping AWS API Documentation
|
7906
6905
|
#
|
7907
6906
|
class PortMapping < Struct.new(
|
@@ -7909,7 +6908,8 @@ module Aws::ECS
|
|
7909
6908
|
:host_port,
|
7910
6909
|
:protocol,
|
7911
6910
|
:name,
|
7912
|
-
:app_protocol
|
6911
|
+
:app_protocol,
|
6912
|
+
:container_port_range)
|
7913
6913
|
SENSITIVE = []
|
7914
6914
|
include Aws::Structure
|
7915
6915
|
end
|
@@ -7955,20 +6955,6 @@ module Aws::ECS
|
|
7955
6955
|
#
|
7956
6956
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
7957
6957
|
#
|
7958
|
-
# @note When making an API call, you may pass ProxyConfiguration
|
7959
|
-
# data as a hash:
|
7960
|
-
#
|
7961
|
-
# {
|
7962
|
-
# type: "APPMESH", # accepts APPMESH
|
7963
|
-
# container_name: "String", # required
|
7964
|
-
# properties: [
|
7965
|
-
# {
|
7966
|
-
# name: "String",
|
7967
|
-
# value: "String",
|
7968
|
-
# },
|
7969
|
-
# ],
|
7970
|
-
# }
|
7971
|
-
#
|
7972
6958
|
# @!attribute [rw] type
|
7973
6959
|
# The proxy type. The only supported value is `APPMESH`.
|
7974
6960
|
# @return [String]
|
@@ -8020,14 +7006,6 @@ module Aws::ECS
|
|
8020
7006
|
include Aws::Structure
|
8021
7007
|
end
|
8022
7008
|
|
8023
|
-
# @note When making an API call, you may pass PutAccountSettingDefaultRequest
|
8024
|
-
# data as a hash:
|
8025
|
-
#
|
8026
|
-
# {
|
8027
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
8028
|
-
# value: "String", # required
|
8029
|
-
# }
|
8030
|
-
#
|
8031
7009
|
# @!attribute [rw] name
|
8032
7010
|
# The resource name for which to modify the account setting. If
|
8033
7011
|
# `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
|
@@ -8077,15 +7055,6 @@ module Aws::ECS
|
|
8077
7055
|
include Aws::Structure
|
8078
7056
|
end
|
8079
7057
|
|
8080
|
-
# @note When making an API call, you may pass PutAccountSettingRequest
|
8081
|
-
# data as a hash:
|
8082
|
-
#
|
8083
|
-
# {
|
8084
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
8085
|
-
# value: "String", # required
|
8086
|
-
# principal_arn: "String",
|
8087
|
-
# }
|
8088
|
-
#
|
8089
7058
|
# @!attribute [rw] name
|
8090
7059
|
# The Amazon ECS resource name for which to modify the account
|
8091
7060
|
# setting. If `serviceLongArnFormat` is specified, the ARN for your
|
@@ -8140,21 +7109,6 @@ module Aws::ECS
|
|
8140
7109
|
include Aws::Structure
|
8141
7110
|
end
|
8142
7111
|
|
8143
|
-
# @note When making an API call, you may pass PutAttributesRequest
|
8144
|
-
# data as a hash:
|
8145
|
-
#
|
8146
|
-
# {
|
8147
|
-
# cluster: "String",
|
8148
|
-
# attributes: [ # required
|
8149
|
-
# {
|
8150
|
-
# name: "String", # required
|
8151
|
-
# value: "String",
|
8152
|
-
# target_type: "container-instance", # accepts container-instance
|
8153
|
-
# target_id: "String",
|
8154
|
-
# },
|
8155
|
-
# ],
|
8156
|
-
# }
|
8157
|
-
#
|
8158
7112
|
# @!attribute [rw] cluster
|
8159
7113
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
8160
7114
|
# that contains the resource to apply attributes. If you do not
|
@@ -8188,21 +7142,6 @@ module Aws::ECS
|
|
8188
7142
|
include Aws::Structure
|
8189
7143
|
end
|
8190
7144
|
|
8191
|
-
# @note When making an API call, you may pass PutClusterCapacityProvidersRequest
|
8192
|
-
# data as a hash:
|
8193
|
-
#
|
8194
|
-
# {
|
8195
|
-
# cluster: "String", # required
|
8196
|
-
# capacity_providers: ["String"], # required
|
8197
|
-
# default_capacity_provider_strategy: [ # required
|
8198
|
-
# {
|
8199
|
-
# capacity_provider: "String", # required
|
8200
|
-
# weight: 1,
|
8201
|
-
# base: 1,
|
8202
|
-
# },
|
8203
|
-
# ],
|
8204
|
-
# }
|
8205
|
-
#
|
8206
7145
|
# @!attribute [rw] cluster
|
8207
7146
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
8208
7147
|
# modify the capacity provider settings for. If you don't specify a
|
@@ -8271,51 +7210,6 @@ module Aws::ECS
|
|
8271
7210
|
include Aws::Structure
|
8272
7211
|
end
|
8273
7212
|
|
8274
|
-
# @note When making an API call, you may pass RegisterContainerInstanceRequest
|
8275
|
-
# data as a hash:
|
8276
|
-
#
|
8277
|
-
# {
|
8278
|
-
# cluster: "String",
|
8279
|
-
# instance_identity_document: "String",
|
8280
|
-
# instance_identity_document_signature: "String",
|
8281
|
-
# total_resources: [
|
8282
|
-
# {
|
8283
|
-
# name: "String",
|
8284
|
-
# type: "String",
|
8285
|
-
# double_value: 1.0,
|
8286
|
-
# long_value: 1,
|
8287
|
-
# integer_value: 1,
|
8288
|
-
# string_set_value: ["String"],
|
8289
|
-
# },
|
8290
|
-
# ],
|
8291
|
-
# version_info: {
|
8292
|
-
# agent_version: "String",
|
8293
|
-
# agent_hash: "String",
|
8294
|
-
# docker_version: "String",
|
8295
|
-
# },
|
8296
|
-
# container_instance_arn: "String",
|
8297
|
-
# attributes: [
|
8298
|
-
# {
|
8299
|
-
# name: "String", # required
|
8300
|
-
# value: "String",
|
8301
|
-
# target_type: "container-instance", # accepts container-instance
|
8302
|
-
# target_id: "String",
|
8303
|
-
# },
|
8304
|
-
# ],
|
8305
|
-
# platform_devices: [
|
8306
|
-
# {
|
8307
|
-
# id: "String", # required
|
8308
|
-
# type: "GPU", # required, accepts GPU
|
8309
|
-
# },
|
8310
|
-
# ],
|
8311
|
-
# tags: [
|
8312
|
-
# {
|
8313
|
-
# key: "TagKey",
|
8314
|
-
# value: "TagValue",
|
8315
|
-
# },
|
8316
|
-
# ],
|
8317
|
-
# }
|
8318
|
-
#
|
8319
7213
|
# @!attribute [rw] cluster
|
8320
7214
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
8321
7215
|
# register your container instance with. If you do not specify a
|
@@ -8418,245 +7312,6 @@ module Aws::ECS
|
|
8418
7312
|
include Aws::Structure
|
8419
7313
|
end
|
8420
7314
|
|
8421
|
-
# @note When making an API call, you may pass RegisterTaskDefinitionRequest
|
8422
|
-
# data as a hash:
|
8423
|
-
#
|
8424
|
-
# {
|
8425
|
-
# family: "String", # required
|
8426
|
-
# task_role_arn: "String",
|
8427
|
-
# execution_role_arn: "String",
|
8428
|
-
# network_mode: "bridge", # accepts bridge, host, awsvpc, none
|
8429
|
-
# container_definitions: [ # required
|
8430
|
-
# {
|
8431
|
-
# name: "String",
|
8432
|
-
# image: "String",
|
8433
|
-
# repository_credentials: {
|
8434
|
-
# credentials_parameter: "String", # required
|
8435
|
-
# },
|
8436
|
-
# cpu: 1,
|
8437
|
-
# memory: 1,
|
8438
|
-
# memory_reservation: 1,
|
8439
|
-
# links: ["String"],
|
8440
|
-
# port_mappings: [
|
8441
|
-
# {
|
8442
|
-
# container_port: 1,
|
8443
|
-
# host_port: 1,
|
8444
|
-
# protocol: "tcp", # accepts tcp, udp
|
8445
|
-
# name: "String",
|
8446
|
-
# app_protocol: "http", # accepts http, http2, grpc
|
8447
|
-
# },
|
8448
|
-
# ],
|
8449
|
-
# essential: false,
|
8450
|
-
# entry_point: ["String"],
|
8451
|
-
# command: ["String"],
|
8452
|
-
# environment: [
|
8453
|
-
# {
|
8454
|
-
# name: "String",
|
8455
|
-
# value: "String",
|
8456
|
-
# },
|
8457
|
-
# ],
|
8458
|
-
# environment_files: [
|
8459
|
-
# {
|
8460
|
-
# value: "String", # required
|
8461
|
-
# type: "s3", # required, accepts s3
|
8462
|
-
# },
|
8463
|
-
# ],
|
8464
|
-
# mount_points: [
|
8465
|
-
# {
|
8466
|
-
# source_volume: "String",
|
8467
|
-
# container_path: "String",
|
8468
|
-
# read_only: false,
|
8469
|
-
# },
|
8470
|
-
# ],
|
8471
|
-
# volumes_from: [
|
8472
|
-
# {
|
8473
|
-
# source_container: "String",
|
8474
|
-
# read_only: false,
|
8475
|
-
# },
|
8476
|
-
# ],
|
8477
|
-
# linux_parameters: {
|
8478
|
-
# capabilities: {
|
8479
|
-
# add: ["String"],
|
8480
|
-
# drop: ["String"],
|
8481
|
-
# },
|
8482
|
-
# devices: [
|
8483
|
-
# {
|
8484
|
-
# host_path: "String", # required
|
8485
|
-
# container_path: "String",
|
8486
|
-
# permissions: ["read"], # accepts read, write, mknod
|
8487
|
-
# },
|
8488
|
-
# ],
|
8489
|
-
# init_process_enabled: false,
|
8490
|
-
# shared_memory_size: 1,
|
8491
|
-
# tmpfs: [
|
8492
|
-
# {
|
8493
|
-
# container_path: "String", # required
|
8494
|
-
# size: 1, # required
|
8495
|
-
# mount_options: ["String"],
|
8496
|
-
# },
|
8497
|
-
# ],
|
8498
|
-
# max_swap: 1,
|
8499
|
-
# swappiness: 1,
|
8500
|
-
# },
|
8501
|
-
# secrets: [
|
8502
|
-
# {
|
8503
|
-
# name: "String", # required
|
8504
|
-
# value_from: "String", # required
|
8505
|
-
# },
|
8506
|
-
# ],
|
8507
|
-
# depends_on: [
|
8508
|
-
# {
|
8509
|
-
# container_name: "String", # required
|
8510
|
-
# condition: "START", # required, accepts START, COMPLETE, SUCCESS, HEALTHY
|
8511
|
-
# },
|
8512
|
-
# ],
|
8513
|
-
# start_timeout: 1,
|
8514
|
-
# stop_timeout: 1,
|
8515
|
-
# hostname: "String",
|
8516
|
-
# user: "String",
|
8517
|
-
# working_directory: "String",
|
8518
|
-
# disable_networking: false,
|
8519
|
-
# privileged: false,
|
8520
|
-
# readonly_root_filesystem: false,
|
8521
|
-
# dns_servers: ["String"],
|
8522
|
-
# dns_search_domains: ["String"],
|
8523
|
-
# extra_hosts: [
|
8524
|
-
# {
|
8525
|
-
# hostname: "String", # required
|
8526
|
-
# ip_address: "String", # required
|
8527
|
-
# },
|
8528
|
-
# ],
|
8529
|
-
# docker_security_options: ["String"],
|
8530
|
-
# interactive: false,
|
8531
|
-
# pseudo_terminal: false,
|
8532
|
-
# docker_labels: {
|
8533
|
-
# "String" => "String",
|
8534
|
-
# },
|
8535
|
-
# ulimits: [
|
8536
|
-
# {
|
8537
|
-
# name: "core", # required, accepts core, cpu, data, fsize, locks, memlock, msgqueue, nice, nofile, nproc, rss, rtprio, rttime, sigpending, stack
|
8538
|
-
# soft_limit: 1, # required
|
8539
|
-
# hard_limit: 1, # required
|
8540
|
-
# },
|
8541
|
-
# ],
|
8542
|
-
# log_configuration: {
|
8543
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
|
8544
|
-
# options: {
|
8545
|
-
# "String" => "String",
|
8546
|
-
# },
|
8547
|
-
# secret_options: [
|
8548
|
-
# {
|
8549
|
-
# name: "String", # required
|
8550
|
-
# value_from: "String", # required
|
8551
|
-
# },
|
8552
|
-
# ],
|
8553
|
-
# },
|
8554
|
-
# health_check: {
|
8555
|
-
# command: ["String"], # required
|
8556
|
-
# interval: 1,
|
8557
|
-
# timeout: 1,
|
8558
|
-
# retries: 1,
|
8559
|
-
# start_period: 1,
|
8560
|
-
# },
|
8561
|
-
# system_controls: [
|
8562
|
-
# {
|
8563
|
-
# namespace: "String",
|
8564
|
-
# value: "String",
|
8565
|
-
# },
|
8566
|
-
# ],
|
8567
|
-
# resource_requirements: [
|
8568
|
-
# {
|
8569
|
-
# value: "String", # required
|
8570
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
8571
|
-
# },
|
8572
|
-
# ],
|
8573
|
-
# firelens_configuration: {
|
8574
|
-
# type: "fluentd", # required, accepts fluentd, fluentbit
|
8575
|
-
# options: {
|
8576
|
-
# "String" => "String",
|
8577
|
-
# },
|
8578
|
-
# },
|
8579
|
-
# },
|
8580
|
-
# ],
|
8581
|
-
# volumes: [
|
8582
|
-
# {
|
8583
|
-
# name: "String",
|
8584
|
-
# host: {
|
8585
|
-
# source_path: "String",
|
8586
|
-
# },
|
8587
|
-
# docker_volume_configuration: {
|
8588
|
-
# scope: "task", # accepts task, shared
|
8589
|
-
# autoprovision: false,
|
8590
|
-
# driver: "String",
|
8591
|
-
# driver_opts: {
|
8592
|
-
# "String" => "String",
|
8593
|
-
# },
|
8594
|
-
# labels: {
|
8595
|
-
# "String" => "String",
|
8596
|
-
# },
|
8597
|
-
# },
|
8598
|
-
# efs_volume_configuration: {
|
8599
|
-
# file_system_id: "String", # required
|
8600
|
-
# root_directory: "String",
|
8601
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
8602
|
-
# transit_encryption_port: 1,
|
8603
|
-
# authorization_config: {
|
8604
|
-
# access_point_id: "String",
|
8605
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
8606
|
-
# },
|
8607
|
-
# },
|
8608
|
-
# fsx_windows_file_server_volume_configuration: {
|
8609
|
-
# file_system_id: "String", # required
|
8610
|
-
# root_directory: "String", # required
|
8611
|
-
# authorization_config: { # required
|
8612
|
-
# credentials_parameter: "String", # required
|
8613
|
-
# domain: "String", # required
|
8614
|
-
# },
|
8615
|
-
# },
|
8616
|
-
# },
|
8617
|
-
# ],
|
8618
|
-
# placement_constraints: [
|
8619
|
-
# {
|
8620
|
-
# type: "memberOf", # accepts memberOf
|
8621
|
-
# expression: "String",
|
8622
|
-
# },
|
8623
|
-
# ],
|
8624
|
-
# requires_compatibilities: ["EC2"], # accepts EC2, FARGATE, EXTERNAL
|
8625
|
-
# cpu: "String",
|
8626
|
-
# memory: "String",
|
8627
|
-
# tags: [
|
8628
|
-
# {
|
8629
|
-
# key: "TagKey",
|
8630
|
-
# value: "TagValue",
|
8631
|
-
# },
|
8632
|
-
# ],
|
8633
|
-
# pid_mode: "host", # accepts host, task
|
8634
|
-
# ipc_mode: "host", # accepts host, task, none
|
8635
|
-
# proxy_configuration: {
|
8636
|
-
# type: "APPMESH", # accepts APPMESH
|
8637
|
-
# container_name: "String", # required
|
8638
|
-
# properties: [
|
8639
|
-
# {
|
8640
|
-
# name: "String",
|
8641
|
-
# value: "String",
|
8642
|
-
# },
|
8643
|
-
# ],
|
8644
|
-
# },
|
8645
|
-
# inference_accelerators: [
|
8646
|
-
# {
|
8647
|
-
# device_name: "String", # required
|
8648
|
-
# device_type: "String", # required
|
8649
|
-
# },
|
8650
|
-
# ],
|
8651
|
-
# ephemeral_storage: {
|
8652
|
-
# size_in_gi_b: 1, # required
|
8653
|
-
# },
|
8654
|
-
# runtime_platform: {
|
8655
|
-
# cpu_architecture: "X86_64", # accepts X86_64, ARM64
|
8656
|
-
# 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
|
8657
|
-
# },
|
8658
|
-
# }
|
8659
|
-
#
|
8660
7315
|
# @!attribute [rw] family
|
8661
7316
|
# You must specify a `family` for a task definition. You can use it
|
8662
7317
|
# track multiple versions of the same task definition. The `family` is
|
@@ -9051,13 +7706,6 @@ module Aws::ECS
|
|
9051
7706
|
|
9052
7707
|
# The repository credentials for private registry authentication.
|
9053
7708
|
#
|
9054
|
-
# @note When making an API call, you may pass RepositoryCredentials
|
9055
|
-
# data as a hash:
|
9056
|
-
#
|
9057
|
-
# {
|
9058
|
-
# credentials_parameter: "String", # required
|
9059
|
-
# }
|
9060
|
-
#
|
9061
7709
|
# @!attribute [rw] credentials_parameter
|
9062
7710
|
# The Amazon Resource Name (ARN) of the secret containing the private
|
9063
7711
|
# repository credentials.
|
@@ -9081,18 +7729,6 @@ module Aws::ECS
|
|
9081
7729
|
|
9082
7730
|
# Describes the resources available for a container instance.
|
9083
7731
|
#
|
9084
|
-
# @note When making an API call, you may pass Resource
|
9085
|
-
# data as a hash:
|
9086
|
-
#
|
9087
|
-
# {
|
9088
|
-
# name: "String",
|
9089
|
-
# type: "String",
|
9090
|
-
# double_value: 1.0,
|
9091
|
-
# long_value: 1,
|
9092
|
-
# integer_value: 1,
|
9093
|
-
# string_set_value: ["String"],
|
9094
|
-
# }
|
9095
|
-
#
|
9096
7732
|
# @!attribute [rw] name
|
9097
7733
|
# The name of the resource, such as `CPU`, `MEMORY`, `PORTS`,
|
9098
7734
|
# `PORTS_UDP`, or a user-defined resource.
|
@@ -9159,14 +7795,6 @@ module Aws::ECS
|
|
9159
7795
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html
|
9160
7796
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html
|
9161
7797
|
#
|
9162
|
-
# @note When making an API call, you may pass ResourceRequirement
|
9163
|
-
# data as a hash:
|
9164
|
-
#
|
9165
|
-
# {
|
9166
|
-
# value: "String", # required
|
9167
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
9168
|
-
# }
|
9169
|
-
#
|
9170
7798
|
# @!attribute [rw] value
|
9171
7799
|
# The value for the specified resource type.
|
9172
7800
|
#
|
@@ -9195,97 +7823,6 @@ module Aws::ECS
|
|
9195
7823
|
include Aws::Structure
|
9196
7824
|
end
|
9197
7825
|
|
9198
|
-
# @note When making an API call, you may pass RunTaskRequest
|
9199
|
-
# data as a hash:
|
9200
|
-
#
|
9201
|
-
# {
|
9202
|
-
# capacity_provider_strategy: [
|
9203
|
-
# {
|
9204
|
-
# capacity_provider: "String", # required
|
9205
|
-
# weight: 1,
|
9206
|
-
# base: 1,
|
9207
|
-
# },
|
9208
|
-
# ],
|
9209
|
-
# cluster: "String",
|
9210
|
-
# count: 1,
|
9211
|
-
# enable_ecs_managed_tags: false,
|
9212
|
-
# enable_execute_command: false,
|
9213
|
-
# group: "String",
|
9214
|
-
# launch_type: "EC2", # accepts EC2, FARGATE, EXTERNAL
|
9215
|
-
# network_configuration: {
|
9216
|
-
# awsvpc_configuration: {
|
9217
|
-
# subnets: ["String"], # required
|
9218
|
-
# security_groups: ["String"],
|
9219
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
9220
|
-
# },
|
9221
|
-
# },
|
9222
|
-
# overrides: {
|
9223
|
-
# container_overrides: [
|
9224
|
-
# {
|
9225
|
-
# name: "String",
|
9226
|
-
# command: ["String"],
|
9227
|
-
# environment: [
|
9228
|
-
# {
|
9229
|
-
# name: "String",
|
9230
|
-
# value: "String",
|
9231
|
-
# },
|
9232
|
-
# ],
|
9233
|
-
# environment_files: [
|
9234
|
-
# {
|
9235
|
-
# value: "String", # required
|
9236
|
-
# type: "s3", # required, accepts s3
|
9237
|
-
# },
|
9238
|
-
# ],
|
9239
|
-
# cpu: 1,
|
9240
|
-
# memory: 1,
|
9241
|
-
# memory_reservation: 1,
|
9242
|
-
# resource_requirements: [
|
9243
|
-
# {
|
9244
|
-
# value: "String", # required
|
9245
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
9246
|
-
# },
|
9247
|
-
# ],
|
9248
|
-
# },
|
9249
|
-
# ],
|
9250
|
-
# cpu: "String",
|
9251
|
-
# inference_accelerator_overrides: [
|
9252
|
-
# {
|
9253
|
-
# device_name: "String",
|
9254
|
-
# device_type: "String",
|
9255
|
-
# },
|
9256
|
-
# ],
|
9257
|
-
# execution_role_arn: "String",
|
9258
|
-
# memory: "String",
|
9259
|
-
# task_role_arn: "String",
|
9260
|
-
# ephemeral_storage: {
|
9261
|
-
# size_in_gi_b: 1, # required
|
9262
|
-
# },
|
9263
|
-
# },
|
9264
|
-
# placement_constraints: [
|
9265
|
-
# {
|
9266
|
-
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
9267
|
-
# expression: "String",
|
9268
|
-
# },
|
9269
|
-
# ],
|
9270
|
-
# placement_strategy: [
|
9271
|
-
# {
|
9272
|
-
# type: "random", # accepts random, spread, binpack
|
9273
|
-
# field: "String",
|
9274
|
-
# },
|
9275
|
-
# ],
|
9276
|
-
# platform_version: "String",
|
9277
|
-
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
9278
|
-
# reference_id: "String",
|
9279
|
-
# started_by: "String",
|
9280
|
-
# tags: [
|
9281
|
-
# {
|
9282
|
-
# key: "TagKey",
|
9283
|
-
# value: "TagValue",
|
9284
|
-
# },
|
9285
|
-
# ],
|
9286
|
-
# task_definition: "String", # required
|
9287
|
-
# }
|
9288
|
-
#
|
9289
7826
|
# @!attribute [rw] capacity_provider_strategy
|
9290
7827
|
# The capacity provider strategy to use for the task.
|
9291
7828
|
#
|
@@ -9564,14 +8101,6 @@ module Aws::ECS
|
|
9564
8101
|
#
|
9565
8102
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform
|
9566
8103
|
#
|
9567
|
-
# @note When making an API call, you may pass RuntimePlatform
|
9568
|
-
# data as a hash:
|
9569
|
-
#
|
9570
|
-
# {
|
9571
|
-
# cpu_architecture: "X86_64", # accepts X86_64, ARM64
|
9572
|
-
# 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
|
9573
|
-
# }
|
9574
|
-
#
|
9575
8104
|
# @!attribute [rw] cpu_architecture
|
9576
8105
|
# The CPU architecture.
|
9577
8106
|
#
|
@@ -9596,14 +8125,6 @@ module Aws::ECS
|
|
9596
8125
|
# A floating-point percentage of the desired number of tasks to place
|
9597
8126
|
# and keep running in the task set.
|
9598
8127
|
#
|
9599
|
-
# @note When making an API call, you may pass Scale
|
9600
|
-
# data as a hash:
|
9601
|
-
#
|
9602
|
-
# {
|
9603
|
-
# value: 1.0,
|
9604
|
-
# unit: "PERCENT", # accepts PERCENT
|
9605
|
-
# }
|
9606
|
-
#
|
9607
8128
|
# @!attribute [rw] value
|
9608
8129
|
# The value, specified as a percent total of a service's
|
9609
8130
|
# `desiredCount`, to scale the task set. Accepted values are numbers
|
@@ -9639,14 +8160,6 @@ module Aws::ECS
|
|
9639
8160
|
#
|
9640
8161
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html
|
9641
8162
|
#
|
9642
|
-
# @note When making an API call, you may pass Secret
|
9643
|
-
# data as a hash:
|
9644
|
-
#
|
9645
|
-
# {
|
9646
|
-
# name: "String", # required
|
9647
|
-
# value_from: "String", # required
|
9648
|
-
# }
|
9649
|
-
#
|
9650
8163
|
# @!attribute [rw] name
|
9651
8164
|
# The name of the secret.
|
9652
8165
|
# @return [String]
|
@@ -9995,14 +8508,6 @@ module Aws::ECS
|
|
9995
8508
|
#
|
9996
8509
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
9997
8510
|
#
|
9998
|
-
# @note When making an API call, you may pass ServiceConnectClientAlias
|
9999
|
-
# data as a hash:
|
10000
|
-
#
|
10001
|
-
# {
|
10002
|
-
# port: 1, # required
|
10003
|
-
# dns_name: "String",
|
10004
|
-
# }
|
10005
|
-
#
|
10006
8511
|
# @!attribute [rw] port
|
10007
8512
|
# The listening port number for the Service Connect proxy. This port
|
10008
8513
|
# is available inside of all of the tasks within the same namespace.
|
@@ -10020,15 +8525,15 @@ module Aws::ECS
|
|
10020
8525
|
# @!attribute [rw] dns_name
|
10021
8526
|
# The `dnsName` is the name that you use in the applications of client
|
10022
8527
|
# tasks to connect to this service. The name must be a valid DNS name
|
10023
|
-
# but doesn't need to be fully-qualified.
|
10024
|
-
#
|
10025
|
-
# underscores (\_), hyphens (-), and periods (.).
|
10026
|
-
#
|
8528
|
+
# but doesn't need to be fully-qualified. The name can include up to
|
8529
|
+
# 127 characters. The name can include lowercase letters, numbers,
|
8530
|
+
# underscores (\_), hyphens (-), and periods (.). The name can't
|
8531
|
+
# start with a hyphen.
|
10027
8532
|
#
|
10028
8533
|
# If this parameter isn't specified, the default value of
|
10029
8534
|
# `discoveryName.namespace` is used. If the `discoveryName` isn't
|
10030
|
-
# specified, the
|
10031
|
-
#
|
8535
|
+
# specified, the port mapping name from the task definition is used in
|
8536
|
+
# `portName.namespace`.
|
10032
8537
|
#
|
10033
8538
|
# To avoid changing your applications in client Amazon ECS services,
|
10034
8539
|
# set this to the same name that the client application uses by
|
@@ -10068,39 +8573,6 @@ module Aws::ECS
|
|
10068
8573
|
#
|
10069
8574
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
10070
8575
|
#
|
10071
|
-
# @note When making an API call, you may pass ServiceConnectConfiguration
|
10072
|
-
# data as a hash:
|
10073
|
-
#
|
10074
|
-
# {
|
10075
|
-
# enabled: false, # required
|
10076
|
-
# namespace: "String",
|
10077
|
-
# services: [
|
10078
|
-
# {
|
10079
|
-
# port_name: "String", # required
|
10080
|
-
# discovery_name: "String",
|
10081
|
-
# client_aliases: [
|
10082
|
-
# {
|
10083
|
-
# port: 1, # required
|
10084
|
-
# dns_name: "String",
|
10085
|
-
# },
|
10086
|
-
# ],
|
10087
|
-
# ingress_port_override: 1,
|
10088
|
-
# },
|
10089
|
-
# ],
|
10090
|
-
# log_configuration: {
|
10091
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
|
10092
|
-
# options: {
|
10093
|
-
# "String" => "String",
|
10094
|
-
# },
|
10095
|
-
# secret_options: [
|
10096
|
-
# {
|
10097
|
-
# name: "String", # required
|
10098
|
-
# value_from: "String", # required
|
10099
|
-
# },
|
10100
|
-
# ],
|
10101
|
-
# },
|
10102
|
-
# }
|
10103
|
-
#
|
10104
8576
|
# @!attribute [rw] enabled
|
10105
8577
|
# Specifies whether to use Service Connect with this service.
|
10106
8578
|
# @return [Boolean]
|
@@ -10121,8 +8593,7 @@ module Aws::ECS
|
|
10121
8593
|
# @!attribute [rw] services
|
10122
8594
|
# The list of Service Connect service objects. These are names and
|
10123
8595
|
# aliases (also known as endpoints) that are used by other Amazon ECS
|
10124
|
-
# services to connect to this service.
|
10125
|
-
# objects per Amazon ECS service.
|
8596
|
+
# services to connect to this service.
|
10126
8597
|
#
|
10127
8598
|
# This field is not required for a "client" Amazon ECS service
|
10128
8599
|
# that's a member of a namespace only to connect to other services
|
@@ -10200,21 +8671,6 @@ module Aws::ECS
|
|
10200
8671
|
#
|
10201
8672
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
10202
8673
|
#
|
10203
|
-
# @note When making an API call, you may pass ServiceConnectService
|
10204
|
-
# data as a hash:
|
10205
|
-
#
|
10206
|
-
# {
|
10207
|
-
# port_name: "String", # required
|
10208
|
-
# discovery_name: "String",
|
10209
|
-
# client_aliases: [
|
10210
|
-
# {
|
10211
|
-
# port: 1, # required
|
10212
|
-
# dns_name: "String",
|
10213
|
-
# },
|
10214
|
-
# ],
|
10215
|
-
# ingress_port_override: 1,
|
10216
|
-
# }
|
10217
|
-
#
|
10218
8674
|
# @!attribute [rw] port_name
|
10219
8675
|
# The `portName` must match the name of one of the `portMappings` from
|
10220
8676
|
# all the containers in the task definition of this Amazon ECS
|
@@ -10224,11 +8680,15 @@ module Aws::ECS
|
|
10224
8680
|
# @!attribute [rw] discovery_name
|
10225
8681
|
# The `discoveryName` is the name of the new Cloud Map service that
|
10226
8682
|
# Amazon ECS creates for this Amazon ECS service. This must be unique
|
10227
|
-
# within the Cloud Map namespace.
|
10228
|
-
# characters can include lowercase letters, numbers,
|
10229
|
-
# and hyphens (-).
|
8683
|
+
# within the Cloud Map namespace. The name can contain up to 64
|
8684
|
+
# characters. The name can include lowercase letters, numbers,
|
8685
|
+
# underscores (\_), and hyphens (-). The name can't start with a
|
8686
|
+
# hyphen.
|
10230
8687
|
#
|
10231
|
-
# If this
|
8688
|
+
# If this parameter isn't specified, the default value of
|
8689
|
+
# `discoveryName.namespace` is used. If the `discoveryName` isn't
|
8690
|
+
# specified, the port mapping name from the task definition is used in
|
8691
|
+
# `portName.namespace`.
|
10232
8692
|
# @return [String]
|
10233
8693
|
#
|
10234
8694
|
# @!attribute [rw] client_aliases
|
@@ -10288,11 +8748,15 @@ module Aws::ECS
|
|
10288
8748
|
#
|
10289
8749
|
# The `discoveryName` is the name of the new Cloud Map service that
|
10290
8750
|
# Amazon ECS creates for this Amazon ECS service. This must be unique
|
10291
|
-
# within the Cloud Map namespace.
|
10292
|
-
# characters can include lowercase letters, numbers,
|
10293
|
-
# and hyphens (-).
|
8751
|
+
# within the Cloud Map namespace. The name can contain up to 64
|
8752
|
+
# characters. The name can include lowercase letters, numbers,
|
8753
|
+
# underscores (\_), and hyphens (-). The name can't start with a
|
8754
|
+
# hyphen.
|
10294
8755
|
#
|
10295
|
-
# If this
|
8756
|
+
# If this parameter isn't specified, the default value of
|
8757
|
+
# `discoveryName.namespace` is used. If the `discoveryName` isn't
|
8758
|
+
# specified, the port mapping name from the task definition is used in
|
8759
|
+
# `portName.namespace`.
|
10296
8760
|
# @return [String]
|
10297
8761
|
#
|
10298
8762
|
# @!attribute [rw] discovery_arn
|
@@ -10360,16 +8824,6 @@ module Aws::ECS
|
|
10360
8824
|
# Amazon ECS starts a new deployment. New tasks are registered and
|
10361
8825
|
# deregistered to the updated service registry configuration.
|
10362
8826
|
#
|
10363
|
-
# @note When making an API call, you may pass ServiceRegistry
|
10364
|
-
# data as a hash:
|
10365
|
-
#
|
10366
|
-
# {
|
10367
|
-
# registry_arn: "String",
|
10368
|
-
# port: 1,
|
10369
|
-
# container_name: "String",
|
10370
|
-
# container_port: 1,
|
10371
|
-
# }
|
10372
|
-
#
|
10373
8827
|
# @!attribute [rw] registry_arn
|
10374
8828
|
# The Amazon Resource Name (ARN) of the service registry. The
|
10375
8829
|
# currently supported service registry is Cloud Map. For more
|
@@ -10475,76 +8929,6 @@ module Aws::ECS
|
|
10475
8929
|
include Aws::Structure
|
10476
8930
|
end
|
10477
8931
|
|
10478
|
-
# @note When making an API call, you may pass StartTaskRequest
|
10479
|
-
# data as a hash:
|
10480
|
-
#
|
10481
|
-
# {
|
10482
|
-
# cluster: "String",
|
10483
|
-
# container_instances: ["String"], # required
|
10484
|
-
# enable_ecs_managed_tags: false,
|
10485
|
-
# enable_execute_command: false,
|
10486
|
-
# group: "String",
|
10487
|
-
# network_configuration: {
|
10488
|
-
# awsvpc_configuration: {
|
10489
|
-
# subnets: ["String"], # required
|
10490
|
-
# security_groups: ["String"],
|
10491
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
10492
|
-
# },
|
10493
|
-
# },
|
10494
|
-
# overrides: {
|
10495
|
-
# container_overrides: [
|
10496
|
-
# {
|
10497
|
-
# name: "String",
|
10498
|
-
# command: ["String"],
|
10499
|
-
# environment: [
|
10500
|
-
# {
|
10501
|
-
# name: "String",
|
10502
|
-
# value: "String",
|
10503
|
-
# },
|
10504
|
-
# ],
|
10505
|
-
# environment_files: [
|
10506
|
-
# {
|
10507
|
-
# value: "String", # required
|
10508
|
-
# type: "s3", # required, accepts s3
|
10509
|
-
# },
|
10510
|
-
# ],
|
10511
|
-
# cpu: 1,
|
10512
|
-
# memory: 1,
|
10513
|
-
# memory_reservation: 1,
|
10514
|
-
# resource_requirements: [
|
10515
|
-
# {
|
10516
|
-
# value: "String", # required
|
10517
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
10518
|
-
# },
|
10519
|
-
# ],
|
10520
|
-
# },
|
10521
|
-
# ],
|
10522
|
-
# cpu: "String",
|
10523
|
-
# inference_accelerator_overrides: [
|
10524
|
-
# {
|
10525
|
-
# device_name: "String",
|
10526
|
-
# device_type: "String",
|
10527
|
-
# },
|
10528
|
-
# ],
|
10529
|
-
# execution_role_arn: "String",
|
10530
|
-
# memory: "String",
|
10531
|
-
# task_role_arn: "String",
|
10532
|
-
# ephemeral_storage: {
|
10533
|
-
# size_in_gi_b: 1, # required
|
10534
|
-
# },
|
10535
|
-
# },
|
10536
|
-
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
10537
|
-
# reference_id: "String",
|
10538
|
-
# started_by: "String",
|
10539
|
-
# tags: [
|
10540
|
-
# {
|
10541
|
-
# key: "TagKey",
|
10542
|
-
# value: "TagValue",
|
10543
|
-
# },
|
10544
|
-
# ],
|
10545
|
-
# task_definition: "String", # required
|
10546
|
-
# }
|
10547
|
-
#
|
10548
8932
|
# @!attribute [rw] cluster
|
10549
8933
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
10550
8934
|
# where to start your task. If you do not specify a cluster, the
|
@@ -10698,15 +9082,6 @@ module Aws::ECS
|
|
10698
9082
|
include Aws::Structure
|
10699
9083
|
end
|
10700
9084
|
|
10701
|
-
# @note When making an API call, you may pass StopTaskRequest
|
10702
|
-
# data as a hash:
|
10703
|
-
#
|
10704
|
-
# {
|
10705
|
-
# cluster: "String",
|
10706
|
-
# task: "String", # required
|
10707
|
-
# reason: "String",
|
10708
|
-
# }
|
10709
|
-
#
|
10710
9085
|
# @!attribute [rw] cluster
|
10711
9086
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
10712
9087
|
# that hosts the task to stop. If you do not specify a cluster, the
|
@@ -10747,19 +9122,6 @@ module Aws::ECS
|
|
10747
9122
|
include Aws::Structure
|
10748
9123
|
end
|
10749
9124
|
|
10750
|
-
# @note When making an API call, you may pass SubmitAttachmentStateChangesRequest
|
10751
|
-
# data as a hash:
|
10752
|
-
#
|
10753
|
-
# {
|
10754
|
-
# cluster: "String",
|
10755
|
-
# attachments: [ # required
|
10756
|
-
# {
|
10757
|
-
# attachment_arn: "String", # required
|
10758
|
-
# status: "String", # required
|
10759
|
-
# },
|
10760
|
-
# ],
|
10761
|
-
# }
|
10762
|
-
#
|
10763
9125
|
# @!attribute [rw] cluster
|
10764
9126
|
# The short name or full ARN of the cluster that hosts the container
|
10765
9127
|
# instance the attachment belongs to.
|
@@ -10790,27 +9152,6 @@ module Aws::ECS
|
|
10790
9152
|
include Aws::Structure
|
10791
9153
|
end
|
10792
9154
|
|
10793
|
-
# @note When making an API call, you may pass SubmitContainerStateChangeRequest
|
10794
|
-
# data as a hash:
|
10795
|
-
#
|
10796
|
-
# {
|
10797
|
-
# cluster: "String",
|
10798
|
-
# task: "String",
|
10799
|
-
# container_name: "String",
|
10800
|
-
# runtime_id: "String",
|
10801
|
-
# status: "String",
|
10802
|
-
# exit_code: 1,
|
10803
|
-
# reason: "String",
|
10804
|
-
# network_bindings: [
|
10805
|
-
# {
|
10806
|
-
# bind_ip: "String",
|
10807
|
-
# container_port: 1,
|
10808
|
-
# host_port: 1,
|
10809
|
-
# protocol: "tcp", # accepts tcp, udp
|
10810
|
-
# },
|
10811
|
-
# ],
|
10812
|
-
# }
|
10813
|
-
#
|
10814
9155
|
# @!attribute [rw] cluster
|
10815
9156
|
# The short name or full ARN of the cluster that hosts the container.
|
10816
9157
|
# @return [String]
|
@@ -10871,51 +9212,6 @@ module Aws::ECS
|
|
10871
9212
|
include Aws::Structure
|
10872
9213
|
end
|
10873
9214
|
|
10874
|
-
# @note When making an API call, you may pass SubmitTaskStateChangeRequest
|
10875
|
-
# data as a hash:
|
10876
|
-
#
|
10877
|
-
# {
|
10878
|
-
# cluster: "String",
|
10879
|
-
# task: "String",
|
10880
|
-
# status: "String",
|
10881
|
-
# reason: "String",
|
10882
|
-
# containers: [
|
10883
|
-
# {
|
10884
|
-
# container_name: "String",
|
10885
|
-
# image_digest: "String",
|
10886
|
-
# runtime_id: "String",
|
10887
|
-
# exit_code: 1,
|
10888
|
-
# network_bindings: [
|
10889
|
-
# {
|
10890
|
-
# bind_ip: "String",
|
10891
|
-
# container_port: 1,
|
10892
|
-
# host_port: 1,
|
10893
|
-
# protocol: "tcp", # accepts tcp, udp
|
10894
|
-
# },
|
10895
|
-
# ],
|
10896
|
-
# reason: "String",
|
10897
|
-
# status: "String",
|
10898
|
-
# },
|
10899
|
-
# ],
|
10900
|
-
# attachments: [
|
10901
|
-
# {
|
10902
|
-
# attachment_arn: "String", # required
|
10903
|
-
# status: "String", # required
|
10904
|
-
# },
|
10905
|
-
# ],
|
10906
|
-
# managed_agents: [
|
10907
|
-
# {
|
10908
|
-
# container_name: "String", # required
|
10909
|
-
# managed_agent_name: "ExecuteCommandAgent", # required, accepts ExecuteCommandAgent
|
10910
|
-
# status: "String", # required
|
10911
|
-
# reason: "String",
|
10912
|
-
# },
|
10913
|
-
# ],
|
10914
|
-
# pull_started_at: Time.now,
|
10915
|
-
# pull_stopped_at: Time.now,
|
10916
|
-
# execution_stopped_at: Time.now,
|
10917
|
-
# }
|
10918
|
-
#
|
10919
9215
|
# @!attribute [rw] cluster
|
10920
9216
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
10921
9217
|
# that hosts the task.
|
@@ -11015,14 +9311,6 @@ module Aws::ECS
|
|
11015
9311
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
11016
9312
|
# [3]: https://docs.docker.com/engine/reference/run/#security-configuration
|
11017
9313
|
#
|
11018
|
-
# @note When making an API call, you may pass SystemControl
|
11019
|
-
# data as a hash:
|
11020
|
-
#
|
11021
|
-
# {
|
11022
|
-
# namespace: "String",
|
11023
|
-
# value: "String",
|
11024
|
-
# }
|
11025
|
-
#
|
11026
9314
|
# @!attribute [rw] namespace
|
11027
9315
|
# The namespaced kernel parameter to set a `value` for.
|
11028
9316
|
# @return [String]
|
@@ -11070,14 +9358,6 @@ module Aws::ECS
|
|
11070
9358
|
# values with this prefix. Tags with this prefix do not count against
|
11071
9359
|
# your tags per resource limit.
|
11072
9360
|
#
|
11073
|
-
# @note When making an API call, you may pass Tag
|
11074
|
-
# data as a hash:
|
11075
|
-
#
|
11076
|
-
# {
|
11077
|
-
# key: "TagKey",
|
11078
|
-
# value: "TagValue",
|
11079
|
-
# }
|
11080
|
-
#
|
11081
9361
|
# @!attribute [rw] key
|
11082
9362
|
# One part of a key-value pair that make up a tag. A `key` is a
|
11083
9363
|
# general label that acts like a category for more specific tag
|
@@ -11098,19 +9378,6 @@ module Aws::ECS
|
|
11098
9378
|
include Aws::Structure
|
11099
9379
|
end
|
11100
9380
|
|
11101
|
-
# @note When making an API call, you may pass TagResourceRequest
|
11102
|
-
# data as a hash:
|
11103
|
-
#
|
11104
|
-
# {
|
11105
|
-
# resource_arn: "String", # required
|
11106
|
-
# tags: [ # required
|
11107
|
-
# {
|
11108
|
-
# key: "TagKey",
|
11109
|
-
# value: "TagValue",
|
11110
|
-
# },
|
11111
|
-
# ],
|
11112
|
-
# }
|
11113
|
-
#
|
11114
9381
|
# @!attribute [rw] resource_arn
|
11115
9382
|
# The Amazon Resource Name (ARN) of the resource to add tags to.
|
11116
9383
|
# Currently, the supported resources are Amazon ECS capacity
|
@@ -11985,14 +10252,6 @@ module Aws::ECS
|
|
11985
10252
|
#
|
11986
10253
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html
|
11987
10254
|
#
|
11988
|
-
# @note When making an API call, you may pass TaskDefinitionPlacementConstraint
|
11989
|
-
# data as a hash:
|
11990
|
-
#
|
11991
|
-
# {
|
11992
|
-
# type: "memberOf", # accepts memberOf
|
11993
|
-
# expression: "String",
|
11994
|
-
# }
|
11995
|
-
#
|
11996
10255
|
# @!attribute [rw] type
|
11997
10256
|
# The type of constraint. The `MemberOf` constraint restricts
|
11998
10257
|
# selection to be from a group of valid candidates.
|
@@ -12019,52 +10278,6 @@ module Aws::ECS
|
|
12019
10278
|
|
12020
10279
|
# The overrides that are associated with a task.
|
12021
10280
|
#
|
12022
|
-
# @note When making an API call, you may pass TaskOverride
|
12023
|
-
# data as a hash:
|
12024
|
-
#
|
12025
|
-
# {
|
12026
|
-
# container_overrides: [
|
12027
|
-
# {
|
12028
|
-
# name: "String",
|
12029
|
-
# command: ["String"],
|
12030
|
-
# environment: [
|
12031
|
-
# {
|
12032
|
-
# name: "String",
|
12033
|
-
# value: "String",
|
12034
|
-
# },
|
12035
|
-
# ],
|
12036
|
-
# environment_files: [
|
12037
|
-
# {
|
12038
|
-
# value: "String", # required
|
12039
|
-
# type: "s3", # required, accepts s3
|
12040
|
-
# },
|
12041
|
-
# ],
|
12042
|
-
# cpu: 1,
|
12043
|
-
# memory: 1,
|
12044
|
-
# memory_reservation: 1,
|
12045
|
-
# resource_requirements: [
|
12046
|
-
# {
|
12047
|
-
# value: "String", # required
|
12048
|
-
# type: "GPU", # required, accepts GPU, InferenceAccelerator
|
12049
|
-
# },
|
12050
|
-
# ],
|
12051
|
-
# },
|
12052
|
-
# ],
|
12053
|
-
# cpu: "String",
|
12054
|
-
# inference_accelerator_overrides: [
|
12055
|
-
# {
|
12056
|
-
# device_name: "String",
|
12057
|
-
# device_type: "String",
|
12058
|
-
# },
|
12059
|
-
# ],
|
12060
|
-
# execution_role_arn: "String",
|
12061
|
-
# memory: "String",
|
12062
|
-
# task_role_arn: "String",
|
12063
|
-
# ephemeral_storage: {
|
12064
|
-
# size_in_gi_b: 1, # required
|
12065
|
-
# },
|
12066
|
-
# }
|
12067
|
-
#
|
12068
10281
|
# @!attribute [rw] container_overrides
|
12069
10282
|
# One or more container overrides that are sent to a task.
|
12070
10283
|
# @return [Array<Types::ContainerOverride>]
|
@@ -12376,15 +10589,6 @@ module Aws::ECS
|
|
12376
10589
|
|
12377
10590
|
# The container path, mount options, and size of the tmpfs mount.
|
12378
10591
|
#
|
12379
|
-
# @note When making an API call, you may pass Tmpfs
|
12380
|
-
# data as a hash:
|
12381
|
-
#
|
12382
|
-
# {
|
12383
|
-
# container_path: "String", # required
|
12384
|
-
# size: 1, # required
|
12385
|
-
# mount_options: ["String"],
|
12386
|
-
# }
|
12387
|
-
#
|
12388
10592
|
# @!attribute [rw] container_path
|
12389
10593
|
# The absolute file path where the tmpfs volume is to be mounted.
|
12390
10594
|
# @return [String]
|
@@ -12424,15 +10628,6 @@ module Aws::ECS
|
|
12424
10628
|
# container can use. The default `nofile` soft limit is `1024` and hard
|
12425
10629
|
# limit is `4096`.
|
12426
10630
|
#
|
12427
|
-
# @note When making an API call, you may pass Ulimit
|
12428
|
-
# data as a hash:
|
12429
|
-
#
|
12430
|
-
# {
|
12431
|
-
# name: "core", # required, accepts core, cpu, data, fsize, locks, memlock, msgqueue, nice, nofile, nproc, rss, rtprio, rttime, sigpending, stack
|
12432
|
-
# soft_limit: 1, # required
|
12433
|
-
# hard_limit: 1, # required
|
12434
|
-
# }
|
12435
|
-
#
|
12436
10631
|
# @!attribute [rw] name
|
12437
10632
|
# The `type` of the `ulimit`.
|
12438
10633
|
# @return [String]
|
@@ -12461,14 +10656,6 @@ module Aws::ECS
|
|
12461
10656
|
#
|
12462
10657
|
class UnsupportedFeatureException < Aws::EmptyStructure; end
|
12463
10658
|
|
12464
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
12465
|
-
# data as a hash:
|
12466
|
-
#
|
12467
|
-
# {
|
12468
|
-
# resource_arn: "String", # required
|
12469
|
-
# tag_keys: ["TagKey"], # required
|
12470
|
-
# }
|
12471
|
-
#
|
12472
10659
|
# @!attribute [rw] resource_arn
|
12473
10660
|
# The Amazon Resource Name (ARN) of the resource to delete tags from.
|
12474
10661
|
# Currently, the supported resources are Amazon ECS capacity
|
@@ -12493,23 +10680,6 @@ module Aws::ECS
|
|
12493
10680
|
#
|
12494
10681
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
12495
10682
|
|
12496
|
-
# @note When making an API call, you may pass UpdateCapacityProviderRequest
|
12497
|
-
# data as a hash:
|
12498
|
-
#
|
12499
|
-
# {
|
12500
|
-
# name: "String", # required
|
12501
|
-
# auto_scaling_group_provider: { # required
|
12502
|
-
# managed_scaling: {
|
12503
|
-
# status: "ENABLED", # accepts ENABLED, DISABLED
|
12504
|
-
# target_capacity: 1,
|
12505
|
-
# minimum_scaling_step_size: 1,
|
12506
|
-
# maximum_scaling_step_size: 1,
|
12507
|
-
# instance_warmup_period: 1,
|
12508
|
-
# },
|
12509
|
-
# managed_termination_protection: "ENABLED", # accepts ENABLED, DISABLED
|
12510
|
-
# },
|
12511
|
-
# }
|
12512
|
-
#
|
12513
10683
|
# @!attribute [rw] name
|
12514
10684
|
# The name of the capacity provider to update.
|
12515
10685
|
# @return [String]
|
@@ -12540,35 +10710,6 @@ module Aws::ECS
|
|
12540
10710
|
include Aws::Structure
|
12541
10711
|
end
|
12542
10712
|
|
12543
|
-
# @note When making an API call, you may pass UpdateClusterRequest
|
12544
|
-
# data as a hash:
|
12545
|
-
#
|
12546
|
-
# {
|
12547
|
-
# cluster: "String", # required
|
12548
|
-
# settings: [
|
12549
|
-
# {
|
12550
|
-
# name: "containerInsights", # accepts containerInsights
|
12551
|
-
# value: "String",
|
12552
|
-
# },
|
12553
|
-
# ],
|
12554
|
-
# configuration: {
|
12555
|
-
# execute_command_configuration: {
|
12556
|
-
# kms_key_id: "String",
|
12557
|
-
# logging: "NONE", # accepts NONE, DEFAULT, OVERRIDE
|
12558
|
-
# log_configuration: {
|
12559
|
-
# cloud_watch_log_group_name: "String",
|
12560
|
-
# cloud_watch_encryption_enabled: false,
|
12561
|
-
# s3_bucket_name: "String",
|
12562
|
-
# s3_encryption_enabled: false,
|
12563
|
-
# s3_key_prefix: "String",
|
12564
|
-
# },
|
12565
|
-
# },
|
12566
|
-
# },
|
12567
|
-
# service_connect_defaults: {
|
12568
|
-
# namespace: "String", # required
|
12569
|
-
# },
|
12570
|
-
# }
|
12571
|
-
#
|
12572
10713
|
# @!attribute [rw] cluster
|
12573
10714
|
# The name of the cluster to modify the settings for.
|
12574
10715
|
# @return [String]
|
@@ -12628,19 +10769,6 @@ module Aws::ECS
|
|
12628
10769
|
include Aws::Structure
|
12629
10770
|
end
|
12630
10771
|
|
12631
|
-
# @note When making an API call, you may pass UpdateClusterSettingsRequest
|
12632
|
-
# data as a hash:
|
12633
|
-
#
|
12634
|
-
# {
|
12635
|
-
# cluster: "String", # required
|
12636
|
-
# settings: [ # required
|
12637
|
-
# {
|
12638
|
-
# name: "containerInsights", # accepts containerInsights
|
12639
|
-
# value: "String",
|
12640
|
-
# },
|
12641
|
-
# ],
|
12642
|
-
# }
|
12643
|
-
#
|
12644
10772
|
# @!attribute [rw] cluster
|
12645
10773
|
# The name of the cluster to modify the settings for.
|
12646
10774
|
# @return [String]
|
@@ -12680,14 +10808,6 @@ module Aws::ECS
|
|
12680
10808
|
include Aws::Structure
|
12681
10809
|
end
|
12682
10810
|
|
12683
|
-
# @note When making an API call, you may pass UpdateContainerAgentRequest
|
12684
|
-
# data as a hash:
|
12685
|
-
#
|
12686
|
-
# {
|
12687
|
-
# cluster: "String",
|
12688
|
-
# container_instance: "String", # required
|
12689
|
-
# }
|
12690
|
-
#
|
12691
10811
|
# @!attribute [rw] cluster
|
12692
10812
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
12693
10813
|
# that your container instance is running on. If you do not specify a
|
@@ -12721,15 +10841,6 @@ module Aws::ECS
|
|
12721
10841
|
include Aws::Structure
|
12722
10842
|
end
|
12723
10843
|
|
12724
|
-
# @note When making an API call, you may pass UpdateContainerInstancesStateRequest
|
12725
|
-
# data as a hash:
|
12726
|
-
#
|
12727
|
-
# {
|
12728
|
-
# cluster: "String",
|
12729
|
-
# container_instances: ["String"], # required
|
12730
|
-
# status: "ACTIVE", # required, accepts ACTIVE, DRAINING, REGISTERING, DEREGISTERING, REGISTRATION_FAILED
|
12731
|
-
# }
|
12732
|
-
#
|
12733
10844
|
# @!attribute [rw] cluster
|
12734
10845
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
12735
10846
|
# that hosts the container instance to update. If you do not specify a
|
@@ -12788,15 +10899,6 @@ module Aws::ECS
|
|
12788
10899
|
#
|
12789
10900
|
class UpdateInProgressException < Aws::EmptyStructure; end
|
12790
10901
|
|
12791
|
-
# @note When making an API call, you may pass UpdateServicePrimaryTaskSetRequest
|
12792
|
-
# data as a hash:
|
12793
|
-
#
|
12794
|
-
# {
|
12795
|
-
# cluster: "String", # required
|
12796
|
-
# service: "String", # required
|
12797
|
-
# primary_task_set: "String", # required
|
12798
|
-
# }
|
12799
|
-
#
|
12800
10902
|
# @!attribute [rw] cluster
|
12801
10903
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
12802
10904
|
# that hosts the service that the task set exists in.
|
@@ -12834,101 +10936,6 @@ module Aws::ECS
|
|
12834
10936
|
include Aws::Structure
|
12835
10937
|
end
|
12836
10938
|
|
12837
|
-
# @note When making an API call, you may pass UpdateServiceRequest
|
12838
|
-
# data as a hash:
|
12839
|
-
#
|
12840
|
-
# {
|
12841
|
-
# cluster: "String",
|
12842
|
-
# service: "String", # required
|
12843
|
-
# desired_count: 1,
|
12844
|
-
# task_definition: "String",
|
12845
|
-
# capacity_provider_strategy: [
|
12846
|
-
# {
|
12847
|
-
# capacity_provider: "String", # required
|
12848
|
-
# weight: 1,
|
12849
|
-
# base: 1,
|
12850
|
-
# },
|
12851
|
-
# ],
|
12852
|
-
# deployment_configuration: {
|
12853
|
-
# deployment_circuit_breaker: {
|
12854
|
-
# enable: false, # required
|
12855
|
-
# rollback: false, # required
|
12856
|
-
# },
|
12857
|
-
# maximum_percent: 1,
|
12858
|
-
# minimum_healthy_percent: 1,
|
12859
|
-
# },
|
12860
|
-
# network_configuration: {
|
12861
|
-
# awsvpc_configuration: {
|
12862
|
-
# subnets: ["String"], # required
|
12863
|
-
# security_groups: ["String"],
|
12864
|
-
# assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
|
12865
|
-
# },
|
12866
|
-
# },
|
12867
|
-
# placement_constraints: [
|
12868
|
-
# {
|
12869
|
-
# type: "distinctInstance", # accepts distinctInstance, memberOf
|
12870
|
-
# expression: "String",
|
12871
|
-
# },
|
12872
|
-
# ],
|
12873
|
-
# placement_strategy: [
|
12874
|
-
# {
|
12875
|
-
# type: "random", # accepts random, spread, binpack
|
12876
|
-
# field: "String",
|
12877
|
-
# },
|
12878
|
-
# ],
|
12879
|
-
# platform_version: "String",
|
12880
|
-
# force_new_deployment: false,
|
12881
|
-
# health_check_grace_period_seconds: 1,
|
12882
|
-
# enable_execute_command: false,
|
12883
|
-
# enable_ecs_managed_tags: false,
|
12884
|
-
# load_balancers: [
|
12885
|
-
# {
|
12886
|
-
# target_group_arn: "String",
|
12887
|
-
# load_balancer_name: "String",
|
12888
|
-
# container_name: "String",
|
12889
|
-
# container_port: 1,
|
12890
|
-
# },
|
12891
|
-
# ],
|
12892
|
-
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
12893
|
-
# service_registries: [
|
12894
|
-
# {
|
12895
|
-
# registry_arn: "String",
|
12896
|
-
# port: 1,
|
12897
|
-
# container_name: "String",
|
12898
|
-
# container_port: 1,
|
12899
|
-
# },
|
12900
|
-
# ],
|
12901
|
-
# service_connect_configuration: {
|
12902
|
-
# enabled: false, # required
|
12903
|
-
# namespace: "String",
|
12904
|
-
# services: [
|
12905
|
-
# {
|
12906
|
-
# port_name: "String", # required
|
12907
|
-
# discovery_name: "String",
|
12908
|
-
# client_aliases: [
|
12909
|
-
# {
|
12910
|
-
# port: 1, # required
|
12911
|
-
# dns_name: "String",
|
12912
|
-
# },
|
12913
|
-
# ],
|
12914
|
-
# ingress_port_override: 1,
|
12915
|
-
# },
|
12916
|
-
# ],
|
12917
|
-
# log_configuration: {
|
12918
|
-
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk, awsfirelens
|
12919
|
-
# options: {
|
12920
|
-
# "String" => "String",
|
12921
|
-
# },
|
12922
|
-
# secret_options: [
|
12923
|
-
# {
|
12924
|
-
# name: "String", # required
|
12925
|
-
# value_from: "String", # required
|
12926
|
-
# },
|
12927
|
-
# ],
|
12928
|
-
# },
|
12929
|
-
# },
|
12930
|
-
# }
|
12931
|
-
#
|
12932
10939
|
# @!attribute [rw] cluster
|
12933
10940
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
12934
10941
|
# that your service runs on. If you do not specify a cluster, the
|
@@ -13200,16 +11207,6 @@ module Aws::ECS
|
|
13200
11207
|
include Aws::Structure
|
13201
11208
|
end
|
13202
11209
|
|
13203
|
-
# @note When making an API call, you may pass UpdateTaskProtectionRequest
|
13204
|
-
# data as a hash:
|
13205
|
-
#
|
13206
|
-
# {
|
13207
|
-
# cluster: "String", # required
|
13208
|
-
# tasks: ["String"], # required
|
13209
|
-
# protection_enabled: false, # required
|
13210
|
-
# expires_in_minutes: 1,
|
13211
|
-
# }
|
13212
|
-
#
|
13213
11210
|
# @!attribute [rw] cluster
|
13214
11211
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
13215
11212
|
# that hosts the service that the task sets exist in.
|
@@ -13273,19 +11270,6 @@ module Aws::ECS
|
|
13273
11270
|
include Aws::Structure
|
13274
11271
|
end
|
13275
11272
|
|
13276
|
-
# @note When making an API call, you may pass UpdateTaskSetRequest
|
13277
|
-
# data as a hash:
|
13278
|
-
#
|
13279
|
-
# {
|
13280
|
-
# cluster: "String", # required
|
13281
|
-
# service: "String", # required
|
13282
|
-
# task_set: "String", # required
|
13283
|
-
# scale: { # required
|
13284
|
-
# value: 1.0,
|
13285
|
-
# unit: "PERCENT", # accepts PERCENT
|
13286
|
-
# },
|
13287
|
-
# }
|
13288
|
-
#
|
13289
11273
|
# @!attribute [rw] cluster
|
13290
11274
|
# The short name or full Amazon Resource Name (ARN) of the cluster
|
13291
11275
|
# that hosts the service that the task set is found in.
|
@@ -13332,15 +11316,6 @@ module Aws::ECS
|
|
13332
11316
|
# The Docker and Amazon ECS container agent version information about a
|
13333
11317
|
# container instance.
|
13334
11318
|
#
|
13335
|
-
# @note When making an API call, you may pass VersionInfo
|
13336
|
-
# data as a hash:
|
13337
|
-
#
|
13338
|
-
# {
|
13339
|
-
# agent_version: "String",
|
13340
|
-
# agent_hash: "String",
|
13341
|
-
# docker_version: "String",
|
13342
|
-
# }
|
13343
|
-
#
|
13344
11319
|
# @!attribute [rw] agent_version
|
13345
11320
|
# The version number of the Amazon ECS container agent.
|
13346
11321
|
# @return [String]
|
@@ -13381,45 +11356,6 @@ module Aws::ECS
|
|
13381
11356
|
#
|
13382
11357
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html
|
13383
11358
|
#
|
13384
|
-
# @note When making an API call, you may pass Volume
|
13385
|
-
# data as a hash:
|
13386
|
-
#
|
13387
|
-
# {
|
13388
|
-
# name: "String",
|
13389
|
-
# host: {
|
13390
|
-
# source_path: "String",
|
13391
|
-
# },
|
13392
|
-
# docker_volume_configuration: {
|
13393
|
-
# scope: "task", # accepts task, shared
|
13394
|
-
# autoprovision: false,
|
13395
|
-
# driver: "String",
|
13396
|
-
# driver_opts: {
|
13397
|
-
# "String" => "String",
|
13398
|
-
# },
|
13399
|
-
# labels: {
|
13400
|
-
# "String" => "String",
|
13401
|
-
# },
|
13402
|
-
# },
|
13403
|
-
# efs_volume_configuration: {
|
13404
|
-
# file_system_id: "String", # required
|
13405
|
-
# root_directory: "String",
|
13406
|
-
# transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
|
13407
|
-
# transit_encryption_port: 1,
|
13408
|
-
# authorization_config: {
|
13409
|
-
# access_point_id: "String",
|
13410
|
-
# iam: "ENABLED", # accepts ENABLED, DISABLED
|
13411
|
-
# },
|
13412
|
-
# },
|
13413
|
-
# fsx_windows_file_server_volume_configuration: {
|
13414
|
-
# file_system_id: "String", # required
|
13415
|
-
# root_directory: "String", # required
|
13416
|
-
# authorization_config: { # required
|
13417
|
-
# credentials_parameter: "String", # required
|
13418
|
-
# domain: "String", # required
|
13419
|
-
# },
|
13420
|
-
# },
|
13421
|
-
# }
|
13422
|
-
#
|
13423
11359
|
# @!attribute [rw] name
|
13424
11360
|
# The name of the volume. Up to 255 letters (uppercase and lowercase),
|
13425
11361
|
# numbers, underscores, and hyphens are allowed. This name is
|
@@ -13479,14 +11415,6 @@ module Aws::ECS
|
|
13479
11415
|
# Details on a data volume from another container in the same task
|
13480
11416
|
# definition.
|
13481
11417
|
#
|
13482
|
-
# @note When making an API call, you may pass VolumeFrom
|
13483
|
-
# data as a hash:
|
13484
|
-
#
|
13485
|
-
# {
|
13486
|
-
# source_container: "String",
|
13487
|
-
# read_only: false,
|
13488
|
-
# }
|
13489
|
-
#
|
13490
11418
|
# @!attribute [rw] source_container
|
13491
11419
|
# The name of another container within the same task definition to
|
13492
11420
|
# mount volumes from.
|