# CodeReviewSettingsProperty

Details of code review settings.

- Source: Generated at build time
- Type last changed: v2.249.0 · 13 Apr 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const codeReviewSettingsProperty: securityagent.CfnAgentSpace.CodeReviewSettingsProperty = {
  controlsScanning: false,
  generalPurposeScanning: false,
};
```

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_securityagent as securityagent

code_review_settings_property = securityagent.CfnAgentSpace.CodeReviewSettingsProperty(
    controls_scanning=False,
    general_purpose_scanning=False
)
```

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.securityagent.*;

CodeReviewSettingsProperty codeReviewSettingsProperty = CodeReviewSettingsProperty.builder()
        .controlsScanning(false)
        .generalPurposeScanning(false)
        .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.SecurityAgent;

var codeReviewSettingsProperty = new CodeReviewSettingsProperty {
    ControlsScanning = false,
    GeneralPurposeScanning = false
};
```

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"

codeReviewSettingsProperty := &CodeReviewSettingsProperty{
	ControlsScanning: jsii.Boolean(false),
	GeneralPurposeScanning: jsii.Boolean(false),
}
```

## Properties

- `controlsScanning`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Whether Controls are utilized for code review analysis.

- `generalPurposeScanning`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Whether general purpose analysis is performed for code review.
