Class: AWSCDK::APS::CfnWorkspace::LoggingFilterProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
aps/cfn_workspace.rb

Overview

Filtering criteria that determine which queries are logged.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(qsp_threshold:) ⇒ LoggingFilterProperty

Returns a new instance of LoggingFilterProperty.

Parameters:

  • qsp_threshold (Numeric)

    The Query Samples Processed (QSP) threshold above which queries will be logged.



862
863
864
865
# File 'aps/cfn_workspace.rb', line 862

def initialize(qsp_threshold:)
  @qsp_threshold = qsp_threshold
  Jsii::Type.check_type(@qsp_threshold, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "qspThreshold")
end

Instance Attribute Details

#qsp_thresholdNumeric (readonly)

The Query Samples Processed (QSP) threshold above which queries will be logged.

Queries processing more samples than this threshold will be captured in logs.



873
874
875
# File 'aps/cfn_workspace.rb', line 873

def qsp_threshold
  @qsp_threshold
end

Class Method Details

.jsii_propertiesObject



875
876
877
878
879
# File 'aps/cfn_workspace.rb', line 875

def self.jsii_properties
  {
    :qsp_threshold => "qspThreshold",
  }
end

Instance Method Details

#to_jsiiObject



881
882
883
884
885
886
887
# File 'aps/cfn_workspace.rb', line 881

def to_jsii
  result = {}
  result.merge!({
    "qspThreshold" => @qsp_threshold,
  })
  result.compact
end