Class: Aws::ECS::Types::ManagedInstancesProvider
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::ManagedInstancesProvider
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
The configuration for a Amazon ECS Managed Instances provider. Amazon ECS uses this configuration to automatically launch, manage, and terminate Amazon EC2 instances on your behalf. Managed instances provide access to the full range of Amazon EC2 instance types and features while offloading infrastructure management to Amazon Web Services.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#infrastructure_optimization ⇒ Types::InfrastructureOptimization
Defines how Amazon ECS Managed Instances optimizes the infrastastructure in your capacity provider.
-
#infrastructure_role_arn ⇒ String
The Amazon Resource Name (ARN) of the infrastructure role that Amazon ECS assumes to manage instances.
-
#instance_launch_template ⇒ Types::InstanceLaunchTemplate
The launch template that defines how Amazon ECS launches Amazon ECS Managed Instances.
-
#propagate_tags ⇒ String
Determines whether tags from the capacity provider are automatically applied to Amazon ECS Managed Instances.
Instance Attribute Details
#infrastructure_optimization ⇒ Types::InfrastructureOptimization
Defines how Amazon ECS Managed Instances optimizes the infrastastructure in your capacity provider. Configure it to turn on or off the infrastructure optimization in your capacity provider, and to control the idle or underutilized EC2 instances optimization delay.
8989 8990 8991 8992 8993 8994 8995 8996 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8989 class ManagedInstancesProvider < Struct.new( :infrastructure_role_arn, :instance_launch_template, :propagate_tags, :infrastructure_optimization) SENSITIVE = [] include Aws::Structure end |
#infrastructure_role_arn ⇒ String
The Amazon Resource Name (ARN) of the infrastructure role that Amazon ECS assumes to manage instances. This role must include permissions for Amazon EC2 instance lifecycle management, networking, and any additional Amazon Web Services services required for your workloads.
For more information, see Amazon ECS infrastructure IAM role in the Amazon ECS Developer Guide.
8989 8990 8991 8992 8993 8994 8995 8996 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8989 class ManagedInstancesProvider < Struct.new( :infrastructure_role_arn, :instance_launch_template, :propagate_tags, :infrastructure_optimization) SENSITIVE = [] include Aws::Structure end |
#instance_launch_template ⇒ Types::InstanceLaunchTemplate
The launch template that defines how Amazon ECS launches Amazon ECS Managed Instances. This includes the instance profile for your tasks, network and storage configuration, and instance requirements that determine which Amazon EC2 instance types can be used.
For more information, see Store instance launch parameters in Amazon EC2 launch templates in the Amazon EC2 User Guide.
8989 8990 8991 8992 8993 8994 8995 8996 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8989 class ManagedInstancesProvider < Struct.new( :infrastructure_role_arn, :instance_launch_template, :propagate_tags, :infrastructure_optimization) SENSITIVE = [] include Aws::Structure end |
#propagate_tags ⇒ String
Determines whether tags from the capacity provider are automatically applied to Amazon ECS Managed Instances. This helps with cost allocation and resource management by ensuring consistent tagging across your infrastructure.
8989 8990 8991 8992 8993 8994 8995 8996 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 8989 class ManagedInstancesProvider < Struct.new( :infrastructure_role_arn, :instance_launch_template, :propagate_tags, :infrastructure_optimization) SENSITIVE = [] include Aws::Structure end |