WeeklyScheduleProperty Struct
A weekly schedule.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_inspectorv2 as inspectorv2 } from 'aws-cdk-lib';
const weeklyScheduleProperty: inspectorv2.CfnCisScanConfiguration.WeeklyScheduleProperty = {
days: ['days'],
startTime: {
timeOfDay: 'timeOfDay',
timeZone: 'timeZone',
},
};
python
# 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
weekly_schedule_property = inspectorv2.CfnCisScanConfiguration.WeeklyScheduleProperty(
days=["days"],
start_time=inspectorv2.CfnCisScanConfiguration.TimeProperty(
time_of_day="timeOfDay",
time_zone="timeZone"
)
)
java
// 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.*;
WeeklyScheduleProperty weeklyScheduleProperty = WeeklyScheduleProperty.builder()
.days(List.of("days"))
.startTime(TimeProperty.builder()
.timeOfDay("timeOfDay")
.timeZone("timeZone")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 weeklyScheduleProperty = new WeeklyScheduleProperty {
Days = new [] { "days" },
StartTime = new TimeProperty {
TimeOfDay = "timeOfDay",
TimeZone = "timeZone"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
weeklyScheduleProperty := &WeeklyScheduleProperty{
Days: []*string{
jsii.String("days"),
},
StartTime: &TimeProperty{
TimeOfDay: jsii.String("timeOfDay"),
TimeZone: jsii.String("timeZone"),
},
}
Properties
The weekly schedule's days.
startTimeIResolvable | CfnCisScanConfiguration.start_timetyping.Union[IResolvable, TimeProperty]startTimeIResolvableStartTimeIResolvableStartTimeinterface{} required #The weekly schedule's start time.