Skip to content
v2.277.0

CodeReviewSettingsProperty Struct ​

Details of code review settings.

Example ​

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
# 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
// 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();
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
};
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 ​

controlsScanningboolean | IResolvablecontrols_scanningtyping.Union[bool, IResolvable]controlsScanningBooleanControlsScanningboolControlsScanninginterface{}required#
Whether Controls are utilized for code review analysis.
generalPurposeScanningboolean | IResolvablegeneral_purpose_scanningtyping.Union[bool, IResolvable]generalPurposeScanningBooleanGeneralPurposeScanningboolGeneralPurposeScanninginterface{}required#
Whether general purpose analysis is performed for code review.