Class: AWSCDK::EKS::AWSAuthProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::AWSAuthProps
- Defined in:
- eks/aws_auth_props.rb
Overview
Configuration props for the AwsAuth construct.
Instance Attribute Summary collapse
-
#cluster ⇒ AWSCDK::EKS::Cluster
readonly
The EKS cluster to apply this configuration to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cluster:) ⇒ AWSAuthProps
constructor
A new instance of AWSAuthProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cluster:) ⇒ AWSAuthProps
Returns a new instance of AWSAuthProps.
8 9 10 11 |
# File 'eks/aws_auth_props.rb', line 8 def initialize(cluster:) @cluster = cluster Jsii::Type.check_type(@cluster, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWtzLkNsdXN0ZXIifQ==")), "cluster") end |
Instance Attribute Details
#cluster ⇒ AWSCDK::EKS::Cluster (readonly)
The EKS cluster to apply this configuration to.
[disable-awslint:ref-via-interface]
18 19 20 |
# File 'eks/aws_auth_props.rb', line 18 def cluster @cluster end |
Class Method Details
.jsii_properties ⇒ Object
20 21 22 23 24 |
# File 'eks/aws_auth_props.rb', line 20 def self.jsii_properties { :cluster => "cluster", } end |
Instance Method Details
#to_jsii ⇒ Object
26 27 28 29 30 31 32 |
# File 'eks/aws_auth_props.rb', line 26 def to_jsii result = {} result.merge!({ "cluster" => @cluster, }) result.compact end |