Class: AWSCDK::Elasticsearch::DomainAttributes Deprecated

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
elasticsearch/domain_attributes.rb

Overview

Deprecated.

use opensearchservice module instead

Reference to an Elasticsearch domain.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain_arn:, domain_endpoint:) ⇒ DomainAttributes

Returns a new instance of DomainAttributes.

Parameters:

  • domain_arn (String)

    The ARN of the Elasticsearch domain.

  • domain_endpoint (String)

    The domain endpoint of the Elasticsearch domain.



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_arnString (readonly)

Deprecated.

use opensearchservice module instead

The ARN of the Elasticsearch domain.

Returns:

  • (String)


22
23
24
# File 'elasticsearch/domain_attributes.rb', line 22

def domain_arn
  @domain_arn
end

#domain_endpointString (readonly)

Deprecated.

use opensearchservice module instead

The domain endpoint of the Elasticsearch domain.

Returns:

  • (String)


27
28
29
# File 'elasticsearch/domain_attributes.rb', line 27

def domain_endpoint
  @domain_endpoint
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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