class Aws::Resources::BuilderSources::DataMember

Extracts an identifier from the data of a parent resource. Used when building a {Resource} from the context of another resource.

Public Instance Methods

extract(options) click to toggle source

@option [required, Resource] :resource

# File lib/aws-sdk-resources/builder_sources.rb, line 56
def extract(options)
  JMESPath.search(@source, options[:resource].data)
end