ContinuousIntegrationScanConfigurationProperty Struct
Configuration settings for continuous integration scans that run automatically when code changes are made.
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 continuousIntegrationScanConfigurationProperty: inspectorv2.CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty = {
supportedEvents: ['supportedEvents'],
};
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
continuous_integration_scan_configuration_property = inspectorv2.CfnCodeSecurityScanConfiguration.ContinuousIntegrationScanConfigurationProperty(
supported_events=["supportedEvents"]
)
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.*;
ContinuousIntegrationScanConfigurationProperty continuousIntegrationScanConfigurationProperty = ContinuousIntegrationScanConfigurationProperty.builder()
.supportedEvents(List.of("supportedEvents"))
.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 continuousIntegrationScanConfigurationProperty = new ContinuousIntegrationScanConfigurationProperty {
SupportedEvents = new [] { "supportedEvents" }
};
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"
continuousIntegrationScanConfigurationProperty := &ContinuousIntegrationScanConfigurationProperty{
SupportedEvents: []*string{
jsii.String("supportedEvents"),
},
}
Properties
supportedEventsstring[]supported_eventstyping.List[str]supportedEventsList<String>SupportedEventsstring[]SupportedEvents*[]*stringrequired#The repository events that trigger continuous integration scans, such as pull requests or commits.