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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a placement group.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#group_id ⇒ String

The ID of the placement group.

Returns:

  • (String) —

    The ID of the placement group.

#group_name ⇒ String

The name of the placement group.

Returns:

  • (String) —

    The name of the placement group.

#partition_count ⇒ Integer

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

Returns:

  • (Integer) —

    The number of partitions.

#state ⇒ String

The state of the placement group.

Possible values:

  • pending
  • available
  • deleting
  • deleted

Returns:

  • (String) —

    The state of the placement group.

#strategy ⇒ String

The placement strategy.

Possible values:

  • cluster
  • spread
  • partition

Returns:

  • (String) —

    The placement strategy.

#tags ⇒ Array<Types::Tag>

Any tags applied to the placement group.

Returns:

  • (Array<Types::Tag>) —

    Any tags applied to the placement group.