interface CfnCisScanConfigurationProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.InspectorV2.CfnCisScanConfigurationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsinspectorv2#CfnCisScanConfigurationProps |
Java | software.amazon.awscdk.services.inspectorv2.CfnCisScanConfigurationProps |
Python | aws_cdk.aws_inspectorv2.CfnCisScanConfigurationProps |
TypeScript | 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',
tags: {
tagsKey: 'tags',
},
targets: {
accountIds: ['accountIds'],
// the properties below are optional
targetResourceTags: {
targetResourceTagsKey: ['targetResourceTags'],
},
},
};
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. |
tags? | { [string]: string } | The CIS scan configuration's tags. |
targets? | IResolvable | Cis | The CIS scan configuration's targets. |
scanName?
Type:
string
(optional)
The name of the CIS scan configuration.
schedule?
Type:
IResolvable
|
Schedule
(optional)
The CIS scan configuration's schedule.
securityLevel?
Type:
string
(optional)
The CIS scan configuration's CIS Benchmark level.
tags?
Type:
{ [string]: string }
(optional)
The CIS scan configuration's tags.
targets?
Type:
IResolvable
|
Cis
(optional)
The CIS scan configuration's targets.