Class: AWSCDK::AppSync::CfnAPI::DNSMapProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppSync::CfnAPI::DNSMapProperty
- Defined in:
- app_sync/cfn_api.rb
Overview
A map of DNS names for the Api.
Instance Attribute Summary collapse
-
#http ⇒ String?
readonly
The domain name of the Api's HTTP endpoint.
-
#realtime ⇒ String?
readonly
The domain name of the Api's real-time endpoint.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(http: nil, realtime: nil) ⇒ DNSMapProperty
constructor
A new instance of DNSMapProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(http: nil, realtime: nil) ⇒ DNSMapProperty
Returns a new instance of DNSMapProperty.
745 746 747 748 749 750 |
# File 'app_sync/cfn_api.rb', line 745 def initialize(http: nil, realtime: nil) @http = http Jsii::Type.check_type(@http, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "http") unless @http.nil? @realtime = realtime Jsii::Type.check_type(@realtime, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "realtime") unless @realtime.nil? end |
Instance Attribute Details
#http ⇒ String? (readonly)
The domain name of the Api's HTTP endpoint.
756 757 758 |
# File 'app_sync/cfn_api.rb', line 756 def http @http end |
#realtime ⇒ String? (readonly)
The domain name of the Api's real-time endpoint.
761 762 763 |
# File 'app_sync/cfn_api.rb', line 761 def realtime @realtime end |
Class Method Details
.jsii_properties ⇒ Object
763 764 765 766 767 768 |
# File 'app_sync/cfn_api.rb', line 763 def self.jsii_properties { :http => "http", :realtime => "realtime", } end |
Instance Method Details
#to_jsii ⇒ Object
770 771 772 773 774 775 776 777 |
# File 'app_sync/cfn_api.rb', line 770 def to_jsii result = {} result.merge!({ "http" => @http, "realtime" => @realtime, }) result.compact end |