Class: AWSCDK::Elasticsearch::DomainAttributes Deprecated
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Elasticsearch::DomainAttributes
- Defined in:
- elasticsearch/domain_attributes.rb
Overview
Deprecated.
use opensearchservice module instead
Reference to an Elasticsearch domain.
Instance Attribute Summary collapse
-
#domain_arn ⇒ String
readonly
deprecated
Deprecated.
use opensearchservice module instead
-
#domain_endpoint ⇒ String
readonly
deprecated
Deprecated.
use opensearchservice module instead
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.
11 12 13 14 15 16 |
# File 'elasticsearch/domain_attributes.rb', line 11 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)
Deprecated.
use opensearchservice module instead
The ARN of the Elasticsearch domain.
22 23 24 |
# File 'elasticsearch/domain_attributes.rb', line 22 def domain_arn @domain_arn end |
#domain_endpoint ⇒ String (readonly)
Deprecated.
use opensearchservice module instead
The domain endpoint of the Elasticsearch domain.
27 28 29 |
# File 'elasticsearch/domain_attributes.rb', line 27 def domain_endpoint @domain_endpoint end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'elasticsearch/domain_attributes.rb', line 29 def self.jsii_properties { :domain_arn => "domainArn", :domain_endpoint => "domainEndpoint", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'elasticsearch/domain_attributes.rb', line 36 def to_jsii result = {} result.merge!({ "domainArn" => @domain_arn, "domainEndpoint" => @domain_endpoint, }) result.compact end |