aws-sdk-ecs 1.236.0 → 1.237.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7a766db64a652a9b9cf78f5b0e741778269d306df11f2638f64fbb144ae95c1
4
- data.tar.gz: 66a333a5bf3e6fa60de495a249b01604b91dbd8a5f8e94db0eba3bfd916c6956
3
+ metadata.gz: 3fa8f274d8ebb5e3f32853a8afcd1295d5eff74276d2cad9cb813e2d5a4289fa
4
+ data.tar.gz: 229c5e928be336d438ffbf41ad32f6336651031cb7d3ab83a64e8ed3d0fd4b6f
5
5
  SHA512:
6
- metadata.gz: 7c82b107776f99d2b50cffbd3f668ef40bdf53ee485102e59719793be3d69c0428b7106b663e7a6f2b579aed6c59f1ac09e12b6ecf7e770b46418de16ee0745e
7
- data.tar.gz: 484a9c0f0278554dfa83d960b40281d58ea8764d8294099c69345856b698e9018cfbeddb32610646980bd343651a4b78dccc26b76f4fa8f025ffad70b61f2b41
6
+ metadata.gz: bca215c6e29f93e71f6301e20db100d632d46600c19341f9c9ccdcf332c330bcbd7b83b8e6f0d03b9918894a322294fdbc99383182e5512afc8a12694b1c0dfe
7
+ data.tar.gz: 04dab105f0f10aeaf980bc29c616ec044e01b0e50948e7e7b9b015ceef8182cd60c9016edbb0acaa337e23842926d2e5b286d446c5c668fa7e84422361ce9521
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.237.0 (2026-06-17)
5
+ ------------------
6
+
7
+ * Feature - Releasing the ability to bring-your-own task-definition for CreateExpressGatewayService and UpdateGatewayExpressService
8
+
4
9
  1.236.0 (2026-06-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.236.0
1
+ 1.237.0
@@ -493,9 +493,14 @@ module Aws::ECS
493
493
  # [DescribeServiceDeployments][1] and inspect the `lifecycleHookDetails`
494
494
  # field.
495
495
  #
496
+ # For more information, see [Continuing Amazon ECS service
497
+ # deployments][2] in the *Amazon Elastic Container Service Developer
498
+ # Guide*.
499
+ #
496
500
  #
497
501
  #
498
502
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html
503
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/continue-service-deployment.html
499
504
  #
500
505
  # @option params [required, String] :service_deployment_arn
501
506
  # The ARN of the service deployment to continue or roll back.
@@ -531,7 +536,7 @@ module Aws::ECS
531
536
  #
532
537
  # resp = client.continue_service_deployment({
533
538
  # action: "CONTINUE",
534
- # hook_id: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",
539
+ # hook_id: "ecs-pause-Xk7rT2mP9sLwQn4vB8fYd3hJ6gA1cE5iO0uR_ZpWq",
535
540
  # service_deployment_arn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r",
536
541
  # })
537
542
  #
@@ -547,7 +552,7 @@ module Aws::ECS
547
552
  #
548
553
  # resp = client.continue_service_deployment({
549
554
  # action: "ROLLBACK",
550
- # hook_id: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",
555
+ # hook_id: "ecs-pause-Xk7rT2mP9sLwQn4vB8fYd3hJ6gA1cE5iO0uR_ZpWq",
551
556
  # service_deployment_arn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r",
552
557
  # })
553
558
  #
@@ -1326,7 +1331,7 @@ module Aws::ECS
1326
1331
  # Provide an execution role for task operations and an infrastructure
1327
1332
  # role for managing Amazon Web Services resources on your behalf.
1328
1333
  #
1329
- # @option params [required, String] :execution_role_arn
1334
+ # @option params [String] :execution_role_arn
1330
1335
  # The Amazon Resource Name (ARN) of the task execution role that grants
1331
1336
  # the Amazon ECS container agent permission to make Amazon Web Services
1332
1337
  # API calls on your behalf. This role is required for Amazon ECS to pull
@@ -1378,7 +1383,7 @@ module Aws::ECS
1378
1383
  # check path must start with a forward slash and can include query
1379
1384
  # parameters. Examples: `/health`, `/api/status`, `/ping?format=json`.
1380
1385
  #
1381
- # @option params [required, Types::ExpressGatewayContainer] :primary_container
1386
+ # @option params [Types::ExpressGatewayContainer] :primary_container
1382
1387
  # The primary container configuration for the Express service. This
1383
1388
  # defines the main application container that will receive traffic from
1384
1389
  # the Application Load Balancer.
@@ -1436,6 +1441,20 @@ module Aws::ECS
1436
1441
  # and organize it. Each tag consists of a key and an optional value. You
1437
1442
  # can apply up to 50 tags to a service.
1438
1443
  #
1444
+ # @option params [String] :task_definition_arn
1445
+ # The Amazon Resource Name (ARN) of a task definition to use to create
1446
+ # the Express Gateway service. This allows you to manage your own task
1447
+ # definition, giving you more control over the service configuration
1448
+ # such as adding sidecar containers.
1449
+ #
1450
+ # The task definition must have a container named `Main` with a single
1451
+ # TCP port mapping that includes a container port and port name. The
1452
+ # task definition must also have `FARGATE` compatibility.
1453
+ #
1454
+ # If you provide a task definition ARN, you cannot also specify
1455
+ # `primaryContainer`, `executionRoleArn`, `taskRoleArn`, `cpu`, or
1456
+ # `memory`.
1457
+ #
1439
1458
  # @return [Types::CreateExpressGatewayServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1440
1459
  #
1441
1460
  # * {Types::CreateExpressGatewayServiceResponse#service #service} => Types::ECSExpressGatewayService
@@ -1443,12 +1462,12 @@ module Aws::ECS
1443
1462
  # @example Request syntax with placeholder values
1444
1463
  #
1445
1464
  # resp = client.create_express_gateway_service({
1446
- # execution_role_arn: "String", # required
1465
+ # execution_role_arn: "String",
1447
1466
  # infrastructure_role_arn: "String", # required
1448
1467
  # service_name: "String",
1449
1468
  # cluster: "String",
1450
1469
  # health_check_path: "String",
1451
- # primary_container: { # required
1470
+ # primary_container: {
1452
1471
  # image: "String", # required
1453
1472
  # container_port: 1,
1454
1473
  # aws_logs_configuration: {
@@ -1491,6 +1510,7 @@ module Aws::ECS
1491
1510
  # value: "TagValue",
1492
1511
  # },
1493
1512
  # ],
1513
+ # task_definition_arn: "String",
1494
1514
  # })
1495
1515
  #
1496
1516
  # @example Response structure
@@ -1506,6 +1526,7 @@ module Aws::ECS
1506
1526
  # resp.service.active_configurations[0].service_revision_arn #=> String
1507
1527
  # resp.service.active_configurations[0].execution_role_arn #=> String
1508
1528
  # resp.service.active_configurations[0].task_role_arn #=> String
1529
+ # resp.service.active_configurations[0].task_definition_arn #=> String
1509
1530
  # resp.service.active_configurations[0].cpu #=> String
1510
1531
  # resp.service.active_configurations[0].memory #=> String
1511
1532
  # resp.service.active_configurations[0].network_configuration.security_groups #=> Array
@@ -3674,6 +3695,7 @@ module Aws::ECS
3674
3695
  # resp.service.active_configurations[0].service_revision_arn #=> String
3675
3696
  # resp.service.active_configurations[0].execution_role_arn #=> String
3676
3697
  # resp.service.active_configurations[0].task_role_arn #=> String
3698
+ # resp.service.active_configurations[0].task_definition_arn #=> String
3677
3699
  # resp.service.active_configurations[0].cpu #=> String
3678
3700
  # resp.service.active_configurations[0].memory #=> String
3679
3701
  # resp.service.active_configurations[0].network_configuration.security_groups #=> Array
@@ -5951,6 +5973,7 @@ module Aws::ECS
5951
5973
  # resp.service.active_configurations[0].service_revision_arn #=> String
5952
5974
  # resp.service.active_configurations[0].execution_role_arn #=> String
5953
5975
  # resp.service.active_configurations[0].task_role_arn #=> String
5976
+ # resp.service.active_configurations[0].task_definition_arn #=> String
5954
5977
  # resp.service.active_configurations[0].cpu #=> String
5955
5978
  # resp.service.active_configurations[0].memory #=> String
5956
5979
  # resp.service.active_configurations[0].network_configuration.security_groups #=> Array
@@ -6097,7 +6120,7 @@ module Aws::ECS
6097
6120
  # lifecycle_hook_details: [
6098
6121
  # {
6099
6122
  # expires_at: Time.parse("2026-05-06T17:00:00.000Z"),
6100
- # hook_id: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",
6123
+ # hook_id: "ecs-pause-Xk7rT2mP9sLwQn4vB8fYd3hJ6gA1cE5iO0uR_ZpWq",
6101
6124
  # status: "AWAITING_ACTION",
6102
6125
  # target_type: "PAUSE",
6103
6126
  # timeout_action: "ROLLBACK",
@@ -8372,7 +8395,7 @@ module Aws::ECS
8372
8395
  #
8373
8396
  # @option params [String] :cluster_arn
8374
8397
  # The Amazon Resource Name (ARN) of the cluster to filter daemons by. If
8375
- # not specified, daemons from all clusters are returned.
8398
+ # you do not specify a cluster, the default cluster is assumed.
8376
8399
  #
8377
8400
  # @option params [Array<String>] :capacity_provider_arns
8378
8401
  # The Amazon Resource Names (ARNs) of the capacity providers to filter
@@ -10393,18 +10416,24 @@ module Aws::ECS
10393
10416
  # your tags per resource limit.
10394
10417
  #
10395
10418
  # @option params [String] :pid_mode
10396
- # The process namespace mode for the daemon. When set to `shared`, the
10397
- # daemon shares the PID namespace with co-located tasks on the same
10398
- # container instance, giving the daemon visibility into application
10399
- # processes. When set to `none`, the daemon gets its own isolated PID
10400
- # namespace. The default is `none`.
10419
+ # The PID namespace mode for the daemon. The valid values are `none` and
10420
+ # `shared`. The default is `none`.
10421
+ #
10422
+ # If `none` is specified or no value is provided, the daemon runs with
10423
+ # its own PID namespace, isolated from other tasks. If `shared` is
10424
+ # specified, the daemon joins the host PID namespace, making it
10425
+ # accessible to non-daemon tasks that use `pidMode: "host"` or other
10426
+ # daemons that use `pidMode: "shared"`.
10401
10427
  #
10402
10428
  # @option params [String] :ipc_mode
10403
- # The IPC namespace mode for the daemon. When set to `shared`, the
10404
- # daemon shares the IPC namespace with co-located tasks on the same
10405
- # container instance, allowing communication through POSIX shared
10406
- # memory, semaphores, and message queues. When set to `none`, the daemon
10407
- # gets its own isolated IPC namespace. The default is `none`.
10429
+ # The IPC namespace mode for the daemon. The valid values are `none` and
10430
+ # `shared`. The default is `none`.
10431
+ #
10432
+ # If `none` is specified or no value is provided, the daemon runs with
10433
+ # its own IPC namespace, isolated from other tasks. If `shared` is
10434
+ # specified, the daemon joins the host IPC namespace, making it
10435
+ # accessible to non-daemon tasks that use `ipcMode: "host"` or other
10436
+ # daemons that use `ipcMode: "shared"`.
10408
10437
  #
10409
10438
  # @return [Types::RegisterDaemonTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10410
10439
  #
@@ -14509,6 +14538,19 @@ module Aws::ECS
14509
14538
  # @option params [Types::ExpressGatewayScalingTarget] :scaling_target
14510
14539
  # The auto-scaling configuration for the Express service.
14511
14540
  #
14541
+ # @option params [String] :task_definition_arn
14542
+ # The Amazon Resource Name (ARN) of a task definition to use to update
14543
+ # the Express Gateway service. This allows you to manage your own task
14544
+ # definition, giving you more control over the service configuration
14545
+ # such as adding sidecar containers.
14546
+ #
14547
+ # The task definition must have a container named `Main` with a single
14548
+ # TCP port mapping that includes a container port and port name. The
14549
+ # task definition must also have `FARGATE` compatibility.
14550
+ #
14551
+ # If you provide a task definition ARN, you cannot also specify
14552
+ # `primaryContainer`, `taskRoleArn`, `cpu`, or `memory`.
14553
+ #
14512
14554
  # @return [Types::UpdateExpressGatewayServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14513
14555
  #
14514
14556
  # * {Types::UpdateExpressGatewayServiceResponse#service #service} => Types::UpdatedExpressGatewayService
@@ -14556,6 +14598,7 @@ module Aws::ECS
14556
14598
  # auto_scaling_metric: "AVERAGE_CPU", # accepts AVERAGE_CPU, AVERAGE_MEMORY, REQUEST_COUNT_PER_TARGET
14557
14599
  # auto_scaling_target_value: 1,
14558
14600
  # },
14601
+ # task_definition_arn: "String",
14559
14602
  # })
14560
14603
  #
14561
14604
  # @example Response structure
@@ -14568,6 +14611,7 @@ module Aws::ECS
14568
14611
  # resp.service.target_configuration.service_revision_arn #=> String
14569
14612
  # resp.service.target_configuration.execution_role_arn #=> String
14570
14613
  # resp.service.target_configuration.task_role_arn #=> String
14614
+ # resp.service.target_configuration.task_definition_arn #=> String
14571
14615
  # resp.service.target_configuration.cpu #=> String
14572
14616
  # resp.service.target_configuration.memory #=> String
14573
14617
  # resp.service.target_configuration.network_configuration.security_groups #=> Array
@@ -16028,7 +16072,7 @@ module Aws::ECS
16028
16072
  tracer: tracer
16029
16073
  )
