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

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).

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)


3901
3902
3903
3904
3905
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3901

class PlacementType < Struct.new(
  :availability_zone,
  :availability_zones)
  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>)


3901
3902
3903
3904
3905
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3901

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