aws-cdk-lib 2.117.0__py3-none-any.whl → 2.119.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.

Files changed (57) hide show
  1. aws_cdk/__init__.py +138 -25
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.117.0.jsii.tgz → aws-cdk-lib@2.119.0.jsii.tgz} +0 -0
  4. aws_cdk/amzn_sdc/__init__.py +496 -0
  5. aws_cdk/aws_appsync/__init__.py +94 -22
  6. aws_cdk/aws_autoscaling/__init__.py +139 -74
  7. aws_cdk/aws_certificatemanager/__init__.py +164 -3
  8. aws_cdk/aws_cloud9/__init__.py +3 -3
  9. aws_cdk/aws_cloudfront/__init__.py +853 -38
  10. aws_cdk/aws_cloudtrail/__init__.py +54 -34
  11. aws_cdk/aws_cloudwatch_actions/__init__.py +105 -0
  12. aws_cdk/aws_codebuild/__init__.py +46 -5
  13. aws_cdk/aws_codecommit/__init__.py +9 -3
  14. aws_cdk/aws_codepipeline_actions/__init__.py +54 -0
  15. aws_cdk/aws_codetest/__init__.py +788 -0
  16. aws_cdk/aws_cognito/__init__.py +104 -0
  17. aws_cdk/aws_connect/__init__.py +626 -78
  18. aws_cdk/aws_docdb/__init__.py +442 -0
  19. aws_cdk/aws_dynamodb/__init__.py +14 -0
  20. aws_cdk/aws_ec2/__init__.py +372 -44
  21. aws_cdk/aws_ecs/__init__.py +192 -35
  22. aws_cdk/aws_emrserverless/__init__.py +20 -13
  23. aws_cdk/aws_events/__init__.py +90 -1
  24. aws_cdk/aws_fis/__init__.py +12 -32
  25. aws_cdk/aws_globalaccelerator/__init__.py +19 -0
  26. aws_cdk/aws_glue/__init__.py +329 -0
  27. aws_cdk/aws_iam/__init__.py +50 -24
  28. aws_cdk/aws_iot/__init__.py +112 -0
  29. aws_cdk/aws_iotsitewise/__init__.py +4 -4
  30. aws_cdk/aws_kendra/__init__.py +10 -5
  31. aws_cdk/aws_kinesisfirehose/__init__.py +111 -0
  32. aws_cdk/aws_lambda/__init__.py +180 -407
  33. aws_cdk/aws_location/__init__.py +1132 -17
  34. aws_cdk/aws_mediatailor/__init__.py +120 -17
  35. aws_cdk/aws_networkfirewall/__init__.py +2 -2
  36. aws_cdk/aws_networkmanager/__init__.py +1 -1
  37. aws_cdk/aws_omics/__init__.py +4 -4
  38. aws_cdk/aws_opensearchservice/__init__.py +58 -0
  39. aws_cdk/aws_pinpoint/__init__.py +14 -6
  40. aws_cdk/aws_pipes/__init__.py +7 -2
  41. aws_cdk/aws_rds/__init__.py +247 -16
  42. aws_cdk/aws_redshift/__init__.py +103 -0
  43. aws_cdk/aws_route53/__init__.py +68 -20
  44. aws_cdk/aws_s3/__init__.py +2 -4
  45. aws_cdk/aws_s3objectlambda/__init__.py +2 -2
  46. aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
  47. aws_cdk/aws_signer/__init__.py +27 -4
  48. aws_cdk/aws_ssm/__init__.py +76 -13
  49. aws_cdk/aws_stepfunctions/__init__.py +110 -5
  50. aws_cdk/aws_stepfunctions_tasks/__init__.py +84 -29
  51. aws_cdk/pipelines/__init__.py +136 -37
  52. {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/LICENSE +1 -1
  53. {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/METADATA +98 -12
  54. {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/NOTICE +1 -1
  55. {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/RECORD +57 -55
  56. {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/WHEEL +0 -0
  57. {aws_cdk_lib-2.117.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/top_level.txt +0 -0
@@ -3843,7 +3843,7 @@ class CfnInstance(
3843
3843
  :param identity_management_type: The identity management type.
3844
3844
  :param directory_id: The identifier for the directory.
3845
3845
  :param instance_alias: The alias of instance. ``InstanceAlias`` is only required when ``IdentityManagementType`` is ``CONNECT_MANAGED`` or ``SAML`` . ``InstanceAlias`` is not required when ``IdentityManagementType`` is ``EXISTING_DIRECTORY`` .
3846
- :param tags: The tags of an instance.
3846
+ :param tags: An array of key-value pairs to apply to this resource.
3847
3847
  '''
3848
3848
  if __debug__:
3849
3849
  type_hints = typing.get_type_hints(_typecheckingstub__f291b6bb708a40e1a35dc95de4a38d5f9d8117683bed082183bd387f4848fef9)
@@ -4001,7 +4001,7 @@ class CfnInstance(
4001
4001
  @builtins.property
4002
4002
  @jsii.member(jsii_name="tags")
4003
4003
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
4004
- '''The tags of an instance.'''
4004
+ '''An array of key-value pairs to apply to this resource.'''
4005
4005
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
4006
4006
 
4007
4007
  @tags.setter
@@ -4207,7 +4207,7 @@ class CfnInstanceProps:
4207
4207
  :param identity_management_type: The identity management type.
4208
4208
  :param directory_id: The identifier for the directory.
4209
4209
  :param instance_alias: The alias of instance. ``InstanceAlias`` is only required when ``IdentityManagementType`` is ``CONNECT_MANAGED`` or ``SAML`` . ``InstanceAlias`` is not required when ``IdentityManagementType`` is ``EXISTING_DIRECTORY`` .
4210
- :param tags: The tags of an instance.
4210
+ :param tags: An array of key-value pairs to apply to this resource.
4211
4211
 
4212
4212
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html
4213
4213
  :exampleMetadata: fixture=_generated
@@ -4303,7 +4303,7 @@ class CfnInstanceProps:
4303
4303
 
4304
4304
  @builtins.property
4305
4305
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
4306
- '''The tags of an instance.
4306
+ '''An array of key-value pairs to apply to this resource.
4307
4307
 
4308
4308
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html#cfn-connect-instance-tags
4309
4309
  '''
@@ -5390,17 +5390,18 @@ class CfnPhoneNumber(
5390
5390
  from aws_cdk import aws_connect as connect
5391
5391
 
5392
5392
  cfn_phone_number = connect.CfnPhoneNumber(self, "MyCfnPhoneNumber",
5393
- country_code="countryCode",
5394
5393
  target_arn="targetArn",
5395
- type="type",
5396
5394
 
5397
5395
  # the properties below are optional
5396
+ country_code="countryCode",
5398
5397
  description="description",
5399
5398
  prefix="prefix",
5399
+ source_phone_number_arn="sourcePhoneNumberArn",
5400
5400
  tags=[CfnTag(
5401
5401
  key="key",
5402
5402
  value="value"
5403
- )]
5403
+ )],
5404
+ type="type"
5404
5405
  )
5405
5406
  '''
5406
5407
 
@@ -5409,34 +5410,37 @@ class CfnPhoneNumber(
5409
5410
  scope: _constructs_77d1e7e8.Construct,
5410
5411
  id: builtins.str,
5411
5412
  *,
5412
- country_code: builtins.str,
5413
5413
  target_arn: builtins.str,
5414
- type: builtins.str,
5414
+ country_code: typing.Optional[builtins.str] = None,
5415
5415
  description: typing.Optional[builtins.str] = None,
5416
5416
  prefix: typing.Optional[builtins.str] = None,
5417
+ source_phone_number_arn: typing.Optional[builtins.str] = None,
5417
5418
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5419
+ type: typing.Optional[builtins.str] = None,
5418
5420
  ) -> None:
5419
5421
  '''
5420
5422
  :param scope: Scope in which this resource is defined.
5421
5423
  :param id: Construct identifier for this resource (unique in its scope).
5422
- :param country_code: The ISO country code.
5423
5424
  :param target_arn: The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.
5424
- :param type: The type of phone number.
5425
+ :param country_code: The ISO country code.
5425
5426
  :param description: The description of the phone number.
5426
5427
  :param prefix: The prefix of the phone number. If provided, it must contain ``+`` as part of the country code. *Pattern* : ``^\\\\+[0-9]{1,15}``
5428
+ :param source_phone_number_arn: The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.
5427
5429
  :param tags: The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
5430
+ :param type: The type of phone number.
5428
5431
  '''
5429
5432
  if __debug__:
5430
5433
  type_hints = typing.get_type_hints(_typecheckingstub__9ec70d84fd2bda163d290722acbb6feca633b4ee134732d8b720c0b96701cb7b)
5431
5434
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
5432
5435
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
5433
5436
  props = CfnPhoneNumberProps(
5434
- country_code=country_code,
5435
5437
  target_arn=target_arn,
5436
- type=type,
5438
+ country_code=country_code,
5437
5439
  description=description,
5438
5440
  prefix=prefix,
5441
+ source_phone_number_arn=source_phone_number_arn,
5439
5442
  tags=tags,
5443
+ type=type,
5440
5444
  )
5441
5445
 
5442
5446
  jsii.create(self.__class__, self, [scope, id, props])
@@ -5500,19 +5504,6 @@ class CfnPhoneNumber(
5500
5504
  '''Tag Manager which manages the tags for this resource.'''
5501
5505
  return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
5502
5506
 
5503
- @builtins.property
5504
- @jsii.member(jsii_name="countryCode")
5505
- def country_code(self) -> builtins.str:
5506
- '''The ISO country code.'''
5507
- return typing.cast(builtins.str, jsii.get(self, "countryCode"))
5508
-
5509
- @country_code.setter
5510
- def country_code(self, value: builtins.str) -> None:
5511
- if __debug__:
5512
- type_hints = typing.get_type_hints(_typecheckingstub__7e8049a6bcb60451cb780647e8cad2360b140018c95db8d6b0e339ed0524e56f)
5513
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5514
- jsii.set(self, "countryCode", value)
5515
-
5516
5507
  @builtins.property
5517
5508
  @jsii.member(jsii_name="targetArn")
5518
5509
  def target_arn(self) -> builtins.str:
@@ -5527,17 +5518,17 @@ class CfnPhoneNumber(
5527
5518
  jsii.set(self, "targetArn", value)
5528
5519
 
5529
5520
  @builtins.property
5530
- @jsii.member(jsii_name="type")
5531
- def type(self) -> builtins.str:
5532
- '''The type of phone number.'''
5533
- return typing.cast(builtins.str, jsii.get(self, "type"))
5521
+ @jsii.member(jsii_name="countryCode")
5522
+ def country_code(self) -> typing.Optional[builtins.str]:
5523
+ '''The ISO country code.'''
5524
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "countryCode"))
5534
5525
 
5535
- @type.setter
5536
- def type(self, value: builtins.str) -> None:
5526
+ @country_code.setter
5527
+ def country_code(self, value: typing.Optional[builtins.str]) -> None:
5537
5528
  if __debug__:
5538
- type_hints = typing.get_type_hints(_typecheckingstub__d0868299e1426aef01fcea4843c3c28737fa3b7614cce2aa77e978bfa8976f8f)
5529
+ type_hints = typing.get_type_hints(_typecheckingstub__7e8049a6bcb60451cb780647e8cad2360b140018c95db8d6b0e339ed0524e56f)
5539
5530
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5540
- jsii.set(self, "type", value)
5531
+ jsii.set(self, "countryCode", value)
5541
5532
 
5542
5533
  @builtins.property
5543
5534
  @jsii.member(jsii_name="description")
@@ -5568,6 +5559,19 @@ class CfnPhoneNumber(
5568
5559
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5569
5560
  jsii.set(self, "prefix", value)
5570
5561
 
5562
+ @builtins.property
5563
+ @jsii.member(jsii_name="sourcePhoneNumberArn")
5564
+ def source_phone_number_arn(self) -> typing.Optional[builtins.str]:
5565
+ '''The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint.'''
5566
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sourcePhoneNumberArn"))
5567
+
5568
+ @source_phone_number_arn.setter
5569
+ def source_phone_number_arn(self, value: typing.Optional[builtins.str]) -> None:
5570
+ if __debug__:
5571
+ type_hints = typing.get_type_hints(_typecheckingstub__300c4efa19cbb74af0cd0af8daf0ae0f9cc8bdc0b5b372ff32bd5afa5fec8cb5)
5572
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5573
+ jsii.set(self, "sourcePhoneNumberArn", value)
5574
+
5571
5575
  @builtins.property
5572
5576
  @jsii.member(jsii_name="tagsRaw")
5573
5577
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -5581,38 +5585,54 @@ class CfnPhoneNumber(
5581
5585
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5582
5586
  jsii.set(self, "tagsRaw", value)
5583
5587
 
5588
+ @builtins.property
5589
+ @jsii.member(jsii_name="type")
5590
+ def type(self) -> typing.Optional[builtins.str]:
5591
+ '''The type of phone number.'''
5592
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "type"))
5593
+
5594
+ @type.setter
5595
+ def type(self, value: typing.Optional[builtins.str]) -> None:
5596
+ if __debug__:
5597
+ type_hints = typing.get_type_hints(_typecheckingstub__d0868299e1426aef01fcea4843c3c28737fa3b7614cce2aa77e978bfa8976f8f)
5598
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5599
+ jsii.set(self, "type", value)
5600
+
5584
5601
 
5585
5602
  @jsii.data_type(
5586
5603
  jsii_type="aws-cdk-lib.aws_connect.CfnPhoneNumberProps",
5587
5604
  jsii_struct_bases=[],
5588
5605
  name_mapping={
5589
- "country_code": "countryCode",
5590
5606
  "target_arn": "targetArn",
5591
- "type": "type",
5607
+ "country_code": "countryCode",
5592
5608
  "description": "description",
5593
5609
  "prefix": "prefix",
5610
+ "source_phone_number_arn": "sourcePhoneNumberArn",
5594
5611
  "tags": "tags",
5612
+ "type": "type",
5595
5613
  },
5596
5614
  )
5597
5615
  class CfnPhoneNumberProps:
5598
5616
  def __init__(
5599
5617
  self,
5600
5618
  *,
5601
- country_code: builtins.str,
5602
5619
  target_arn: builtins.str,
5603
- type: builtins.str,
5620
+ country_code: typing.Optional[builtins.str] = None,
5604
5621
  description: typing.Optional[builtins.str] = None,
5605
5622
  prefix: typing.Optional[builtins.str] = None,
5623
+ source_phone_number_arn: typing.Optional[builtins.str] = None,
5606
5624
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5625
+ type: typing.Optional[builtins.str] = None,
5607
5626
  ) -> None:
5608
5627
  '''Properties for defining a ``CfnPhoneNumber``.
5609
5628
 
5610
- :param country_code: The ISO country code.
5611
5629
  :param target_arn: The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution group that phone numbers are claimed to.
5612
- :param type: The type of phone number.
5630
+ :param country_code: The ISO country code.
5613
5631
  :param description: The description of the phone number.
5614
5632
  :param prefix: The prefix of the phone number. If provided, it must contain ``+`` as part of the country code. *Pattern* : ``^\\\\+[0-9]{1,15}``
5633
+ :param source_phone_number_arn: The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.
5615
5634
  :param tags: The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
5635
+ :param type: The type of phone number.
5616
5636
 
5617
5637
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html
5618
5638
  :exampleMetadata: fixture=_generated
@@ -5624,48 +5644,44 @@ class CfnPhoneNumberProps:
5624
5644
  from aws_cdk import aws_connect as connect
5625
5645
 
5626
5646
  cfn_phone_number_props = connect.CfnPhoneNumberProps(
5627
- country_code="countryCode",
5628
5647
  target_arn="targetArn",
5629
- type="type",
5630
5648
 
5631
5649
  # the properties below are optional
5650
+ country_code="countryCode",
5632
5651
  description="description",
5633
5652
  prefix="prefix",
5653
+ source_phone_number_arn="sourcePhoneNumberArn",
5634
5654
  tags=[CfnTag(
5635
5655
  key="key",
5636
5656
  value="value"
5637
- )]
5657
+ )],
5658
+ type="type"
5638
5659
  )
5639
5660
  '''
5640
5661
  if __debug__:
5641
5662
  type_hints = typing.get_type_hints(_typecheckingstub__a9b6cbf832a5409fafc1645b1b1a1567ef5e6d173dfed6d56cae08b977fd4b95)
5642
- check_type(argname="argument country_code", value=country_code, expected_type=type_hints["country_code"])
5643
5663
  check_type(argname="argument target_arn", value=target_arn, expected_type=type_hints["target_arn"])
5644
- check_type(argname="argument type", value=type, expected_type=type_hints["type"])
5664
+ check_type(argname="argument country_code", value=country_code, expected_type=type_hints["country_code"])
5645
5665
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
5646
5666
  check_type(argname="argument prefix", value=prefix, expected_type=type_hints["prefix"])
5667
+ check_type(argname="argument source_phone_number_arn", value=source_phone_number_arn, expected_type=type_hints["source_phone_number_arn"])
5647
5668
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
5669
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
5648
5670
  self._values: typing.Dict[builtins.str, typing.Any] = {
5649
- "country_code": country_code,
5650
5671
  "target_arn": target_arn,
5651
- "type": type,
5652
5672
  }
5673
+ if country_code is not None:
5674
+ self._values["country_code"] = country_code
5653
5675
  if description is not None:
5654
5676
  self._values["description"] = description
5655
5677
  if prefix is not None:
5656
5678
  self._values["prefix"] = prefix
5679
+ if source_phone_number_arn is not None:
5680
+ self._values["source_phone_number_arn"] = source_phone_number_arn
5657
5681
  if tags is not None:
5658
5682
  self._values["tags"] = tags
5659
-
5660
- @builtins.property
5661
- def country_code(self) -> builtins.str:
5662
- '''The ISO country code.
5663
-
5664
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-countrycode
5665
- '''
5666
- result = self._values.get("country_code")
5667
- assert result is not None, "Required property 'country_code' is missing"
5668
- return typing.cast(builtins.str, result)
5683
+ if type is not None:
5684
+ self._values["type"] = type
5669
5685
 
5670
5686
  @builtins.property
5671
5687
  def target_arn(self) -> builtins.str:
@@ -5678,14 +5694,13 @@ class CfnPhoneNumberProps:
5678
5694
  return typing.cast(builtins.str, result)
5679
5695
 
5680
5696
  @builtins.property
5681
- def type(self) -> builtins.str:
5682
- '''The type of phone number.
5697
+ def country_code(self) -> typing.Optional[builtins.str]:
5698
+ '''The ISO country code.
5683
5699
 
5684
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-type
5700
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-countrycode
5685
5701
  '''
5686
- result = self._values.get("type")
5687
- assert result is not None, "Required property 'type' is missing"
5688
- return typing.cast(builtins.str, result)
5702
+ result = self._values.get("country_code")
5703
+ return typing.cast(typing.Optional[builtins.str], result)
5689
5704
 
5690
5705
  @builtins.property
5691
5706
  def description(self) -> typing.Optional[builtins.str]:
@@ -5707,6 +5722,17 @@ class CfnPhoneNumberProps:
5707
5722
  result = self._values.get("prefix")
5708
5723
  return typing.cast(typing.Optional[builtins.str], result)
5709
5724
 
5725
+ @builtins.property
5726
+ def source_phone_number_arn(self) -> typing.Optional[builtins.str]:
5727
+ '''The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint.
5728
+
5729
+ If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.
5730
+
5731
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-sourcephonenumberarn
5732
+ '''
5733
+ result = self._values.get("source_phone_number_arn")
5734
+ return typing.cast(typing.Optional[builtins.str], result)
5735
+
5710
5736
  @builtins.property
5711
5737
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
5712
5738
  '''The tags used to organize, track, or control access for this resource.
@@ -5718,6 +5744,15 @@ class CfnPhoneNumberProps:
5718
5744
  result = self._values.get("tags")
5719
5745
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
5720
5746
 
5747
+ @builtins.property
5748
+ def type(self) -> typing.Optional[builtins.str]:
5749
+ '''The type of phone number.
5750
+
5751
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-phonenumber.html#cfn-connect-phonenumber-type
5752
+ '''
5753
+ result = self._values.get("type")
5754
+ return typing.cast(typing.Optional[builtins.str], result)
5755
+
5721
5756
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
5722
5757
  return isinstance(rhs, self.__class__) and rhs._values == self._values
5723
5758
 
@@ -5730,6 +5765,285 @@ class CfnPhoneNumberProps:
5730
5765
  )
5731
5766
 
5732
5767
 
5768
+ @jsii.implements(_IInspectable_c2943556)
5769
+ class CfnPredefinedAttribute(
5770
+ _CfnResource_9df397a6,
5771
+ metaclass=jsii.JSIIMeta,
5772
+ jsii_type="aws-cdk-lib.aws_connect.CfnPredefinedAttribute",
5773
+ ):
5774
+ '''Textual or numeric value that describes an attribute.
5775
+
5776
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-predefinedattribute.html
5777
+ :cloudformationResource: AWS::Connect::PredefinedAttribute
5778
+ :exampleMetadata: fixture=_generated
5779
+
5780
+ Example::
5781
+
5782
+ # The code below shows an example of how to instantiate this type.
5783
+ # The values are placeholders you should change.
5784
+ from aws_cdk import aws_connect as connect
5785
+
5786
+ cfn_predefined_attribute = connect.CfnPredefinedAttribute(self, "MyCfnPredefinedAttribute",
5787
+ instance_arn="instanceArn",
5788
+ name="name",
5789
+ values=connect.CfnPredefinedAttribute.ValuesProperty(
5790
+ string_list=["stringList"]
5791
+ )
5792
+ )
5793
+ '''
5794
+
5795
+ def __init__(
5796
+ self,
5797
+ scope: _constructs_77d1e7e8.Construct,
5798
+ id: builtins.str,
5799
+ *,
5800
+ instance_arn: builtins.str,
5801
+ name: builtins.str,
5802
+ values: typing.Union[_IResolvable_da3f097b, typing.Union["CfnPredefinedAttribute.ValuesProperty", typing.Dict[builtins.str, typing.Any]]],
5803
+ ) -> None:
5804
+ '''
5805
+ :param scope: Scope in which this resource is defined.
5806
+ :param id: Construct identifier for this resource (unique in its scope).
5807
+ :param instance_arn: The Amazon Resource Name (ARN) of the instance.
5808
+ :param name: The name of the predefined attribute.
5809
+ :param values: The values of a predefined attribute.
5810
+ '''
5811
+ if __debug__:
5812
+ type_hints = typing.get_type_hints(_typecheckingstub__aae8251f3c38f12791d918a121eabea35a0fd76a17fe96a45e59fab899ce5ec7)
5813
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
5814
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
5815
+ props = CfnPredefinedAttributeProps(
5816
+ instance_arn=instance_arn, name=name, values=values
5817
+ )
5818
+
5819
+ jsii.create(self.__class__, self, [scope, id, props])
5820
+
5821
+ @jsii.member(jsii_name="inspect")
5822
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
5823
+ '''Examines the CloudFormation resource and discloses attributes.
5824
+
5825
+ :param inspector: tree inspector to collect and process attributes.
5826
+ '''
5827
+ if __debug__:
5828
+ type_hints = typing.get_type_hints(_typecheckingstub__399a78b10dff53c13a30343d41faca3a437720451fa5b68f2b8d10fbf1f63c2c)
5829
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
5830
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
5831
+
5832
+ @jsii.member(jsii_name="renderProperties")
5833
+ def _render_properties(
5834
+ self,
5835
+ props: typing.Mapping[builtins.str, typing.Any],
5836
+ ) -> typing.Mapping[builtins.str, typing.Any]:
5837
+ '''
5838
+ :param props: -
5839
+ '''
5840
+ if __debug__:
5841
+ type_hints = typing.get_type_hints(_typecheckingstub__d3a759424fc31959ddf27d6e257a5b1b335f7d9b1e4ad4bd7184517c6deb90f0)
5842
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
5843
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
5844
+
5845
+ @jsii.python.classproperty
5846
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
5847
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
5848
+ '''The CloudFormation resource type name for this resource class.'''
5849
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
5850
+
5851
+ @builtins.property
5852
+ @jsii.member(jsii_name="cfnProperties")
5853
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
5854
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
5855
+
5856
+ @builtins.property
5857
+ @jsii.member(jsii_name="instanceArn")
5858
+ def instance_arn(self) -> builtins.str:
5859
+ '''The Amazon Resource Name (ARN) of the instance.'''
5860
+ return typing.cast(builtins.str, jsii.get(self, "instanceArn"))
5861
+
5862
+ @instance_arn.setter
5863
+ def instance_arn(self, value: builtins.str) -> None:
5864
+ if __debug__:
5865
+ type_hints = typing.get_type_hints(_typecheckingstub__e72a0435a6a506b8daa0226ab38a3801d43c7ac4e15dd134ff74a68575297e08)
5866
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5867
+ jsii.set(self, "instanceArn", value)
5868
+
5869
+ @builtins.property
5870
+ @jsii.member(jsii_name="name")
5871
+ def name(self) -> builtins.str:
5872
+ '''The name of the predefined attribute.'''
5873
+ return typing.cast(builtins.str, jsii.get(self, "name"))
5874
+
5875
+ @name.setter
5876
+ def name(self, value: builtins.str) -> None:
5877
+ if __debug__:
5878
+ type_hints = typing.get_type_hints(_typecheckingstub__505c1fe18f355a3c8343fc74e29b578ea13ba483aa5951da1f12eba81893b852)
5879
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5880
+ jsii.set(self, "name", value)
5881
+
5882
+ @builtins.property
5883
+ @jsii.member(jsii_name="values")
5884
+ def values(
5885
+ self,
5886
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnPredefinedAttribute.ValuesProperty"]:
5887
+ '''The values of a predefined attribute.'''
5888
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnPredefinedAttribute.ValuesProperty"], jsii.get(self, "values"))
5889
+
5890
+ @values.setter
5891
+ def values(
5892
+ self,
5893
+ value: typing.Union[_IResolvable_da3f097b, "CfnPredefinedAttribute.ValuesProperty"],
5894
+ ) -> None:
5895
+ if __debug__:
5896
+ type_hints = typing.get_type_hints(_typecheckingstub__08003c8bd2407db8849ebc9b0c31a79805d1a0f97f0579e4ac977dfa6a2fd356)
5897
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5898
+ jsii.set(self, "values", value)
5899
+
5900
+ @jsii.data_type(
5901
+ jsii_type="aws-cdk-lib.aws_connect.CfnPredefinedAttribute.ValuesProperty",
5902
+ jsii_struct_bases=[],
5903
+ name_mapping={"string_list": "stringList"},
5904
+ )
5905
+ class ValuesProperty:
5906
+ def __init__(
5907
+ self,
5908
+ *,
5909
+ string_list: typing.Optional[typing.Sequence[builtins.str]] = None,
5910
+ ) -> None:
5911
+ '''The values of a predefined attribute.
5912
+
5913
+ :param string_list: Predefined attribute values of type string list.
5914
+
5915
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-predefinedattribute-values.html
5916
+ :exampleMetadata: fixture=_generated
5917
+
5918
+ Example::
5919
+
5920
+ # The code below shows an example of how to instantiate this type.
5921
+ # The values are placeholders you should change.
5922
+ from aws_cdk import aws_connect as connect
5923
+
5924
+ values_property = connect.CfnPredefinedAttribute.ValuesProperty(
5925
+ string_list=["stringList"]
5926
+ )
5927
+ '''
5928
+ if __debug__:
5929
+ type_hints = typing.get_type_hints(_typecheckingstub__209d9d991e492e56e0ff65e3395c0553be43e6389f1d983bccebb7b1e86208f0)
5930
+ check_type(argname="argument string_list", value=string_list, expected_type=type_hints["string_list"])
5931
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
5932
+ if string_list is not None:
5933
+ self._values["string_list"] = string_list
5934
+
5935
+ @builtins.property
5936
+ def string_list(self) -> typing.Optional[typing.List[builtins.str]]:
5937
+ '''Predefined attribute values of type string list.
5938
+
5939
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-predefinedattribute-values.html#cfn-connect-predefinedattribute-values-stringlist
5940
+ '''
5941
+ result = self._values.get("string_list")
5942
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
5943
+
5944
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
5945
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
5946
+
5947
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
5948
+ return not (rhs == self)
5949
+
5950
+ def __repr__(self) -> str:
5951
+ return "ValuesProperty(%s)" % ", ".join(
5952
+ k + "=" + repr(v) for k, v in self._values.items()
5953
+ )
5954
+
5955
+
5956
+ @jsii.data_type(
5957
+ jsii_type="aws-cdk-lib.aws_connect.CfnPredefinedAttributeProps",
5958
+ jsii_struct_bases=[],
5959
+ name_mapping={"instance_arn": "instanceArn", "name": "name", "values": "values"},
5960
+ )
5961
+ class CfnPredefinedAttributeProps:
5962
+ def __init__(
5963
+ self,
5964
+ *,
5965
+ instance_arn: builtins.str,
5966
+ name: builtins.str,
5967
+ values: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPredefinedAttribute.ValuesProperty, typing.Dict[builtins.str, typing.Any]]],
5968
+ ) -> None:
5969
+ '''Properties for defining a ``CfnPredefinedAttribute``.
5970
+
5971
+ :param instance_arn: The Amazon Resource Name (ARN) of the instance.
5972
+ :param name: The name of the predefined attribute.
5973
+ :param values: The values of a predefined attribute.
5974
+
5975
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-predefinedattribute.html
5976
+ :exampleMetadata: fixture=_generated
5977
+
5978
+ Example::
5979
+
5980
+ # The code below shows an example of how to instantiate this type.
5981
+ # The values are placeholders you should change.
5982
+ from aws_cdk import aws_connect as connect
5983
+
5984
+ cfn_predefined_attribute_props = connect.CfnPredefinedAttributeProps(
5985
+ instance_arn="instanceArn",
5986
+ name="name",
5987
+ values=connect.CfnPredefinedAttribute.ValuesProperty(
5988
+ string_list=["stringList"]
5989
+ )
5990
+ )
5991
+ '''
5992
+ if __debug__:
5993
+ type_hints = typing.get_type_hints(_typecheckingstub__e67db40db23ebfe580f504576f3022c3cb9338c26c6aa02862725f1ecadacc4d)
5994
+ check_type(argname="argument instance_arn", value=instance_arn, expected_type=type_hints["instance_arn"])
5995
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
5996
+ check_type(argname="argument values", value=values, expected_type=type_hints["values"])
5997
+ self._values: typing.Dict[builtins.str, typing.Any] = {
5998
+ "instance_arn": instance_arn,
5999
+ "name": name,
6000
+ "values": values,
6001
+ }
6002
+
6003
+ @builtins.property
6004
+ def instance_arn(self) -> builtins.str:
6005
+ '''The Amazon Resource Name (ARN) of the instance.
6006
+
6007
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-predefinedattribute.html#cfn-connect-predefinedattribute-instancearn
6008
+ '''
6009
+ result = self._values.get("instance_arn")
6010
+ assert result is not None, "Required property 'instance_arn' is missing"
6011
+ return typing.cast(builtins.str, result)
6012
+
6013
+ @builtins.property
6014
+ def name(self) -> builtins.str:
6015
+ '''The name of the predefined attribute.
6016
+
6017
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-predefinedattribute.html#cfn-connect-predefinedattribute-name
6018
+ '''
6019
+ result = self._values.get("name")
6020
+ assert result is not None, "Required property 'name' is missing"
6021
+ return typing.cast(builtins.str, result)
6022
+
6023
+ @builtins.property
6024
+ def values(
6025
+ self,
6026
+ ) -> typing.Union[_IResolvable_da3f097b, CfnPredefinedAttribute.ValuesProperty]:
6027
+ '''The values of a predefined attribute.
6028
+
6029
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-predefinedattribute.html#cfn-connect-predefinedattribute-values
6030
+ '''
6031
+ result = self._values.get("values")
6032
+ assert result is not None, "Required property 'values' is missing"
6033
+ return typing.cast(typing.Union[_IResolvable_da3f097b, CfnPredefinedAttribute.ValuesProperty], result)
6034
+
6035
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
6036
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
6037
+
6038
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
6039
+ return not (rhs == self)
6040
+
6041
+ def __repr__(self) -> str:
6042
+ return "CfnPredefinedAttributeProps(%s)" % ", ".join(
6043
+ k + "=" + repr(v) for k, v in self._values.items()
6044
+ )
6045
+
6046
+
5733
6047
  @jsii.implements(_IInspectable_c2943556)
5734
6048
  class CfnPrompt(
5735
6049
  _CfnResource_9df397a6,
@@ -11657,6 +11971,11 @@ class CfnUser(
11657
11971
  tags=[CfnTag(
11658
11972
  key="key",
11659
11973
  value="value"
11974
+ )],
11975
+ user_proficiencies=[connect.CfnUser.UserProficiencyProperty(
11976
+ attribute_name="attributeName",
11977
+ attribute_value="attributeValue",
11978
+ level=123
11660
11979
  )]
11661
11980
  )
11662
11981
  '''
@@ -11676,6 +11995,7 @@ class CfnUser(
11676
11995
  identity_info: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUser.UserIdentityInfoProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11677
11996
  password: typing.Optional[builtins.str] = None,
11678
11997
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
11998
+ user_proficiencies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUser.UserProficiencyProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
11679
11999
  ) -> None:
11680
12000
  '''
11681
12001
  :param scope: Scope in which this resource is defined.
@@ -11690,6 +12010,7 @@ class CfnUser(
11690
12010
  :param identity_info: Information about the user identity.
11691
12011
  :param password: The user's password.
11692
12012
  :param tags: The tags.
12013
+ :param user_proficiencies: One or more predefined attributes assigned to a user, with a numeric value that indicates how their level of skill in a specified area.
11693
12014
  '''
11694
12015
  if __debug__:
11695
12016
  type_hints = typing.get_type_hints(_typecheckingstub__05b3c171d418de057737855a6729454df2138450ce49f656f47804ab286addf6)
@@ -11706,6 +12027,7 @@ class CfnUser(
11706
12027
  identity_info=identity_info,
11707
12028
  password=password,
11708
12029
  tags=tags,
12030
+ user_proficiencies=user_proficiencies,
11709
12031
  )
11710
12032
 
11711
12033
  jsii.create(self.__class__, self, [scope, id, props])
@@ -11900,6 +12222,24 @@ class CfnUser(
11900
12222
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
11901
12223
  jsii.set(self, "tagsRaw", value)
11902
12224
 
12225
+ @builtins.property
12226
+ @jsii.member(jsii_name="userProficiencies")
12227
+ def user_proficiencies(
12228
+ self,
12229
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUser.UserProficiencyProperty"]]]]:
12230
+ '''One or more predefined attributes assigned to a user, with a numeric value that indicates how their level of skill in a specified area.'''
12231
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUser.UserProficiencyProperty"]]]], jsii.get(self, "userProficiencies"))
12232
+
12233
+ @user_proficiencies.setter
12234
+ def user_proficiencies(
12235
+ self,
12236
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUser.UserProficiencyProperty"]]]],
12237
+ ) -> None:
12238
+ if __debug__:
12239
+ type_hints = typing.get_type_hints(_typecheckingstub__18a40ddd47b7e62a1ca5a21d2261e587a5eca592d22947adb5caefa3724093e4)
12240
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
12241
+ jsii.set(self, "userProficiencies", value)
12242
+
11903
12243
  @jsii.data_type(
11904
12244
  jsii_type="aws-cdk-lib.aws_connect.CfnUser.UserIdentityInfoProperty",
11905
12245
  jsii_struct_bases=[],
@@ -12145,6 +12485,108 @@ class CfnUser(
12145
12485
  k + "=" + repr(v) for k, v in self._values.items()
12146
12486
  )
12147
12487
 
12488
+ @jsii.data_type(
12489
+ jsii_type="aws-cdk-lib.aws_connect.CfnUser.UserProficiencyProperty",
12490
+ jsii_struct_bases=[],
12491
+ name_mapping={
12492
+ "attribute_name": "attributeName",
12493
+ "attribute_value": "attributeValue",
12494
+ "level": "level",
12495
+ },
12496
+ )
12497
+ class UserProficiencyProperty:
12498
+ def __init__(
12499
+ self,
12500
+ *,
12501
+ attribute_name: builtins.str,
12502
+ attribute_value: builtins.str,
12503
+ level: jsii.Number,
12504
+ ) -> None:
12505
+ '''.. epigraph::
12506
+
12507
+ A predefined attribute must be created before using ``UserProficiencies`` in the Cloudformation *User* template.
12508
+
12509
+ For more information, see `Predefined attributes <https://docs.aws.amazon.com/connect/latest/adminguide/predefined-attributes.html>`_ .
12510
+
12511
+ Proficiency of a user.
12512
+
12513
+ :param attribute_name: The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance.
12514
+ :param attribute_value: The value of user’s proficiency. You must use a predefined attribute value that is present in the Amazon Connect instance.
12515
+ :param level: The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.
12516
+
12517
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userproficiency.html
12518
+ :exampleMetadata: fixture=_generated
12519
+
12520
+ Example::
12521
+
12522
+ # The code below shows an example of how to instantiate this type.
12523
+ # The values are placeholders you should change.
12524
+ from aws_cdk import aws_connect as connect
12525
+
12526
+ user_proficiency_property = connect.CfnUser.UserProficiencyProperty(
12527
+ attribute_name="attributeName",
12528
+ attribute_value="attributeValue",
12529
+ level=123
12530
+ )
12531
+ '''
12532
+ if __debug__:
12533
+ type_hints = typing.get_type_hints(_typecheckingstub__345901e38de5207bac37cf2e70717ae293249c5093817f351ddab16523ebf96a)
12534
+ check_type(argname="argument attribute_name", value=attribute_name, expected_type=type_hints["attribute_name"])
12535
+ check_type(argname="argument attribute_value", value=attribute_value, expected_type=type_hints["attribute_value"])
12536
+ check_type(argname="argument level", value=level, expected_type=type_hints["level"])
12537
+ self._values: typing.Dict[builtins.str, typing.Any] = {
12538
+ "attribute_name": attribute_name,
12539
+ "attribute_value": attribute_value,
12540
+ "level": level,
12541
+ }
12542
+
12543
+ @builtins.property
12544
+ def attribute_name(self) -> builtins.str:
12545
+ '''The name of user’s proficiency.
12546
+
12547
+ You must use a predefined attribute name that is present in the Amazon Connect instance.
12548
+
12549
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userproficiency.html#cfn-connect-user-userproficiency-attributename
12550
+ '''
12551
+ result = self._values.get("attribute_name")
12552
+ assert result is not None, "Required property 'attribute_name' is missing"
12553
+ return typing.cast(builtins.str, result)
12554
+
12555
+ @builtins.property
12556
+ def attribute_value(self) -> builtins.str:
12557
+ '''The value of user’s proficiency.
12558
+
12559
+ You must use a predefined attribute value that is present in the Amazon Connect instance.
12560
+
12561
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userproficiency.html#cfn-connect-user-userproficiency-attributevalue
12562
+ '''
12563
+ result = self._values.get("attribute_value")
12564
+ assert result is not None, "Required property 'attribute_value' is missing"
12565
+ return typing.cast(builtins.str, result)
12566
+
12567
+ @builtins.property
12568
+ def level(self) -> jsii.Number:
12569
+ '''The level of the proficiency.
12570
+
12571
+ The valid values are 1, 2, 3, 4 and 5.
12572
+
12573
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userproficiency.html#cfn-connect-user-userproficiency-level
12574
+ '''
12575
+ result = self._values.get("level")
12576
+ assert result is not None, "Required property 'level' is missing"
12577
+ return typing.cast(jsii.Number, result)
12578
+
12579
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
12580
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
12581
+
12582
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
12583
+ return not (rhs == self)
12584
+
12585
+ def __repr__(self) -> str:
12586
+ return "UserProficiencyProperty(%s)" % ", ".join(
12587
+ k + "=" + repr(v) for k, v in self._values.items()
12588
+ )
12589
+
12148
12590
 
12149
12591
  @jsii.implements(_IInspectable_c2943556)
12150
12592
  class CfnUserHierarchyGroup(
@@ -12193,7 +12635,7 @@ class CfnUserHierarchyGroup(
12193
12635
  :param instance_arn: The Amazon Resource Name (ARN) of the user hierarchy group.
12194
12636
  :param name: The name of the user hierarchy group.
12195
12637
  :param parent_group_arn: The Amazon Resource Name (ARN) of the parent group.
12196
- :param tags: One or more tags.
12638
+ :param tags: An array of key-value pairs to apply to this resource.
12197
12639
  '''
12198
12640
  if __debug__:
12199
12641
  type_hints = typing.get_type_hints(_typecheckingstub__0ee71292692b3a4ed0bb1ecb030ac42cd8de9fe7fd30c25bca5b2f1eaaa6bb48)
@@ -12294,7 +12736,7 @@ class CfnUserHierarchyGroup(
12294
12736
  @builtins.property
12295
12737
  @jsii.member(jsii_name="tags")
12296
12738
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
12297
- '''One or more tags.'''
12739
+ '''An array of key-value pairs to apply to this resource.'''
12298
12740
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
12299
12741
 
12300
12742
  @tags.setter
@@ -12329,7 +12771,7 @@ class CfnUserHierarchyGroupProps:
12329
12771
  :param instance_arn: The Amazon Resource Name (ARN) of the user hierarchy group.
12330
12772
  :param name: The name of the user hierarchy group.
12331
12773
  :param parent_group_arn: The Amazon Resource Name (ARN) of the parent group.
12332
- :param tags: One or more tags.
12774
+ :param tags: An array of key-value pairs to apply to this resource.
12333
12775
 
12334
12776
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html
12335
12777
  :exampleMetadata: fixture=_generated
@@ -12398,7 +12840,7 @@ class CfnUserHierarchyGroupProps:
12398
12840
 
12399
12841
  @builtins.property
12400
12842
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
12401
- '''One or more tags.
12843
+ '''An array of key-value pairs to apply to this resource.
12402
12844
 
12403
12845
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-tags
12404
12846
  '''
@@ -12431,6 +12873,7 @@ class CfnUserHierarchyGroupProps:
12431
12873
  "identity_info": "identityInfo",
12432
12874
  "password": "password",
12433
12875
  "tags": "tags",
12876
+ "user_proficiencies": "userProficiencies",
12434
12877
  },
12435
12878
  )
12436
12879
  class CfnUserProps:
@@ -12447,6 +12890,7 @@ class CfnUserProps:
12447
12890
  identity_info: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUser.UserIdentityInfoProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12448
12891
  password: typing.Optional[builtins.str] = None,
12449
12892
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
12893
+ user_proficiencies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUser.UserProficiencyProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
12450
12894
  ) -> None:
12451
12895
  '''Properties for defining a ``CfnUser``.
12452
12896
 
@@ -12460,6 +12904,7 @@ class CfnUserProps:
12460
12904
  :param identity_info: Information about the user identity.
12461
12905
  :param password: The user's password.
12462
12906
  :param tags: The tags.
12907
+ :param user_proficiencies: One or more predefined attributes assigned to a user, with a numeric value that indicates how their level of skill in a specified area.
12463
12908
 
12464
12909
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html
12465
12910
  :exampleMetadata: fixture=_generated
@@ -12498,6 +12943,11 @@ class CfnUserProps:
12498
12943
  tags=[CfnTag(
12499
12944
  key="key",
12500
12945
  value="value"
12946
+ )],
12947
+ user_proficiencies=[connect.CfnUser.UserProficiencyProperty(
12948
+ attribute_name="attributeName",
12949
+ attribute_value="attributeValue",
12950
+ level=123
12501
12951
  )]
12502
12952
  )
12503
12953
  '''
@@ -12513,6 +12963,7 @@ class CfnUserProps:
12513
12963
  check_type(argname="argument identity_info", value=identity_info, expected_type=type_hints["identity_info"])
12514
12964
  check_type(argname="argument password", value=password, expected_type=type_hints["password"])
12515
12965
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
12966
+ check_type(argname="argument user_proficiencies", value=user_proficiencies, expected_type=type_hints["user_proficiencies"])
12516
12967
  self._values: typing.Dict[builtins.str, typing.Any] = {
12517
12968
  "instance_arn": instance_arn,
12518
12969
  "phone_config": phone_config,
@@ -12530,6 +12981,8 @@ class CfnUserProps:
12530
12981
  self._values["password"] = password
12531
12982
  if tags is not None:
12532
12983
  self._values["tags"] = tags
12984
+ if user_proficiencies is not None:
12985
+ self._values["user_proficiencies"] = user_proficiencies
12533
12986
 
12534
12987
  @builtins.property
12535
12988
  def instance_arn(self) -> builtins.str:
@@ -12630,6 +13083,17 @@ class CfnUserProps:
12630
13083
  result = self._values.get("tags")
12631
13084
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
12632
13085
 
13086
+ @builtins.property
13087
+ def user_proficiencies(
13088
+ self,
13089
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnUser.UserProficiencyProperty]]]]:
13090
+ '''One or more predefined attributes assigned to a user, with a numeric value that indicates how their level of skill in a specified area.
13091
+
13092
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-userproficiencies
13093
+ '''
13094
+ result = self._values.get("user_proficiencies")
13095
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnUser.UserProficiencyProperty]]]], result)
13096
+
12633
13097
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
12634
13098
  return isinstance(rhs, self.__class__) and rhs._values == self._values
12635
13099
 
@@ -13269,6 +13733,8 @@ __all__ = [
13269
13733
  "CfnIntegrationAssociationProps",
13270
13734
  "CfnPhoneNumber",
13271
13735
  "CfnPhoneNumberProps",
13736
+ "CfnPredefinedAttribute",
13737
+ "CfnPredefinedAttributeProps",
13272
13738
  "CfnPrompt",
13273
13739
  "CfnPromptProps",
13274
13740
  "CfnQueue",
@@ -14057,12 +14523,13 @@ def _typecheckingstub__9ec70d84fd2bda163d290722acbb6feca633b4ee134732d8b720c0b96
14057
14523
  scope: _constructs_77d1e7e8.Construct,
14058
14524
  id: builtins.str,
14059
14525
  *,
14060
- country_code: builtins.str,
14061
14526
  target_arn: builtins.str,
14062
- type: builtins.str,
14527
+ country_code: typing.Optional[builtins.str] = None,
14063
14528
  description: typing.Optional[builtins.str] = None,
14064
14529
  prefix: typing.Optional[builtins.str] = None,
14530
+ source_phone_number_arn: typing.Optional[builtins.str] = None,
14065
14531
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
14532
+ type: typing.Optional[builtins.str] = None,
14066
14533
  ) -> None:
