Class: Aws::ECS::Types::UpdateExpressGatewayServiceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cpu ⇒ String

The number of CPU units used by the task.

Returns:

  • (String)


21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 21025

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 task runs on. If you don't specify a value, the service keeps its current architecture.

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. Ensure that the container image you specify supports the architecture you choose. The operating system family for an Express service is always LINUX.

You can't specify cpuArchitecture together with taskDefinitionArn.

Returns:

  • (String)


21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 21025

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.

Returns:

  • (String)


21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 21025

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.

Returns:

  • (String)


21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 21025

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.

Returns:

  • (String)


21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 21025

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.



21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 21025

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.



21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 21025

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.



21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 21025

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.

Returns:

  • (String)


21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 21025

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.

Returns:

  • (String)


21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 21025

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.

Returns:

  • (String)


21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 21025

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