Interface CfnCisScanConfiguration.ScheduleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCisScanConfiguration.ScheduleProperty.Jsii$Proxy
- Enclosing class:
CfnCisScanConfiguration
@Stability(Stable)
public static interface CfnCisScanConfiguration.ScheduleProperty
extends software.amazon.jsii.JsiiSerializable
The schedule the CIS scan configuration runs on.
Each CIS scan configuration has exactly one type of schedule.
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;
ScheduleProperty scheduleProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCisScanConfiguration.SchedulePropertystatic final classAn implementation forCfnCisScanConfiguration.ScheduleProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDaily
A daily schedule.Returns union: either
IResolvableorCfnCisScanConfiguration.DailyScheduleProperty- See Also:
-
getMonthly
A monthly schedule.Returns union: either
IResolvableorCfnCisScanConfiguration.MonthlyScheduleProperty- See Also:
-
getOneTime
A one time schedule.- See Also:
-
getWeekly
A weekly schedule.Returns union: either
IResolvableorCfnCisScanConfiguration.WeeklyScheduleProperty- See Also:
-
builder
-