aws-cdk-lib 2.171.1__py3-none-any.whl → 2.172.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +471 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +1314 -124
- aws_cdk/aws_appsync/__init__.py +159 -136
- aws_cdk/aws_autoscaling/__init__.py +81 -24
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +775 -0
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +11 -5
- aws_cdk/aws_cloudtrail/__init__.py +753 -0
- aws_cdk/aws_cognito/__init__.py +825 -4
- aws_cdk/aws_connect/__init__.py +429 -0
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_ec2/__init__.py +872 -5
- aws_cdk/aws_ecs/__init__.py +12 -7
- aws_cdk/aws_eks/__init__.py +709 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
- aws_cdk/aws_events/__init__.py +515 -8
- aws_cdk/aws_iot/__init__.py +42 -4
- aws_cdk/aws_iotfleetwise/__init__.py +510 -0
- aws_cdk/aws_iotsitewise/__init__.py +156 -0
- aws_cdk/aws_lambda/__init__.py +14 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +3 -1
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +140 -8
- aws_cdk/aws_resourcegroups/__init__.py +349 -0
- aws_cdk/aws_route53_targets/__init__.py +82 -0
- aws_cdk/aws_route53resolver/__init__.py +15 -6
- aws_cdk/aws_s3express/__init__.py +403 -2
- aws_cdk/aws_sagemaker/__init__.py +124 -112
- aws_cdk/aws_ses/__init__.py +79 -41
- aws_cdk/aws_wisdom/__init__.py +4713 -172
- aws_cdk/aws_workspacesweb/__init__.py +1024 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_connect/__init__.py
CHANGED
|
@@ -4046,6 +4046,26 @@ class CfnHoursOfOperation(
|
|
|
4046
4046
|
|
|
4047
4047
|
# the properties below are optional
|
|
4048
4048
|
description="description",
|
|
4049
|
+
hours_of_operation_overrides=[connect.CfnHoursOfOperation.HoursOfOperationOverrideProperty(
|
|
4050
|
+
effective_from="effectiveFrom",
|
|
4051
|
+
effective_till="effectiveTill",
|
|
4052
|
+
override_config=[connect.CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty(
|
|
4053
|
+
day="day",
|
|
4054
|
+
end_time=connect.CfnHoursOfOperation.OverrideTimeSliceProperty(
|
|
4055
|
+
hours=123,
|
|
4056
|
+
minutes=123
|
|
4057
|
+
),
|
|
4058
|
+
start_time=connect.CfnHoursOfOperation.OverrideTimeSliceProperty(
|
|
4059
|
+
hours=123,
|
|
4060
|
+
minutes=123
|
|
4061
|
+
)
|
|
4062
|
+
)],
|
|
4063
|
+
override_name="overrideName",
|
|
4064
|
+
|
|
4065
|
+
# the properties below are optional
|
|
4066
|
+
hours_of_operation_override_id="hoursOfOperationOverrideId",
|
|
4067
|
+
override_description="overrideDescription"
|
|
4068
|
+
)],
|
|
4049
4069
|
tags=[CfnTag(
|
|
4050
4070
|
key="key",
|
|
4051
4071
|
value="value"
|
|
@@ -4063,6 +4083,7 @@ class CfnHoursOfOperation(
|
|
|
4063
4083
|
name: builtins.str,
|
|
4064
4084
|
time_zone: builtins.str,
|
|
4065
4085
|
description: typing.Optional[builtins.str] = None,
|
|
4086
|
+
hours_of_operation_overrides: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnHoursOfOperation.HoursOfOperationOverrideProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4066
4087
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4067
4088
|
) -> None:
|
|
4068
4089
|
'''
|
|
@@ -4073,6 +4094,7 @@ class CfnHoursOfOperation(
|
|
|
4073
4094
|
:param name: The name for the hours of operation.
|
|
4074
4095
|
:param time_zone: The time zone for the hours of operation.
|
|
4075
4096
|
:param description: The description for the hours of operation.
|
|
4097
|
+
:param hours_of_operation_overrides: One or more hours of operation overrides assigned to an hour of operation.
|
|
4076
4098
|
:param tags: The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
|
|
4077
4099
|
'''
|
|
4078
4100
|
if __debug__:
|
|
@@ -4085,6 +4107,7 @@ class CfnHoursOfOperation(
|
|
|
4085
4107
|
name=name,
|
|
4086
4108
|
time_zone=time_zone,
|
|
4087
4109
|
description=description,
|
|
4110
|
+
hours_of_operation_overrides=hours_of_operation_overrides,
|
|
4088
4111
|
tags=tags,
|
|
4089
4112
|
)
|
|
4090
4113
|
|
|
@@ -4210,6 +4233,24 @@ class CfnHoursOfOperation(
|
|
|
4210
4233
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4211
4234
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
4212
4235
|
|
|
4236
|
+
@builtins.property
|
|
4237
|
+
@jsii.member(jsii_name="hoursOfOperationOverrides")
|
|
4238
|
+
def hours_of_operation_overrides(
|
|
4239
|
+
self,
|
|
4240
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnHoursOfOperation.HoursOfOperationOverrideProperty"]]]]:
|
|
4241
|
+
'''One or more hours of operation overrides assigned to an hour of operation.'''
|
|
4242
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnHoursOfOperation.HoursOfOperationOverrideProperty"]]]], jsii.get(self, "hoursOfOperationOverrides"))
|
|
4243
|
+
|
|
4244
|
+
@hours_of_operation_overrides.setter
|
|
4245
|
+
def hours_of_operation_overrides(
|
|
4246
|
+
self,
|
|
4247
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnHoursOfOperation.HoursOfOperationOverrideProperty"]]]],
|
|
4248
|
+
) -> None:
|
|
4249
|
+
if __debug__:
|
|
4250
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aac2ad464f2908529fe7a982324e9d2212d9f0ba0ee88e3970e04f1d51655caa)
|
|
4251
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4252
|
+
jsii.set(self, "hoursOfOperationOverrides", value) # pyright: ignore[reportArgumentType]
|
|
4253
|
+
|
|
4213
4254
|
@builtins.property
|
|
4214
4255
|
@jsii.member(jsii_name="tagsRaw")
|
|
4215
4256
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -4319,6 +4360,254 @@ class CfnHoursOfOperation(
|
|
|
4319
4360
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4320
4361
|
)
|
|
4321
4362
|
|
|
4363
|
+
@jsii.data_type(
|
|
4364
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty",
|
|
4365
|
+
jsii_struct_bases=[],
|
|
4366
|
+
name_mapping={"day": "day", "end_time": "endTime", "start_time": "startTime"},
|
|
4367
|
+
)
|
|
4368
|
+
class HoursOfOperationOverrideConfigProperty:
|
|
4369
|
+
def __init__(
|
|
4370
|
+
self,
|
|
4371
|
+
*,
|
|
4372
|
+
day: builtins.str,
|
|
4373
|
+
end_time: typing.Union[_IResolvable_da3f097b, typing.Union["CfnHoursOfOperation.OverrideTimeSliceProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
4374
|
+
start_time: typing.Union[_IResolvable_da3f097b, typing.Union["CfnHoursOfOperation.OverrideTimeSliceProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
4375
|
+
) -> None:
|
|
4376
|
+
'''Contains information about the hours of operation override.
|
|
4377
|
+
|
|
4378
|
+
:param day: The day that the hours of operation override applies to.
|
|
4379
|
+
:param end_time: The start time or end time for an an hours of operation override.
|
|
4380
|
+
:param start_time: The start time or end time for an an hours of operation override.
|
|
4381
|
+
|
|
4382
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig.html
|
|
4383
|
+
:exampleMetadata: fixture=_generated
|
|
4384
|
+
|
|
4385
|
+
Example::
|
|
4386
|
+
|
|
4387
|
+
# The code below shows an example of how to instantiate this type.
|
|
4388
|
+
# The values are placeholders you should change.
|
|
4389
|
+
from aws_cdk import aws_connect as connect
|
|
4390
|
+
|
|
4391
|
+
hours_of_operation_override_config_property = connect.CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty(
|
|
4392
|
+
day="day",
|
|
4393
|
+
end_time=connect.CfnHoursOfOperation.OverrideTimeSliceProperty(
|
|
4394
|
+
hours=123,
|
|
4395
|
+
minutes=123
|
|
4396
|
+
),
|
|
4397
|
+
start_time=connect.CfnHoursOfOperation.OverrideTimeSliceProperty(
|
|
4398
|
+
hours=123,
|
|
4399
|
+
minutes=123
|
|
4400
|
+
)
|
|
4401
|
+
)
|
|
4402
|
+
'''
|
|
4403
|
+
if __debug__:
|
|
4404
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ebf5e16873df8f4d949b44d93d6b3faa42035e316f2aa7b06dfb2367b229c6f8)
|
|
4405
|
+
check_type(argname="argument day", value=day, expected_type=type_hints["day"])
|
|
4406
|
+
check_type(argname="argument end_time", value=end_time, expected_type=type_hints["end_time"])
|
|
4407
|
+
check_type(argname="argument start_time", value=start_time, expected_type=type_hints["start_time"])
|
|
4408
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4409
|
+
"day": day,
|
|
4410
|
+
"end_time": end_time,
|
|
4411
|
+
"start_time": start_time,
|
|
4412
|
+
}
|
|
4413
|
+
|
|
4414
|
+
@builtins.property
|
|
4415
|
+
def day(self) -> builtins.str:
|
|
4416
|
+
'''The day that the hours of operation override applies to.
|
|
4417
|
+
|
|
4418
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig.html#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-day
|
|
4419
|
+
'''
|
|
4420
|
+
result = self._values.get("day")
|
|
4421
|
+
assert result is not None, "Required property 'day' is missing"
|
|
4422
|
+
return typing.cast(builtins.str, result)
|
|
4423
|
+
|
|
4424
|
+
@builtins.property
|
|
4425
|
+
def end_time(
|
|
4426
|
+
self,
|
|
4427
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnHoursOfOperation.OverrideTimeSliceProperty"]:
|
|
4428
|
+
'''The start time or end time for an an hours of operation override.
|
|
4429
|
+
|
|
4430
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig.html#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-endtime
|
|
4431
|
+
'''
|
|
4432
|
+
result = self._values.get("end_time")
|
|
4433
|
+
assert result is not None, "Required property 'end_time' is missing"
|
|
4434
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnHoursOfOperation.OverrideTimeSliceProperty"], result)
|
|
4435
|
+
|
|
4436
|
+
@builtins.property
|
|
4437
|
+
def start_time(
|
|
4438
|
+
self,
|
|
4439
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnHoursOfOperation.OverrideTimeSliceProperty"]:
|
|
4440
|
+
'''The start time or end time for an an hours of operation override.
|
|
4441
|
+
|
|
4442
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverrideconfig.html#cfn-connect-hoursofoperation-hoursofoperationoverrideconfig-starttime
|
|
4443
|
+
'''
|
|
4444
|
+
result = self._values.get("start_time")
|
|
4445
|
+
assert result is not None, "Required property 'start_time' is missing"
|
|
4446
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnHoursOfOperation.OverrideTimeSliceProperty"], result)
|
|
4447
|
+
|
|
4448
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4449
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4450
|
+
|
|
4451
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4452
|
+
return not (rhs == self)
|
|
4453
|
+
|
|
4454
|
+
def __repr__(self) -> str:
|
|
4455
|
+
return "HoursOfOperationOverrideConfigProperty(%s)" % ", ".join(
|
|
4456
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4457
|
+
)
|
|
4458
|
+
|
|
4459
|
+
@jsii.data_type(
|
|
4460
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnHoursOfOperation.HoursOfOperationOverrideProperty",
|
|
4461
|
+
jsii_struct_bases=[],
|
|
4462
|
+
name_mapping={
|
|
4463
|
+
"effective_from": "effectiveFrom",
|
|
4464
|
+
"effective_till": "effectiveTill",
|
|
4465
|
+
"override_config": "overrideConfig",
|
|
4466
|
+
"override_name": "overrideName",
|
|
4467
|
+
"hours_of_operation_override_id": "hoursOfOperationOverrideId",
|
|
4468
|
+
"override_description": "overrideDescription",
|
|
4469
|
+
},
|
|
4470
|
+
)
|
|
4471
|
+
class HoursOfOperationOverrideProperty:
|
|
4472
|
+
def __init__(
|
|
4473
|
+
self,
|
|
4474
|
+
*,
|
|
4475
|
+
effective_from: builtins.str,
|
|
4476
|
+
effective_till: builtins.str,
|
|
4477
|
+
override_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
4478
|
+
override_name: builtins.str,
|
|
4479
|
+
hours_of_operation_override_id: typing.Optional[builtins.str] = None,
|
|
4480
|
+
override_description: typing.Optional[builtins.str] = None,
|
|
4481
|
+
) -> None:
|
|
4482
|
+
'''Overrides attached to the hours of operation.
|
|
4483
|
+
|
|
4484
|
+
:param effective_from: The date from which the hours of operation override would be effective.
|
|
4485
|
+
:param effective_till: The date till which the hours of operation override would be effective.
|
|
4486
|
+
:param override_config: Configuration information for the hours of operation override: day, start time, and end time.
|
|
4487
|
+
:param override_name: The name of the hours of operation override.
|
|
4488
|
+
:param hours_of_operation_override_id: The Resource Identifier for the hours of operation override.
|
|
4489
|
+
:param override_description: The description of the hours of operation override.
|
|
4490
|
+
|
|
4491
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html
|
|
4492
|
+
:exampleMetadata: fixture=_generated
|
|
4493
|
+
|
|
4494
|
+
Example::
|
|
4495
|
+
|
|
4496
|
+
# The code below shows an example of how to instantiate this type.
|
|
4497
|
+
# The values are placeholders you should change.
|
|
4498
|
+
from aws_cdk import aws_connect as connect
|
|
4499
|
+
|
|
4500
|
+
hours_of_operation_override_property = connect.CfnHoursOfOperation.HoursOfOperationOverrideProperty(
|
|
4501
|
+
effective_from="effectiveFrom",
|
|
4502
|
+
effective_till="effectiveTill",
|
|
4503
|
+
override_config=[connect.CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty(
|
|
4504
|
+
day="day",
|
|
4505
|
+
end_time=connect.CfnHoursOfOperation.OverrideTimeSliceProperty(
|
|
4506
|
+
hours=123,
|
|
4507
|
+
minutes=123
|
|
4508
|
+
),
|
|
4509
|
+
start_time=connect.CfnHoursOfOperation.OverrideTimeSliceProperty(
|
|
4510
|
+
hours=123,
|
|
4511
|
+
minutes=123
|
|
4512
|
+
)
|
|
4513
|
+
)],
|
|
4514
|
+
override_name="overrideName",
|
|
4515
|
+
|
|
4516
|
+
# the properties below are optional
|
|
4517
|
+
hours_of_operation_override_id="hoursOfOperationOverrideId",
|
|
4518
|
+
override_description="overrideDescription"
|
|
4519
|
+
)
|
|
4520
|
+
'''
|
|
4521
|
+
if __debug__:
|
|
4522
|
+
type_hints = typing.get_type_hints(_typecheckingstub__94d2d235922a59e0f97399934738d2d670e60e30b42450dbe734359a8314a0e6)
|
|
4523
|
+
check_type(argname="argument effective_from", value=effective_from, expected_type=type_hints["effective_from"])
|
|
4524
|
+
check_type(argname="argument effective_till", value=effective_till, expected_type=type_hints["effective_till"])
|
|
4525
|
+
check_type(argname="argument override_config", value=override_config, expected_type=type_hints["override_config"])
|
|
4526
|
+
check_type(argname="argument override_name", value=override_name, expected_type=type_hints["override_name"])
|
|
4527
|
+
check_type(argname="argument hours_of_operation_override_id", value=hours_of_operation_override_id, expected_type=type_hints["hours_of_operation_override_id"])
|
|
4528
|
+
check_type(argname="argument override_description", value=override_description, expected_type=type_hints["override_description"])
|
|
4529
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4530
|
+
"effective_from": effective_from,
|
|
4531
|
+
"effective_till": effective_till,
|
|
4532
|
+
"override_config": override_config,
|
|
4533
|
+
"override_name": override_name,
|
|
4534
|
+
}
|
|
4535
|
+
if hours_of_operation_override_id is not None:
|
|
4536
|
+
self._values["hours_of_operation_override_id"] = hours_of_operation_override_id
|
|
4537
|
+
if override_description is not None:
|
|
4538
|
+
self._values["override_description"] = override_description
|
|
4539
|
+
|
|
4540
|
+
@builtins.property
|
|
4541
|
+
def effective_from(self) -> builtins.str:
|
|
4542
|
+
'''The date from which the hours of operation override would be effective.
|
|
4543
|
+
|
|
4544
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-effectivefrom
|
|
4545
|
+
'''
|
|
4546
|
+
result = self._values.get("effective_from")
|
|
4547
|
+
assert result is not None, "Required property 'effective_from' is missing"
|
|
4548
|
+
return typing.cast(builtins.str, result)
|
|
4549
|
+
|
|
4550
|
+
@builtins.property
|
|
4551
|
+
def effective_till(self) -> builtins.str:
|
|
4552
|
+
'''The date till which the hours of operation override would be effective.
|
|
4553
|
+
|
|
4554
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-effectivetill
|
|
4555
|
+
'''
|
|
4556
|
+
result = self._values.get("effective_till")
|
|
4557
|
+
assert result is not None, "Required property 'effective_till' is missing"
|
|
4558
|
+
return typing.cast(builtins.str, result)
|
|
4559
|
+
|
|
4560
|
+
@builtins.property
|
|
4561
|
+
def override_config(
|
|
4562
|
+
self,
|
|
4563
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty"]]]:
|
|
4564
|
+
'''Configuration information for the hours of operation override: day, start time, and end time.
|
|
4565
|
+
|
|
4566
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-overrideconfig
|
|
4567
|
+
'''
|
|
4568
|
+
result = self._values.get("override_config")
|
|
4569
|
+
assert result is not None, "Required property 'override_config' is missing"
|
|
4570
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty"]]], result)
|
|
4571
|
+
|
|
4572
|
+
@builtins.property
|
|
4573
|
+
def override_name(self) -> builtins.str:
|
|
4574
|
+
'''The name of the hours of operation override.
|
|
4575
|
+
|
|
4576
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-overridename
|
|
4577
|
+
'''
|
|
4578
|
+
result = self._values.get("override_name")
|
|
4579
|
+
assert result is not None, "Required property 'override_name' is missing"
|
|
4580
|
+
return typing.cast(builtins.str, result)
|
|
4581
|
+
|
|
4582
|
+
@builtins.property
|
|
4583
|
+
def hours_of_operation_override_id(self) -> typing.Optional[builtins.str]:
|
|
4584
|
+
'''The Resource Identifier for the hours of operation override.
|
|
4585
|
+
|
|
4586
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-hoursofoperationoverrideid
|
|
4587
|
+
'''
|
|
4588
|
+
result = self._values.get("hours_of_operation_override_id")
|
|
4589
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4590
|
+
|
|
4591
|
+
@builtins.property
|
|
4592
|
+
def override_description(self) -> typing.Optional[builtins.str]:
|
|
4593
|
+
'''The description of the hours of operation override.
|
|
4594
|
+
|
|
4595
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationoverride.html#cfn-connect-hoursofoperation-hoursofoperationoverride-overridedescription
|
|
4596
|
+
'''
|
|
4597
|
+
result = self._values.get("override_description")
|
|
4598
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4599
|
+
|
|
4600
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4601
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4602
|
+
|
|
4603
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4604
|
+
return not (rhs == self)
|
|
4605
|
+
|
|
4606
|
+
def __repr__(self) -> str:
|
|
4607
|
+
return "HoursOfOperationOverrideProperty(%s)" % ", ".join(
|
|
4608
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4609
|
+
)
|
|
4610
|
+
|
|
4322
4611
|
@jsii.data_type(
|
|
4323
4612
|
jsii_type="aws-cdk-lib.aws_connect.CfnHoursOfOperation.HoursOfOperationTimeSliceProperty",
|
|
4324
4613
|
jsii_struct_bases=[],
|
|
@@ -4385,6 +4674,72 @@ class CfnHoursOfOperation(
|
|
|
4385
4674
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4386
4675
|
)
|
|
4387
4676
|
|
|
4677
|
+
@jsii.data_type(
|
|
4678
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnHoursOfOperation.OverrideTimeSliceProperty",
|
|
4679
|
+
jsii_struct_bases=[],
|
|
4680
|
+
name_mapping={"hours": "hours", "minutes": "minutes"},
|
|
4681
|
+
)
|
|
4682
|
+
class OverrideTimeSliceProperty:
|
|
4683
|
+
def __init__(self, *, hours: jsii.Number, minutes: jsii.Number) -> None:
|
|
4684
|
+
'''The start time or end time for an an hours of operation override.
|
|
4685
|
+
|
|
4686
|
+
:param hours: The hours.
|
|
4687
|
+
:param minutes: The minutes.
|
|
4688
|
+
|
|
4689
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-overridetimeslice.html
|
|
4690
|
+
:exampleMetadata: fixture=_generated
|
|
4691
|
+
|
|
4692
|
+
Example::
|
|
4693
|
+
|
|
4694
|
+
# The code below shows an example of how to instantiate this type.
|
|
4695
|
+
# The values are placeholders you should change.
|
|
4696
|
+
from aws_cdk import aws_connect as connect
|
|
4697
|
+
|
|
4698
|
+
override_time_slice_property = connect.CfnHoursOfOperation.OverrideTimeSliceProperty(
|
|
4699
|
+
hours=123,
|
|
4700
|
+
minutes=123
|
|
4701
|
+
)
|
|
4702
|
+
'''
|
|
4703
|
+
if __debug__:
|
|
4704
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bf0fe9b40d5f92cd82deaad81370dd578dddfd7a1db227ec3b04d8a1894b5941)
|
|
4705
|
+
check_type(argname="argument hours", value=hours, expected_type=type_hints["hours"])
|
|
4706
|
+
check_type(argname="argument minutes", value=minutes, expected_type=type_hints["minutes"])
|
|
4707
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4708
|
+
"hours": hours,
|
|
4709
|
+
"minutes": minutes,
|
|
4710
|
+
}
|
|
4711
|
+
|
|
4712
|
+
@builtins.property
|
|
4713
|
+
def hours(self) -> jsii.Number:
|
|
4714
|
+
'''The hours.
|
|
4715
|
+
|
|
4716
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-overridetimeslice.html#cfn-connect-hoursofoperation-overridetimeslice-hours
|
|
4717
|
+
'''
|
|
4718
|
+
result = self._values.get("hours")
|
|
4719
|
+
assert result is not None, "Required property 'hours' is missing"
|
|
4720
|
+
return typing.cast(jsii.Number, result)
|
|
4721
|
+
|
|
4722
|
+
@builtins.property
|
|
4723
|
+
def minutes(self) -> jsii.Number:
|
|
4724
|
+
'''The minutes.
|
|
4725
|
+
|
|
4726
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-overridetimeslice.html#cfn-connect-hoursofoperation-overridetimeslice-minutes
|
|
4727
|
+
'''
|
|
4728
|
+
result = self._values.get("minutes")
|
|
4729
|
+
assert result is not None, "Required property 'minutes' is missing"
|
|
4730
|
+
return typing.cast(jsii.Number, result)
|
|
4731
|
+
|
|
4732
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4733
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4734
|
+
|
|
4735
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4736
|
+
return not (rhs == self)
|
|
4737
|
+
|
|
4738
|
+
def __repr__(self) -> str:
|
|
4739
|
+
return "OverrideTimeSliceProperty(%s)" % ", ".join(
|
|
4740
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4741
|
+
)
|
|
4742
|
+
|
|
4388
4743
|
|
|
4389
4744
|
@jsii.data_type(
|
|
4390
4745
|
jsii_type="aws-cdk-lib.aws_connect.CfnHoursOfOperationProps",
|
|
@@ -4395,6 +4750,7 @@ class CfnHoursOfOperation(
|
|
|
4395
4750
|
"name": "name",
|
|
4396
4751
|
"time_zone": "timeZone",
|
|
4397
4752
|
"description": "description",
|
|
4753
|
+
"hours_of_operation_overrides": "hoursOfOperationOverrides",
|
|
4398
4754
|
"tags": "tags",
|
|
4399
4755
|
},
|
|
4400
4756
|
)
|
|
@@ -4407,6 +4763,7 @@ class CfnHoursOfOperationProps:
|
|
|
4407
4763
|
name: builtins.str,
|
|
4408
4764
|
time_zone: builtins.str,
|
|
4409
4765
|
description: typing.Optional[builtins.str] = None,
|
|
4766
|
+
hours_of_operation_overrides: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnHoursOfOperation.HoursOfOperationOverrideProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4410
4767
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4411
4768
|
) -> None:
|
|
4412
4769
|
'''Properties for defining a ``CfnHoursOfOperation``.
|
|
@@ -4416,6 +4773,7 @@ class CfnHoursOfOperationProps:
|
|
|
4416
4773
|
:param name: The name for the hours of operation.
|
|
4417
4774
|
:param time_zone: The time zone for the hours of operation.
|
|
4418
4775
|
:param description: The description for the hours of operation.
|
|
4776
|
+
:param hours_of_operation_overrides: One or more hours of operation overrides assigned to an hour of operation.
|
|
4419
4777
|
:param tags: The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
|
|
4420
4778
|
|
|
4421
4779
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html
|
|
@@ -4445,6 +4803,26 @@ class CfnHoursOfOperationProps:
|
|
|
4445
4803
|
|
|
4446
4804
|
# the properties below are optional
|
|
4447
4805
|
description="description",
|
|
4806
|
+
hours_of_operation_overrides=[connect.CfnHoursOfOperation.HoursOfOperationOverrideProperty(
|
|
4807
|
+
effective_from="effectiveFrom",
|
|
4808
|
+
effective_till="effectiveTill",
|
|
4809
|
+
override_config=[connect.CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty(
|
|
4810
|
+
day="day",
|
|
4811
|
+
end_time=connect.CfnHoursOfOperation.OverrideTimeSliceProperty(
|
|
4812
|
+
hours=123,
|
|
4813
|
+
minutes=123
|
|
4814
|
+
),
|
|
4815
|
+
start_time=connect.CfnHoursOfOperation.OverrideTimeSliceProperty(
|
|
4816
|
+
hours=123,
|
|
4817
|
+
minutes=123
|
|
4818
|
+
)
|
|
4819
|
+
)],
|
|
4820
|
+
override_name="overrideName",
|
|
4821
|
+
|
|
4822
|
+
# the properties below are optional
|
|
4823
|
+
hours_of_operation_override_id="hoursOfOperationOverrideId",
|
|
4824
|
+
override_description="overrideDescription"
|
|
4825
|
+
)],
|
|
4448
4826
|
tags=[CfnTag(
|
|
4449
4827
|
key="key",
|
|
4450
4828
|
value="value"
|
|
@@ -4458,6 +4836,7 @@ class CfnHoursOfOperationProps:
|
|
|
4458
4836
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
4459
4837
|
check_type(argname="argument time_zone", value=time_zone, expected_type=type_hints["time_zone"])
|
|
4460
4838
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
4839
|
+
check_type(argname="argument hours_of_operation_overrides", value=hours_of_operation_overrides, expected_type=type_hints["hours_of_operation_overrides"])
|
|
4461
4840
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
4462
4841
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4463
4842
|
"config": config,
|
|
@@ -4467,6 +4846,8 @@ class CfnHoursOfOperationProps:
|
|
|
4467
4846
|
}
|
|
4468
4847
|
if description is not None:
|
|
4469
4848
|
self._values["description"] = description
|
|
4849
|
+
if hours_of_operation_overrides is not None:
|
|
4850
|
+
self._values["hours_of_operation_overrides"] = hours_of_operation_overrides
|
|
4470
4851
|
if tags is not None:
|
|
4471
4852
|
self._values["tags"] = tags
|
|
4472
4853
|
|
|
@@ -4521,6 +4902,17 @@ class CfnHoursOfOperationProps:
|
|
|
4521
4902
|
result = self._values.get("description")
|
|
4522
4903
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
4523
4904
|
|
|
4905
|
+
@builtins.property
|
|
4906
|
+
def hours_of_operation_overrides(
|
|
4907
|
+
self,
|
|
4908
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnHoursOfOperation.HoursOfOperationOverrideProperty]]]]:
|
|
4909
|
+
'''One or more hours of operation overrides assigned to an hour of operation.
|
|
4910
|
+
|
|
4911
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-hoursofoperationoverrides
|
|
4912
|
+
'''
|
|
4913
|
+
result = self._values.get("hours_of_operation_overrides")
|
|
4914
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnHoursOfOperation.HoursOfOperationOverrideProperty]]]], result)
|
|
4915
|
+
|
|
4524
4916
|
@builtins.property
|
|
4525
4917
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4526
4918
|
'''The tags used to organize, track, or control access for this resource.
|
|
@@ -16387,6 +16779,7 @@ def _typecheckingstub__da9a7b2f06b8b2d053fcfa26018be9202b48193f9ffb7fc1d9518391c
|
|
|
16387
16779
|
name: builtins.str,
|
|
16388
16780
|
time_zone: builtins.str,
|
|
16389
16781
|
description: typing.Optional[builtins.str] = None,
|
|
16782
|
+
hours_of_operation_overrides: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnHoursOfOperation.HoursOfOperationOverrideProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
16390
16783
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16391
16784
|
) -> None:
|
|
16392
16785
|
"""Type checking stubs"""
|
|
@@ -16434,6 +16827,12 @@ def _typecheckingstub__224611189f5992474af63688324a9a850ba31b7aad01b0eaae5a8fd63
|
|
|
16434
16827
|
"""Type checking stubs"""
|
|
16435
16828
|
pass
|
|
16436
16829
|
|
|
16830
|
+
def _typecheckingstub__aac2ad464f2908529fe7a982324e9d2212d9f0ba0ee88e3970e04f1d51655caa(
|
|
16831
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnHoursOfOperation.HoursOfOperationOverrideProperty]]]],
|
|
16832
|
+
) -> None:
|
|
16833
|
+
"""Type checking stubs"""
|
|
16834
|
+
pass
|
|
16835
|
+
|
|
16437
16836
|
def _typecheckingstub__e3006704998781ab2276bf2b26481ef171277930dc1c09d1dcf2e54b8cd07b7c(
|
|
16438
16837
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
16439
16838
|
) -> None:
|
|
@@ -16449,6 +16848,27 @@ def _typecheckingstub__5ef26f457a53e548698c50361c4e334e5f633638af5ae2b9230dccc5f
|
|
|
16449
16848
|
"""Type checking stubs"""
|
|
16450
16849
|
pass
|
|
16451
16850
|
|
|
16851
|
+
def _typecheckingstub__ebf5e16873df8f4d949b44d93d6b3faa42035e316f2aa7b06dfb2367b229c6f8(
|
|
16852
|
+
*,
|
|
16853
|
+
day: builtins.str,
|
|
16854
|
+
end_time: typing.Union[_IResolvable_da3f097b, typing.Union[CfnHoursOfOperation.OverrideTimeSliceProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
16855
|
+
start_time: typing.Union[_IResolvable_da3f097b, typing.Union[CfnHoursOfOperation.OverrideTimeSliceProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
16856
|
+
) -> None:
|
|
16857
|
+
"""Type checking stubs"""
|
|
16858
|
+
pass
|
|
16859
|
+
|
|
16860
|
+
def _typecheckingstub__94d2d235922a59e0f97399934738d2d670e60e30b42450dbe734359a8314a0e6(
|
|
16861
|
+
*,
|
|
16862
|
+
effective_from: builtins.str,
|
|
16863
|
+
effective_till: builtins.str,
|
|
16864
|
+
override_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
16865
|
+
override_name: builtins.str,
|
|
16866
|
+
hours_of_operation_override_id: typing.Optional[builtins.str] = None,
|
|
16867
|
+
override_description: typing.Optional[builtins.str] = None,
|
|
16868
|
+
) -> None:
|
|
16869
|
+
"""Type checking stubs"""
|
|
16870
|
+
pass
|
|
16871
|
+
|
|
16452
16872
|
def _typecheckingstub__ca5c5b128d189787db53fa22c88668d84b3efd31f5b54320dcda0838372db008(
|
|
16453
16873
|
*,
|
|
16454
16874
|
hours: jsii.Number,
|
|
@@ -16457,6 +16877,14 @@ def _typecheckingstub__ca5c5b128d189787db53fa22c88668d84b3efd31f5b54320dcda08383
|
|
|
16457
16877
|
"""Type checking stubs"""
|
|
16458
16878
|
pass
|
|
16459
16879
|
|
|
16880
|
+
def _typecheckingstub__bf0fe9b40d5f92cd82deaad81370dd578dddfd7a1db227ec3b04d8a1894b5941(
|
|
16881
|
+
*,
|
|
16882
|
+
hours: jsii.Number,
|
|
16883
|
+
minutes: jsii.Number,
|
|
16884
|
+
) -> None:
|
|
16885
|
+
"""Type checking stubs"""
|
|
16886
|
+
pass
|
|
16887
|
+
|
|
16460
16888
|
def _typecheckingstub__66cef12b59765322de54d22fe6de568f262a635899fc46cbe6a5f5a97b848467(
|
|
16461
16889
|
*,
|
|
16462
16890
|
config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnHoursOfOperation.HoursOfOperationConfigProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
@@ -16464,6 +16892,7 @@ def _typecheckingstub__66cef12b59765322de54d22fe6de568f262a635899fc46cbe6a5f5a97
|
|
|
16464
16892
|
name: builtins.str,
|
|
16465
16893
|
time_zone: builtins.str,
|
|
16466
16894
|
description: typing.Optional[builtins.str] = None,
|
|
16895
|
+
hours_of_operation_overrides: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnHoursOfOperation.HoursOfOperationOverrideProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
16467
16896
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16468
16897
|
) -> None:
|
|
16469
16898
|
"""Type checking stubs"""
|