Class: Aws::Scheduler::Types::EcsParameters

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#capacity_provider_strategyArray<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_tagsBoolean

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.

Returns:

  • (Boolean)


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_commandBoolean

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.

Returns:

  • (Boolean)


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

#groupString

Specifies an ECS task group for the task. The maximum length is 255 characters.

Returns:

  • (String)


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_typeString

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.

Returns:

  • (String)


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_configurationTypes::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_constraintsArray<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).

Returns:



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_strategyArray<Types::PlacementStrategy>

The task placement strategy for a task or service.

Returns:



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_versionString

Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0.

Returns:

  • (String)


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_tagsString

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.

Returns:

  • (String)


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_idString

The reference ID to use for the task.

Returns:

  • (String)


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

#tagsArray<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.

Returns:

  • (Array<Hash<String,String>>)


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_countInteger

The number of tasks to create based on TaskDefinition. The default is 1.

Returns:

  • (Integer)


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_arnString

The Amazon Resource Name (ARN) of the task definition to use if the event target is an Amazon ECS task.

Returns:

  • (String)


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