Class CfnCodeSecurityScanConfiguration

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.inspectorv2.CfnCodeSecurityScanConfiguration
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-08-20T12:34:44.276Z") @Stability(Stable) public class CfnCodeSecurityScanConfiguration extends CfnResource implements IInspectable, ITaggableV2
Inspector CodeSecurityScanConfiguration resource schema.

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.*;
 CfnCodeSecurityScanConfiguration cfnCodeSecurityScanConfiguration = CfnCodeSecurityScanConfiguration.Builder.create(this, "MyCfnCodeSecurityScanConfiguration")
         .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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnCodeSecurityScanConfiguration

      protected CfnCodeSecurityScanConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnCodeSecurityScanConfiguration

      protected CfnCodeSecurityScanConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnCodeSecurityScanConfiguration

      @Stability(Stable) public CfnCodeSecurityScanConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnCodeSecurityScanConfigurationProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnCodeSecurityScanConfiguration

      @Stability(Stable) public CfnCodeSecurityScanConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      Code Security Scan Configuration ARN.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getConfiguration

      @Stability(Stable) @Nullable public Object getConfiguration()
    • setConfiguration

      @Stability(Stable) public void setConfiguration(@Nullable IResolvable value)
    • setConfiguration

      @Stability(Stable) public void setConfiguration(@Nullable CfnCodeSecurityScanConfiguration.CodeSecurityScanConfigurationProperty value)
    • getLevel

      @Stability(Stable) @Nullable public String getLevel()
    • setLevel

      @Stability(Stable) public void setLevel(@Nullable String value)
    • getName

      @Stability(Stable) @Nullable public String getName()
      Code Security Scan Configuration name.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      Code Security Scan Configuration name.
    • getScopeSettings

      @Stability(Stable) @Nullable public Object getScopeSettings()
    • setScopeSettings

      @Stability(Stable) public void setScopeSettings(@Nullable IResolvable value)
    • setScopeSettings

      @Stability(Stable) public void setScopeSettings(@Nullable CfnCodeSecurityScanConfiguration.ScopeSettingsProperty value)
    • getTags

      @Stability(Stable) @Nullable public Map<String,String> getTags()
    • setTags

      @Stability(Stable) public void setTags(@Nullable Map<String,String> value)