Class: Aws::ECS::Types::UpdateDaemonRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::UpdateDaemonRequest
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#capacity_provider_arns ⇒ Array<String>
The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.
-
#critical ⇒ Boolean
If the
criticalparameter of a daemon istrue, and the daemon task fails, stops, or becomes unhealthy, Amazon ECS drains the container instance and stops the other tasks running on it. -
#daemon_arn ⇒ String
The Amazon Resource Name (ARN) of the daemon to update.
-
#daemon_task_definition_arn ⇒ String
The Amazon Resource Name (ARN) of the daemon task definition to use for the updated daemon.
-
#deployment_configuration ⇒ Types::DaemonDeploymentConfiguration
Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.
-
#enable_ecs_managed_tags ⇒ Boolean
Specifies whether to turn on Amazon ECS managed tags for the tasks in the daemon.
-
#enable_execute_command ⇒ Boolean
If
true, the execute command functionality is turned on for all tasks in the daemon. -
#propagate_tags ⇒ String
Specifies whether to propagate the tags from the daemon to the daemon tasks.
Instance Attribute Details
#capacity_provider_arns ⇒ Array<String>
The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.
20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 20880 class UpdateDaemonRequest < Struct.new( :daemon_arn, :daemon_task_definition_arn, :capacity_provider_arns, :deployment_configuration, :propagate_tags, :enable_ecs_managed_tags, :enable_execute_command, :critical) SENSITIVE = [] include Aws::Structure end |
#critical ⇒ Boolean
If the critical parameter of a daemon is true, and the daemon
task fails, stops, or becomes unhealthy, Amazon ECS drains the
container instance and stops the other tasks running on it. If the
critical parameter is false, the daemon task failure doesn't
affect the other tasks on the instance. The default value is true.
A non-critical daemon doesn't block instance registration. The container instance becomes active and continues to run your other tasks, whether the daemon task fails during scale-out or during a deployment.
Amazon ECS emits an EventBridge event when a daemon task fails to start, for both critical and non-critical daemons.
Daemon task launch failures during a deployment are still counted by the deployment circuit breaker. The circuit breaker can roll back an unstable target revision.
20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 20880 class UpdateDaemonRequest < Struct.new( :daemon_arn, :daemon_task_definition_arn, :capacity_provider_arns, :deployment_configuration, :propagate_tags, :enable_ecs_managed_tags, :enable_execute_command, :critical) SENSITIVE = [] include Aws::Structure end |
#daemon_arn ⇒ String
The Amazon Resource Name (ARN) of the daemon to update.
20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 20880 class UpdateDaemonRequest < Struct.new( :daemon_arn, :daemon_task_definition_arn, :capacity_provider_arns, :deployment_configuration, :propagate_tags, :enable_ecs_managed_tags, :enable_execute_command, :critical) SENSITIVE = [] include Aws::Structure end |
#daemon_task_definition_arn ⇒ String
The Amazon Resource Name (ARN) of the daemon task definition to use for the updated daemon.
20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 20880 class UpdateDaemonRequest < Struct.new( :daemon_arn, :daemon_task_definition_arn, :capacity_provider_arns, :deployment_configuration, :propagate_tags, :enable_ecs_managed_tags, :enable_execute_command, :critical) SENSITIVE = [] include Aws::Structure end |
#deployment_configuration ⇒ Types::DaemonDeploymentConfiguration
Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.
20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 20880 class UpdateDaemonRequest < Struct.new( :daemon_arn, :daemon_task_definition_arn, :capacity_provider_arns, :deployment_configuration, :propagate_tags, :enable_ecs_managed_tags, :enable_execute_command, :critical) SENSITIVE = [] include Aws::Structure end |
#enable_ecs_managed_tags ⇒ Boolean
Specifies whether to turn on Amazon ECS managed tags for the tasks in the daemon. For more information, see Tagging your Amazon ECS resources in the Amazon Elastic Container Service Developer Guide.
20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 20880 class UpdateDaemonRequest < Struct.new( :daemon_arn, :daemon_task_definition_arn, :capacity_provider_arns, :deployment_configuration, :propagate_tags, :enable_ecs_managed_tags, :enable_execute_command, :critical) SENSITIVE = [] include Aws::Structure end |
#enable_execute_command ⇒ Boolean
If true, the execute command functionality is turned on for all
tasks in the daemon. If false, the execute command functionality
is turned off.
20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 20880 class UpdateDaemonRequest < Struct.new( :daemon_arn, :daemon_task_definition_arn, :capacity_provider_arns, :deployment_configuration, :propagate_tags, :enable_ecs_managed_tags, :enable_execute_command, :critical) SENSITIVE = [] include Aws::Structure end |
#propagate_tags ⇒ String
Specifies whether to propagate the tags from the daemon to the daemon tasks. If you don't specify a value, the tags aren't propagated. You can only propagate tags to daemon tasks during task creation.
20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 20880 class UpdateDaemonRequest < Struct.new( :daemon_arn, :daemon_task_definition_arn, :capacity_provider_arns, :deployment_configuration, :propagate_tags, :enable_ecs_managed_tags, :enable_execute_command, :critical) SENSITIVE = [] include Aws::Structure end |