Class: AWSCDK::EKS::AccessEntryAttributes

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
eks/access_entry_attributes.rb

Overview

Represents the attributes of an access entry.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(access_entry_arn:, access_entry_name:) ⇒ AccessEntryAttributes

Returns a new instance of AccessEntryAttributes.

Parameters:

  • access_entry_arn (String)

    The Amazon Resource Name (ARN) of the access entry.

  • access_entry_name (String)

    The name of the access entry.



9
10
11
12
13
14
# File 'eks/access_entry_attributes.rb', line 9

def initialize(access_entry_arn:, access_entry_name:)
  @access_entry_arn = access_entry_arn
  Jsii::Type.check_type(@access_entry_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessEntryArn")
  @access_entry_name = access_entry_name
  Jsii::Type.check_type(@access_entry_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessEntryName")
end

Instance Attribute Details

#access_entry_arnString (readonly)

The Amazon Resource Name (ARN) of the access entry.

Returns:

  • (String)


19
20
21
# File 'eks/access_entry_attributes.rb', line 19

def access_entry_arn
  @access_entry_arn
end

#access_entry_nameString (readonly)

The name of the access entry.

Returns:

  • (String)


23
24
25
# File 'eks/access_entry_attributes.rb', line 23

def access_entry_name
  @access_entry_name
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'eks/access_entry_attributes.rb', line 25

def self.jsii_properties
  {
    :access_entry_arn => "accessEntryArn",
    :access_entry_name => "accessEntryName",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'eks/access_entry_attributes.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "accessEntryArn" => @access_entry_arn,
    "accessEntryName" => @access_entry_name,
  })
  result.compact
end