Interface CfnHoursOfOperationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHoursOfOperationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-09T14:39:08.218Z")
@Stability(Stable)
public interface CfnHoursOfOperationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnHoursOfOperation.
Example:
// 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.*;
CfnHoursOfOperationProps cfnHoursOfOperationProps = CfnHoursOfOperationProps.builder()
.config(List.of(HoursOfOperationConfigProperty.builder()
.day("day")
.endTime(HoursOfOperationTimeSliceProperty.builder()
.hours(123)
.minutes(123)
.build())
.startTime(HoursOfOperationTimeSliceProperty.builder()
.hours(123)
.minutes(123)
.build())
.build()))
.instanceArn("instanceArn")
.name("name")
.timeZone("timeZone")
// the properties below are optional
.childHoursOfOperations(List.of(HoursOfOperationsIdentifierProperty.builder()
.id("id")
// the properties below are optional
.name("name")
.build()))
.description("description")
.hoursOfOperationOverrides(List.of(HoursOfOperationOverrideProperty.builder()
.effectiveFrom("effectiveFrom")
.effectiveTill("effectiveTill")
.overrideConfig(List.of(HoursOfOperationOverrideConfigProperty.builder()
.day("day")
.endTime(OverrideTimeSliceProperty.builder()
.hours(123)
.minutes(123)
.build())
.startTime(OverrideTimeSliceProperty.builder()
.hours(123)
.minutes(123)
.build())
.build()))
.overrideName("overrideName")
// the properties below are optional
.hoursOfOperationOverrideId("hoursOfOperationOverrideId")
.overrideDescription("overrideDescription")
.overrideType("overrideType")
.recurrenceConfig(RecurrenceConfigProperty.builder()
.recurrencePattern(RecurrencePatternProperty.builder()
.byMonth(List.of(123))
.byMonthDay(List.of(123))
.byWeekdayOccurrence(List.of(123))
.frequency("frequency")
.interval(123)
.build())
.build())
.build()))
.parentHoursOfOperations(List.of(HoursOfOperationsIdentifierProperty.builder()
.id("id")
// the properties below are optional
.name("name")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHoursOfOperationPropsstatic final classAn implementation forCfnHoursOfOperationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectList of child hours of operations.Configuration information for the hours of operation.default StringThe description for the hours of operation.default ObjectOne or more hours of operation overrides assigned to an hour of operation.The Amazon Resource Name (ARN) of the instance.getName()The name for the hours of operation.default ObjectList of parent hours of operations.getTags()The tags used to organize, track, or control access for this resource.The time zone for the hours of operation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfig
Configuration information for the hours of operation.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnHoursOfOperation.HoursOfOperationConfigProperty>- See Also:
-
getInstanceArn
The Amazon Resource Name (ARN) of the instance.Returns union: either
StringorIInstanceRef- See Also:
-
getName
The name for the hours of operation.- See Also:
-
getTimeZone
The time zone for the hours of operation.- See Also:
-
getChildHoursOfOperations
List of child hours of operations.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnHoursOfOperation.HoursOfOperationsIdentifierProperty>- See Also:
-
getDescription
The description for the hours of operation.- See Also:
-
getHoursOfOperationOverrides
One or more hours of operation overrides assigned to an hour of operation.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnHoursOfOperation.HoursOfOperationOverrideProperty>- See Also:
-
getParentHoursOfOperations
List of parent hours of operations.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnHoursOfOperation.HoursOfOperationsIdentifierProperty>- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- See Also:
-
builder
- Returns:
- a
CfnHoursOfOperationProps.BuilderofCfnHoursOfOperationProps
-