interface CfnCisScanConfigurationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.InspectorV2.CfnCisScanConfigurationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsinspectorv2#CfnCisScanConfigurationProps |
![]() | software.amazon.awscdk.services.inspectorv2.CfnCisScanConfigurationProps |
![]() | aws_cdk.aws_inspectorv2.CfnCisScanConfigurationProps |
![]() | aws-cdk-lib » aws_inspectorv2 » CfnCisScanConfigurationProps |
Properties for defining a CfnCisScanConfiguration
.
Example
// 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';
declare const oneTime: any;
const cfnCisScanConfigurationProps: inspectorv2.CfnCisScanConfigurationProps = {
scanName: 'scanName',
schedule: {
daily: {
startTime: {
timeOfDay: 'timeOfDay',
timeZone: 'timeZone',
},
},
monthly: {
day: 'day',
startTime: {
timeOfDay: 'timeOfDay',
timeZone: 'timeZone',
},
},
oneTime: oneTime,
weekly: {
days: ['days'],
startTime: {
timeOfDay: 'timeOfDay',
timeZone: 'timeZone',
},
},
},
securityLevel: 'securityLevel',
targets: {
accountIds: ['accountIds'],
targetResourceTags: {
targetResourceTagsKey: ['targetResourceTags'],
},
},
// the properties below are optional
tags: {
tagsKey: 'tags',
},
};
Properties
Name | Type | Description |
---|---|---|
scan | string | The name of the CIS scan configuration. |
schedule | IResolvable | Schedule | The CIS scan configuration's schedule. |
security | string | The CIS scan configuration's CIS Benchmark level. |
targets | IResolvable | Cis | The CIS scan configuration's targets. |
tags? | { [string]: string } | The CIS scan configuration's tags. |
scanName
Type:
string
The name of the CIS scan configuration.
schedule
Type:
IResolvable
|
Schedule
The CIS scan configuration's schedule.
securityLevel
Type:
string
The CIS scan configuration's CIS Benchmark level.
targets
Type:
IResolvable
|
Cis
The CIS scan configuration's targets.
tags?
Type:
{ [string]: string }
(optional)
The CIS scan configuration's tags.