16030
16074
  context[:gem_name] = 'aws-sdk-ecs'
16031
- context[:gem_version] = '1.236.0'
16075
+ context[:gem_version] = '1.237.0'
16032
16076
  Seahorse::Client::Request.new(handlers, context)
16033
16077
  end
16034
16078
 
@@ -1002,18 +1002,19 @@ module Aws::ECS
1002
1002
  CreateDaemonResponse.add_member(:deployment_arn, Shapes::ShapeRef.new(shape: String, location_name: "deploymentArn"))
1003
1003
  CreateDaemonResponse.struct_class = Types::CreateDaemonResponse
1004
1004
 
1005
- CreateExpressGatewayServiceRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "executionRoleArn"))
1005
+ CreateExpressGatewayServiceRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
1006
1006
  CreateExpressGatewayServiceRequest.add_member(:infrastructure_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "infrastructureRoleArn"))
1007
1007
  CreateExpressGatewayServiceRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
1008
1008
  CreateExpressGatewayServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
1009
1009
  CreateExpressGatewayServiceRequest.add_member(:health_check_path, Shapes::ShapeRef.new(shape: String, location_name: "healthCheckPath"))
1010
- CreateExpressGatewayServiceRequest.add_member(:primary_container, Shapes::ShapeRef.new(shape: ExpressGatewayContainer, required: true, location_name: "primaryContainer"))
1010
+ CreateExpressGatewayServiceRequest.add_member(:primary_container, Shapes::ShapeRef.new(shape: ExpressGatewayContainer, location_name: "primaryContainer"))
1011
1011
  CreateExpressGatewayServiceRequest.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
