Skip to content
v2.277.0

PeriodicScanConfigurationProperty Struct ​

Configuration settings for periodic scans that run on a scheduled basis.

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 periodicScanConfigurationProperty: inspectorv2.CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty = {
  frequency: 'frequency',
  frequencyExpression: 'frequencyExpression',
};
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

periodic_scan_configuration_property = inspectorv2.CfnCodeSecurityScanConfiguration.PeriodicScanConfigurationProperty(
    frequency="frequency",
    frequency_expression="frequencyExpression"
)
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.*;

PeriodicScanConfigurationProperty periodicScanConfigurationProperty = PeriodicScanConfigurationProperty.builder()
        .frequency("frequency")
        .frequencyExpression("frequencyExpression")
        .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 periodicScanConfigurationProperty = new PeriodicScanConfigurationProperty {
    Frequency = "frequency",
    FrequencyExpression = "frequencyExpression"
};
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"

periodicScanConfigurationProperty := &PeriodicScanConfigurationProperty{
	Frequency: jsii.String("frequency"),
	FrequencyExpression: jsii.String("frequencyExpression"),
}

Properties ​

frequencyoptionalstringfrequencyoptionalstrfrequencyoptionalStringFrequencyoptionalstringFrequencyoptional*string #
The frequency at which periodic scans are performed (such as weekly or monthly).

If you don't provide the frequencyExpression Amazon Inspector chooses day for the scan to run. If you provide the frequencyExpression , the schedule must match the specified frequency .

frequencyExpressionoptionalstringfrequency_expressionoptionalstrfrequencyExpressionoptionalStringFrequencyExpressionoptionalstringFrequencyExpressionoptional*string #
The schedule expression for periodic scans, in cron format.