Class: AWSCDK::AppSync::CfnDataSource::ElasticsearchConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppSync::CfnDataSource::ElasticsearchConfigProperty
- Defined in:
- app_sync/cfn_data_source.rb
Overview
Instance Attribute Summary collapse
-
#aws_region ⇒ String
readonly
The AWS Region.
-
#endpoint ⇒ String
readonly
The endpoint.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aws_region:, endpoint:) ⇒ ElasticsearchConfigProperty
constructor
A new instance of ElasticsearchConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aws_region:, endpoint:) ⇒ ElasticsearchConfigProperty
Returns a new instance of ElasticsearchConfigProperty.
898 899 900 901 902 903 |
# File 'app_sync/cfn_data_source.rb', line 898 def initialize(aws_region:, endpoint:) @aws_region = aws_region Jsii::Type.check_type(@aws_region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsRegion") @endpoint = endpoint Jsii::Type.check_type(@endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpoint") end |
Instance Attribute Details
#aws_region ⇒ String (readonly)
The AWS Region.
909 910 911 |
# File 'app_sync/cfn_data_source.rb', line 909 def aws_region @aws_region end |
#endpoint ⇒ String (readonly)
The endpoint.
914 915 916 |
# File 'app_sync/cfn_data_source.rb', line 914 def endpoint @endpoint end |
Class Method Details
.jsii_properties ⇒ Object
916 917 918 919 920 921 |
# File 'app_sync/cfn_data_source.rb', line 916 def self.jsii_properties { :aws_region => "awsRegion", :endpoint => "endpoint", } end |
Instance Method Details
#to_jsii ⇒ Object
923 924 925 926 927 928 929 930 |
# File 'app_sync/cfn_data_source.rb', line 923 def to_jsii result = {} result.merge!({ "awsRegion" => @aws_region, "endpoint" => @endpoint, }) result.compact end |