Method: SDM::AWS#initialize

Defined in:
lib/models/porcelain.rb

#initialize(id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, access_key: nil, secret_access_key: nil, healthcheck_region: nil, role_arn: nil) ⇒ AWS

Returns a new instance of AWS.



755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
# File 'lib/models/porcelain.rb', line 755

def initialize(
  id: nil,
  name: nil,
  healthy: nil,
  tags: nil,
  secret_store_id: nil,
  access_key: nil,
  secret_access_key: nil,
  healthcheck_region: nil,
  role_arn: nil
)
  if id != nil
    @id = id
  end
  if name != nil
    @name = name
  end
  if healthy != nil
    @healthy = healthy
  end
  if tags != nil
    @tags = tags
  end
  if secret_store_id != nil
    @secret_store_id = secret_store_id
  end
  if access_key != nil
    @access_key = access_key
  end
  if secret_access_key != nil
    @secret_access_key = secret_access_key
  end
  if healthcheck_region != nil
    @healthcheck_region = healthcheck_region
  end
  if role_arn != nil
    @role_arn = role_arn
  end
end