Skip to content
v2.278.0

HoursOfOperationTimeSliceProperty Struct ​

The start time or end time for an hours of operation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const hoursOfOperationTimeSliceProperty: connect.CfnHoursOfOperation.HoursOfOperationTimeSliceProperty = {
  hours: 123,
  minutes: 123,
};
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_connect as connect

hours_of_operation_time_slice_property = connect.CfnHoursOfOperation.HoursOfOperationTimeSliceProperty(
    hours=123,
    minutes=123
)
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.connect.*;

HoursOfOperationTimeSliceProperty hoursOfOperationTimeSliceProperty = HoursOfOperationTimeSliceProperty.builder()
        .hours(123)
        .minutes(123)
        .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.Connect;

var hoursOfOperationTimeSliceProperty = new HoursOfOperationTimeSliceProperty {
    Hours = 123,
    Minutes = 123
};
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"

hoursOfOperationTimeSliceProperty := &HoursOfOperationTimeSliceProperty{
	Hours: jsii.Number(123),
	Minutes: jsii.Number(123),
}

Properties ​

hoursnumberhoursint | floathoursNumberHoursdoubleHours*float64 required #
The hours.
minutesnumberminutesint | floatminutesNumberMinutesdoubleMinutes*float64 required #
The minutes.