Class: Aws::Batch::Types::InstanceLaunchTemplate

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

Instance Attribute Details

#capacity_option_typeString

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.

Returns:

  • (String)


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_reservationsTypes::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_arnString

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.

Returns:

  • (String)


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_enabledBoolean

Specifies whether FIPS 140-2 validated cryptographic modules are enabled on the managed instances. Not available in all Regions.

Returns:

  • (Boolean)


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_propagationBoolean

Specifies whether instance tags are accessible from the instance metadata service (IMDS). If not specified, instance tags are not accessible from IMDS.

Returns:

  • (Boolean)


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_requirementsTypes::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_configurationTypes::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

#monitoringString

The level of CloudWatch monitoring for the managed instances. Valid values are BASIC and DETAILED.

Returns:

  • (String)


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_configurationTypes::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_configurationTypes::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