aws-cdk-lib 2.200.1__py3-none-any.whl → 2.201.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 (53) hide show
  1. aws_cdk/__init__.py +105 -13
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.200.1.jsii.tgz → aws-cdk-lib@2.201.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +2 -3
  5. aws_cdk/aws_amplify/__init__.py +3 -3
  6. aws_cdk/aws_apigateway/__init__.py +21 -17
  7. aws_cdk/aws_apigatewayv2/__init__.py +87 -45
  8. aws_cdk/aws_appconfig/__init__.py +38 -1
  9. aws_cdk/aws_appsync/__init__.py +10 -10
  10. aws_cdk/aws_athena/__init__.py +226 -0
  11. aws_cdk/aws_autoscaling/__init__.py +38 -37
  12. aws_cdk/aws_bedrock/__init__.py +5108 -1571
  13. aws_cdk/aws_cloudfront/__init__.py +8 -0
  14. aws_cdk/aws_cloudtrail/__init__.py +178 -0
  15. aws_cdk/aws_cloudwatch/__init__.py +7 -3
  16. aws_cdk/aws_codepipeline_actions/__init__.py +746 -0
  17. aws_cdk/aws_connect/__init__.py +5 -5
  18. aws_cdk/aws_customerprofiles/__init__.py +377 -8
  19. aws_cdk/aws_datasync/__init__.py +189 -160
  20. aws_cdk/aws_datazone/__init__.py +512 -170
  21. aws_cdk/aws_deadline/__init__.py +32 -4
  22. aws_cdk/aws_dsql/__init__.py +150 -10
  23. aws_cdk/aws_ec2/__init__.py +793 -56
  24. aws_cdk/aws_ecs/__init__.py +94 -11
  25. aws_cdk/aws_efs/__init__.py +92 -12
  26. aws_cdk/aws_eks/__init__.py +166 -19
  27. aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
  28. aws_cdk/aws_emr/__init__.py +10 -4
  29. aws_cdk/aws_entityresolution/__init__.py +25 -10
  30. aws_cdk/aws_evs/__init__.py +2204 -0
  31. aws_cdk/aws_fsx/__init__.py +7 -7
  32. aws_cdk/aws_lambda/__init__.py +409 -32
  33. aws_cdk/aws_lightsail/__init__.py +17 -13
  34. aws_cdk/aws_logs/__init__.py +1 -0
  35. aws_cdk/aws_networkfirewall/__init__.py +562 -0
  36. aws_cdk/aws_opensearchservice/__init__.py +3 -3
  37. aws_cdk/aws_opsworkscm/__init__.py +9 -43
  38. aws_cdk/aws_rds/__init__.py +284 -87
  39. aws_cdk/aws_s3/__init__.py +23 -15
  40. aws_cdk/aws_sagemaker/__init__.py +223 -3
  41. aws_cdk/aws_securityhub/__init__.py +18 -34
  42. aws_cdk/aws_ssm/__init__.py +83 -1
  43. aws_cdk/aws_stepfunctions/__init__.py +235 -45
  44. aws_cdk/aws_synthetics/__init__.py +74 -0
  45. aws_cdk/aws_transfer/__init__.py +3 -3
  46. aws_cdk/aws_verifiedpermissions/__init__.py +17 -6
  47. aws_cdk/aws_wafv2/__init__.py +39 -2
  48. {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/METADATA +2 -2
  49. {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/RECORD +53 -52
  50. {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/LICENSE +0 -0
  51. {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/NOTICE +0 -0
  52. {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/WHEEL +0 -0
  53. {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/top_level.txt +0 -0
@@ -104,7 +104,15 @@ class CfnCalculatedAttributeDefinition(
104
104
  object_count=123,
105
105
  range=customerprofiles.CfnCalculatedAttributeDefinition.RangeProperty(
106
106
  unit="unit",
107
- value=123
107
+ value=123,
108
+
109
+ # the properties below are optional
110
+ timestamp_format="timestampFormat",
111
+ timestamp_source="timestampSource",
112
+ value_range=customerprofiles.CfnCalculatedAttributeDefinition.ValueRangeProperty(
113
+ end=123,
114
+ start=123
115
+ )
108
116
  ),
109
117
  threshold=customerprofiles.CfnCalculatedAttributeDefinition.ThresholdProperty(
110
118
  operator="operator",
@@ -116,7 +124,8 @@ class CfnCalculatedAttributeDefinition(
116
124
  tags=[CfnTag(
117
125
  key="key",
118
126
  value="value"
119
- )]
127
+ )],
128
+ use_historical_data=False
120
129
  )
121
130
  '''
122
131
 
@@ -133,6 +142,7 @@ class CfnCalculatedAttributeDefinition(
133
142
  description: typing.Optional[builtins.str] = None,
134
143
  display_name: typing.Optional[builtins.str] = None,
135
144
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
145
+ use_historical_data: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
136
146
  ) -> None:
137
147
  '''
138
148
  :param scope: Scope in which this resource is defined.
@@ -145,6 +155,7 @@ class CfnCalculatedAttributeDefinition(
145
155
  :param description: The description of the calculated attribute.
146
156
  :param display_name: The display name of the calculated attribute.
147
157
  :param tags: An array of key-value pairs to apply to this resource.
158
+ :param use_historical_data: Whether to use historical data for the calculated attribute.
148
159
  '''
149
160
  if __debug__:
150
161
  type_hints = typing.get_type_hints(_typecheckingstub__3a09ab96caa4db6cfa4ebb0207c025a7f976cac18f814d69b882506cf2971669)
@@ -159,6 +170,7 @@ class CfnCalculatedAttributeDefinition(
159
170
  description=description,
160
171
  display_name=display_name,
161
172
  tags=tags,
173
+ use_historical_data=use_historical_data,
162
174
  )
163
175
 
164
176
  jsii.create(self.__class__, self, [scope, id, props])
@@ -211,6 +223,24 @@ class CfnCalculatedAttributeDefinition(
211
223
  '''
212
224
  return typing.cast(builtins.str, jsii.get(self, "attrLastUpdatedAt"))
213
225
 
226
+ @builtins.property
227
+ @jsii.member(jsii_name="attrReadiness")
228
+ def attr_readiness(self) -> _IResolvable_da3f097b:
229
+ '''The readiness status of the calculated attribute.
230
+
231
+ :cloudformationAttribute: Readiness
232
+ '''
233
+ return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrReadiness"))
234
+
235
+ @builtins.property
236
+ @jsii.member(jsii_name="attrStatus")
237
+ def attr_status(self) -> builtins.str:
238
+ '''The status of the calculated attribute definition.
239
+
240
+ :cloudformationAttribute: Status
241
+ '''
242
+ return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
243
+
214
244
  @builtins.property
215
245
  @jsii.member(jsii_name="cdkTagManager")
216
246
  def cdk_tag_manager(self) -> _TagManager_0a598cb3:
@@ -336,6 +366,24 @@ class CfnCalculatedAttributeDefinition(
336
366
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
337
367
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
338
368
 
369
+ @builtins.property
370
+ @jsii.member(jsii_name="useHistoricalData")
371
+ def use_historical_data(
372
+ self,
373
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
374
+ '''Whether to use historical data for the calculated attribute.'''
375
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "useHistoricalData"))
376
+
377
+ @use_historical_data.setter
378
+ def use_historical_data(
379
+ self,
380
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
381
+ ) -> None:
382
+ if __debug__:
383
+ type_hints = typing.get_type_hints(_typecheckingstub__7ab1072a749050ba2fecfbba8cc52cbc745e52869b7164a97ab6eb2dcdf582c4)
384
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
385
+ jsii.set(self, "useHistoricalData", value) # pyright: ignore[reportArgumentType]
386
+
339
387
  @jsii.data_type(
340
388
  jsii_type="aws-cdk-lib.aws_customerprofiles.CfnCalculatedAttributeDefinition.AttributeDetailsProperty",
341
389
  jsii_struct_bases=[],
@@ -501,7 +549,15 @@ class CfnCalculatedAttributeDefinition(
501
549
  object_count=123,
502
550
  range=customerprofiles.CfnCalculatedAttributeDefinition.RangeProperty(
503
551
  unit="unit",
504
- value=123
552
+ value=123,
553
+
554
+ # the properties below are optional
555
+ timestamp_format="timestampFormat",
556
+ timestamp_source="timestampSource",
557
+ value_range=customerprofiles.CfnCalculatedAttributeDefinition.ValueRangeProperty(
558
+ end=123,
559
+ start=123
560
+ )
505
561
  ),
506
562
  threshold=customerprofiles.CfnCalculatedAttributeDefinition.ThresholdProperty(
507
563
  operator="operator",
@@ -567,14 +623,31 @@ class CfnCalculatedAttributeDefinition(
567
623
  @jsii.data_type(
568
624
  jsii_type="aws-cdk-lib.aws_customerprofiles.CfnCalculatedAttributeDefinition.RangeProperty",
569
625
  jsii_struct_bases=[],
570
- name_mapping={"unit": "unit", "value": "value"},
626
+ name_mapping={
627
+ "unit": "unit",
628
+ "value": "value",
629
+ "timestamp_format": "timestampFormat",
630
+ "timestamp_source": "timestampSource",
631
+ "value_range": "valueRange",
632
+ },
571
633
  )
572
634
  class RangeProperty:
573
- def __init__(self, *, unit: builtins.str, value: jsii.Number) -> None:
635
+ def __init__(
636
+ self,
637
+ *,
638
+ unit: builtins.str,
639
+ value: jsii.Number,
640
+ timestamp_format: typing.Optional[builtins.str] = None,
641
+ timestamp_source: typing.Optional[builtins.str] = None,
642
+ value_range: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCalculatedAttributeDefinition.ValueRangeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
643
+ ) -> None:
574
644
  '''The relative time period over which data is included in the aggregation.
575
645
 
576
646
  :param unit: The unit of time.
577
647
  :param value: The amount of time of the specified unit.
648
+ :param timestamp_format: The format the timestamp field in your JSON object is specified. This value should be one of EPOCHMILLI or ISO_8601. E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "2001-07-04T12:08:56.235Z"}}, then TimestampFormat should be "ISO_8601".
649
+ :param timestamp_source: An expression specifying the field in your JSON object from which the date should be parsed. The expression should follow the structure of "{ObjectTypeName.}". E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "1737587945945"}}, then TimestampSource should be "{MyType.generatedAt.timestamp}".
650
+ :param value_range: A structure specifying the endpoints of the relative time period over which data is included in the aggregation.
578
651
 
579
652
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-range.html
580
653
  :exampleMetadata: fixture=_generated
@@ -587,17 +660,34 @@ class CfnCalculatedAttributeDefinition(
587
660
 
588
661
  range_property = customerprofiles.CfnCalculatedAttributeDefinition.RangeProperty(
589
662
  unit="unit",
590
- value=123
663
+ value=123,
664
+
665
+ # the properties below are optional
666
+ timestamp_format="timestampFormat",
667
+ timestamp_source="timestampSource",
668
+ value_range=customerprofiles.CfnCalculatedAttributeDefinition.ValueRangeProperty(
669
+ end=123,
670
+ start=123
671
+ )
591
672
  )
592
673
  '''
593
674
  if __debug__:
594
675
  type_hints = typing.get_type_hints(_typecheckingstub__4567eb83ac5620aa6be36cbd0e38cdba257d259743e1017616dbc2252fc66f9d)
595
676
  check_type(argname="argument unit", value=unit, expected_type=type_hints["unit"])
596
677
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
678
+ check_type(argname="argument timestamp_format", value=timestamp_format, expected_type=type_hints["timestamp_format"])
679
+ check_type(argname="argument timestamp_source", value=timestamp_source, expected_type=type_hints["timestamp_source"])
680
+ check_type(argname="argument value_range", value=value_range, expected_type=type_hints["value_range"])
597
681
  self._values: typing.Dict[builtins.str, typing.Any] = {
598
682
  "unit": unit,
599
683
  "value": value,
600
684
  }
685
+ if timestamp_format is not None:
686
+ self._values["timestamp_format"] = timestamp_format
687
+ if timestamp_source is not None:
688
+ self._values["timestamp_source"] = timestamp_source
689
+ if value_range is not None:
690
+ self._values["value_range"] = value_range
601
691
 
602
692
  @builtins.property
603
693
  def unit(self) -> builtins.str:
@@ -619,6 +709,39 @@ class CfnCalculatedAttributeDefinition(
619
709
  assert result is not None, "Required property 'value' is missing"
620
710
  return typing.cast(jsii.Number, result)
621
711
 
712
+ @builtins.property
713
+ def timestamp_format(self) -> typing.Optional[builtins.str]:
714
+ '''The format the timestamp field in your JSON object is specified.
715
+
716
+ This value should be one of EPOCHMILLI or ISO_8601. E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "2001-07-04T12:08:56.235Z"}}, then TimestampFormat should be "ISO_8601".
717
+
718
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-range.html#cfn-customerprofiles-calculatedattributedefinition-range-timestampformat
719
+ '''
720
+ result = self._values.get("timestamp_format")
721
+ return typing.cast(typing.Optional[builtins.str], result)
722
+
723
+ @builtins.property
724
+ def timestamp_source(self) -> typing.Optional[builtins.str]:
725
+ '''An expression specifying the field in your JSON object from which the date should be parsed.
726
+
727
+ The expression should follow the structure of "{ObjectTypeName.}". E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "1737587945945"}}, then TimestampSource should be "{MyType.generatedAt.timestamp}".
728
+
729
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-range.html#cfn-customerprofiles-calculatedattributedefinition-range-timestampsource
730
+ '''
731
+ result = self._values.get("timestamp_source")
732
+ return typing.cast(typing.Optional[builtins.str], result)
733
+
734
+ @builtins.property
735
+ def value_range(
736
+ self,
737
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCalculatedAttributeDefinition.ValueRangeProperty"]]:
738
+ '''A structure specifying the endpoints of the relative time period over which data is included in the aggregation.
739
+
740
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-range.html#cfn-customerprofiles-calculatedattributedefinition-range-valuerange
741
+ '''
742
+ result = self._values.get("value_range")
743
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCalculatedAttributeDefinition.ValueRangeProperty"]], result)
744
+
622
745
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
623
746
  return isinstance(rhs, self.__class__) and rhs._values == self._values
624
747
 
@@ -630,6 +753,79 @@ class CfnCalculatedAttributeDefinition(
630
753
  k + "=" + repr(v) for k, v in self._values.items()
631
754
  )
632
755
 
756
+ @jsii.data_type(
757
+ jsii_type="aws-cdk-lib.aws_customerprofiles.CfnCalculatedAttributeDefinition.ReadinessProperty",
758
+ jsii_struct_bases=[],
759
+ name_mapping={
760
+ "message": "message",
761
+ "progress_percentage": "progressPercentage",
762
+ },
763
+ )
764
+ class ReadinessProperty:
765
+ def __init__(
766
+ self,
767
+ *,
768
+ message: typing.Optional[builtins.str] = None,
769
+ progress_percentage: typing.Optional[jsii.Number] = None,
770
+ ) -> None:
771
+ '''The readiness status of the calculated attribute.
772
+
773
+ :param message: Any information pertaining to the status of the calculated attribute if required.
774
+ :param progress_percentage: The progress percentage for including historical data in your calculated attribute.
775
+
776
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-readiness.html
777
+ :exampleMetadata: fixture=_generated
778
+
779
+ Example::
780
+
781
+ # The code below shows an example of how to instantiate this type.
782
+ # The values are placeholders you should change.
783
+ from aws_cdk import aws_customerprofiles as customerprofiles
784
+
785
+ readiness_property = customerprofiles.CfnCalculatedAttributeDefinition.ReadinessProperty(
786
+ message="message",
787
+ progress_percentage=123
788
+ )
789
+ '''
790
+ if __debug__:
791
+ type_hints = typing.get_type_hints(_typecheckingstub__0bc0a3c3468a435a5677e162145a9ef5e062a4e72fd921895d645bd1056af4e3)
792
+ check_type(argname="argument message", value=message, expected_type=type_hints["message"])
793
+ check_type(argname="argument progress_percentage", value=progress_percentage, expected_type=type_hints["progress_percentage"])
794
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
795
+ if message is not None:
796
+ self._values["message"] = message
797
+ if progress_percentage is not None:
798
+ self._values["progress_percentage"] = progress_percentage
799
+
800
+ @builtins.property
801
+ def message(self) -> typing.Optional[builtins.str]:
802
+ '''Any information pertaining to the status of the calculated attribute if required.
803
+
804
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-readiness.html#cfn-customerprofiles-calculatedattributedefinition-readiness-message
805
+ '''
806
+ result = self._values.get("message")
807
+ return typing.cast(typing.Optional[builtins.str], result)
808
+
809
+ @builtins.property
810
+ def progress_percentage(self) -> typing.Optional[jsii.Number]:
811
+ '''The progress percentage for including historical data in your calculated attribute.
812
+
813
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-readiness.html#cfn-customerprofiles-calculatedattributedefinition-readiness-progresspercentage
814
+ '''
815
+ result = self._values.get("progress_percentage")
816
+ return typing.cast(typing.Optional[jsii.Number], result)
817
+
818
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
819
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
820
+
821
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
822
+ return not (rhs == self)
823
+
824
+ def __repr__(self) -> str:
825
+ return "ReadinessProperty(%s)" % ", ".join(
826
+ k + "=" + repr(v) for k, v in self._values.items()
827
+ )
828
+
633
829
  @jsii.data_type(
634
830
  jsii_type="aws-cdk-lib.aws_customerprofiles.CfnCalculatedAttributeDefinition.ThresholdProperty",
635
831
  jsii_struct_bases=[],
@@ -696,6 +892,76 @@ class CfnCalculatedAttributeDefinition(
696
892
  k + "=" + repr(v) for k, v in self._values.items()
697
893
  )
698
894
 
895
+ @jsii.data_type(
896
+ jsii_type="aws-cdk-lib.aws_customerprofiles.CfnCalculatedAttributeDefinition.ValueRangeProperty",
897
+ jsii_struct_bases=[],
898
+ name_mapping={"end": "end", "start": "start"},
899
+ )
900
+ class ValueRangeProperty:
901
+ def __init__(self, *, end: jsii.Number, start: jsii.Number) -> None:
902
+ '''A structure specifying the endpoints of the relative time period over which data is included in the aggregation.
903
+
904
+ :param end: The ending point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
905
+ :param start: The starting point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
906
+
907
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-valuerange.html
908
+ :exampleMetadata: fixture=_generated
909
+
910
+ Example::
911
+
912
+ # The code below shows an example of how to instantiate this type.
913
+ # The values are placeholders you should change.
914
+ from aws_cdk import aws_customerprofiles as customerprofiles
915
+
916
+ value_range_property = customerprofiles.CfnCalculatedAttributeDefinition.ValueRangeProperty(
917
+ end=123,
918
+ start=123
919
+ )
920
+ '''
921
+ if __debug__:
922
+ type_hints = typing.get_type_hints(_typecheckingstub__4d18b8118549ce586fc14b0cc15f51e9a520330684bb4d883bbf10b82b000c5a)
923
+ check_type(argname="argument end", value=end, expected_type=type_hints["end"])
924
+ check_type(argname="argument start", value=start, expected_type=type_hints["start"])
925
+ self._values: typing.Dict[builtins.str, typing.Any] = {
926
+ "end": end,
927
+ "start": start,
928
+ }
929
+
930
+ @builtins.property
931
+ def end(self) -> jsii.Number:
932
+ '''The ending point for this range.
933
+
934
+ Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
935
+
936
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-valuerange.html#cfn-customerprofiles-calculatedattributedefinition-valuerange-end
937
+ '''
938
+ result = self._values.get("end")
939
+ assert result is not None, "Required property 'end' is missing"
940
+ return typing.cast(jsii.Number, result)
941
+
942
+ @builtins.property
943
+ def start(self) -> jsii.Number:
944
+ '''The starting point for this range.
945
+
946
+ Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
947
+
948
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-valuerange.html#cfn-customerprofiles-calculatedattributedefinition-valuerange-start
949
+ '''
950
+ result = self._values.get("start")
951
+ assert result is not None, "Required property 'start' is missing"
952
+ return typing.cast(jsii.Number, result)
953
+
954
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
955
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
956
+
957
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
958
+ return not (rhs == self)
959
+
960
+ def __repr__(self) -> str:
961
+ return "ValueRangeProperty(%s)" % ", ".join(
962
+ k + "=" + repr(v) for k, v in self._values.items()
963
+ )
964
+
699
965
 
700
966
  @jsii.data_type(
701
967
  jsii_type="aws-cdk-lib.aws_customerprofiles.CfnCalculatedAttributeDefinitionProps",
@@ -709,6 +975,7 @@ class CfnCalculatedAttributeDefinition(
709
975
  "description": "description",
710
976
  "display_name": "displayName",
711
977
  "tags": "tags",
978
+ "use_historical_data": "useHistoricalData",
712
979
  },
713
980
  )
714
981
  class CfnCalculatedAttributeDefinitionProps:
@@ -723,6 +990,7 @@ class CfnCalculatedAttributeDefinitionProps:
723
990
  description: typing.Optional[builtins.str] = None,
724
991
  display_name: typing.Optional[builtins.str] = None,
725
992
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
993
+ use_historical_data: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
726
994
  ) -> None:
727
995
  '''Properties for defining a ``CfnCalculatedAttributeDefinition``.
728
996
 
@@ -734,6 +1002,7 @@ class CfnCalculatedAttributeDefinitionProps:
734
1002
  :param description: The description of the calculated attribute.
735
1003
  :param display_name: The display name of the calculated attribute.
736
1004
  :param tags: An array of key-value pairs to apply to this resource.
1005
+ :param use_historical_data: Whether to use historical data for the calculated attribute.
737
1006
 
738
1007
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-calculatedattributedefinition.html
739
1008
  :exampleMetadata: fixture=_generated
@@ -760,7 +1029,15 @@ class CfnCalculatedAttributeDefinitionProps:
760
1029
  object_count=123,
761
1030
  range=customerprofiles.CfnCalculatedAttributeDefinition.RangeProperty(
762
1031
  unit="unit",
763
- value=123
1032
+ value=123,
1033
+
1034
+ # the properties below are optional
1035
+ timestamp_format="timestampFormat",
1036
+ timestamp_source="timestampSource",
1037
+ value_range=customerprofiles.CfnCalculatedAttributeDefinition.ValueRangeProperty(
1038
+ end=123,
1039
+ start=123
1040
+ )
764
1041
  ),
765
1042
  threshold=customerprofiles.CfnCalculatedAttributeDefinition.ThresholdProperty(
766
1043
  operator="operator",
@@ -772,7 +1049,8 @@ class CfnCalculatedAttributeDefinitionProps:
772
1049
  tags=[CfnTag(
773
1050
  key="key",
774
1051
  value="value"
775
- )]
1052
+ )],
1053
+ use_historical_data=False
776
1054
  )
777
1055
  '''
778
1056
  if __debug__:
@@ -785,6 +1063,7 @@ class CfnCalculatedAttributeDefinitionProps:
785
1063
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
786
1064
  check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
787
1065
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1066
+ check_type(argname="argument use_historical_data", value=use_historical_data, expected_type=type_hints["use_historical_data"])
788
1067
  self._values: typing.Dict[builtins.str, typing.Any] = {
789
1068
  "attribute_details": attribute_details,
790
1069
  "calculated_attribute_name": calculated_attribute_name,
@@ -799,6 +1078,8 @@ class CfnCalculatedAttributeDefinitionProps:
799
1078
  self._values["display_name"] = display_name
800
1079
  if tags is not None:
801
1080
  self._values["tags"] = tags
1081
+ if use_historical_data is not None:
1082
+ self._values["use_historical_data"] = use_historical_data
802
1083
 
803
1084
  @builtins.property
804
1085
  def attribute_details(
@@ -880,6 +1161,17 @@ class CfnCalculatedAttributeDefinitionProps:
880
1161
  result = self._values.get("tags")
881
1162
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
882
1163
 
1164
+ @builtins.property
1165
+ def use_historical_data(
1166
+ self,
1167
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1168
+ '''Whether to use historical data for the calculated attribute.
1169
+
1170
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-calculatedattributedefinition.html#cfn-customerprofiles-calculatedattributedefinition-usehistoricaldata
1171
+ '''
1172
+ result = self._values.get("use_historical_data")
1173
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
1174
+
883
1175
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
884
1176
  return isinstance(rhs, self.__class__) and rhs._values == self._values
885
1177
 
@@ -6061,6 +6353,7 @@ class CfnObjectType(
6061
6353
  standard_identifiers=["standardIdentifiers"]
6062
6354
  )]
6063
6355
  )],
6356
+ max_profile_object_count=123,
6064
6357
  source_last_updated_timestamp_format="sourceLastUpdatedTimestampFormat",
6065
6358
  tags=[CfnTag(
6066
6359
  key="key",
@@ -6083,6 +6376,7 @@ class CfnObjectType(
6083
6376
  expiration_days: typing.Optional[jsii.Number] = None,
6084
6377
  fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnObjectType.FieldMapProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
6085
6378
  keys: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnObjectType.KeyMapProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
6379
+ max_profile_object_count: typing.Optional[jsii.Number] = None,
6086
6380
  source_last_updated_timestamp_format: typing.Optional[builtins.str] = None,
6087
6381
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
6088
6382
  template_id: typing.Optional[builtins.str] = None,
@@ -6098,6 +6392,7 @@ class CfnObjectType(
6098
6392
  :param expiration_days: The number of days until the data of this type expires.
6099
6393
  :param fields: A list of field definitions for the object type mapping.
6100
6394
  :param keys: A list of keys that can be used to map data to the profile or search for the profile.
6395
+ :param max_profile_object_count: The maximum number of profile objects for this object type.
6101
6396
  :param source_last_updated_timestamp_format: The format of your sourceLastUpdatedTimestamp that was previously set up.
6102
6397
  :param tags: The tags used to organize, track, or control access for this resource.
6103
6398
  :param template_id: A unique identifier for the template mapping. This can be used instead of specifying the Keys and Fields properties directly.
@@ -6115,6 +6410,7 @@ class CfnObjectType(
6115
6410
  expiration_days=expiration_days,
6116
6411
  fields=fields,
6117
6412
  keys=keys,
6413
+ max_profile_object_count=max_profile_object_count,
6118
6414
  source_last_updated_timestamp_format=source_last_updated_timestamp_format,
6119
6415
  tags=tags,
6120
6416
  template_id=template_id,
@@ -6170,6 +6466,15 @@ class CfnObjectType(
6170
6466
  '''
6171
6467
  return typing.cast(builtins.str, jsii.get(self, "attrLastUpdatedAt"))
6172
6468
 
6469
+ @builtins.property
6470
+ @jsii.member(jsii_name="attrMaxAvailableProfileObjectCount")
6471
+ def attr_max_available_profile_object_count(self) -> jsii.Number:
6472
+ '''The maximum available number of profile objects.
6473
+
6474
+ :cloudformationAttribute: MaxAvailableProfileObjectCount
6475
+ '''
6476
+ return typing.cast(jsii.Number, jsii.get(self, "attrMaxAvailableProfileObjectCount"))
6477
+
6173
6478
  @builtins.property
6174
6479
  @jsii.member(jsii_name="cfnProperties")
6175
6480
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -6300,6 +6605,19 @@ class CfnObjectType(
6300
6605
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
6301
6606
  jsii.set(self, "keys", value) # pyright: ignore[reportArgumentType]
6302
6607
 
6608
+ @builtins.property
6609
+ @jsii.member(jsii_name="maxProfileObjectCount")
6610
+ def max_profile_object_count(self) -> typing.Optional[jsii.Number]:
6611
+ '''The maximum number of profile objects for this object type.'''
6612
+ return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "maxProfileObjectCount"))
6613
+
6614
+ @max_profile_object_count.setter
6615
+ def max_profile_object_count(self, value: typing.Optional[jsii.Number]) -> None:
6616
+ if __debug__:
6617
+ type_hints = typing.get_type_hints(_typecheckingstub__edf9f4ddaedd0b5a755b294f08376889d206a0ce1a397886e2483e9471c6b184)
6618
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
6619
+ jsii.set(self, "maxProfileObjectCount", value) # pyright: ignore[reportArgumentType]
6620
+
6303
6621
  @builtins.property
6304
6622
  @jsii.member(jsii_name="sourceLastUpdatedTimestampFormat")
6305
6623
  def source_last_updated_timestamp_format(self) -> typing.Optional[builtins.str]:
@@ -6678,6 +6996,7 @@ class CfnObjectType(
6678
6996
  "expiration_days": "expirationDays",
6679
6997
  "fields": "fields",
6680
6998
  "keys": "keys",
6999
+ "max_profile_object_count": "maxProfileObjectCount",
6681
7000
  "source_last_updated_timestamp_format": "sourceLastUpdatedTimestampFormat",
6682
7001
  "tags": "tags",
6683
7002
  "template_id": "templateId",
@@ -6695,6 +7014,7 @@ class CfnObjectTypeProps:
6695
7014
  expiration_days: typing.Optional[jsii.Number] = None,
6696
7015
  fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.FieldMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
6697
7016
  keys: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.KeyMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
7017
+ max_profile_object_count: typing.Optional[jsii.Number] = None,
6698
7018
  source_last_updated_timestamp_format: typing.Optional[builtins.str] = None,
6699
7019
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
6700
7020
  template_id: typing.Optional[builtins.str] = None,
@@ -6709,6 +7029,7 @@ class CfnObjectTypeProps:
6709
7029
  :param expiration_days: The number of days until the data of this type expires.
6710
7030
  :param fields: A list of field definitions for the object type mapping.
6711
7031
  :param keys: A list of keys that can be used to map data to the profile or search for the profile.
7032
+ :param max_profile_object_count: The maximum number of profile objects for this object type.
6712
7033
  :param source_last_updated_timestamp_format: The format of your sourceLastUpdatedTimestamp that was previously set up.
6713
7034
  :param tags: The tags used to organize, track, or control access for this resource.
6714
7035
  :param template_id: A unique identifier for the template mapping. This can be used instead of specifying the Keys and Fields properties directly.
@@ -6746,6 +7067,7 @@ class CfnObjectTypeProps:
6746
7067
  standard_identifiers=["standardIdentifiers"]
6747
7068
  )]
6748
7069
  )],
7070
+ max_profile_object_count=123,
6749
7071
  source_last_updated_timestamp_format="sourceLastUpdatedTimestampFormat",
6750
7072
  tags=[CfnTag(
6751
7073
  key="key",
@@ -6764,6 +7086,7 @@ class CfnObjectTypeProps:
6764
7086
  check_type(argname="argument expiration_days", value=expiration_days, expected_type=type_hints["expiration_days"])
6765
7087
  check_type(argname="argument fields", value=fields, expected_type=type_hints["fields"])
6766
7088
  check_type(argname="argument keys", value=keys, expected_type=type_hints["keys"])
7089
+ check_type(argname="argument max_profile_object_count", value=max_profile_object_count, expected_type=type_hints["max_profile_object_count"])
6767
7090
  check_type(argname="argument source_last_updated_timestamp_format", value=source_last_updated_timestamp_format, expected_type=type_hints["source_last_updated_timestamp_format"])
6768
7091
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
6769
7092
  check_type(argname="argument template_id", value=template_id, expected_type=type_hints["template_id"])
@@ -6782,6 +7105,8 @@ class CfnObjectTypeProps:
6782
7105
  self._values["fields"] = fields
6783
7106
  if keys is not None:
6784
7107
  self._values["keys"] = keys
7108
+ if max_profile_object_count is not None:
7109
+ self._values["max_profile_object_count"] = max_profile_object_count
6785
7110
  if source_last_updated_timestamp_format is not None:
6786
7111
  self._values["source_last_updated_timestamp_format"] = source_last_updated_timestamp_format
6787
7112
  if tags is not None:
@@ -6874,6 +7199,15 @@ class CfnObjectTypeProps:
6874
7199
  result = self._values.get("keys")
6875
7200
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnObjectType.KeyMapProperty]]]], result)
6876
7201
 
7202
+ @builtins.property
7203
+ def max_profile_object_count(self) -> typing.Optional[jsii.Number]:
7204
+ '''The maximum number of profile objects for this object type.
7205
+
7206
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-maxprofileobjectcount
7207
+ '''
7208
+ result = self._values.get("max_profile_object_count")
7209
+ return typing.cast(typing.Optional[jsii.Number], result)
7210
+
6877
7211
  @builtins.property
6878
7212
  def source_last_updated_timestamp_format(self) -> typing.Optional[builtins.str]:
6879
7213
  '''The format of your sourceLastUpdatedTimestamp that was previously set up.
@@ -9889,6 +10223,7 @@ def _typecheckingstub__3a09ab96caa4db6cfa4ebb0207c025a7f976cac18f814d69b882506cf
9889
10223
  description: typing.Optional[builtins.str] = None,
9890
10224
  display_name: typing.Optional[builtins.str] = None,
9891
10225
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
10226
+ use_historical_data: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
9892
10227
  ) -> None:
9893
10228
  """Type checking stubs"""
9894
10229
  pass
@@ -9953,6 +10288,12 @@ def _typecheckingstub__66b41ae1f61b2d451c01e8a6b3eabc1ef1fe6f0e51c71a264d46a9df8
9953
10288
  """Type checking stubs"""
9954
10289
  pass
9955
10290
 
10291
+ def _typecheckingstub__7ab1072a749050ba2fecfbba8cc52cbc745e52869b7164a97ab6eb2dcdf582c4(
10292
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
10293
+ ) -> None:
10294
+ """Type checking stubs"""
10295
+ pass
10296
+
9956
10297
  def _typecheckingstub__6241b1471123a742a03d1b24e69021bc3c2c3b4a805094f7a6176be6f76da07a(
9957
10298
  *,
9958
10299
  attributes: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCalculatedAttributeDefinition.AttributeItemProperty, typing.Dict[builtins.str, typing.Any]]]]],
@@ -9981,6 +10322,17 @@ def _typecheckingstub__4567eb83ac5620aa6be36cbd0e38cdba257d259743e1017616dbc2252
9981
10322
  *,
9982
10323
  unit: builtins.str,
9983
10324
  value: jsii.Number,
10325
+ timestamp_format: typing.Optional[builtins.str] = None,
10326
+ timestamp_source: typing.Optional[builtins.str] = None,
10327
+ value_range: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCalculatedAttributeDefinition.ValueRangeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
10328
+ ) -> None:
10329
+ """Type checking stubs"""
10330
+ pass
10331
+
10332
+ def _typecheckingstub__0bc0a3c3468a435a5677e162145a9ef5e062a4e72fd921895d645bd1056af4e3(
10333
+ *,
10334
+ message: typing.Optional[builtins.str] = None,
10335
+ progress_percentage: typing.Optional[jsii.Number] = None,
9984
10336
  ) -> None:
9985
10337
  """Type checking stubs"""
9986
10338
  pass
@@ -9993,6 +10345,14 @@ def _typecheckingstub__dcc19afa2a314e3392b1f8004f5ce5593298e226e89f8bb3424dc57ce
9993
10345
  """Type checking stubs"""
9994
10346
  pass
9995
10347
 
10348
+ def _typecheckingstub__4d18b8118549ce586fc14b0cc15f51e9a520330684bb4d883bbf10b82b000c5a(
10349
+ *,
10350
+ end: jsii.Number,
10351
+ start: jsii.Number,
10352
+ ) -> None:
10353
+ """Type checking stubs"""
10354
+ pass
10355
+
9996
10356
  def _typecheckingstub__b490cf412d8b10ddc1ddbf98b6d852a5446deca7e9befe3439df8de5169c37dd(
9997
10357
  *,
9998
10358
  attribute_details: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCalculatedAttributeDefinition.AttributeDetailsProperty, typing.Dict[builtins.str, typing.Any]]],
@@ -10003,6 +10363,7 @@ def _typecheckingstub__b490cf412d8b10ddc1ddbf98b6d852a5446deca7e9befe3439df8de51
10003
10363
  description: typing.Optional[builtins.str] = None,
10004
10364
  display_name: typing.Optional[builtins.str] = None,
10005
10365
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
10366
+ use_historical_data: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10006
10367
  ) -> None:
10007
10368
  """Type checking stubs"""
10008
10369
  pass
@@ -10625,6 +10986,7 @@ def _typecheckingstub__e58419cb0a7694b5c554275a8721df95dc40489e742a23c76f7830ca5
10625
10986
  expiration_days: typing.Optional[jsii.Number] = None,
10626
10987
  fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.FieldMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10627
10988
  keys: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.KeyMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10989
+ max_profile_object_count: typing.Optional[jsii.Number] = None,
10628
10990
  source_last_updated_timestamp_format: typing.Optional[builtins.str] = None,
10629
10991
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
10630
10992
  template_id: typing.Optional[builtins.str] = None,
@@ -10692,6 +11054,12 @@ def _typecheckingstub__521c1a4bfa097c3b1f3951ecd6980736e1de35a3bfe50227b262534c5
10692
11054
  """Type checking stubs"""
10693
11055
  pass
10694
11056
 
11057
+ def _typecheckingstub__edf9f4ddaedd0b5a755b294f08376889d206a0ce1a397886e2483e9471c6b184(
11058
+ value: typing.Optional[jsii.Number],
11059
+ ) -> None:
11060
+ """Type checking stubs"""
11061
+ pass
11062
+
10695
11063
  def _typecheckingstub__bc577e5c0fd1bd47194e04599a6df995f066e809b7c98cb3b2e9ef839eaca0bc(
10696
11064
  value: typing.Optional[builtins.str],
10697
11065
  ) -> None:
@@ -10753,6 +11121,7 @@ def _typecheckingstub__674aff1f8e16a6059ac0e56bfd831b21c20b3b3358878f53ea82ff2ee
10753
11121
  expiration_days: typing.Optional[jsii.Number] = None,
10754
11122
  fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.FieldMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10755
11123
  keys: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.KeyMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
11124
+ max_profile_object_count: typing.Optional[jsii.Number] = None,
10756
11125
  source_last_updated_timestamp_format: typing.Optional[builtins.str] = None,
10757
11126
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
10758
11127
  template_id: typing.Optional[builtins.str] = None,