Interface CfnCodeSecurityScanConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCodeSecurityScanConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:41.360Z")
@Stability(Stable)
public interface CfnCodeSecurityScanConfigurationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCodeSecurityScanConfiguration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.inspectorv2.*;
CfnCodeSecurityScanConfigurationProps cfnCodeSecurityScanConfigurationProps = CfnCodeSecurityScanConfigurationProps.builder()
.configuration(CodeSecurityScanConfigurationProperty.builder()
.ruleSetCategories(List.of("ruleSetCategories"))
// the properties below are optional
.continuousIntegrationScanConfiguration(ContinuousIntegrationScanConfigurationProperty.builder()
.supportedEvents(List.of("supportedEvents"))
.build())
.periodicScanConfiguration(PeriodicScanConfigurationProperty.builder()
.frequency("frequency")
.frequencyExpression("frequencyExpression")
.build())
.build())
.level("level")
.name("name")
.scopeSettings(ScopeSettingsProperty.builder()
.projectSelectionScope("projectSelectionScope")
.build())
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCodeSecurityScanConfigurationPropsstatic final classAn implementation forCfnCodeSecurityScanConfigurationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe configuration settings for the code security scan.default StringgetLevel()The security level for the scan configuration.default StringgetName()The name of the scan configuration.default ObjectThe scope settings that define which repositories will be scanned.getTags()The tags to apply to the scan configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfiguration
The configuration settings for the code security scan.Returns union: either
IResolvableorCfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty- See Also:
-
getLevel
The security level for the scan configuration.- See Also:
-
getName
The name of the scan configuration.- See Also:
-
getScopeSettings
The scope settings that define which repositories will be scanned.Returns union: either
IResolvableorCfnCodeSecurityScanConfiguration.ScopeSettingsProperty- See Also:
-
getTags
The tags to apply to the scan configuration.- See Also:
-
builder
-