# WeeklyScheduleProperty

A weekly schedule.

- Source: Generated at build time
- Type last changed: v2.127.0 · 10 Feb 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `days`: string[] (required) — The weekly schedule's days.

- `startTime`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCisScanConfiguration.TimeProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_inspectorv2.CfnCisScanConfiguration.TimeProperty.html) (required) — The weekly schedule's start time.
