# ScopeSettingsProperty

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 .

- Source: Generated at build time
- Type last changed: v2.212.0 · 20 Aug 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `projectSelectionScope`: string — The scope of projects to be selected for scanning within the integrated repositories.
