Class: AWSCDK::EKS::IngressLoadBalancerAddressOptions
- Inherits:
-
ServiceLoadBalancerAddressOptions
- Object
- ServiceLoadBalancerAddressOptions
- AWSCDK::EKS::IngressLoadBalancerAddressOptions
- Defined in:
- eks/ingress_load_balancer_address_options.rb
Overview
Options for fetching an IngressLoadBalancerAddress.
Instance Attribute Summary collapse
-
#namespace ⇒ String?
readonly
The namespace the service belongs to.
-
#timeout ⇒ AWSCDK::Duration?
readonly
Timeout for waiting on the load balancer address.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(namespace: nil, timeout: nil) ⇒ IngressLoadBalancerAddressOptions
constructor
A new instance of IngressLoadBalancerAddressOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(namespace: nil, timeout: nil) ⇒ IngressLoadBalancerAddressOptions
Returns a new instance of IngressLoadBalancerAddressOptions.
9 10 11 12 13 14 |
# File 'eks/ingress_load_balancer_address_options.rb', line 9 def initialize(namespace: nil, timeout: nil) @namespace = namespace Jsii::Type.check_type(@namespace, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "namespace") unless @namespace.nil? @timeout = timeout Jsii::Type.check_type(@timeout, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5EdXJhdGlvbiJ9")), "timeout") unless @timeout.nil? end |
Instance Attribute Details
#namespace ⇒ String? (readonly)
Note:
Default: 'default'
The namespace the service belongs to.
20 21 22 |
# File 'eks/ingress_load_balancer_address_options.rb', line 20 def namespace @namespace end |
#timeout ⇒ AWSCDK::Duration? (readonly)
Note:
Default: Duration.minutes(5)
Timeout for waiting on the load balancer address.
25 26 27 |
# File 'eks/ingress_load_balancer_address_options.rb', line 25 def timeout @timeout end |
Class Method Details
.jsii_properties ⇒ Object
27 28 29 30 31 32 |
# File 'eks/ingress_load_balancer_address_options.rb', line 27 def self.jsii_properties { :namespace => "namespace", :timeout => "timeout", } end |
Instance Method Details
#to_jsii ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'eks/ingress_load_balancer_address_options.rb', line 34 def to_jsii result = {} result.merge!(super) result.merge!({ "namespace" => @namespace, "timeout" => @timeout, }) result.compact end |