Module: AWSCDK::AppSync::ISchemaConfig
- Defined in:
- app_sync/i_schema_config.rb
Overview
Configuration for bound graphql schema.
Returned from ISchema.bind allowing late binding of schemas to graphqlapi-base
Class Method Summary collapse
Instance Method Summary collapse
-
#api_id ⇒ String
The ID of the api the schema is bound to.
- #api_id=(value) ⇒ Object
-
#definition ⇒ String
The schema definition string.
- #definition=(value) ⇒ Object
Class Method Details
.jsii_overridable_methods ⇒ Object
33 34 35 36 37 38 |
# File 'app_sync/i_schema_config.rb', line 33 def self.jsii_overridable_methods { :api_id => { kind: :property, name: "apiId", is_optional: false }, :definition => { kind: :property, name: "definition", is_optional: false }, } end |
Instance Method Details
#api_id ⇒ String
The ID of the api the schema is bound to.
12 13 14 |
# File 'app_sync/i_schema_config.rb', line 12 def api_id() jsii_get_property("apiId") end |
#api_id=(value) ⇒ Object
16 17 18 19 |
# File 'app_sync/i_schema_config.rb', line 16 def api_id=(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "apiId") jsii_set_property("apiId", value) end |
#definition ⇒ String
The schema definition string.
24 25 26 |
# File 'app_sync/i_schema_config.rb', line 24 def definition() jsii_get_property("definition") end |
#definition=(value) ⇒ Object
28 29 30 31 |
# File 'app_sync/i_schema_config.rb', line 28 def definition=(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "definition") jsii_set_property("definition", value) end |