Class: AWSCDK::EKS::CfnAddon::NamespaceConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnAddon::NamespaceConfigProperty
- Defined in:
- eks/cfn_addon.rb
Overview
The custom namespace configuration to use with the add-on.
Instance Attribute Summary collapse
-
#namespace ⇒ String
readonly
The custom namespace for creating the add-on.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(namespace:) ⇒ NamespaceConfigProperty
constructor
A new instance of NamespaceConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(namespace:) ⇒ NamespaceConfigProperty
Returns a new instance of NamespaceConfigProperty.
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
#namespace ⇒ String (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_properties ⇒ Object
648 649 650 651 652 |
# File 'eks/cfn_addon.rb', line 648 def self.jsii_properties { :namespace => "namespace", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |