Class: AWSCDK::RTBFabric::CfnOutboundExternalLink::ResponderErrorMaskingForHttpCodeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RTBFabric::CfnOutboundExternalLink::ResponderErrorMaskingForHttpCodeProperty
- Defined in:
- rtb_fabric/cfn_outbound_external_link.rb
Overview
Instance Attribute Summary collapse
- #action ⇒ String readonly
- #http_code ⇒ String readonly
- #logging_types ⇒ Array<String> readonly
- #response_logging_percentage ⇒ Numeric? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action:, http_code:, logging_types:, response_logging_percentage: nil) ⇒ ResponderErrorMaskingForHttpCodeProperty
constructor
A new instance of ResponderErrorMaskingForHttpCodeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(action:, http_code:, logging_types:, response_logging_percentage: nil) ⇒ ResponderErrorMaskingForHttpCodeProperty
Returns a new instance of ResponderErrorMaskingForHttpCodeProperty.
718 719 720 721 722 723 724 725 726 727 |
# File 'rtb_fabric/cfn_outbound_external_link.rb', line 718 def initialize(action:, http_code:, logging_types:, response_logging_percentage: nil) @action = action Jsii::Type.check_type(@action, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "action") @http_code = http_code Jsii::Type.check_type(@http_code, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "httpCode") @logging_types = logging_types Jsii::Type.check_type(@logging_types, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "loggingTypes") @response_logging_percentage = response_logging_percentage Jsii::Type.check_type(@response_logging_percentage, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "responseLoggingPercentage") unless @response_logging_percentage.nil? end |
Instance Attribute Details
#action ⇒ String (readonly)
731 732 733 |
# File 'rtb_fabric/cfn_outbound_external_link.rb', line 731 def action @action end |
#http_code ⇒ String (readonly)
734 735 736 |
# File 'rtb_fabric/cfn_outbound_external_link.rb', line 734 def http_code @http_code end |
#logging_types ⇒ Array<String> (readonly)
737 738 739 |
# File 'rtb_fabric/cfn_outbound_external_link.rb', line 737 def logging_types @logging_types end |
#response_logging_percentage ⇒ Numeric? (readonly)
740 741 742 |
# File 'rtb_fabric/cfn_outbound_external_link.rb', line 740 def response_logging_percentage @response_logging_percentage end |
Class Method Details
.jsii_properties ⇒ Object
742 743 744 745 746 747 748 749 |
# File 'rtb_fabric/cfn_outbound_external_link.rb', line 742 def self.jsii_properties { :action => "action", :http_code => "httpCode", :logging_types => "loggingTypes", :response_logging_percentage => "responseLoggingPercentage", } end |
Instance Method Details
#to_jsii ⇒ Object
751 752 753 754 755 756 757 758 759 760 |
# File 'rtb_fabric/cfn_outbound_external_link.rb', line 751 def to_jsii result = {} result.merge!({ "action" => @action, "httpCode" => @http_code, "loggingTypes" => @logging_types, "responseLoggingPercentage" => @response_logging_percentage, }) result.compact end |