Interface CfnCisScanConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCisScanConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:38.064Z")
@Stability(Stable)
public interface CfnCisScanConfigurationProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.inspectorv2.*;
Object oneTime;
CfnCisScanConfigurationProps cfnCisScanConfigurationProps = CfnCisScanConfigurationProps.builder()
.scanName("scanName")
.schedule(ScheduleProperty.builder()
.daily(DailyScheduleProperty.builder()
.startTime(TimeProperty.builder()
.timeOfDay("timeOfDay")
.timeZone("timeZone")
.build())
.build())
.monthly(MonthlyScheduleProperty.builder()
.day("day")
.startTime(TimeProperty.builder()
.timeOfDay("timeOfDay")
.timeZone("timeZone")
.build())
.build())
.oneTime(oneTime)
.weekly(WeeklyScheduleProperty.builder()
.days(List.of("days"))
.startTime(TimeProperty.builder()
.timeOfDay("timeOfDay")
.timeZone("timeZone")
.build())
.build())
.build())
.securityLevel("securityLevel")
.targets(CisTargetsProperty.builder()
.accountIds(List.of("accountIds"))
.targetResourceTags(Map.of(
"targetResourceTagsKey", List.of("targetResourceTags")))
.build())
// the properties below are optional
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCisScanConfigurationPropsstatic final classAn implementation forCfnCisScanConfigurationProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getScanName
The name of the CIS scan configuration.- See Also:
-
getSchedule
The CIS scan configuration's schedule.Returns union: either
IResolvableorCfnCisScanConfiguration.ScheduleProperty- See Also:
-
getSecurityLevel
The CIS scan configuration's CIS Benchmark level.- See Also:
-
getTargets
The CIS scan configuration's targets.Returns union: either
IResolvableorCfnCisScanConfiguration.CisTargetsProperty- See Also:
-
getTags
The CIS scan configuration's tags.- See Also:
-
builder
-