Skip to content
v2.277.0

ScopeSettingsProperty Struct ​

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 .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_inspectorv2 as inspectorv2 } from 'aws-cdk-lib';
const scopeSettingsProperty: inspectorv2.CfnCodeSecurityScanConfiguration.ScopeSettingsProperty = {
  projectSelectionScope: 'projectSelectionScope',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_inspectorv2 as inspectorv2

scope_settings_property = inspectorv2.CfnCodeSecurityScanConfiguration.ScopeSettingsProperty(
    project_selection_scope="projectSelectionScope"
)
java
// 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.*;

ScopeSettingsProperty scopeSettingsProperty = ScopeSettingsProperty.builder()
        .projectSelectionScope("projectSelectionScope")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.InspectorV2;

var scopeSettingsProperty = new ScopeSettingsProperty {
    ProjectSelectionScope = "projectSelectionScope"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

scopeSettingsProperty := &ScopeSettingsProperty{
	ProjectSelectionScope: jsii.String("projectSelectionScope"),
}

Properties ​

projectSelectionScopeoptionalstringproject_selection_scopeoptionalstrprojectSelectionScopeoptionalStringProjectSelectionScopeoptionalstringProjectSelectionScopeoptional*string #
The scope of projects to be selected for scanning within the integrated repositories.