Skip to content
v2.278.0

TimeProperty Struct ​

The time.

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

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

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

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

Properties ​

timeOfDaystringtime_of_daystrtimeOfDayStringTimeOfDaystringTimeOfDay*string required #
The time of day in 24-hour format (00:00).
timeZonestringtime_zonestrtimeZoneStringTimeZonestringTimeZone*string required #
The timezone.