Class CfnCisScanConfiguration.ScheduleProperty
The schedule the CIS scan configuration runs on.
Inheritance
System.Object
CfnCisScanConfiguration.ScheduleProperty
Implements
Namespace: Amazon.CDK.AWS.InspectorV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ScheduleProperty : Object, CfnCisScanConfiguration.IScheduleProperty
Syntax (vb)
Public Class ScheduleProperty
Inherits Object
Implements CfnCisScanConfiguration.IScheduleProperty
Remarks
Each CIS scan configuration has exactly one type of schedule.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.InspectorV2;
var oneTime;
var scheduleProperty = new ScheduleProperty {
Daily = new DailyScheduleProperty {
StartTime = new TimeProperty {
TimeOfDay = "timeOfDay",
TimeZone = "timeZone"
}
},
Monthly = new MonthlyScheduleProperty {
Day = "day",
StartTime = new TimeProperty {
TimeOfDay = "timeOfDay",
TimeZone = "timeZone"
}
},
OneTime = oneTime,
Weekly = new WeeklyScheduleProperty {
Days = new [] { "days" },
StartTime = new TimeProperty {
TimeOfDay = "timeOfDay",
TimeZone = "timeZone"
}
}
};
Synopsis
Constructors
ScheduleProperty() |
Properties
Daily | A daily schedule. |
Monthly | A monthly schedule. |
OneTime | A one time schedule. |
Weekly | A weekly schedule. |
Constructors
ScheduleProperty()
public ScheduleProperty()
Properties
Daily
A daily schedule.
public object Daily { get; set; }
Property Value
System.Object
Remarks
Monthly
A monthly schedule.
public object Monthly { get; set; }
Property Value
System.Object
Remarks
OneTime
A one time schedule.
public object OneTime { get; set; }
Property Value
System.Object
Remarks
Weekly
A weekly schedule.
public object Weekly { get; set; }
Property Value
System.Object