Class: AWSCDK::EKS::AWSAuthProps

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

Overview

Configuration props for the AwsAuth construct.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cluster:) ⇒ AWSAuthProps

Returns a new instance of AWSAuthProps.

Parameters:



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

#clusterAWSCDK::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_propertiesObject



20
21
22
23
24
# File 'eks/aws_auth_props.rb', line 20

def self.jsii_properties
  {
    :cluster => "cluster",
  }
end

Instance Method Details

#to_jsiiObject



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