Class: AWSCDK::AppSync::CfnSourceAPIAssociation::SourceAPIAssociationConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppSync::CfnSourceAPIAssociation::SourceAPIAssociationConfigProperty
- Defined in:
- app_sync/cfn_source_api_association.rb
Overview
Describes properties used to specify configurations related to a source API.
This is a property of the AWS:AppSync:SourceApiAssociation type.
Instance Attribute Summary collapse
-
#merge_type ⇒ String?
readonly
The property that indicates which merging option is enabled in the source API association.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(merge_type: nil) ⇒ SourceAPIAssociationConfigProperty
constructor
A new instance of SourceAPIAssociationConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(merge_type: nil) ⇒ SourceAPIAssociationConfigProperty
Returns a new instance of SourceAPIAssociationConfigProperty.
614 615 616 617 |
# File 'app_sync/cfn_source_api_association.rb', line 614 def initialize(merge_type: nil) @merge_type = merge_type Jsii::Type.check_type(@merge_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mergeType") unless @merge_type.nil? end |
Instance Attribute Details
#merge_type ⇒ String? (readonly)
The property that indicates which merging option is enabled in the source API association.
Valid merge types are MANUAL_MERGE (default) and AUTO_MERGE . Manual merges are the default behavior and require the user to trigger any changes from the source APIs to the merged API manually. Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn to perform merge operations.
The following values are valid:
MANUAL_MERGE | AUTO_MERGE
629 630 631 |
# File 'app_sync/cfn_source_api_association.rb', line 629 def merge_type @merge_type end |
Class Method Details
.jsii_properties ⇒ Object
631 632 633 634 635 |
# File 'app_sync/cfn_source_api_association.rb', line 631 def self.jsii_properties { :merge_type => "mergeType", } end |
Instance Method Details
#to_jsii ⇒ Object
637 638 639 640 641 642 643 |
# File 'app_sync/cfn_source_api_association.rb', line 637 def to_jsii result = {} result.merge!({ "mergeType" => @merge_type, }) result.compact end |