Class: AWSCDK::RTBFabric::CfnInboundExternalLink::ResponderErrorMaskingForHttpCodeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
rtb_fabric/cfn_inbound_external_link.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(action:, http_code:, logging_types:, response_logging_percentage: nil) ⇒ ResponderErrorMaskingForHttpCodeProperty

Returns a new instance of ResponderErrorMaskingForHttpCodeProperty.

Parameters:

  • action (String)
  • http_code (String)
  • logging_types (Array<String>)
  • response_logging_percentage (Numeric, nil) (defaults to: nil)


713
714
715
716
717
718
719
720
721
722
# File 'rtb_fabric/cfn_inbound_external_link.rb', line 713

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

#actionString (readonly)



726
727
728
# File 'rtb_fabric/cfn_inbound_external_link.rb', line 726

def action
  @action
end

#http_codeString (readonly)



729
730
731
# File 'rtb_fabric/cfn_inbound_external_link.rb', line 729

def http_code
  @http_code
end

#logging_typesArray<String> (readonly)



732
733
734
# File 'rtb_fabric/cfn_inbound_external_link.rb', line 732

def logging_types
  @logging_types
end

#response_logging_percentageNumeric? (readonly)



735
736
737
# File 'rtb_fabric/cfn_inbound_external_link.rb', line 735

def response_logging_percentage
  @response_logging_percentage
end

Class Method Details

.jsii_propertiesObject



737
738
739
740
741
742
743
744
# File 'rtb_fabric/cfn_inbound_external_link.rb', line 737

def self.jsii_properties
  {
    :action => "action",
    :http_code => "httpCode",
    :logging_types => "loggingTypes",
    :response_logging_percentage => "responseLoggingPercentage",
  }
end

Instance Method Details

#to_jsiiObject



746
747
748
749
750
751
752
753
754
755
# File 'rtb_fabric/cfn_inbound_external_link.rb', line 746

def to_jsii
  result = {}
  result.merge!({
    "action" => @action,
    "httpCode" => @http_code,
    "loggingTypes" => @logging_types,
    "responseLoggingPercentage" => @response_logging_percentage,
  })
  result.compact
end