Class: Aws::Resources::BuilderSources::DataMember
- Inherits:
-
Object
- Object
- Aws::Resources::BuilderSources::DataMember
- Includes:
- Source
- Defined in:
- lib/aws-sdk-resources/builder_sources.rb
Overview
Extracts an identifier from the data of a parent resource. Used when building a Resource from the context of another resource.
Instance Attribute Summary
Attributes included from Source
Instance Method Summary collapse
Methods included from Source
Instance Method Details
#extract(options) ⇒ Object
60 61 62 |
# File 'lib/aws-sdk-resources/builder_sources.rb', line 60 def extract() JMESPath.search(@source, [:resource].data) end |