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

Class: Aws::EC2::Types::PlacementGroup

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

Overview

Describes a placement group.

Instance Attribute Summary collapse

Instance Attribute Details

#group_nameString

The name of the placement group.

Returns:

  • (String)


28579
28580
28581
28582
28583
28584
28585
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28579

class PlacementGroup < Struct.new(
  :group_name,
  :state,
  :strategy,
  :partition_count)
  include Aws::Structure
end

#partition_countInteger

The number of partitions. Valid only if strategy is set to partition.

Returns:

  • (Integer)


28579
28580
28581
28582
28583
28584
28585
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28579

class PlacementGroup < Struct.new(
  :group_name,
  :state,
  :strategy,
  :partition_count)
  include Aws::Structure
end

#stateString

The state of the placement group.

Returns:

  • (String)


28579
28580
28581
28582
28583
28584
28585
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28579

class PlacementGroup < Struct.new(
  :group_name,
  :state,
  :strategy,
  :partition_count)
  include Aws::Structure
end

#strategyString

The placement strategy.

Returns:

  • (String)


28579
28580
28581
28582
28583
28584
28585
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28579

class PlacementGroup < Struct.new(
  :group_name,
  :state,
  :strategy,
  :partition_count)
  include Aws::Structure
end