1012
1012
  CreateExpressGatewayServiceRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: ExpressGatewayServiceNetworkConfiguration, location_name: "networkConfiguration"))
1013
1013
  CreateExpressGatewayServiceRequest.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
1014
1014
  CreateExpressGatewayServiceRequest.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
1015
1015
  CreateExpressGatewayServiceRequest.add_member(:scaling_target, Shapes::ShapeRef.new(shape: ExpressGatewayScalingTarget, location_name: "scalingTarget"))
1016
1016
  CreateExpressGatewayServiceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1017
+ CreateExpressGatewayServiceRequest.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
1017
1018
  CreateExpressGatewayServiceRequest.struct_class = Types::CreateExpressGatewayServiceRequest
1018
1019
 
1019
1020
  CreateExpressGatewayServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: ECSExpressGatewayService, location_name: "service"))
@@ -1686,6 +1687,7 @@ module Aws::ECS
1686
1687
  ExpressGatewayServiceConfiguration.add_member(:service_revision_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceRevisionArn"))
1687
1688
  ExpressGatewayServiceConfiguration.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
1688
1689
  ExpressGatewayServiceConfiguration.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
1690
+ ExpressGatewayServiceConfiguration.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
1689
1691
  ExpressGatewayServiceConfiguration.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
1690
1692
  ExpressGatewayServiceConfiguration.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
1691
1693
  ExpressGatewayServiceConfiguration.add_member(:network_configuration, Shapes::ShapeRef.new(shape: ExpressGatewayServiceNetworkConfiguration, location_name: "networkConfiguration"))
@@ -3045,6 +3047,7 @@ module Aws::ECS
3045
3047
  UpdateExpressGatewayServiceRequest.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
3046
3048
  UpdateExpressGatewayServiceRequest.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
3047
3049
  UpdateExpressGatewayServiceRequest.add_member(:scaling_target, Shapes::ShapeRef.new(shape: ExpressGatewayScalingTarget, location_name: "scalingTarget"))
3050
+ UpdateExpressGatewayServiceRequest.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
3048
3051
  UpdateExpressGatewayServiceRequest.struct_class = Types::UpdateExpressGatewayServiceRequest
3049
3052
 
3050
3053
  UpdateExpressGatewayServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: UpdatedExpressGatewayService, location_name: "service"))
