Class: Aws::Batch::Types::InstanceLaunchTemplate
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::InstanceLaunchTemplate
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-batch/types.rb
Overview
The instance launch configuration for an Amazon ECS Managed Instances capacity provider. Specifies the instance profile, networking, instance selection constraints, capacity pricing model, storage, and monitoring settings.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#capacity_option_type ⇒ String
The capacity pricing model for the managed instances.
-
#capacity_reservations ⇒ Types::CapacityReservationRequest
The capacity reservation configuration for the managed instances.
-
#ec2_instance_profile_arn ⇒ String
The Amazon Resource Name (ARN) of the Amazon EC2 instance profile for the managed instances.
-
#fips_enabled ⇒ Boolean
Specifies whether FIPS 140-2 validated cryptographic modules are enabled on the managed instances.
-
#instance_metadata_tags_propagation ⇒ Boolean
Specifies whether instance tags are accessible from the instance metadata service (IMDS).
-
#instance_requirements ⇒ Types::InstanceRequirementsRequest
The instance type requirements for the capacity provider.
-
#local_storage_configuration ⇒ Types::ManagedInstancesLocalStorageConfiguration
The local storage configuration for the managed instances.
-
#monitoring ⇒ String
The level of CloudWatch monitoring for the managed instances.
-
#network_configuration ⇒ Types::ManagedInstancesNetworkConfiguration
The network configuration for the managed instances.
-
#storage_configuration ⇒ Types::ManagedInstancesStorageConfiguration
The storage configuration for the managed instances.
Instance Attribute Details
#capacity_option_type ⇒ String
The capacity pricing model for the managed instances. Valid values:
-
ON_DEMAND(default) — On-Demand pricing. -
SPOT— Spot Instances, which can provide significant cost savings for fault-tolerant workloads.
6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 |
# File 'lib/aws-sdk-batch/types.rb', line 6423 class InstanceLaunchTemplate < Struct.new( :ec2_instance_profile_arn, :network_configuration, :instance_requirements, :capacity_option_type, :storage_configuration, :monitoring, :fips_enabled, :capacity_reservations, :instance_metadata_tags_propagation, :local_storage_configuration) SENSITIVE = [] include Aws::Structure end |
#capacity_reservations ⇒ Types::CapacityReservationRequest
The capacity reservation configuration for the managed instances. Use this to target On-Demand Capacity Reservations or Reserved Instances for predictable capacity and cost optimization.
6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 |
# File 'lib/aws-sdk-batch/types.rb', line 6423 class InstanceLaunchTemplate < Struct.new( :ec2_instance_profile_arn, :network_configuration, :instance_requirements, :capacity_option_type, :storage_configuration, :monitoring, :fips_enabled, :capacity_reservations, :instance_metadata_tags_propagation, :local_storage_configuration) SENSITIVE = [] include Aws::Structure end |
#ec2_instance_profile_arn ⇒ String
The Amazon Resource Name (ARN) of the Amazon EC2 instance profile
for the managed instances. The instance profile must use the
AmazonECSInstanceRolePolicyForManagedInstances managed policy with
a trust policy for ec2.amazonaws.com.
6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 |
# File 'lib/aws-sdk-batch/types.rb', line 6423 class InstanceLaunchTemplate < Struct.new( :ec2_instance_profile_arn, :network_configuration, :instance_requirements, :capacity_option_type, :storage_configuration, :monitoring, :fips_enabled, :capacity_reservations, :instance_metadata_tags_propagation, :local_storage_configuration) SENSITIVE = [] include Aws::Structure end |
#fips_enabled ⇒ Boolean
Specifies whether FIPS 140-2 validated cryptographic modules are enabled on the managed instances. Not available in all Regions.
6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 |
# File 'lib/aws-sdk-batch/types.rb', line 6423 class InstanceLaunchTemplate < Struct.new( :ec2_instance_profile_arn, :network_configuration, :instance_requirements, :capacity_option_type, :storage_configuration, :monitoring, :fips_enabled, :capacity_reservations, :instance_metadata_tags_propagation, :local_storage_configuration) SENSITIVE = [] include Aws::Structure end |
#instance_metadata_tags_propagation ⇒ Boolean
Specifies whether instance tags are accessible from the instance metadata service (IMDS). If not specified, instance tags are not accessible from IMDS.
6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 |
# File 'lib/aws-sdk-batch/types.rb', line 6423 class InstanceLaunchTemplate < Struct.new( :ec2_instance_profile_arn, :network_configuration, :instance_requirements, :capacity_option_type, :storage_configuration, :monitoring, :fips_enabled, :capacity_reservations, :instance_metadata_tags_propagation, :local_storage_configuration) SENSITIVE = [] include Aws::Structure end |
#instance_requirements ⇒ Types::InstanceRequirementsRequest
The instance type requirements for the capacity provider. Use this to constrain which Amazon EC2 instance types Amazon ECS can launch. If not specified, all available instance types are eligible.
6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 |
# File 'lib/aws-sdk-batch/types.rb', line 6423 class InstanceLaunchTemplate < Struct.new( :ec2_instance_profile_arn, :network_configuration, :instance_requirements, :capacity_option_type, :storage_configuration, :monitoring, :fips_enabled, :capacity_reservations, :instance_metadata_tags_propagation, :local_storage_configuration) SENSITIVE = [] include Aws::Structure end |
#local_storage_configuration ⇒ Types::ManagedInstancesLocalStorageConfiguration
The local storage configuration for the managed instances. If not specified, instance store volumes are not available to containers.
6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 |
# File 'lib/aws-sdk-batch/types.rb', line 6423 class InstanceLaunchTemplate < Struct.new( :ec2_instance_profile_arn, :network_configuration, :instance_requirements, :capacity_option_type, :storage_configuration, :monitoring, :fips_enabled, :capacity_reservations, :instance_metadata_tags_propagation, :local_storage_configuration) SENSITIVE = [] include Aws::Structure end |
#monitoring ⇒ String
The level of CloudWatch monitoring for the managed instances. Valid
values are BASIC and DETAILED.
6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 |
# File 'lib/aws-sdk-batch/types.rb', line 6423 class InstanceLaunchTemplate < Struct.new( :ec2_instance_profile_arn, :network_configuration, :instance_requirements, :capacity_option_type, :storage_configuration, :monitoring, :fips_enabled, :capacity_reservations, :instance_metadata_tags_propagation, :local_storage_configuration) SENSITIVE = [] include Aws::Structure end |
#network_configuration ⇒ Types::ManagedInstancesNetworkConfiguration
The network configuration for the managed instances. Specifies the VPC subnets and security groups where instances are launched.
6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 |
# File 'lib/aws-sdk-batch/types.rb', line 6423 class InstanceLaunchTemplate < Struct.new( :ec2_instance_profile_arn, :network_configuration, :instance_requirements, :capacity_option_type, :storage_configuration, :monitoring, :fips_enabled, :capacity_reservations, :instance_metadata_tags_propagation, :local_storage_configuration) SENSITIVE = [] include Aws::Structure end |
#storage_configuration ⇒ Types::ManagedInstancesStorageConfiguration
The storage configuration for the managed instances. Configures the root EBS volume size. If not specified, the service uses the default EBS volume size for the instance type.
6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 |
# File 'lib/aws-sdk-batch/types.rb', line 6423 class InstanceLaunchTemplate < Struct.new( :ec2_instance_profile_arn, :network_configuration, :instance_requirements, :capacity_option_type, :storage_configuration, :monitoring, :fips_enabled, :capacity_reservations, :instance_metadata_tags_propagation, :local_storage_configuration) SENSITIVE = [] include Aws::Structure end |