Class: Waterworks::EmrCluster
- Inherits:
-
PipelineObject
- Object
- PipelineObject
- Waterworks::EmrCluster
- Defined in:
- lib/waterworks/resources/emr_cluster.rb
Class Method Summary collapse
-
.safe_fields ⇒ Object
rubocop:disable Metrics/MethodLength.
Instance Method Summary collapse
-
#initialize(id = nil, name = nil) ⇒ EmrCluster
constructor
A new instance of EmrCluster.
Methods inherited from PipelineObject
#<=>, base_attrs, #collect_attrs!, from_hash, from_json, #set_attrs, #sourceify, #to_fhash, #to_hash, #to_json
Constructor Details
#initialize(id = nil, name = nil) ⇒ EmrCluster
Returns a new instance of EmrCluster.
64 65 66 |
# File 'lib/waterworks/resources/emr_cluster.rb', line 64 def initialize(id = nil, name = nil) super(id, name).set_attrs(type: 'EmrCluster') end |
Class Method Details
.safe_fields ⇒ Object
rubocop:disable Metrics/MethodLength
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/waterworks/resources/emr_cluster.rb', line 6 def self.safe_fields { actionOnResourceFailure: :string, actionOnTaskFailure: :string, additionalMasterSecurityGroupIds: :string, additionalSlaveSecurityGroupIds: :string, amiVersion: :string, applications: :string, attemptStatus: :string, attemptTimeout: :string, availabilityZone: :string, bootstrapAction: :string, configuration: :ref, coreInstanceBidPrice: :string, coreInstanceCount: :string, coreInstanceType: :string, emrManagedMasterSecurityGroupId: :string, emrManagedSlaveSecurityGroupId: :string, enableDebugging: :string, failureAndRerunMode: :string, hadoopSchedulerType: :string, httpProxy: :ref, initTimeout: :string, keyPair: :string, lateAfterTimeout: :string, masterInstanceBidPrice: :string, masterInstanceType: :string, maxActiveInstances: :string, maximumRetries: :string, onFail: :ref, onLateAction: :ref, onSuccess: :ref, parent: :ref, pipelineLogUri: :string, region: :string, releaseLabel: :string, reportProgressTimeout: :string, resourceRole: :string, retryDelay: :string, role: :string, runsOn: :ref, scheduleType: :string, subnetId: :string, supportedProducts: :string, taskInstanceBidPrice: :string, taskInstanceCount: :string, taskInstanceType: :string, terminateAfter: :string, useOnDemandOnLastAttempt: :string, workerGroup: :string, schedule: :ref, type: :string, }.merge superclass.safe_fields end |