Class: Aws::SecurityHub::Types::AwsEcsServiceDetails

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-securityhub/types.rb

Overview

Provides details about a service within an ECS cluster.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_provider_strategyArray<Types::AwsEcsServiceCapacityProviderStrategyDetails>

The capacity provider strategy that the service uses.



10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#clusterString

The ARN of the cluster that hosts the service.

Returns:

  • (String)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#deployment_configurationTypes::AwsEcsServiceDeploymentConfigurationDetails

Deployment parameters for the service. Includes the number of tasks that run and the order in which to start and stop tasks.



10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#deployment_controllerTypes::AwsEcsServiceDeploymentControllerDetails

Contains the deployment controller type that the service uses.



10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#desired_countInteger

The number of instantiations of the task definition to run on the service.

Returns:

  • (Integer)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#enable_ecs_managed_tagsBoolean

Whether to enable Amazon ECS managed tags for the tasks in the service.

Returns:

  • (Boolean)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#enable_execute_commandBoolean

Whether the execute command functionality is enabled for the service.

Returns:

  • (Boolean)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#health_check_grace_period_secondsInteger

After a task starts, the amount of time in seconds that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks.

Returns:

  • (Integer)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#launch_typeString

The launch type that the service uses.

Valid values: ‘EC2` | `FARGATE` | `EXTERNAL`

Returns:

  • (String)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#load_balancersArray<Types::AwsEcsServiceLoadBalancersDetails>

Information about the load balancers that the service uses.



10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the service.

Returns:

  • (String)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#network_configurationTypes::AwsEcsServiceNetworkConfigurationDetails

For tasks that use the ‘awsvpc` networking mode, the VPC subnet and security group configuration.



10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#placement_constraintsArray<Types::AwsEcsServicePlacementConstraintsDetails>

The placement constraints for the tasks in the service.



10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#placement_strategiesArray<Types::AwsEcsServicePlacementStrategiesDetails>

Information about how tasks for the service are placed.



10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#platform_versionString

The platform version on which to run the service. Only specified for tasks that are hosted on Fargate. If a platform version is not specified, the ‘LATEST` platform version is used by default.

Returns:

  • (String)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#propagate_tagsString

Indicates whether to propagate the tags from the task definition to the task or from the service to the task. If no value is provided, then tags are not propagated.

Valid values: ‘TASK_DEFINITION` | `SERVICE`

Returns:

  • (String)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#roleString

The ARN of the IAM role that is associated with the service. The role allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.

Returns:

  • (String)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#scheduling_strategyString

The scheduling strategy to use for the service.

The ‘REPLICA` scheduling strategy places and maintains the desired number of tasks across the cluster. By default, the service scheduler spreads tasks across Availability Zones. Task placement strategies and constraints are used to customize task placement decisions.

The ‘DAEMON` scheduling strategy deploys exactly one task on each active container instance that meets all of the task placement constraints that are specified in the cluster. The service scheduler also evaluates the task placement constraints for running tasks and stops tasks that don’t meet the placement constraints.

Valid values: ‘REPLICA` | `DAEMON`

Returns:

  • (String)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#service_arnString

The ARN of the service.

Returns:

  • (String)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#service_nameString

The name of the service.

The name can contain up to 255 characters. It can use letters, numbers, underscores, and hyphens.

Returns:

  • (String)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#service_registriesArray<Types::AwsEcsServiceServiceRegistriesDetails>

Information about the service discovery registries to assign to the service.



10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end

#task_definitionString

The task definition to use for tasks in the service.

Returns:

  • (String)


10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
# File 'lib/aws-sdk-securityhub/types.rb', line 10099

class AwsEcsServiceDetails < Struct.new(
  :capacity_provider_strategy,
  :cluster,
  :deployment_configuration,
  :deployment_controller,
  :desired_count,
  :enable_ecs_managed_tags,
  :enable_execute_command,
  :health_check_grace_period_seconds,
  :launch_type,
  :load_balancers,
  :name,
  :network_configuration,
  :placement_constraints,
  :placement_strategies,
  :platform_version,
  :propagate_tags,
  :role,
  :scheduling_strategy,
  :service_arn,
  :service_name,
  :service_registries,
  :task_definition)
  SENSITIVE = []
  include Aws::Structure
end