Module: AWSCDK::EKSv2::IKubectlProvider
- Includes:
- Constructs::IConstruct
- Included in:
- KubectlProvider
- Defined in:
- ek_sv2/i_kubectl_provider.rb
Overview
Imported KubectlProvider that can be used in place of the default one created by CDK.
Class Method Summary collapse
Instance Method Summary collapse
-
#node ⇒ Constructs::Node
The tree node.
-
#role ⇒ AWSCDK::IAM::IRole?
The role of the provider lambda function.
-
#service_token ⇒ String
The custom resource provider's service token.
-
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Class Method Details
.jsii_overridable_methods ⇒ Object
46 47 48 49 50 51 52 53 |
# File 'ek_sv2/i_kubectl_provider.rb', line 46 def self.jsii_overridable_methods { :node => { kind: :property, name: "node", is_optional: false }, :service_token => { kind: :property, name: "serviceToken", is_optional: false }, :role => { kind: :property, name: "role", is_optional: true }, :with => { kind: :method, name: "with", is_optional: false }, } end |
Instance Method Details
#node ⇒ Constructs::Node
The tree node.
11 12 13 |
# File 'ek_sv2/i_kubectl_provider.rb', line 11 def node() jsii_get_property("node") end |
#role ⇒ AWSCDK::IAM::IRole?
The role of the provider lambda function.
If undefined, you cannot use this provider to deploy helm charts.
28 29 30 |
# File 'ek_sv2/i_kubectl_provider.rb', line 28 def role() jsii_get_property("role") end |
#service_token ⇒ String
The custom resource provider's service token.
18 19 20 |
# File 'ek_sv2/i_kubectl_provider.rb', line 18 def service_token() jsii_get_property("serviceToken") end |
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.
39 40 41 42 43 44 |
# File 'ek_sv2/i_kubectl_provider.rb', line 39 def with(*mixins) mixins.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLklNaXhpbiJ9")), "mixins[#{index}]") end jsii_call_method("with", [*mixins]) end |