Class: Aws::EC2::Types::DescribePlacementGroupsRequest

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

Overview

Note:

When making an API call, you may pass DescribePlacementGroupsRequest data as a hash:

{
  filters: [
    {
      name: "String",
      values: ["String"],
    },
  ],
  dry_run: false,
  group_names: ["String"],
}

Contains the parameters for DescribePlacementGroups.

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ‘DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.

Returns:

  • (Boolean)


10416
10417
10418
10419
10420
10421
# File 'lib/aws-sdk-ec2/types.rb', line 10416

class DescribePlacementGroupsRequest < Struct.new(
  :filters,
  :dry_run,
  :group_names)
  include Aws::Structure
end

#filtersArray<Types::Filter>

One or more filters.

  • ‘group-name` - The name of the placement group.

  • ‘state` - The state of the placement group (`pending` | `available` | `deleting` | `deleted`).

  • ‘strategy` - The strategy of the placement group (`cluster` | `spread`).

Returns:



10416
10417
10418
10419
10420
10421
# File 'lib/aws-sdk-ec2/types.rb', line 10416

class DescribePlacementGroupsRequest < Struct.new(
  :filters,
  :dry_run,
  :group_names)
  include Aws::Structure
end

#group_namesArray<String>

One or more placement group names.

Default: Describes all your placement groups, or only those otherwise specified.

Returns:

  • (Array<String>)


10416
10417
10418
10419
10420
10421
# File 'lib/aws-sdk-ec2/types.rb', line 10416

class DescribePlacementGroupsRequest < Struct.new(
  :filters,
  :dry_run,
  :group_names)
  include Aws::Structure
end