Class: AWSCDK::OpenSearchService::CfnApplication::AppConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::OpenSearchService::CfnApplication::AppConfigProperty
- Defined in:
- open_search_service/cfn_application.rb
Overview
Configuration settings for an OpenSearch application.
For more information, see Using the OpenSearch user interface in Amazon OpenSearch Service .
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The configuration item to set, such as the admin role for the OpenSearch application.
-
#value ⇒ String
readonly
The value assigned to the configuration key, such as an IAM user ARN.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ AppConfigProperty
constructor
A new instance of AppConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ AppConfigProperty
Returns a new instance of AppConfigProperty.
611 612 613 614 615 616 |
# File 'open_search_service/cfn_application.rb', line 611 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
The configuration item to set, such as the admin role for the OpenSearch application.
622 623 624 |
# File 'open_search_service/cfn_application.rb', line 622 def key @key end |
#value ⇒ String (readonly)
The value assigned to the configuration key, such as an IAM user ARN.
627 628 629 |
# File 'open_search_service/cfn_application.rb', line 627 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
629 630 631 632 633 634 |
# File 'open_search_service/cfn_application.rb', line 629 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
636 637 638 639 640 641 642 643 |
# File 'open_search_service/cfn_application.rb', line 636 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |