You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Lightsail::Types::Bundle

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Describes a bundle, which is a set of specs describing your virtual private server (or instance).

Instance Attribute Summary collapse

Instance Attribute Details

#bundle_idString

The bundle ID (e.g., micro_1_0).

Returns:

  • (String)


343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 343

class Bundle < Struct.new(
  :price,
  :cpu_count,
  :disk_size_in_gb,
  :bundle_id,
  :instance_type,
  :is_active,
  :name,
  :power,
  :ram_size_in_gb,
  :transfer_per_month_in_gb,
  :supported_platforms)
  include Aws::Structure
end

#cpu_countInteger

The number of vCPUs included in the bundle (e.g., 2).

Returns:

  • (Integer)


343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 343

class Bundle < Struct.new(
  :price,
  :cpu_count,
  :disk_size_in_gb,
  :bundle_id,
  :instance_type,
  :is_active,
  :name,
  :power,
  :ram_size_in_gb,
  :transfer_per_month_in_gb,
  :supported_platforms)
  include Aws::Structure
end

#disk_size_in_gbInteger

The size of the SSD (e.g., 30).

Returns:

  • (Integer)


343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 343

class Bundle < Struct.new(
  :price,
  :cpu_count,
  :disk_size_in_gb,
  :bundle_id,
  :instance_type,
  :is_active,
  :name,
  :power,
  :ram_size_in_gb,
  :transfer_per_month_in_gb,
  :supported_platforms)
  include Aws::Structure
end

#instance_typeString

The Amazon EC2 instance type (e.g., t2.micro).

Returns:

  • (String)


343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 343

class Bundle < Struct.new(
  :price,
  :cpu_count,
  :disk_size_in_gb,
  :bundle_id,
  :instance_type,
  :is_active,
  :name,
  :power,
  :ram_size_in_gb,
  :transfer_per_month_in_gb,
  :supported_platforms)
  include Aws::Structure
end

#is_activeBoolean

A Boolean value indicating whether the bundle is active.

Returns:

  • (Boolean)


343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 343

class Bundle < Struct.new(
  :price,
  :cpu_count,
  :disk_size_in_gb,
  :bundle_id,
  :instance_type,
  :is_active,
  :name,
  :power,
  :ram_size_in_gb,
  :transfer_per_month_in_gb,
  :supported_platforms)
  include Aws::Structure
end

#nameString

A friendly name for the bundle (e.g., Micro).

Returns:

  • (String)


343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 343

class Bundle < Struct.new(
  :price,
  :cpu_count,
  :disk_size_in_gb,
  :bundle_id,
  :instance_type,
  :is_active,
  :name,
  :power,
  :ram_size_in_gb,
  :transfer_per_month_in_gb,
  :supported_platforms)
  include Aws::Structure
end

#powerInteger

A numeric value that represents the power of the bundle (e.g., 500). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.

Returns:

  • (Integer)


343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 343

class Bundle < Struct.new(
  :price,
  :cpu_count,
  :disk_size_in_gb,
  :bundle_id,
  :instance_type,
  :is_active,
  :name,
  :power,
  :ram_size_in_gb,
  :transfer_per_month_in_gb,
  :supported_platforms)
  include Aws::Structure
end

#priceFloat

The price in US dollars (e.g., 5.0).

Returns:

  • (Float)


343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 343

class Bundle < Struct.new(
  :price,
  :cpu_count,
  :disk_size_in_gb,
  :bundle_id,
  :instance_type,
  :is_active,
  :name,
  :power,
  :ram_size_in_gb,
  :transfer_per_month_in_gb,
  :supported_platforms)
  include Aws::Structure
end

#ram_size_in_gbFloat

The amount of RAM in GB (e.g., 2.0).

Returns:

  • (Float)


343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 343

class Bundle < Struct.new(
  :price,
  :cpu_count,
  :disk_size_in_gb,
  :bundle_id,
  :instance_type,
  :is_active,
  :name,
  :power,
  :ram_size_in_gb,
  :transfer_per_month_in_gb,
  :supported_platforms)
  include Aws::Structure
end

#supported_platformsArray<String>

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

Returns:

  • (Array<String>)


343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 343

class Bundle < Struct.new(
  :price,
  :cpu_count,
  :disk_size_in_gb,
  :bundle_id,
  :instance_type,
  :is_active,
  :name,
  :power,
  :ram_size_in_gb,
  :transfer_per_month_in_gb,
  :supported_platforms)
  include Aws::Structure
end

#transfer_per_month_in_gbInteger

The data transfer rate per month in GB (e.g., 2000).

Returns:

  • (Integer)


343
344
345
346
347
348
349
350
351
352
353
354
355
356
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 343

class Bundle < Struct.new(
  :price,
  :cpu_count,
  :disk_size_in_gb,
  :bundle_id,
  :instance_type,
  :is_active,
  :name,
  :power,
  :ram_size_in_gb,
  :transfer_per_month_in_gb,
  :supported_platforms)
  include Aws::Structure
end