Module: AWSCDK::EKS::IKubectlProvider
Overview
Imported KubectlProvider that can be used in place of the default one created by CDK.
Class Method Summary collapse
Instance Method Summary collapse
-
#handler_role ⇒ AWSCDK::IAM::IRole
The IAM execution role of the handler.
-
#node ⇒ Constructs::Node
The tree node.
-
#role_arn ⇒ String
The IAM role to assume in order to perform kubectl operations against this cluster.
-
#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
50 51 52 53 54 55 56 57 58 |
# File 'eks/i_kubectl_provider.rb', line 50 def self.jsii_overridable_methods { :node => { kind: :property, name: "node", is_optional: false }, :handler_role => { kind: :property, name: "handlerRole", is_optional: false }, :role_arn => { kind: :property, name: "roleArn", is_optional: false }, :service_token => { kind: :property, name: "serviceToken", is_optional: false }, :with => { kind: :method, name: "with", is_optional: false }, } end |
Instance Method Details
#handler_role ⇒ AWSCDK::IAM::IRole
The IAM execution role of the handler.
18 19 20 |
# File 'eks/i_kubectl_provider.rb', line 18 def handler_role() jsii_get_property("handlerRole") end |
#node ⇒ Constructs::Node
The tree node.
11 12 13 |
# File 'eks/i_kubectl_provider.rb', line 11 def node() jsii_get_property("node") end |
#role_arn ⇒ String
The IAM role to assume in order to perform kubectl operations against this cluster.
25 26 27 |
# File 'eks/i_kubectl_provider.rb', line 25 def role_arn() jsii_get_property("roleArn") end |
#service_token ⇒ String
The custom resource provider's service token.
32 33 34 |
# File 'eks/i_kubectl_provider.rb', line 32 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.
43 44 45 46 47 48 |
# File 'eks/i_kubectl_provider.rb', line 43 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 |