@@ -3285,6 +3285,21 @@ module Aws::ECS
3285
3285
  # optional value. You can apply up to 50 tags to a service.
3286
3286
  # @return [Array<Types::Tag>]
3287
3287
  #
3288
+ # @!attribute [rw] task_definition_arn
3289
+ # The Amazon Resource Name (ARN) of a task definition to use to create
3290
+ # the Express Gateway service. This allows you to manage your own task
3291
+ # definition, giving you more control over the service configuration
3292
+ # such as adding sidecar containers.
3293
+ #
3294
+ # The task definition must have a container named `Main` with a single
3295
+ # TCP port mapping that includes a container port and port name. The
3296
+ # task definition must also have `FARGATE` compatibility.
3297
+ #
3298
+ # If you provide a task definition ARN, you cannot also specify
3299
+ # `primaryContainer`, `executionRoleArn`, `taskRoleArn`, `cpu`, or
3300
+ # `memory`.
3301
+ # @return [String]
3302
+ #
3288
3303
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateExpressGatewayServiceRequest AWS API Documentation
3289
3304
  #
3290
3305
  class CreateExpressGatewayServiceRequest < Struct.new(
@@ -3299,7 +3314,8 @@ module Aws::ECS
3299
3314
  :cpu,
3300
3315
  :memory,
3301
3316
  :scaling_target,
3302
- :tags)
3317
+ :tags,
3318
+ :task_definition_arn)
3303
3319
  SENSITIVE = []
3304
3320
  include Aws::Structure
3305
3321
  end
@@ -4952,18 +4968,25 @@ module Aws::ECS
4952
4968
  # @return [String]
4953
4969
  #
4954
4970
  # @!attribute [rw] pid_mode
4955
- # The process namespace mode for the daemon. A value of `shared` means
4956
- # the daemon shares the PID namespace with co-located tasks, giving it
4957
- # visibility into application processes. A value of `none` means the
4958
- # daemon has its own isolated PID namespace.
4971
+ # The PID namespace mode for the daemon. The valid values are `none`
4972
+ # and `shared`. The default is `none`.
4973
+ #
4974
+ # If `none` is specified or no value is provided, the daemon runs with
4975
+ # its own PID namespace, isolated from other tasks. If `shared` is
4976
+ # specified, the daemon joins the host PID namespace, making it
4977
+ # accessible to non-daemon tasks that use `pidMode: "host"` or other
4978
+ # daemons that use `pidMode: "shared"`.
4959
4979
  # @return [String]
4960
4980
  #
4961
4981
  # @!attribute [rw] ipc_mode
4962
- # The IPC namespace mode for the daemon. A value of `shared` means the
4963
- # daemon shares the IPC namespace with co-located tasks, allowing
4964
- # communication through POSIX shared memory, semaphores, and message
4965
- # queues. A value of `none` means the daemon has its own isolated IPC
4966
- # namespace.
4982
+ # The IPC namespace mode for the daemon. The valid values are `none`
4983
+ # and `shared`. The default is `none`.
4984
+ #
4985
+ # If `none` is specified or no value is provided, the daemon runs with
4986
+ # its own IPC namespace, isolated from other tasks. If `shared` is
4987
+ # specified, the daemon joins the host IPC namespace, making it
4988
+ # accessible to non-daemon tasks that use `ipcMode: "host"` or other
4989
+ # daemons that use `ipcMode: "shared"`.
4967
4990
  # @return [String]
4968
4991
  #
4969
4992
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DaemonTaskDefinition AWS API Documentation
@@ -5918,8 +5941,8 @@ module Aws::ECS
5918
5941
  # @return [Integer]
5919
5942
  #
5920
5943
  # @!attribute [rw] lifecycle_hooks
5921
- # An array of deployment lifecycle hook objects to run custom logic at
5922
- # specific stages of the deployment lifecycle.
5944
+ # An array of deployment lifecycle hook objects to run custom logic or
5945
+ # pause the deployment at specific stages of the deployment lifecycle.
5923
5946
  # @return [Array<Types::DeploymentLifecycleHook>]
5924
5947
  #
5925
5948
  # @!attribute [rw] linear_configuration
@@ -6068,9 +6091,9 @@ module Aws::ECS
6068
6091
  include Aws::Structure
6069
6092
  end
6070
6093
 
6071
- # A deployment lifecycle hook runs custom logic at specific stages of
6072
- # the deployment process. Currently, you can use Lambda functions as
6073
- # hook targets.
6094
+ # A deployment lifecycle hook runs custom logic or pauses the deployment
6095
+ # at specific stages of the deployment process. You can use Lambda
6096
+ # functions or pause hooks as hook targets.
6074
6097
  #
6075
6098
  # For more information, see [Lifecycle hooks for Amazon ECS service
6076
6099
  # deployments][1] in the <i> Amazon Elastic Container Service Developer
@@ -6095,10 +6118,11 @@ module Aws::ECS
6095
6118
  # @return [String]
6096
6119
  #
6097
6120
  # @!attribute [rw] hook_target_arn
6098
- # The Amazon Resource Name (ARN) of the hook target. Currently, only
6099
- # Lambda function ARNs are supported.
6121
+ # The Amazon Resource Name (ARN) of the hook target. For `AWS_LAMBDA`
6122
+ # hooks, this is the Lambda function ARN. This field is not applicable
6123
+ # for `PAUSE` hooks.
6100
6124
  #
