class SDM::NeptuneIAM
Attributes
access_key[RW]
egress_filter[RW]
A filter applied to the routing logic to pin datasource to nodes.
endpoint[RW]
healthy[RW]
True if the datasource is reachable and the credentials are valid.
id[RW]
Unique identifier of the Resource.
name[RW]
Unique human-readable name of the Resource.
port[RW]
port_override[RW]
region[RW]
role_arn[RW]
role_external_id[RW]
secret_access_key[RW]
secret_store_id[RW]
ID of the secret store containing credentials for this resource, if any.
Public Class Methods
new( access_key:nil \ , egress_filter:nil \ , endpoint:nil \ , healthy:nil \ , id:nil \ , name:nil \ , port:nil \ , port_override:nil \ , region:nil \ , role_arn:nil \ , role_external_id:nil \ , secret_access_key:nil \ , secret_store_id:nil \ , tags:nil \ )
click to toggle source
# File lib/models/porcelain.rb, line 5069 def initialize( access_key:nil \ , egress_filter:nil \ , endpoint:nil \ , healthy:nil \ , id:nil \ , name:nil \ , port:nil \ , port_override:nil \ , region:nil \ , role_arn:nil \ , role_external_id:nil \ , secret_access_key:nil \ , secret_store_id:nil \ , tags:nil \ ) if access_key != nil @access_key = access_key end if egress_filter != nil @egress_filter = egress_filter end if endpoint != nil @endpoint = endpoint end if healthy != nil @healthy = healthy end if id != nil @id = id end if name != nil @name = name end if port != nil @port = port end if port_override != nil @port_override = port_override end if region != nil @region = region end if role_arn != nil @role_arn = role_arn end if role_external_id != nil @role_external_id = role_external_id end if secret_access_key != nil @secret_access_key = secret_access_key end if secret_store_id != nil @secret_store_id = secret_store_id end if tags != nil @tags = tags end end
Public Instance Methods
to_json(options={})
click to toggle source
# File lib/models/porcelain.rb, line 5141 def to_json(options={}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix('@')] = self.instance_variable_get var end hash.to_json end