CfnCisScanConfigurationProps

class aws_cdk.aws_inspectorv2.CfnCisScanConfigurationProps(*, scan_name=None, schedule=None, security_level=None, tags=None, targets=None)

Bases: object

Properties for defining a CfnCisScanConfiguration.

Parameters:
  • scan_name (Optional[str]) – The name of the CIS scan configuration.

  • schedule (Union[IResolvable, ScheduleProperty, Dict[str, Any], None]) – The CIS scan configuration’s schedule.

  • security_level (Optional[str]) – The CIS scan configuration’s CIS Benchmark level.

  • tags (Optional[Mapping[str, str]]) – The CIS scan configuration’s tags.

  • targets (Union[IResolvable, CisTargetsProperty, Dict[str, Any], None]) – The CIS scan configuration’s targets.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html

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",
    tags={
        "tags_key": "tags"
    },
    targets=inspectorv2.CfnCisScanConfiguration.CisTargetsProperty(
        account_ids=["accountIds"],

        # the properties below are optional
        target_resource_tags={
            "target_resource_tags_key": ["targetResourceTags"]
        }
    )
)

Attributes

scan_name

The name of the CIS scan configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#cfn-inspectorv2-cisscanconfiguration-scanname

schedule

The CIS scan configuration’s schedule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#cfn-inspectorv2-cisscanconfiguration-schedule

security_level

The CIS scan configuration’s CIS Benchmark level.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#cfn-inspectorv2-cisscanconfiguration-securitylevel

tags

The CIS scan configuration’s tags.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#cfn-inspectorv2-cisscanconfiguration-tags

targets

The CIS scan configuration’s targets.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspectorv2-cisscanconfiguration.html#cfn-inspectorv2-cisscanconfiguration-targets