Class: AWSCDK::Interfaces::AWSAppsync::GraphQLSchemaReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSAppsync::GraphQLSchemaReference
- Defined in:
- interfaces/aws_appsync/graph_ql_schema_reference.rb
Overview
A reference to a GraphQLSchema resource.
Instance Attribute Summary collapse
-
#graph_ql_schema_id ⇒ String
readonly
The Id of the GraphQLSchema resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(graph_ql_schema_id:) ⇒ GraphQLSchemaReference
constructor
A new instance of GraphQLSchemaReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(graph_ql_schema_id:) ⇒ GraphQLSchemaReference
Returns a new instance of GraphQLSchemaReference.
8 9 10 11 |
# File 'interfaces/aws_appsync/graph_ql_schema_reference.rb', line 8 def initialize(graph_ql_schema_id:) @graph_ql_schema_id = graph_ql_schema_id Jsii::Type.check_type(@graph_ql_schema_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "graphQlSchemaId") end |
Instance Attribute Details
#graph_ql_schema_id ⇒ String (readonly)
The Id of the GraphQLSchema resource.
16 17 18 |
# File 'interfaces/aws_appsync/graph_ql_schema_reference.rb', line 16 def graph_ql_schema_id @graph_ql_schema_id end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_appsync/graph_ql_schema_reference.rb', line 18 def self.jsii_properties { :graph_ql_schema_id => "graphQlSchemaId", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_appsync/graph_ql_schema_reference.rb', line 24 def to_jsii result = {} result.merge!({ "graphQlSchemaId" => @graph_ql_schema_id, }) result.compact end |