14067
14534
  """Type checking stubs"""
14068
14535
  pass
@@ -14079,31 +14546,31 @@ def _typecheckingstub__b523ee72d695f2e00f7a42b04d5ef172e9c4c9f850d546d7d54f31058
14079
14546
  """Type checking stubs"""
14080
14547
  pass
14081
14548
 
14082
- def _typecheckingstub__7e8049a6bcb60451cb780647e8cad2360b140018c95db8d6b0e339ed0524e56f(
14549
+ def _typecheckingstub__aee914dbb9c13734690f391827e9cd37ca89f521141f3de61e900bfbbd902752(
14083
14550
  value: builtins.str,
14084
14551
  ) -> None:
14085
14552
  """Type checking stubs"""
14086
14553
  pass
14087
14554
 
14088
- def _typecheckingstub__aee914dbb9c13734690f391827e9cd37ca89f521141f3de61e900bfbbd902752(
14089
- value: builtins.str,
14555
+ def _typecheckingstub__7e8049a6bcb60451cb780647e8cad2360b140018c95db8d6b0e339ed0524e56f(
14556
+ value: typing.Optional[builtins.str],
14090
14557
  ) -> None:
14091
14558
  """Type checking stubs"""
14092
14559
  pass
14093
14560
 
14094
- def _typecheckingstub__d0868299e1426aef01fcea4843c3c28737fa3b7614cce2aa77e978bfa8976f8f(
14095
- value: builtins.str,
14561
+ def _typecheckingstub__9949958c848f257cc25ceae67fe2e9cee4b1972f09d90ea4ed667dac758be40e(
14562
+ value: typing.Optional[builtins.str],
14096
14563
  ) -> None:
14097
14564
  """Type checking stubs"""
14098
14565
  pass
14099
14566
 
14100
- def _typecheckingstub__9949958c848f257cc25ceae67fe2e9cee4b1972f09d90ea4ed667dac758be40e(
14567
+ def _typecheckingstub__572d2dd079d87f4a7578acddb0bc7dbcca5ec4c2fecd370ff662ac4d429ea5b5(
14101
14568
  value: typing.Optional[builtins.str],
14102
14569
  ) -> None:
14103
14570
  """Type checking stubs"""
14104
14571
  pass
14105
14572
 
14106
- def _typecheckingstub__572d2dd079d87f4a7578acddb0bc7dbcca5ec4c2fecd370ff662ac4d429ea5b5(
14573
+ def _typecheckingstub__300c4efa19cbb74af0cd0af8daf0ae0f9cc8bdc0b5b372ff32bd5afa5fec8cb5(
14107
14574
  value: typing.Optional[builtins.str],
14108
14575
  ) -> None:
14109
14576
  """Type checking stubs"""
@@ -14115,14 +14582,78 @@ def _typecheckingstub__b0910286729f650a764036086fb0fc5a1d117b7068e7085b28b831445
14115
14582
  """Type checking stubs"""
14116
14583
  pass
14117
14584
 
14585
+ def _typecheckingstub__d0868299e1426aef01fcea4843c3c28737fa3b7614cce2aa77e978bfa8976f8f(
14586
+ value: typing.Optional[builtins.str],
14587
+ ) -> None:
14588
+ """Type checking stubs"""
14589
+ pass
14590
+
14118
14591
  def _typecheckingstub__a9b6cbf832a5409fafc1645b1b1a1567ef5e6d173dfed6d56cae08b977fd4b95(
14119
14592
  *,
14120
- country_code: builtins.str,
14121
14593
  target_arn: builtins.str,
14122
- type: builtins.str,
14594
+ country_code: typing.Optional[builtins.str] = None,
14123
14595
  description: typing.Optional[builtins.str] = None,
14124
14596
  prefix: typing.Optional[builtins.str] = None,
14597
+ source_phone_number_arn: typing.Optional[builtins.str] = None,
14125
14598
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
14599
+ type: typing.Optional[builtins.str] = None,
14600
+ ) -> None:
14601
+ """Type checking stubs"""
14602
+ pass
14603
+
14604
+ def _typecheckingstub__aae8251f3c38f12791d918a121eabea35a0fd76a17fe96a45e59fab899ce5ec7(
14605
+ scope: _constructs_77d1e7e8.Construct,
14606
+ id: builtins.str,
14607
+ *,
14608
+ instance_arn: builtins.str,
14609
+ name: builtins.str,
14610
+ values: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPredefinedAttribute.ValuesProperty, typing.Dict[builtins.str, typing.Any]]],
14611
+ ) -> None:
14612
+ """Type checking stubs"""
14613
+ pass
14614
+
14615
+ def _typecheckingstub__399a78b10dff53c13a30343d41faca3a437720451fa5b68f2b8d10fbf1f63c2c(
14616
+ inspector: _TreeInspector_488e0dd5,
14617
+ ) -> None:
14618
+ """Type checking stubs"""
14619
+ pass
14620
+
14621
+ def _typecheckingstub__d3a759424fc31959ddf27d6e257a5b1b335f7d9b1e4ad4bd7184517c6deb90f0(
14622
+ props: typing.Mapping[builtins.str, typing.Any],
14623
+ ) -> None:
14624
+ """Type checking stubs"""
14625
+ pass
14626
+
14627
+ def _typecheckingstub__e72a0435a6a506b8daa0226ab38a3801d43c7ac4e15dd134ff74a68575297e08(
14628
+ value: builtins.str,
14629
+ ) -> None:
14630
+ """Type checking stubs"""
14631
+ pass
14632
+
14633
+ def _typecheckingstub__505c1fe18f355a3c8343fc74e29b578ea13ba483aa5951da1f12eba81893b852(
14634
+ value: builtins.str,
14635
+ ) -> None:
14636
+ """Type checking stubs"""
14637
+ pass
14638
+
14639
+ def _typecheckingstub__08003c8bd2407db8849ebc9b0c31a79805d1a0f97f0579e4ac977dfa6a2fd356(
14640
+ value: typing.Union[_IResolvable_da3f097b, CfnPredefinedAttribute.ValuesProperty],
14641
+ ) -> None:
14642
+ """Type checking stubs"""
14643
+ pass
14644
+
14645
+ def _typecheckingstub__209d9d991e492e56e0ff65e3395c0553be43e6389f1d983bccebb7b1e86208f0(
14646
+ *,
14647
+ string_list: typing.Optional[typing.Sequence[builtins.str]] = None,
14648
+ ) -> None:
14649
+ """Type checking stubs"""
14650
+ pass
14651
+
14652
+ def _typecheckingstub__e67db40db23ebfe580f504576f3022c3cb9338c26c6aa02862725f1ecadacc4d(
14653
+ *,
14654
+ instance_arn: builtins.str,
14655
+ name: builtins.str,
14656
+ values: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPredefinedAttribute.ValuesProperty, typing.Dict[builtins.str, typing.Any]]],
14126
14657
  ) -> None:
14127
14658
  """Type checking stubs"""
14128
14659
  pass
@@ -15059,6 +15590,7 @@ def _typecheckingstub__05b3c171d418de057737855a6729454df2138450ce49f656f47804ab2
15059
15590
  identity_info: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUser.UserIdentityInfoProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15060
15591
  password: typing.Optional[builtins.str] = None,
15061
15592
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
15593
+ user_proficiencies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUser.UserProficiencyProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15062
15594
  ) -> None:
