Class: AWSCDK::Interfaces::AWSEKS::AccessEntryReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSEKS::AccessEntryReference
- Defined in:
- interfaces/awseks/access_entry_reference.rb
Overview
A reference to a AccessEntry resource.
Instance Attribute Summary collapse
-
#access_entry_arn ⇒ String
readonly
The ARN of the AccessEntry resource.
-
#cluster_name ⇒ String
readonly
The ClusterName of the AccessEntry resource.
-
#principal_arn ⇒ String
readonly
The PrincipalArn of the AccessEntry resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(access_entry_arn:, cluster_name:, principal_arn:) ⇒ AccessEntryReference
constructor
A new instance of AccessEntryReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(access_entry_arn:, cluster_name:, principal_arn:) ⇒ AccessEntryReference
Returns a new instance of AccessEntryReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/awseks/access_entry_reference.rb', line 10 def initialize(access_entry_arn:, cluster_name:, principal_arn:) @access_entry_arn = access_entry_arn Jsii::Type.check_type(@access_entry_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessEntryArn") @cluster_name = cluster_name Jsii::Type.check_type(@cluster_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterName") @principal_arn = principal_arn Jsii::Type.check_type(@principal_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "principalArn") end |
Instance Attribute Details
#access_entry_arn ⇒ String (readonly)
The ARN of the AccessEntry resource.
22 23 24 |
# File 'interfaces/awseks/access_entry_reference.rb', line 22 def access_entry_arn @access_entry_arn end |
#cluster_name ⇒ String (readonly)
The ClusterName of the AccessEntry resource.
26 27 28 |
# File 'interfaces/awseks/access_entry_reference.rb', line 26 def cluster_name @cluster_name end |
#principal_arn ⇒ String (readonly)
The PrincipalArn of the AccessEntry resource.
30 31 32 |
# File 'interfaces/awseks/access_entry_reference.rb', line 30 def principal_arn @principal_arn end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/awseks/access_entry_reference.rb', line 32 def self.jsii_properties { :access_entry_arn => "accessEntryArn", :cluster_name => "clusterName", :principal_arn => "principalArn", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/awseks/access_entry_reference.rb', line 40 def to_jsii result = {} result.merge!({ "accessEntryArn" => @access_entry_arn, "clusterName" => @cluster_name, "principalArn" => @principal_arn, }) result.compact end |