Class: AWSCDK::CloudAssemblySchema::PluginContextQuery
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudAssemblySchema::PluginContextQuery
- Defined in:
- cloud_assembly_schema/plugin_context_query.rb
Overview
Query input for plugins.
This alternate branch is necessary because it needs to be able to escape all type checking we do on on the cloud assembly -- we cannot know the properties that will be used a priori.
Instance Attribute Summary collapse
-
#plugin_name ⇒ String
readonly
The name of the plugin.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(plugin_name:) ⇒ PluginContextQuery
constructor
A new instance of PluginContextQuery.
- #to_jsii ⇒ Object
Constructor Details
#initialize(plugin_name:) ⇒ PluginContextQuery
Returns a new instance of PluginContextQuery.
11 12 13 14 |
# File 'cloud_assembly_schema/plugin_context_query.rb', line 11 def initialize(plugin_name:) @plugin_name = plugin_name Jsii::Type.check_type(@plugin_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pluginName") end |
Instance Attribute Details
#plugin_name ⇒ String (readonly)
The name of the plugin.
19 20 21 |
# File 'cloud_assembly_schema/plugin_context_query.rb', line 19 def plugin_name @plugin_name end |
Class Method Details
.jsii_properties ⇒ Object
21 22 23 24 25 |
# File 'cloud_assembly_schema/plugin_context_query.rb', line 21 def self.jsii_properties { :plugin_name => "pluginName", } end |
Instance Method Details
#to_jsii ⇒ Object
27 28 29 30 31 32 33 |
# File 'cloud_assembly_schema/plugin_context_query.rb', line 27 def to_jsii result = {} result.merge!({ "pluginName" => @plugin_name, }) result.compact end |