Class: Aws::Scheduler::Types::EcsParameters
- Inherits:
-
Struct
- Object
- Struct
- Aws::Scheduler::Types::EcsParameters
- Defined in:
- gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb
Overview
The templated target type for the Amazon ECS RunTask
API
operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#capacity_provider_strategy ⇒ Array<Types::CapacityProviderStrategyItem>
The capacity provider strategy to use for the task.
-
#enable_ecs_managed_tags ⇒ Boolean
Specifies whether to enable Amazon ECS managed tags for the task.
-
#enable_execute_command ⇒ Boolean
Whether or not to enable the execute command functionality for the containers in this task.
-
#group ⇒ String
Specifies an ECS task group for the task.
-
#launch_type ⇒ String
Specifies the launch type on which your task is running.
-
#network_configuration ⇒ Types::NetworkConfiguration
This structure specifies the network configuration for an ECS task.
-
#placement_constraints ⇒ Array<Types::PlacementConstraint>
An array of placement constraint objects to use for the task.
-
#placement_strategy ⇒ Array<Types::PlacementStrategy>
The task placement strategy for a task or service.
-
#platform_version ⇒ String
Specifies the platform version for the task.
-
#propagate_tags ⇒ String
Specifies whether to propagate the tags from the task definition to the task.
-
#reference_id ⇒ String
The reference ID to use for the task.
-
#tags ⇒ Array<Hash<String,String>>
The metadata that you apply to the task to help you categorize and organize them.
-
#task_count ⇒ Integer
The number of tasks to create based on
TaskDefinition
. -
#task_definition_arn ⇒ String
The Amazon Resource Name (ARN) of the task definition to use if the event target is an Amazon ECS task.
Instance Attribute Details
#capacity_provider_strategy ⇒ Array<Types::CapacityProviderStrategyItem>
The capacity provider strategy to use for the task.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#enable_ecs_managed_tags ⇒ Boolean
Specifies whether to enable Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon ECS Developer Guide.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#enable_execute_command ⇒ Boolean
Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#group ⇒ String
Specifies an ECS task group for the task. The maximum length is 255 characters.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#launch_type ⇒ String
Specifies the launch type on which your task is running. The launch
type that you specify here must match one of the launch type
(compatibilities) of the target task. The FARGATE
value is
supported only in the Regions where Fargate with Amazon ECS is
supported. For more information, see AWS Fargate on Amazon ECS
in the Amazon ECS Developer Guide.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#network_configuration ⇒ Types::NetworkConfiguration
This structure specifies the network configuration for an ECS task.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#placement_constraints ⇒ Array<Types::PlacementConstraint>
An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime).
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#placement_strategy ⇒ Array<Types::PlacementStrategy>
The task placement strategy for a task or service.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#platform_version ⇒ String
Specifies the platform version for the task. Specify only the
numeric portion of the platform version, such as 1.1.0
.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#propagate_tags ⇒ String
Specifies whether to propagate the tags from the task definition to
the task. If no value is specified, the tags are not propagated.
Tags can only be propagated to the task during task creation. To add
tags to a task after task creation, use Amazon ECS's
TagResource
API action.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#reference_id ⇒ String
The reference ID to use for the task.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Hash<String,String>>
The metadata that you apply to the task to help you categorize and
organize them. Each tag consists of a key and an optional value,
both of which you define. For more information, see RunTask
in the Amazon ECS API Reference.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#task_count ⇒ Integer
The number of tasks to create based on TaskDefinition
. The default
is 1
.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |
#task_definition_arn ⇒ String
The Amazon Resource Name (ARN) of the task definition to use if the event target is an Amazon ECS task.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 |
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 439 class EcsParameters < Struct.new( :capacity_provider_strategy, :enable_ecs_managed_tags, :enable_execute_command, :group, :launch_type, :network_configuration, :placement_constraints, :placement_strategy, :platform_version, :propagate_tags, :reference_id, :tags, :task_count, :task_definition_arn) SENSITIVE = [] include Aws::Structure end |