Class: AWSCDK::RTBFabric::CfnResponderGateway::HealthCheckConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RTBFabric::CfnResponderGateway::HealthCheckConfigProperty
- Defined in:
- rtb_fabric/cfn_responder_gateway.rb
Overview
Instance Attribute Summary collapse
- #healthy_threshold_count ⇒ Numeric? readonly
- #interval_seconds ⇒ Numeric? readonly
- #path ⇒ String readonly
- #port ⇒ Numeric readonly
- #protocol ⇒ String? readonly
- #status_code_matcher ⇒ String? readonly
- #timeout_ms ⇒ Numeric? readonly
- #unhealthy_threshold_count ⇒ Numeric? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path:, port:, healthy_threshold_count: nil, interval_seconds: nil, protocol: nil, status_code_matcher: nil, timeout_ms: nil, unhealthy_threshold_count: nil) ⇒ HealthCheckConfigProperty
constructor
A new instance of HealthCheckConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(path:, port:, healthy_threshold_count: nil, interval_seconds: nil, protocol: nil, status_code_matcher: nil, timeout_ms: nil, unhealthy_threshold_count: nil) ⇒ HealthCheckConfigProperty
Returns a new instance of HealthCheckConfigProperty.
845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 845 def initialize(path:, port:, healthy_threshold_count: nil, interval_seconds: nil, protocol: nil, status_code_matcher: nil, timeout_ms: nil, unhealthy_threshold_count: nil) @path = path Jsii::Type.check_type(@path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "path") @port = port Jsii::Type.check_type(@port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "port") @healthy_threshold_count = healthy_threshold_count Jsii::Type.check_type(@healthy_threshold_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "healthyThresholdCount") unless @healthy_threshold_count.nil? @interval_seconds = interval_seconds Jsii::Type.check_type(@interval_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "intervalSeconds") unless @interval_seconds.nil? @protocol = protocol Jsii::Type.check_type(@protocol, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "protocol") unless @protocol.nil? @status_code_matcher = status_code_matcher Jsii::Type.check_type(@status_code_matcher, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "statusCodeMatcher") unless @status_code_matcher.nil? @timeout_ms = timeout_ms Jsii::Type.check_type(@timeout_ms, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "timeoutMs") unless @timeout_ms.nil? @unhealthy_threshold_count = unhealthy_threshold_count Jsii::Type.check_type(@unhealthy_threshold_count, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "unhealthyThresholdCount") unless @unhealthy_threshold_count.nil? end |
Instance Attribute Details
#healthy_threshold_count ⇒ Numeric? (readonly)
872 873 874 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 872 def healthy_threshold_count @healthy_threshold_count end |
#interval_seconds ⇒ Numeric? (readonly)
875 876 877 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 875 def interval_seconds @interval_seconds end |
#path ⇒ String (readonly)
866 867 868 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 866 def path @path end |
#port ⇒ Numeric (readonly)
869 870 871 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 869 def port @port end |
#protocol ⇒ String? (readonly)
878 879 880 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 878 def protocol @protocol end |
#status_code_matcher ⇒ String? (readonly)
881 882 883 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 881 def status_code_matcher @status_code_matcher end |
#timeout_ms ⇒ Numeric? (readonly)
884 885 886 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 884 def timeout_ms @timeout_ms end |
#unhealthy_threshold_count ⇒ Numeric? (readonly)
887 888 889 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 887 def unhealthy_threshold_count @unhealthy_threshold_count end |
Class Method Details
.jsii_properties ⇒ Object
889 890 891 892 893 894 895 896 897 898 899 900 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 889 def self.jsii_properties { :path => "path", :port => "port", :healthy_threshold_count => "healthyThresholdCount", :interval_seconds => "intervalSeconds", :protocol => "protocol", :status_code_matcher => "statusCodeMatcher", :timeout_ms => "timeoutMs", :unhealthy_threshold_count => "unhealthyThresholdCount", } end |
Instance Method Details
#to_jsii ⇒ Object
902 903 904 905 906 907 908 909 910 911 912 913 914 915 |
# File 'rtb_fabric/cfn_responder_gateway.rb', line 902 def to_jsii result = {} result.merge!({ "path" => @path, "port" => @port, "healthyThresholdCount" => @healthy_threshold_count, "intervalSeconds" => @interval_seconds, "protocol" => @protocol, "statusCodeMatcher" => @status_code_matcher, "timeoutMs" => @timeout_ms, "unhealthyThresholdCount" => @unhealthy_threshold_count, }) result.compact end |