Class: Aws::EMR::Types::PlacementType

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

Overview

Note:

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

{
  availability_zone: "XmlString",
  availability_zones: ["XmlStringMaxLen256"],
}

The Amazon EC2 Availability Zone configuration of the cluster (job flow).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Amazon EC2 Availability Zone for the cluster. AvailabilityZone is used for uniform instance groups, while AvailabilityZones (plural) is used for instance fleets.

Returns:

  • (String)


5714
5715
5716
5717
5718
5719
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5714

class PlacementType < Struct.new(
  :availability_zone,
  :availability_zones)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zonesArray<String>

When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal Availability Zone. AvailabilityZones is used for instance fleets, while AvailabilityZone (singular) is used for uniform instance groups.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

Returns:

  • (Array<String>)


5714
5715
5716
5717
5718
5719
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5714

class PlacementType < Struct.new(
  :availability_zone,
  :availability_zones)
  SENSITIVE = []
  include Aws::Structure
end