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, role_external_id: nil) ⇒ AWS

Returns a new instance of AWS.



795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
# File 'lib/models/porcelain.rb', line 795

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,
  role_external_id: 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
  if role_external_id != nil
    @role_external_id = role_external_id
  end
end