# TimeProperty

The time.

- 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 timeProperty: inspectorv2.CfnCisScanConfiguration.TimeProperty = {
  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

time_property = 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.*;

TimeProperty timeProperty = TimeProperty.builder()
        .timeOfDay("timeOfDay")
        .timeZone("timeZone")
        .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 timeProperty = 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"

timeProperty := &TimeProperty{
	TimeOfDay: jsii.String("timeOfDay"),
	TimeZone: jsii.String("timeZone"),
}
```

## Properties

- `timeOfDay`: string (required) — The time of day in 24-hour format (00:00).

- `timeZone`: string (required) — The timezone.
