Class: Aws::ECS::Types::UpdateExpressGatewayServiceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::UpdateExpressGatewayServiceRequest
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cpu ⇒ String
The number of CPU units used by the task.
-
#cpu_architecture ⇒ String
The CPU architecture that the tasks in the Express service run on.
-
#execution_role_arn ⇒ String
The Amazon Resource Name (ARN) of the task execution role for the Express service.
-
#health_check_path ⇒ String
The path on the container for Application Load Balancer health checks.
-
#memory ⇒ String
The amount of memory (in MiB) used by the task.
-
#network_configuration ⇒ Types::ExpressGatewayServiceNetworkConfiguration
The network configuration for the Express service tasks.
-
#primary_container ⇒ Types::ExpressGatewayContainer
The primary container configuration for the Express service.
-
#scaling_target ⇒ Types::ExpressGatewayScalingTarget
The auto-scaling configuration for the Express service.
-
#service_arn ⇒ String
The Amazon Resource Name (ARN) of the Express service to update.
-
#task_definition_arn ⇒ String
The Amazon Resource Name (ARN) of a task definition to use to update the Express Gateway service.
-
#task_role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role for containers in this task.
Instance Attribute Details
#cpu ⇒ String
The number of CPU units used by the task.
19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 19053 class UpdateExpressGatewayServiceRequest < Struct.new( :service_arn, :execution_role_arn, :health_check_path, :primary_container, :task_role_arn, :network_configuration, :cpu, :memory, :cpu_architecture, :scaling_target, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#cpu_architecture ⇒ String
The CPU architecture that the tasks in the Express service run on. Amazon ECS applies this value to the task definition revision that it registers for the service. If you don't specify a value, the service keeps the architecture that it currently runs on.
Valid values:
X86_64- The x86 64-bit architecture.ARM64- The 64-bit ARM architecture.
Changing the architecture starts a new deployment that replaces the
running tasks. Make sure that the container image that the service
uses supports the architecture that you choose. The operating system
family for an Express service is always LINUX.
You can't specify cpuArchitecture when you also specify
taskDefinitionArn, because this value applies only to a task
definition that Amazon ECS registers on your behalf.
19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 19053 class UpdateExpressGatewayServiceRequest < Struct.new( :service_arn, :execution_role_arn, :health_check_path, :primary_container, :task_role_arn, :network_configuration, :cpu, :memory, :cpu_architecture, :scaling_target, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#execution_role_arn ⇒ String
The Amazon Resource Name (ARN) of the task execution role for the Express service.
19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 19053 class UpdateExpressGatewayServiceRequest < Struct.new( :service_arn, :execution_role_arn, :health_check_path, :primary_container, :task_role_arn, :network_configuration, :cpu, :memory, :cpu_architecture, :scaling_target, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#health_check_path ⇒ String
The path on the container for Application Load Balancer health checks.
19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 19053 class UpdateExpressGatewayServiceRequest < Struct.new( :service_arn, :execution_role_arn, :health_check_path, :primary_container, :task_role_arn, :network_configuration, :cpu, :memory, :cpu_architecture, :scaling_target, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#memory ⇒ String
The amount of memory (in MiB) used by the task.
19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 19053 class UpdateExpressGatewayServiceRequest < Struct.new( :service_arn, :execution_role_arn, :health_check_path, :primary_container, :task_role_arn, :network_configuration, :cpu, :memory, :cpu_architecture, :scaling_target, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#network_configuration ⇒ Types::ExpressGatewayServiceNetworkConfiguration
The network configuration for the Express service tasks. By default, the network configuration for an Express service uses the default VPC.
19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 19053 class UpdateExpressGatewayServiceRequest < Struct.new( :service_arn, :execution_role_arn, :health_check_path, :primary_container, :task_role_arn, :network_configuration, :cpu, :memory, :cpu_architecture, :scaling_target, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#primary_container ⇒ Types::ExpressGatewayContainer
The primary container configuration for the Express service.
19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 19053 class UpdateExpressGatewayServiceRequest < Struct.new( :service_arn, :execution_role_arn, :health_check_path, :primary_container, :task_role_arn, :network_configuration, :cpu, :memory, :cpu_architecture, :scaling_target, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#scaling_target ⇒ Types::ExpressGatewayScalingTarget
The auto-scaling configuration for the Express service.
19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 19053 class UpdateExpressGatewayServiceRequest < Struct.new( :service_arn, :execution_role_arn, :health_check_path, :primary_container, :task_role_arn, :network_configuration, :cpu, :memory, :cpu_architecture, :scaling_target, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#service_arn ⇒ String
The Amazon Resource Name (ARN) of the Express service to update.
19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 19053 class UpdateExpressGatewayServiceRequest < Struct.new( :service_arn, :execution_role_arn, :health_check_path, :primary_container, :task_role_arn, :network_configuration, :cpu, :memory, :cpu_architecture, :scaling_target, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#task_definition_arn ⇒ String
The Amazon Resource Name (ARN) of a task definition to use to update the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers.
The task definition must have a container named Main with a single
TCP port mapping that includes a container port and port name. The
task definition must also have FARGATE compatibility.
If you provide a task definition ARN, you cannot also specify
primaryContainer, executionRoleArn, taskRoleArn, cpu,
memory, or cpuArchitecture.
19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 19053 class UpdateExpressGatewayServiceRequest < Struct.new( :service_arn, :execution_role_arn, :health_check_path, :primary_container, :task_role_arn, :network_configuration, :cpu, :memory, :cpu_architecture, :scaling_target, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#task_role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role for containers in this task.
19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 19053 class UpdateExpressGatewayServiceRequest < Struct.new( :service_arn, :execution_role_arn, :health_check_path, :primary_container, :task_role_arn, :network_configuration, :cpu, :memory, :cpu_architecture, :scaling_target, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |