Class: AWSCDK::Interfaces::AWSEKS::CapabilityReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awseks/capability_reference.rb

Overview

A reference to a Capability resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(capability_arn:) ⇒ CapabilityReference

Returns a new instance of CapabilityReference.

Parameters:

  • capability_arn (String)

    The Arn of the Capability resource.



8
9
10
11
# File 'interfaces/awseks/capability_reference.rb', line 8

def initialize(capability_arn:)
  @capability_arn = capability_arn
  Jsii::Type.check_type(@capability_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "capabilityArn")
end

Instance Attribute Details

#capability_arnString (readonly)

The Arn of the Capability resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/awseks/capability_reference.rb', line 16

def capability_arn
  @capability_arn
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/awseks/capability_reference.rb', line 18

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

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/awseks/capability_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "capabilityArn" => @capability_arn,
  })
  result.compact
end