6101
- # You must provide this parameter when configuring a deployment
6125
+ # You must provide this parameter when configuring an `AWS_LAMBDA`
6102
6126
  # lifecycle hook.
6103
6127
  # @return [String]
6104
6128
  #
@@ -6158,11 +6182,20 @@ module Aws::ECS
6158
6182
  #
6159
6183
  # You can use a lifecycle hook for this stage.
6160
6184
  #
6185
+ # * PRE\_PRODUCTION\_TRAFFIC\_SHIFT
6186
+ #
6187
+ # Occurs before production traffic shift. For linear and canary
6188
+ # deployments, this stage is invoked before every traffic shift
6189
+ # step.
6190
+ #
6191
+ # You can use a lifecycle hook for this stage.
6192
+ #
6161
6193
  # * PRODUCTION\_TRAFFIC\_SHIFT
6162
6194
  #
6163
6195
  # Production traffic is shifting to the green service revision. The
6164
6196
  # green service revision is migrating from 0% to 100% of production
6165
- # traffic.
6197
+ # traffic. For linear and canary deployments, this stage is invoked
6198
+ # at every traffic shift step.
6166
6199
  #
6167
6200
  # You can use a lifecycle hook for this stage.
6168
6201
  #
@@ -6172,13 +6205,20 @@ module Aws::ECS
6172
6205
  #
6173
6206
  # You can use a lifecycle hook for this stage.
6174
6207
  #
6208
+ # <note markdown="1"> `PAUSE` hooks cannot be configured at `TEST_TRAFFIC_SHIFT` or
6209
+ # `PRODUCTION_TRAFFIC_SHIFT` stages. These stages are only valid for
6210
+ # `AWS_LAMBDA` hooks.
6211
+ #
6212
+ # </note>
6213
+ #
6175
6214
  # You must provide this parameter when configuring a deployment
6176
6215
  # lifecycle hook.
6177
6216
  # @return [Array<String>]
6178
6217
  #
6179
6218
  # @!attribute [rw] hook_details
6180
- # Use this field to specify custom parameters that Amazon ECS will
6181
- # pass to your hook target invocations (such as a Lambda function).
6219
+ # Use this field to specify custom parameters that Amazon ECS passes
6220
+ # to your Lambda function on each invocation. This field is not used
6221
+ # for `PAUSE` hooks.
6182
6222
  # @return [Hash,Array,String,Numeric,Boolean]
6183
6223
  #
6184
6224
  # @!attribute [rw] timeout_configuration
@@ -6228,14 +6268,9 @@ module Aws::ECS
6228
6268
  # @return [String]
6229
6269
  #
6230
6270
  # @!attribute [rw] status
6231
- # The status of the lifecycle hook. Valid values depend on the hook
6232
- # type:
6233
- #
6234
- # * For `AWS_LAMBDA` hooks: `IN_PROGRESS`, `SUCCEEDED`, `FAILED`, and
6235
- # `TIMED_OUT`.
6236
- #
6237
- # * For `PAUSE` hooks: `AWAITING_ACTION`, `SUCCEEDED`, `FAILED`, and
6238
- # `TIMED_OUT`.
6271
+ # The status of the lifecycle hook. Valid values include
6272
+ # `AWAITING_ACTION`, `IN_PROGRESS`, `SUCCEEDED`, `FAILED`, and
6273
+ # `TIMED_OUT`.
6239
6274
  # @return [String]
6240
6275
  #
6241
6276
  # @!attribute [rw] expires_at
@@ -6268,6 +6303,8 @@ module Aws::ECS
6268
6303
  # @!attribute [rw] timeout_in_minutes
6269
6304
  # The number of minutes Amazon ECS waits for the lifecycle hook to
6270
6305
  # complete before taking the timeout action.
6306
+ #
6307
+ # Default: 1440 (24 hours)
6271
6308
  # @return [Integer]
6272
6309
  #
6273
6310
  # @!attribute [rw] action
@@ -6278,6 +6315,8 @@ module Aws::ECS
6278
6315
  #
6279
6316
  # * `ROLLBACK` - Rolls back the deployment to the previous service
6280
6317
  # revision.
6318
+ #
6319
+ # Default: `ROLLBACK`
6281
6320
  # @return [String]
6282
6321
  #
6283
6322
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentLifecycleHookTimeoutConfiguration AWS API Documentation
@@ -7820,6 +7859,12 @@ module Aws::ECS
7820
7859
  # The ARN of the task role for the service revision.
7821
7860
  # @return [String]
7822
7861
  #
7862
+ # @!attribute [rw] task_definition_arn
7863
+ # The ARN of the task definition used by this service revision. This
7864
+ # is present for all Express services and reflects the task definition
7865
+ # in use, whether managed by Amazon ECS or provided by the customer.
7866
+ # @return [String]
7867
+ #
7823
7868
  # @!attribute [rw] cpu
7824
7869
  # The CPU allocation for tasks in this service revision.
7825
7870
  # @return [String]
@@ -7858,6 +7903,7 @@ module Aws::ECS
7858
7903
  :service_revision_arn,
7859
7904
  :execution_role_arn,
7860
7905
  :task_role_arn,
7906
+ :task_definition_arn,
7861
7907
  :cpu,
7862
7908
  :memory,
7863
7909
  :network_configuration,
@@ -9758,7 +9804,7 @@ module Aws::ECS
9758
9804
 
9759
9805
  # @!attribute [rw] cluster_arn
9760
9806
  # The Amazon Resource Name (ARN) of the cluster to filter daemons by.
9761
- # If not specified, daemons from all clusters are returned.
9807
+ # If you do not specify a cluster, the default cluster is assumed.
9762
9808
  # @return [String]
9763
9809
  #
9764
9810
  # @!attribute [rw] capacity_provider_arns
@@ -13020,19 +13066,25 @@ module Aws::ECS
13020
13066
  # @return [Array<Types::Tag>]
13021
13067
  #
13022
13068
  # @!attribute [rw] pid_mode
13023
- # The process namespace mode for the daemon. When set to `shared`, the
13024
- # daemon shares the PID namespace with co-located tasks on the same
13025
- # container instance, giving the daemon visibility into application
13026
- # processes. When set to `none`, the daemon gets its own isolated PID
13027
- # namespace. The default is `none`.
13069
+ # The PID namespace mode for the daemon. The valid values are `none`
13070
+ # and `shared`. The default is `none`.
13071
+ #
13072
+ # If `none` is specified or no value is provided, the daemon runs with
13073
+ # its own PID namespace, isolated from other tasks. If `shared` is
13074
+ # specified, the daemon joins the host PID namespace, making it
13075
+ # accessible to non-daemon tasks that use `pidMode: "host"` or other
13076
+ # daemons that use `pidMode: "shared"`.
13028
13077
  # @return [String]
13029
13078
  #
13030
13079
  # @!attribute [rw] ipc_mode
13031
- # The IPC namespace mode for the daemon. When set to `shared`, the
13032
- # daemon shares the IPC namespace with co-located tasks on the same
13033
- # container instance, allowing communication through POSIX shared
13034
- # memory, semaphores, and message queues. When set to `none`, the
13035
- # daemon gets its own isolated IPC namespace. The default is `none`.
13080
+ # The IPC namespace mode for the daemon. The valid values are `none`
13081
+ # and `shared`. The default is `none`.
13082
+ #
13083
+ # If `none` is specified or no value is provided, the daemon runs with
13084
+ # its own IPC namespace, isolated from other tasks. If `shared` is
13085
+ # specified, the daemon joins the host IPC namespace, making it
13086
+ # accessible to non-daemon tasks that use `ipcMode: "host"` or other
13087
+ # daemons that use `ipcMode: "shared"`.
13036
13088
  # @return [String]
13037
13089
  #
13038
13090
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterDaemonTaskDefinitionRequest AWS API Documentation
@@ -15099,11 +15151,18 @@ module Aws::ECS
15099
15151
  # The test traffic shift is complete. The green service revision
15100
15152
  # handles 100% of the test traffic.
15101
15153
  #
15154
+ # * PRE\_PRODUCTION\_TRAFFIC\_SHIFT
15155
+ #
15156
+ # Occurs before production traffic shift. For linear and canary
15157
+ # deployments, this stage is invoked before every traffic shift
15158
+ # step.
15159
+ #
15102
15160
  # * PRODUCTION\_TRAFFIC\_SHIFT
15103
15161
  #
15104
15162
  # Production traffic is shifting to the green service revision. The
15105
15163
  # green service revision is migrating from 0% to 100% of production
15106
- # traffic.
15164
+ # traffic. For linear and canary deployments, this stage is invoked
15165
+ # at every traffic shift step.
15107
15166
  #
15108
15167
  # * POST\_PRODUCTION\_TRAFFIC\_SHIFT
15109
15168
  #
@@ -15317,7 +15376,7 @@ module Aws::ECS
15317
15376
  end
15318
15377
 
15319
15378
  # The service deploy ARN that you specified in the
15320
- # `StopServiceDeployment` doesn't exist. You can use
15379
+ # `ContinueServiceDeployment` doesn't exist. You can use
15321
15380
  # `ListServiceDeployments` to retrieve the service deployment ARNs.
15322
15381
  #
15323
15382
  # @!attribute [rw] message
