Class: AWSCDK::OpenSearchService::DomainAttributes
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::OpenSearchService::DomainAttributes
- Defined in:
- open_search_service/domain_attributes.rb
Overview
Reference to an Amazon OpenSearch Service domain.
Instance Attribute Summary collapse
-
#domain_arn ⇒ String
readonly
The ARN of the Amazon OpenSearch Service domain.
-
#domain_endpoint ⇒ String
readonly
The domain endpoint of the Amazon OpenSearch Service domain.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_arn:, domain_endpoint:) ⇒ DomainAttributes
constructor
A new instance of DomainAttributes.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_arn:, domain_endpoint:) ⇒ DomainAttributes
Returns a new instance of DomainAttributes.
9 10 11 12 13 14 |
# File 'open_search_service/domain_attributes.rb', line 9 def initialize(domain_arn:, domain_endpoint:) @domain_arn = domain_arn Jsii::Type.check_type(@domain_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainArn") @domain_endpoint = domain_endpoint Jsii::Type.check_type(@domain_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainEndpoint") end |
Instance Attribute Details
#domain_arn ⇒ String (readonly)
The ARN of the Amazon OpenSearch Service domain.
19 20 21 |
# File 'open_search_service/domain_attributes.rb', line 19 def domain_arn @domain_arn end |
#domain_endpoint ⇒ String (readonly)
The domain endpoint of the Amazon OpenSearch Service domain.
23 24 25 |
# File 'open_search_service/domain_attributes.rb', line 23 def domain_endpoint @domain_endpoint end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'open_search_service/domain_attributes.rb', line 25 def self.jsii_properties { :domain_arn => "domainArn", :domain_endpoint => "domainEndpoint", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'open_search_service/domain_attributes.rb', line 32 def to_jsii result = {} result.merge!({ "domainArn" => @domain_arn, "domainEndpoint" => @domain_endpoint, }) result.compact end |