Class: AWSCDK::Inspectorv2::CfnCodeSecurityScanConfiguration::ScopeSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Inspectorv2::CfnCodeSecurityScanConfiguration::ScopeSettingsProperty
- Defined in:
- inspectorv2/cfn_code_security_scan_configuration.rb
Overview
The scope settings that define which repositories will be scanned.
If the ScopeSetting parameter is ALL the scan configuration applies to all existing and future projects imported into Amazon Inspector .
Instance Attribute Summary collapse
-
#project_selection_scope ⇒ String?
readonly
The scope of projects to be selected for scanning within the integrated repositories.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(project_selection_scope: nil) ⇒ ScopeSettingsProperty
constructor
A new instance of ScopeSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(project_selection_scope: nil) ⇒ ScopeSettingsProperty
Returns a new instance of ScopeSettingsProperty.
703 704 705 706 |
# File 'inspectorv2/cfn_code_security_scan_configuration.rb', line 703 def initialize(project_selection_scope: nil) @project_selection_scope = project_selection_scope Jsii::Type.check_type(@project_selection_scope, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "projectSelectionScope") unless @project_selection_scope.nil? end |
Instance Attribute Details
#project_selection_scope ⇒ String? (readonly)
The scope of projects to be selected for scanning within the integrated repositories.
712 713 714 |
# File 'inspectorv2/cfn_code_security_scan_configuration.rb', line 712 def project_selection_scope @project_selection_scope end |
Class Method Details
.jsii_properties ⇒ Object
714 715 716 717 718 |
# File 'inspectorv2/cfn_code_security_scan_configuration.rb', line 714 def self.jsii_properties { :project_selection_scope => "projectSelectionScope", } end |
Instance Method Details
#to_jsii ⇒ Object
720 721 722 723 724 725 726 |
# File 'inspectorv2/cfn_code_security_scan_configuration.rb', line 720 def to_jsii result = {} result.merge!({ "projectSelectionScope" => @project_selection_scope, }) result.compact end |