@@ -18602,6 +18661,20 @@ module Aws::ECS
18602
18661
  # The auto-scaling configuration for the Express service.
18603
18662
  # @return [Types::ExpressGatewayScalingTarget]
18604
18663
  #
18664
+ # @!attribute [rw] task_definition_arn
18665
+ # The Amazon Resource Name (ARN) of a task definition to use to update
18666
+ # the Express Gateway service. This allows you to manage your own task
18667
+ # definition, giving you more control over the service configuration
18668
+ # such as adding sidecar containers.
18669
+ #
18670
+ # The task definition must have a container named `Main` with a single
18671
+ # TCP port mapping that includes a container port and port name. The
18672
+ # task definition must also have `FARGATE` compatibility.
18673
+ #
18674
+ # If you provide a task definition ARN, you cannot also specify
18675
+ # `primaryContainer`, `taskRoleArn`, `cpu`, or `memory`.
18676
+ # @return [String]
18677
+ #
18605
18678
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateExpressGatewayServiceRequest AWS API Documentation
18606
18679
  #
18607
18680
  class UpdateExpressGatewayServiceRequest < Struct.new(
@@ -18613,7 +18686,8 @@ module Aws::ECS
18613
18686
  :network_configuration,
18614
18687
  :cpu,
18615
18688
  :memory,
18616
- :scaling_target)
18689
+ :scaling_target,
18690
+ :task_definition_arn)
18617
18691
  SENSITIVE = []
18618
18692
  include Aws::Structure
18619
18693
  end
data/lib/aws-sdk-ecs.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECS
55
55
  autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecs/endpoints'
57
57
 
58
- GEM_VERSION = '1.236.0'
58
+ GEM_VERSION = '1.237.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -219,12 +219,12 @@ module Aws
219
219
  end
220
220
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#create_express_gateway_service-instance_method
221
221
  def create_express_gateway_service: (
222
- execution_role_arn: ::String,
222
+ ?execution_role_arn: ::String,
223
223
  infrastructure_role_arn: ::String,
224
224
  ?service_name: ::String,
225
225
  ?cluster: ::String,
226
226
  ?health_check_path: ::String,
227
- primary_container: Params::express_gateway_container,
227
+ ?primary_container: Params::express_gateway_container,
228
228
  ?task_role_arn: ::String,
229
229
  ?network_configuration: {
230
230
  security_groups: Array[::String]?,
@@ -243,7 +243,8 @@ module Aws
243
243
  key: ::String?,
244
244
  value: ::String?
245
245
  }
246
- ]
246
+ ],
247
+ ?task_definition_arn: ::String
247
248
  ) -> _CreateExpressGatewayServiceResponseSuccess
248
249
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateExpressGatewayServiceResponseSuccess
249
250
 
@@ -1804,7 +1805,8 @@ module Aws
1804
1805
  max_task_count: ::Integer?,
1805
1806
  auto_scaling_metric: ("AVERAGE_CPU" | "AVERAGE_MEMORY" | "REQUEST_COUNT_PER_TARGET")?,
1806
1807
  auto_scaling_target_value: ::Integer?
1807
- }
1808
+ },
1809
+ ?task_definition_arn: ::String
1808
1810
  ) -> _UpdateExpressGatewayServiceResponseSuccess
1809
1811
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateExpressGatewayServiceResponseSuccess
1810
1812
 
data/sig/types.rbs CHANGED
@@ -425,6 +425,7 @@ module Aws::ECS
425
425
  attr_accessor memory: ::String
426
426
  attr_accessor scaling_target: Types::ExpressGatewayScalingTarget
427
427
  attr_accessor tags: ::Array[Types::Tag]
428
+ attr_accessor task_definition_arn: ::String
428
429
  SENSITIVE: []
429
430
  end
430
431
 
@@ -1268,6 +1269,7 @@ module Aws::ECS
1268
1269
  attr_accessor service_revision_arn: ::String
1269
1270
  attr_accessor execution_role_arn: ::String
1270
1271
  attr_accessor task_role_arn: ::String
1272
+ attr_accessor task_definition_arn: ::String
1271
1273
  attr_accessor cpu: ::String
1272
1274
  attr_accessor memory: ::String
1273
1275
  attr_accessor network_configuration: Types::ExpressGatewayServiceNetworkConfiguration
@@ -2878,6 +2880,7 @@ module Aws::ECS
2878
2880
  attr_accessor cpu: ::String
2879
2881
  attr_accessor memory: ::String
2880
2882
  attr_accessor scaling_target: Types::ExpressGatewayScalingTarget
2883
+ attr_accessor task_definition_arn: ::String
2881
2884
  SENSITIVE: []
2882
2885
  end
2883
2886
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.236.0
4
+ version: 1.237.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services