CfnCisScanConfigurationProps
- class aws_cdk.aws_inspectorv2.CfnCisScanConfigurationProps(*, scan_name, schedule, security_level, targets, tags=None)
Bases:
object
Properties for defining a
CfnCisScanConfiguration
.- Parameters:
scan_name (
str
) – The name of the CIS scan configuration.schedule (
Union
[IResolvable
,ScheduleProperty
,Dict
[str
,Any
]]) – The CIS scan configuration’s schedule.security_level (
str
) – The CIS scan configuration’s CIS Benchmark level.targets (
Union
[IResolvable
,CisTargetsProperty
,Dict
[str
,Any
]]) – The CIS scan configuration’s targets.tags (
Optional
[Mapping
[str
,str
]]) – The CIS scan configuration’s tags.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# 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 # one_time: Any cfn_cis_scan_configuration_props = inspectorv2.CfnCisScanConfigurationProps( scan_name="scanName", schedule=inspectorv2.CfnCisScanConfiguration.ScheduleProperty( daily=inspectorv2.CfnCisScanConfiguration.DailyScheduleProperty( start_time=inspectorv2.CfnCisScanConfiguration.TimeProperty( time_of_day="timeOfDay", time_zone="timeZone" ) ), monthly=inspectorv2.CfnCisScanConfiguration.MonthlyScheduleProperty( day="day", start_time=inspectorv2.CfnCisScanConfiguration.TimeProperty( time_of_day="timeOfDay", time_zone="timeZone" ) ), one_time=one_time, weekly=inspectorv2.CfnCisScanConfiguration.WeeklyScheduleProperty( days=["days"], start_time=inspectorv2.CfnCisScanConfiguration.TimeProperty( time_of_day="timeOfDay", time_zone="timeZone" ) ) ), security_level="securityLevel", targets=inspectorv2.CfnCisScanConfiguration.CisTargetsProperty( account_ids=["accountIds"], target_resource_tags={ "target_resource_tags_key": ["targetResourceTags"] } ), # the properties below are optional tags={ "tags_key": "tags" } )
Attributes
- scan_name
The name of the CIS scan configuration.
- schedule
The CIS scan configuration’s schedule.
- security_level
The CIS scan configuration’s CIS Benchmark level.
- tags
The CIS scan configuration’s tags.
- targets
The CIS scan configuration’s targets.