Class: AWSCDK::OpenSearchService::CfnApplication::DataSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::OpenSearchService::CfnApplication::DataSourceProperty
- Defined in:
- open_search_service/cfn_application.rb
Overview
Data sources that are associated with an OpenSearch application.
Instance Attribute Summary collapse
-
#data_source_arn ⇒ String
readonly
Amazon Resource Name (ARN) format.
-
#data_source_description ⇒ String?
readonly
Detailed description of a data source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_source_arn:, data_source_description: nil) ⇒ DataSourceProperty
constructor
A new instance of DataSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_source_arn:, data_source_description: nil) ⇒ DataSourceProperty
Returns a new instance of DataSourceProperty.
654 655 656 657 658 659 |
# File 'open_search_service/cfn_application.rb', line 654 def initialize(data_source_arn:, data_source_description: nil) @data_source_arn = data_source_arn Jsii::Type.check_type(@data_source_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataSourceArn") @data_source_description = data_source_description Jsii::Type.check_type(@data_source_description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataSourceDescription") unless @data_source_description.nil? end |
Instance Attribute Details
#data_source_arn ⇒ String (readonly)
Amazon Resource Name (ARN) format.
665 666 667 |
# File 'open_search_service/cfn_application.rb', line 665 def data_source_arn @data_source_arn end |
#data_source_description ⇒ String? (readonly)
Detailed description of a data source.
670 671 672 |
# File 'open_search_service/cfn_application.rb', line 670 def data_source_description @data_source_description end |
Class Method Details
.jsii_properties ⇒ Object
672 673 674 675 676 677 |
# File 'open_search_service/cfn_application.rb', line 672 def self.jsii_properties { :data_source_arn => "dataSourceArn", :data_source_description => "dataSourceDescription", } end |
Instance Method Details
#to_jsii ⇒ Object
679 680 681 682 683 684 685 686 |
# File 'open_search_service/cfn_application.rb', line 679 def to_jsii result = {} result.merge!({ "dataSourceArn" => @data_source_arn, "dataSourceDescription" => @data_source_description, }) result.compact end |