Interface CfnCisScanConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCisScanConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-03-14T22:21:56.429Z")
@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")
.tags(Map.of(
"tagsKey", "tags"))
.targets(CisTargetsProperty.builder()
.accountIds(List.of("accountIds"))
// the properties below are optional
.targetResourceTags(Map.of(
"targetResourceTagsKey", List.of("targetResourceTags")))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCisScanConfigurationPropsstatic final classAn implementation forCfnCisScanConfigurationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the CIS scan configuration.default ObjectThe CIS scan configuration's schedule.default StringThe CIS scan configuration's CIS Benchmark level.getTags()The CIS scan configuration's tags.default ObjectThe CIS scan configuration's targets.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.- See Also:
-
getSecurityLevel
The CIS scan configuration's CIS Benchmark level.- See Also:
-
getTags
The CIS scan configuration's tags.- See Also:
-
getTargets
The CIS scan configuration's targets.- See Also:
-
builder
-