15063
15595
  """Type checking stubs"""
15064
15596
  pass
@@ -15135,6 +15667,12 @@ def _typecheckingstub__9e4428cb05b6e362886b1adc91882b21e8cb39137a29037b9728d57b3
15135
15667
  """Type checking stubs"""
15136
15668
  pass
15137
15669
 
15670
+ def _typecheckingstub__18a40ddd47b7e62a1ca5a21d2261e587a5eca592d22947adb5caefa3724093e4(
15671
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnUser.UserProficiencyProperty]]]],
15672
+ ) -> None:
15673
+ """Type checking stubs"""
15674
+ pass
15675
+
15138
15676
  def _typecheckingstub__675484167c56516574409f5f87a82bc61f2bd18d297494deb996e1e0a0c63262(
15139
15677
  *,
15140
15678
  email: typing.Optional[builtins.str] = None,
@@ -15156,6 +15694,15 @@ def _typecheckingstub__e774e2d87fa8144ee9994624937d62ce4393d565b8e6982f7d2e1c5bf
15156
15694
  """Type checking stubs"""
15157
15695
  pass
15158
15696
 
15697
+ def _typecheckingstub__345901e38de5207bac37cf2e70717ae293249c5093817f351ddab16523ebf96a(
15698
+ *,
15699
+ attribute_name: builtins.str,
15700
+ attribute_value: builtins.str,
15701
+ level: jsii.Number,
15702
+ ) -> None:
15703
+ """Type checking stubs"""
15704
+ pass
15705
+
15159
15706
  def _typecheckingstub__0ee71292692b3a4ed0bb1ecb030ac42cd8de9fe7fd30c25bca5b2f1eaaa6bb48(
15160
15707
  scope: _constructs_77d1e7e8.Construct,
15161
15708
  id: builtins.str,
@@ -15226,6 +15773,7 @@ def _typecheckingstub__494987ef0f9b905c50c1efbd53f96fb396b7f25b5354dfbb4027a32db
15226
15773
  identity_info: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUser.UserIdentityInfoProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
15227
15774
  password: typing.Optional[builtins.str] = None,
15228
15775
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
15776
+ user_proficiencies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUser.UserProficiencyProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15229
15777
  ) -> None:
15230
15778
  """Type checking stubs"""
15231
15779
  pass