Class: AWSCDK::EKSv2::AccessEntryAttributes
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKSv2::AccessEntryAttributes
- Defined in:
- ek_sv2/access_entry_attributes.rb
Overview
Represents the attributes of an access entry.
Instance Attribute Summary collapse
-
#access_entry_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the access entry.
-
#access_entry_name ⇒ String
readonly
The name of the access entry.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(access_entry_arn:, access_entry_name:) ⇒ AccessEntryAttributes
constructor
A new instance of AccessEntryAttributes.
- #to_jsii ⇒ Object
Constructor Details
#initialize(access_entry_arn:, access_entry_name:) ⇒ AccessEntryAttributes
Returns a new instance of AccessEntryAttributes.
9 10 11 12 13 14 |
# File 'ek_sv2/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_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the access entry.
19 20 21 |
# File 'ek_sv2/access_entry_attributes.rb', line 19 def access_entry_arn @access_entry_arn end |
#access_entry_name ⇒ String (readonly)
The name of the access entry.
23 24 25 |
# File 'ek_sv2/access_entry_attributes.rb', line 23 def access_entry_name @access_entry_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'ek_sv2/access_entry_attributes.rb', line 25 def self.jsii_properties { :access_entry_arn => "accessEntryArn", :access_entry_name => "accessEntryName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'ek_sv2/access_entry_attributes.rb', line 32 def to_jsii result = {} result.merge!({ "accessEntryArn" => @access_entry_arn, "accessEntryName" => @access_entry_name, }) result.compact end |