Class: AWSCDK::Events::CfnRule::AppSyncParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Events::CfnRule::AppSyncParametersProperty
- Defined in:
- events/cfn_rule.rb
Overview
Contains the GraphQL operation to be parsed and executed, if the event target is an AWS AppSync API.
Instance Attribute Summary collapse
-
#graph_ql_operation ⇒ String
readonly
The GraphQL operation; that is, the query, mutation, or subscription to be parsed and executed by the GraphQL service.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(graph_ql_operation:) ⇒ AppSyncParametersProperty
constructor
A new instance of AppSyncParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(graph_ql_operation:) ⇒ AppSyncParametersProperty
Returns a new instance of AppSyncParametersProperty.
654 655 656 657 |
# File 'events/cfn_rule.rb', line 654 def initialize(graph_ql_operation:) @graph_ql_operation = graph_ql_operation Jsii::Type.check_type(@graph_ql_operation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "graphQlOperation") end |
Instance Attribute Details
#graph_ql_operation ⇒ String (readonly)
The GraphQL operation; that is, the query, mutation, or subscription to be parsed and executed by the GraphQL service.
For more information, see Operations in the AWS AppSync User Guide .
665 666 667 |
# File 'events/cfn_rule.rb', line 665 def graph_ql_operation @graph_ql_operation end |
Class Method Details
.jsii_properties ⇒ Object
667 668 669 670 671 |
# File 'events/cfn_rule.rb', line 667 def self.jsii_properties { :graph_ql_operation => "graphQlOperation", } end |
Instance Method Details
#to_jsii ⇒ Object
673 674 675 676 677 678 679 |
# File 'events/cfn_rule.rb', line 673 def to_jsii result = {} result.merge!({ "graphQlOperation" => @graph_ql_operation, }) result.compact end |