Class: AWSCDK::EKS::CfnAddon::NamespaceConfigProperty

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

Overview

The custom namespace configuration to use with the add-on.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(namespace:) ⇒ NamespaceConfigProperty

Returns a new instance of NamespaceConfigProperty.

Parameters:

  • namespace (String)

    The custom namespace for creating the add-on.



637
638
639
640
# File 'eks/cfn_addon.rb', line 637

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

Instance Attribute Details

#namespaceString (readonly)

The custom namespace for creating the add-on.



646
647
648
# File 'eks/cfn_addon.rb', line 646

def namespace
  @namespace
end

Class Method Details

.jsii_propertiesObject



648
649
650
651
652
# File 'eks/cfn_addon.rb', line 648

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

Instance Method Details

#to_jsiiObject



654
655
656
657
658
659
660
# File 'eks/cfn_addon.rb', line 654

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