Class: AWSCDK::CodePipelineActions::InspectorScanVariables
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodePipelineActions::InspectorScanVariables
- Defined in:
- code_pipeline_actions/inspector_scan_variables.rb
Overview
The CodePipeline variables emitted by the InspectorScan Action.
Instance Attribute Summary collapse
-
#highest_scanned_severity ⇒ String
readonly
The highest severity output from the scan.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(highest_scanned_severity:) ⇒ InspectorScanVariables
constructor
A new instance of InspectorScanVariables.
- #to_jsii ⇒ Object
Constructor Details
#initialize(highest_scanned_severity:) ⇒ InspectorScanVariables
Returns a new instance of InspectorScanVariables.
8 9 10 11 |
# File 'code_pipeline_actions/inspector_scan_variables.rb', line 8 def initialize(highest_scanned_severity:) @highest_scanned_severity = highest_scanned_severity Jsii::Type.check_type(@highest_scanned_severity, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "highestScannedSeverity") end |
Instance Attribute Details
#highest_scanned_severity ⇒ String (readonly)
The highest severity output from the scan.
Valid values are medium | high | critical.
18 19 20 |
# File 'code_pipeline_actions/inspector_scan_variables.rb', line 18 def highest_scanned_severity @highest_scanned_severity end |
Class Method Details
.jsii_properties ⇒ Object
20 21 22 23 24 |
# File 'code_pipeline_actions/inspector_scan_variables.rb', line 20 def self.jsii_properties { :highest_scanned_severity => "highestScannedSeverity", } end |
Instance Method Details
#to_jsii ⇒ Object
26 27 28 29 30 31 32 |
# File 'code_pipeline_actions/inspector_scan_variables.rb', line 26 def to_jsii result = {} result.merge!({ "highestScannedSeverity" => @highest_scanned_severity, }) result.compact end |