Module: AWSCDK::IConstructSelector
- Defined in:
- i_construct_selector.rb
Overview
Selects constructs from a construct tree.
Class Method Summary collapse
Instance Method Summary collapse
-
#select(scope) ⇒ Array<Constructs::IConstruct>
Selects constructs from the given scope based on the selector's criteria.
Class Method Details
.jsii_overridable_methods ⇒ Object
16 17 18 19 20 |
# File 'i_construct_selector.rb', line 16 def self.jsii_overridable_methods { :select => { kind: :method, name: "select", is_optional: false }, } end |
Instance Method Details
#select(scope) ⇒ Array<Constructs::IConstruct>
Selects constructs from the given scope based on the selector's criteria.
11 12 13 14 |
# File 'i_construct_selector.rb', line 11 def select(scope) Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLklDb25zdHJ1Y3QifQ==")), "scope") jsii_call_method("select", [scope]) end |