aws-cdk-lib 2.182.0__py3-none-any.whl → 2.183.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 (43) hide show
  1. aws_cdk/__init__.py +459 -33
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.182.0.jsii.tgz → aws-cdk-lib@2.183.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_batch/__init__.py +15 -9
  5. aws_cdk/aws_bedrock/__init__.py +5804 -2325
  6. aws_cdk/aws_ce/__init__.py +141 -3
  7. aws_cdk/aws_cloudformation/__init__.py +26 -33
  8. aws_cdk/aws_cloudtrail/__init__.py +4 -4
  9. aws_cdk/aws_codebuild/__init__.py +4 -10
  10. aws_cdk/aws_cognito/__init__.py +3 -3
  11. aws_cdk/aws_dms/__init__.py +350 -0
  12. aws_cdk/aws_ec2/__init__.py +63 -5
  13. aws_cdk/aws_elasticache/__init__.py +3 -3
  14. aws_cdk/aws_emr/__init__.py +9 -3
  15. aws_cdk/aws_gameliftstreams/__init__.py +1205 -0
  16. aws_cdk/aws_iam/__init__.py +290 -35
  17. aws_cdk/aws_inspector/__init__.py +13 -10
  18. aws_cdk/aws_iot/__init__.py +616 -22
  19. aws_cdk/aws_iotfleetwise/__init__.py +72 -10
  20. aws_cdk/aws_iotsitewise/__init__.py +12 -8
  21. aws_cdk/aws_kafkaconnect/__init__.py +4 -2
  22. aws_cdk/aws_lambda/__init__.py +9 -0
  23. aws_cdk/aws_logs/__init__.py +133 -0
  24. aws_cdk/aws_medialive/__init__.py +86 -86
  25. aws_cdk/aws_msk/__init__.py +236 -128
  26. aws_cdk/aws_neptunegraph/__init__.py +3 -3
  27. aws_cdk/aws_opensearchserverless/__init__.py +1031 -0
  28. aws_cdk/aws_quicksight/__init__.py +6511 -20331
  29. aws_cdk/aws_rds/__init__.py +124 -17
  30. aws_cdk/aws_redshift/__init__.py +8 -8
  31. aws_cdk/aws_sagemaker/__init__.py +12 -5
  32. aws_cdk/aws_securitylake/__init__.py +3 -0
  33. aws_cdk/aws_synthetics/__init__.py +2 -0
  34. aws_cdk/aws_transfer/__init__.py +241 -40
  35. aws_cdk/aws_wafv2/__init__.py +118 -30
  36. aws_cdk/aws_xray/__init__.py +195 -0
  37. aws_cdk/custom_resources/__init__.py +65 -8
  38. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.183.0.dist-info}/METADATA +1 -1
  39. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.183.0.dist-info}/RECORD +43 -42
  40. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.183.0.dist-info}/LICENSE +0 -0
  41. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.183.0.dist-info}/NOTICE +0 -0
  42. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.183.0.dist-info}/WHEEL +0 -0
  43. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.183.0.dist-info}/top_level.txt +0 -0
@@ -689,6 +689,924 @@ class CfnCollectionProps:
689
689
  )
690
690
 
691
691
 
692
+ @jsii.implements(_IInspectable_c2943556)
693
+ class CfnIndex(
694
+ _CfnResource_9df397a6,
695
+ metaclass=jsii.JSIIMeta,
696
+ jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnIndex",
697
+ ):
698
+ '''An OpenSearch Serverless index resource.
699
+
700
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-index.html
701
+ :cloudformationResource: AWS::OpenSearchServerless::Index
702
+ :exampleMetadata: fixture=_generated
703
+
704
+ Example::
705
+
706
+ # The code below shows an example of how to instantiate this type.
707
+ # The values are placeholders you should change.
708
+ from aws_cdk import aws_opensearchserverless as opensearchserverless
709
+
710
+ # property_mapping_property_: opensearchserverless.CfnIndex.PropertyMappingProperty
711
+
712
+ cfn_index = opensearchserverless.CfnIndex(self, "MyCfnIndex",
713
+ collection_endpoint="collectionEndpoint",
714
+ index_name="indexName",
715
+
716
+ # the properties below are optional
717
+ mappings=opensearchserverless.CfnIndex.MappingsProperty(
718
+ properties={
719
+ "properties_key": opensearchserverless.CfnIndex.PropertyMappingProperty(
720
+ type="type",
721
+
722
+ # the properties below are optional
723
+ dimension=123,
724
+ index=False,
725
+ method=opensearchserverless.CfnIndex.MethodProperty(
726
+ engine="engine",
727
+ name="name",
728
+
729
+ # the properties below are optional
730
+ parameters=opensearchserverless.CfnIndex.ParametersProperty(
731
+ ef_construction=123,
732
+ m=123
733
+ ),
734
+ space_type="spaceType"
735
+ ),
736
+ properties={
737
+ "properties_key": property_mapping_property_
738
+ },
739
+ value="value"
740
+ )
741
+ }
742
+ ),
743
+ settings=opensearchserverless.CfnIndex.IndexSettingsProperty(
744
+ index=opensearchserverless.CfnIndex.IndexProperty(
745
+ knn=False,
746
+ knn_algo_param_ef_search=123,
747
+ refresh_interval="refreshInterval"
748
+ )
749
+ )
750
+ )
751
+ '''
752
+
753
+ def __init__(
754
+ self,
755
+ scope: _constructs_77d1e7e8.Construct,
756
+ id: builtins.str,
757
+ *,
758
+ collection_endpoint: builtins.str,
759
+ index_name: builtins.str,
760
+ mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIndex.MappingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
761
+ settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIndex.IndexSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
762
+ ) -> None:
763
+ '''
764
+ :param scope: Scope in which this resource is defined.
765
+ :param id: Construct identifier for this resource (unique in its scope).
766
+ :param collection_endpoint: The endpoint for the collection.
767
+ :param index_name: The name of the OpenSearch Serverless index.
768
+ :param mappings: Index Mappings.
769
+ :param settings:
770
+ '''
771
+ if __debug__:
772
+ type_hints = typing.get_type_hints(_typecheckingstub__a029f2a84e6e81eb77a837c5b057c54ae69d5f1ddda222ff52881f5d0f352fea)
773
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
774
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
775
+ props = CfnIndexProps(
776
+ collection_endpoint=collection_endpoint,
777
+ index_name=index_name,
778
+ mappings=mappings,
779
+ settings=settings,
780
+ )
781
+
782
+ jsii.create(self.__class__, self, [scope, id, props])
783
+
784
+ @jsii.member(jsii_name="inspect")
785
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
786
+ '''Examines the CloudFormation resource and discloses attributes.
787
+
788
+ :param inspector: tree inspector to collect and process attributes.
789
+ '''
790
+ if __debug__:
791
+ type_hints = typing.get_type_hints(_typecheckingstub__72216bdab3dcf25c4879e6aed5404e682fbe3d1fd832814ab5bb77a77f3258c5)
792
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
793
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
794
+
795
+ @jsii.member(jsii_name="renderProperties")
796
+ def _render_properties(
797
+ self,
798
+ props: typing.Mapping[builtins.str, typing.Any],
799
+ ) -> typing.Mapping[builtins.str, typing.Any]:
800
+ '''
801
+ :param props: -
802
+ '''
803
+ if __debug__:
804
+ type_hints = typing.get_type_hints(_typecheckingstub__f26c002ce18fad76e8c679969cbf05ddf77445cb22669f37a41940c49638cba7)
805
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
806
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
807
+
808
+ @jsii.python.classproperty
809
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
810
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
811
+ '''The CloudFormation resource type name for this resource class.'''
812
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
813
+
814
+ @builtins.property
815
+ @jsii.member(jsii_name="attrUuid")
816
+ def attr_uuid(self) -> builtins.str:
817
+ '''The unique identifier for the index.
818
+
819
+ :cloudformationAttribute: Uuid
820
+ '''
821
+ return typing.cast(builtins.str, jsii.get(self, "attrUuid"))
822
+
823
+ @builtins.property
824
+ @jsii.member(jsii_name="cfnProperties")
825
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
826
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
827
+
828
+ @builtins.property
829
+ @jsii.member(jsii_name="collectionEndpoint")
830
+ def collection_endpoint(self) -> builtins.str:
831
+ '''The endpoint for the collection.'''
832
+ return typing.cast(builtins.str, jsii.get(self, "collectionEndpoint"))
833
+
834
+ @collection_endpoint.setter
835
+ def collection_endpoint(self, value: builtins.str) -> None:
836
+ if __debug__:
837
+ type_hints = typing.get_type_hints(_typecheckingstub__84fc2fc583ee69579f5b7f33f8afc9e23bef75f86f99a2b3e46cf07707ab26bf)
838
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
839
+ jsii.set(self, "collectionEndpoint", value) # pyright: ignore[reportArgumentType]
840
+
841
+ @builtins.property
842
+ @jsii.member(jsii_name="indexName")
843
+ def index_name(self) -> builtins.str:
844
+ '''The name of the OpenSearch Serverless index.'''
845
+ return typing.cast(builtins.str, jsii.get(self, "indexName"))
846
+
847
+ @index_name.setter
848
+ def index_name(self, value: builtins.str) -> None:
849
+ if __debug__:
850
+ type_hints = typing.get_type_hints(_typecheckingstub__1a1f9a03417bd926596068b7f503b95c60abebc00e23689dd4dff83cf372576d)
851
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
852
+ jsii.set(self, "indexName", value) # pyright: ignore[reportArgumentType]
853
+
854
+ @builtins.property
855
+ @jsii.member(jsii_name="mappings")
856
+ def mappings(
857
+ self,
858
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.MappingsProperty"]]:
859
+ '''Index Mappings.'''
860
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.MappingsProperty"]], jsii.get(self, "mappings"))
861
+
862
+ @mappings.setter
863
+ def mappings(
864
+ self,
865
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.MappingsProperty"]],
866
+ ) -> None:
867
+ if __debug__:
868
+ type_hints = typing.get_type_hints(_typecheckingstub__01f2947a1782e9f60537bf751bb6fc12efd44df6bc7c2efab931f974a2048326)
869
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
870
+ jsii.set(self, "mappings", value) # pyright: ignore[reportArgumentType]
871
+
872
+ @builtins.property
873
+ @jsii.member(jsii_name="settings")
874
+ def settings(
875
+ self,
876
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.IndexSettingsProperty"]]:
877
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.IndexSettingsProperty"]], jsii.get(self, "settings"))
878
+
879
+ @settings.setter
880
+ def settings(
881
+ self,
882
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.IndexSettingsProperty"]],
883
+ ) -> None:
884
+ if __debug__:
885
+ type_hints = typing.get_type_hints(_typecheckingstub__7fa35242932bdcac5598aa8d9552388d7e12b08b01413c30a72c824979d9345c)
886
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
887
+ jsii.set(self, "settings", value) # pyright: ignore[reportArgumentType]
888
+
889
+ @jsii.data_type(
890
+ jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnIndex.IndexProperty",
891
+ jsii_struct_bases=[],
892
+ name_mapping={
893
+ "knn": "knn",
894
+ "knn_algo_param_ef_search": "knnAlgoParamEfSearch",
895
+ "refresh_interval": "refreshInterval",
896
+ },
897
+ )
898
+ class IndexProperty:
899
+ def __init__(
900
+ self,
901
+ *,
902
+ knn: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
903
+ knn_algo_param_ef_search: typing.Optional[jsii.Number] = None,
904
+ refresh_interval: typing.Optional[builtins.str] = None,
905
+ ) -> None:
906
+ '''
907
+ :param knn: Enable/disable k-nearest neighbor search capability.
908
+ :param knn_algo_param_ef_search: Size of the dynamic list for the nearest neighbors.
909
+ :param refresh_interval: How often to perform refresh operation (e.g. '1s', '5s').
910
+
911
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-index.html
912
+ :exampleMetadata: fixture=_generated
913
+
914
+ Example::
915
+
916
+ # The code below shows an example of how to instantiate this type.
917
+ # The values are placeholders you should change.
918
+ from aws_cdk import aws_opensearchserverless as opensearchserverless
919
+
920
+ index_property = opensearchserverless.CfnIndex.IndexProperty(
921
+ knn=False,
922
+ knn_algo_param_ef_search=123,
923
+ refresh_interval="refreshInterval"
924
+ )
925
+ '''
926
+ if __debug__:
927
+ type_hints = typing.get_type_hints(_typecheckingstub__1a85f85e738bf9023ab824f21e3c4b9a2f4e256a148a314ec2c2b5a47bb64698)
928
+ check_type(argname="argument knn", value=knn, expected_type=type_hints["knn"])
929
+ check_type(argname="argument knn_algo_param_ef_search", value=knn_algo_param_ef_search, expected_type=type_hints["knn_algo_param_ef_search"])
930
+ check_type(argname="argument refresh_interval", value=refresh_interval, expected_type=type_hints["refresh_interval"])
931
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
932
+ if knn is not None:
933
+ self._values["knn"] = knn
934
+ if knn_algo_param_ef_search is not None:
935
+ self._values["knn_algo_param_ef_search"] = knn_algo_param_ef_search
936
+ if refresh_interval is not None:
937
+ self._values["refresh_interval"] = refresh_interval
938
+
939
+ @builtins.property
940
+ def knn(
941
+ self,
942
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
943
+ '''Enable/disable k-nearest neighbor search capability.
944
+
945
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-index.html#cfn-opensearchserverless-index-index-knn
946
+ '''
947
+ result = self._values.get("knn")
948
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
949
+
950
+ @builtins.property
951
+ def knn_algo_param_ef_search(self) -> typing.Optional[jsii.Number]:
952
+ '''Size of the dynamic list for the nearest neighbors.
953
+
954
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-index.html#cfn-opensearchserverless-index-index-knnalgoparamefsearch
955
+ '''
956
+ result = self._values.get("knn_algo_param_ef_search")
957
+ return typing.cast(typing.Optional[jsii.Number], result)
958
+
959
+ @builtins.property
960
+ def refresh_interval(self) -> typing.Optional[builtins.str]:
961
+ '''How often to perform refresh operation (e.g. '1s', '5s').
962
+
963
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-index.html#cfn-opensearchserverless-index-index-refreshinterval
964
+ '''
965
+ result = self._values.get("refresh_interval")
966
+ return typing.cast(typing.Optional[builtins.str], result)
967
+
968
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
969
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
970
+
971
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
972
+ return not (rhs == self)
973
+
974
+ def __repr__(self) -> str:
975
+ return "IndexProperty(%s)" % ", ".join(
976
+ k + "=" + repr(v) for k, v in self._values.items()
977
+ )
978
+
979
+ @jsii.data_type(
980
+ jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnIndex.IndexSettingsProperty",
981
+ jsii_struct_bases=[],
982
+ name_mapping={"index": "index"},
983
+ )
984
+ class IndexSettingsProperty:
985
+ def __init__(
986
+ self,
987
+ *,
988
+ index: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIndex.IndexProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
989
+ ) -> None:
990
+ '''
991
+ :param index:
992
+
993
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-indexsettings.html
994
+ :exampleMetadata: fixture=_generated
995
+
996
+ Example::
997
+
998
+ # The code below shows an example of how to instantiate this type.
999
+ # The values are placeholders you should change.
1000
+ from aws_cdk import aws_opensearchserverless as opensearchserverless
1001
+
1002
+ index_settings_property = opensearchserverless.CfnIndex.IndexSettingsProperty(
1003
+ index=opensearchserverless.CfnIndex.IndexProperty(
1004
+ knn=False,
1005
+ knn_algo_param_ef_search=123,
1006
+ refresh_interval="refreshInterval"
1007
+ )
1008
+ )
1009
+ '''
1010
+ if __debug__:
1011
+ type_hints = typing.get_type_hints(_typecheckingstub__2062be5b5132fc74ed29db0c10805e0731b612aad10b8ddbab3dda1eac563bc0)
1012
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
1013
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1014
+ if index is not None:
1015
+ self._values["index"] = index
1016
+
1017
+ @builtins.property
1018
+ def index(
1019
+ self,
1020
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.IndexProperty"]]:
1021
+ '''
1022
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-indexsettings.html#cfn-opensearchserverless-index-indexsettings-index
1023
+ '''
1024
+ result = self._values.get("index")
1025
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.IndexProperty"]], result)
1026
+
1027
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1028
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1029
+
1030
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1031
+ return not (rhs == self)
1032
+
1033
+ def __repr__(self) -> str:
1034
+ return "IndexSettingsProperty(%s)" % ", ".join(
1035
+ k + "=" + repr(v) for k, v in self._values.items()
1036
+ )
1037
+
1038
+ @jsii.data_type(
1039
+ jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnIndex.MappingsProperty",
1040
+ jsii_struct_bases=[],
1041
+ name_mapping={"properties": "properties"},
1042
+ )
1043
+ class MappingsProperty:
1044
+ def __init__(
1045
+ self,
1046
+ *,
1047
+ properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnIndex.PropertyMappingProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
1048
+ ) -> None:
1049
+ '''Index Mappings.
1050
+
1051
+ :param properties: Defines the fields within the mapping, including their types and configurations.
1052
+
1053
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-mappings.html
1054
+ :exampleMetadata: fixture=_generated
1055
+
1056
+ Example::
1057
+
1058
+ # The code below shows an example of how to instantiate this type.
1059
+ # The values are placeholders you should change.
1060
+ from aws_cdk import aws_opensearchserverless as opensearchserverless
1061
+
1062
+ # property_mapping_property_: opensearchserverless.CfnIndex.PropertyMappingProperty
1063
+
1064
+ mappings_property = opensearchserverless.CfnIndex.MappingsProperty(
1065
+ properties={
1066
+ "properties_key": opensearchserverless.CfnIndex.PropertyMappingProperty(
1067
+ type="type",
1068
+
1069
+ # the properties below are optional
1070
+ dimension=123,
1071
+ index=False,
1072
+ method=opensearchserverless.CfnIndex.MethodProperty(
1073
+ engine="engine",
1074
+ name="name",
1075
+
1076
+ # the properties below are optional
1077
+ parameters=opensearchserverless.CfnIndex.ParametersProperty(
1078
+ ef_construction=123,
1079
+ m=123
1080
+ ),
1081
+ space_type="spaceType"
1082
+ ),
1083
+ properties={
1084
+ "properties_key": property_mapping_property_
1085
+ },
1086
+ value="value"
1087
+ )
1088
+ }
1089
+ )
1090
+ '''
1091
+ if __debug__:
1092
+ type_hints = typing.get_type_hints(_typecheckingstub__a5bb392b8c065f198a0fe7fd6e0fa2156f493990b76e0fee04edb929794b7223)
1093
+ check_type(argname="argument properties", value=properties, expected_type=type_hints["properties"])
1094
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1095
+ if properties is not None:
1096
+ self._values["properties"] = properties
1097
+
1098
+ @builtins.property
1099
+ def properties(
1100
+ self,
1101
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnIndex.PropertyMappingProperty"]]]]:
1102
+ '''Defines the fields within the mapping, including their types and configurations.
1103
+
1104
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-mappings.html#cfn-opensearchserverless-index-mappings-properties
1105
+ '''
1106
+ result = self._values.get("properties")
1107
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnIndex.PropertyMappingProperty"]]]], result)
1108
+
1109
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1110
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1111
+
1112
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1113
+ return not (rhs == self)
1114
+
1115
+ def __repr__(self) -> str:
1116
+ return "MappingsProperty(%s)" % ", ".join(
1117
+ k + "=" + repr(v) for k, v in self._values.items()
1118
+ )
1119
+
1120
+ @jsii.data_type(
1121
+ jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnIndex.MethodProperty",
1122
+ jsii_struct_bases=[],
1123
+ name_mapping={
1124
+ "engine": "engine",
1125
+ "name": "name",
1126
+ "parameters": "parameters",
1127
+ "space_type": "spaceType",
1128
+ },
1129
+ )
1130
+ class MethodProperty:
1131
+ def __init__(
1132
+ self,
1133
+ *,
1134
+ engine: builtins.str,
1135
+ name: builtins.str,
1136
+ parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIndex.ParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1137
+ space_type: typing.Optional[builtins.str] = None,
1138
+ ) -> None:
1139
+ '''Configuration for k-NN search method.
1140
+
1141
+ :param engine: The k-NN search engine to use.
1142
+ :param name: The algorithm name for k-NN search.
1143
+ :param parameters: Additional parameters for the k-NN algorithm.
1144
+ :param space_type: The distance function used for k-NN search.
1145
+
1146
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-method.html
1147
+ :exampleMetadata: fixture=_generated
1148
+
1149
+ Example::
1150
+
1151
+ # The code below shows an example of how to instantiate this type.
1152
+ # The values are placeholders you should change.
1153
+ from aws_cdk import aws_opensearchserverless as opensearchserverless
1154
+
1155
+ method_property = opensearchserverless.CfnIndex.MethodProperty(
1156
+ engine="engine",
1157
+ name="name",
1158
+
1159
+ # the properties below are optional
1160
+ parameters=opensearchserverless.CfnIndex.ParametersProperty(
1161
+ ef_construction=123,
1162
+ m=123
1163
+ ),
1164
+ space_type="spaceType"
1165
+ )
1166
+ '''
1167
+ if __debug__:
1168
+ type_hints = typing.get_type_hints(_typecheckingstub__1f32a7c2cc9cc53a405856608b840b3cd657cad90afeb4b25d6577b3e1573b35)
1169
+ check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
1170
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
1171
+ check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
1172
+ check_type(argname="argument space_type", value=space_type, expected_type=type_hints["space_type"])
1173
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1174
+ "engine": engine,
1175
+ "name": name,
1176
+ }
1177
+ if parameters is not None:
1178
+ self._values["parameters"] = parameters
1179
+ if space_type is not None:
1180
+ self._values["space_type"] = space_type
1181
+
1182
+ @builtins.property
1183
+ def engine(self) -> builtins.str:
1184
+ '''The k-NN search engine to use.
1185
+
1186
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-method.html#cfn-opensearchserverless-index-method-engine
1187
+ '''
1188
+ result = self._values.get("engine")
1189
+ assert result is not None, "Required property 'engine' is missing"
1190
+ return typing.cast(builtins.str, result)
1191
+
1192
+ @builtins.property
1193
+ def name(self) -> builtins.str:
1194
+ '''The algorithm name for k-NN search.
1195
+
1196
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-method.html#cfn-opensearchserverless-index-method-name
1197
+ '''
1198
+ result = self._values.get("name")
1199
+ assert result is not None, "Required property 'name' is missing"
1200
+ return typing.cast(builtins.str, result)
1201
+
1202
+ @builtins.property
1203
+ def parameters(
1204
+ self,
1205
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.ParametersProperty"]]:
1206
+ '''Additional parameters for the k-NN algorithm.
1207
+
1208
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-method.html#cfn-opensearchserverless-index-method-parameters
1209
+ '''
1210
+ result = self._values.get("parameters")
1211
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.ParametersProperty"]], result)
1212
+
1213
+ @builtins.property
1214
+ def space_type(self) -> typing.Optional[builtins.str]:
1215
+ '''The distance function used for k-NN search.
1216
+
1217
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-method.html#cfn-opensearchserverless-index-method-spacetype
1218
+ '''
1219
+ result = self._values.get("space_type")
1220
+ return typing.cast(typing.Optional[builtins.str], result)
1221
+
1222
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1223
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1224
+
1225
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1226
+ return not (rhs == self)
1227
+
1228
+ def __repr__(self) -> str:
1229
+ return "MethodProperty(%s)" % ", ".join(
1230
+ k + "=" + repr(v) for k, v in self._values.items()
1231
+ )
1232
+
1233
+ @jsii.data_type(
1234
+ jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnIndex.ParametersProperty",
1235
+ jsii_struct_bases=[],
1236
+ name_mapping={"ef_construction": "efConstruction", "m": "m"},
1237
+ )
1238
+ class ParametersProperty:
1239
+ def __init__(
1240
+ self,
1241
+ *,
1242
+ ef_construction: typing.Optional[jsii.Number] = None,
1243
+ m: typing.Optional[jsii.Number] = None,
1244
+ ) -> None:
1245
+ '''Additional parameters for the k-NN algorithm.
1246
+
1247
+ :param ef_construction: The size of the dynamic list used during k-NN graph creation.
1248
+ :param m: Number of neighbors to consider during k-NN search.
1249
+
1250
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-parameters.html
1251
+ :exampleMetadata: fixture=_generated
1252
+
1253
+ Example::
1254
+
1255
+ # The code below shows an example of how to instantiate this type.
1256
+ # The values are placeholders you should change.
1257
+ from aws_cdk import aws_opensearchserverless as opensearchserverless
1258
+
1259
+ parameters_property = opensearchserverless.CfnIndex.ParametersProperty(
1260
+ ef_construction=123,
1261
+ m=123
1262
+ )
1263
+ '''
1264
+ if __debug__:
1265
+ type_hints = typing.get_type_hints(_typecheckingstub__af09bec36bc7cc06df73ca75b408b7f4402421f3feaaa06806d3ec93cfc2435d)
1266
+ check_type(argname="argument ef_construction", value=ef_construction, expected_type=type_hints["ef_construction"])
1267
+ check_type(argname="argument m", value=m, expected_type=type_hints["m"])
1268
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1269
+ if ef_construction is not None:
1270
+ self._values["ef_construction"] = ef_construction
1271
+ if m is not None:
1272
+ self._values["m"] = m
1273
+
1274
+ @builtins.property
1275
+ def ef_construction(self) -> typing.Optional[jsii.Number]:
1276
+ '''The size of the dynamic list used during k-NN graph creation.
1277
+
1278
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-parameters.html#cfn-opensearchserverless-index-parameters-efconstruction
1279
+ '''
1280
+ result = self._values.get("ef_construction")
1281
+ return typing.cast(typing.Optional[jsii.Number], result)
1282
+
1283
+ @builtins.property
1284
+ def m(self) -> typing.Optional[jsii.Number]:
1285
+ '''Number of neighbors to consider during k-NN search.
1286
+
1287
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-parameters.html#cfn-opensearchserverless-index-parameters-m
1288
+ '''
1289
+ result = self._values.get("m")
1290
+ return typing.cast(typing.Optional[jsii.Number], result)
1291
+
1292
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1293
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1294
+
1295
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1296
+ return not (rhs == self)
1297
+
1298
+ def __repr__(self) -> str:
1299
+ return "ParametersProperty(%s)" % ", ".join(
1300
+ k + "=" + repr(v) for k, v in self._values.items()
1301
+ )
1302
+
1303
+ @jsii.data_type(
1304
+ jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnIndex.PropertyMappingProperty",
1305
+ jsii_struct_bases=[],
1306
+ name_mapping={
1307
+ "type": "type",
1308
+ "dimension": "dimension",
1309
+ "index": "index",
1310
+ "method": "method",
1311
+ "properties": "properties",
1312
+ "value": "value",
1313
+ },
1314
+ )
1315
+ class PropertyMappingProperty:
1316
+ def __init__(
1317
+ self,
1318
+ *,
1319
+ type: builtins.str,
1320
+ dimension: typing.Optional[jsii.Number] = None,
1321
+ index: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1322
+ method: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIndex.MethodProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1323
+ properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnIndex.PropertyMappingProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
1324
+ value: typing.Optional[builtins.str] = None,
1325
+ ) -> None:
1326
+ '''
1327
+ :param type: The field data type. Must be a valid OpenSearch field type.
1328
+ :param dimension: Dimension size for vector fields, defines the number of dimensions in the vector.
1329
+ :param index: Whether a field should be indexed.
1330
+ :param method: Configuration for k-NN search method.
1331
+ :param properties: Nested fields within an object or nested field type.
1332
+ :param value: Default value for the field when not specified in a document.
1333
+
1334
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-propertymapping.html
1335
+ :exampleMetadata: fixture=_generated
1336
+
1337
+ Example::
1338
+
1339
+ # The code below shows an example of how to instantiate this type.
1340
+ # The values are placeholders you should change.
1341
+ from aws_cdk import aws_opensearchserverless as opensearchserverless
1342
+
1343
+ # property_mapping_property_: opensearchserverless.CfnIndex.PropertyMappingProperty
1344
+
1345
+ property_mapping_property = opensearchserverless.CfnIndex.PropertyMappingProperty(
1346
+ type="type",
1347
+
1348
+ # the properties below are optional
1349
+ dimension=123,
1350
+ index=False,
1351
+ method=opensearchserverless.CfnIndex.MethodProperty(
1352
+ engine="engine",
1353
+ name="name",
1354
+
1355
+ # the properties below are optional
1356
+ parameters=opensearchserverless.CfnIndex.ParametersProperty(
1357
+ ef_construction=123,
1358
+ m=123
1359
+ ),
1360
+ space_type="spaceType"
1361
+ ),
1362
+ properties={
1363
+ "properties_key": property_mapping_property_
1364
+ },
1365
+ value="value"
1366
+ )
1367
+ '''
1368
+ if __debug__:
1369
+ type_hints = typing.get_type_hints(_typecheckingstub__3f7c10818297058609492c7bc5b994ff55948eef9013ef34074e5e42d61fd371)
1370
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
1371
+ check_type(argname="argument dimension", value=dimension, expected_type=type_hints["dimension"])
1372
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
1373
+ check_type(argname="argument method", value=method, expected_type=type_hints["method"])
1374
+ check_type(argname="argument properties", value=properties, expected_type=type_hints["properties"])
1375
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1376
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1377
+ "type": type,
1378
+ }
1379
+ if dimension is not None:
1380
+ self._values["dimension"] = dimension
1381
+ if index is not None:
1382
+ self._values["index"] = index
1383
+ if method is not None:
1384
+ self._values["method"] = method
1385
+ if properties is not None:
1386
+ self._values["properties"] = properties
1387
+ if value is not None:
1388
+ self._values["value"] = value
1389
+
1390
+ @builtins.property
1391
+ def type(self) -> builtins.str:
1392
+ '''The field data type.
1393
+
1394
+ Must be a valid OpenSearch field type.
1395
+
1396
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-propertymapping.html#cfn-opensearchserverless-index-propertymapping-type
1397
+ '''
1398
+ result = self._values.get("type")
1399
+ assert result is not None, "Required property 'type' is missing"
1400
+ return typing.cast(builtins.str, result)
1401
+
1402
+ @builtins.property
1403
+ def dimension(self) -> typing.Optional[jsii.Number]:
1404
+ '''Dimension size for vector fields, defines the number of dimensions in the vector.
1405
+
1406
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-propertymapping.html#cfn-opensearchserverless-index-propertymapping-dimension
1407
+ '''
1408
+ result = self._values.get("dimension")
1409
+ return typing.cast(typing.Optional[jsii.Number], result)
1410
+
1411
+ @builtins.property
1412
+ def index(
1413
+ self,
1414
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1415
+ '''Whether a field should be indexed.
1416
+
1417
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-propertymapping.html#cfn-opensearchserverless-index-propertymapping-index
1418
+ '''
1419
+ result = self._values.get("index")
1420
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
1421
+
1422
+ @builtins.property
1423
+ def method(
1424
+ self,
1425
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.MethodProperty"]]:
1426
+ '''Configuration for k-NN search method.
1427
+
1428
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-propertymapping.html#cfn-opensearchserverless-index-propertymapping-method
1429
+ '''
1430
+ result = self._values.get("method")
1431
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnIndex.MethodProperty"]], result)
1432
+
1433
+ @builtins.property
1434
+ def properties(
1435
+ self,
1436
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnIndex.PropertyMappingProperty"]]]]:
1437
+ '''Nested fields within an object or nested field type.
1438
+
1439
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-propertymapping.html#cfn-opensearchserverless-index-propertymapping-properties
1440
+ '''
1441
+ result = self._values.get("properties")
1442
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnIndex.PropertyMappingProperty"]]]], result)
1443
+
1444
+ @builtins.property
1445
+ def value(self) -> typing.Optional[builtins.str]:
1446
+ '''Default value for the field when not specified in a document.
1447
+
1448
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-propertymapping.html#cfn-opensearchserverless-index-propertymapping-value
1449
+ '''
1450
+ result = self._values.get("value")
1451
+ return typing.cast(typing.Optional[builtins.str], result)
1452
+
1453
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1454
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1455
+
1456
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1457
+ return not (rhs == self)
1458
+
1459
+ def __repr__(self) -> str:
1460
+ return "PropertyMappingProperty(%s)" % ", ".join(
1461
+ k + "=" + repr(v) for k, v in self._values.items()
1462
+ )
1463
+
1464
+
1465
+ @jsii.data_type(
1466
+ jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnIndexProps",
1467
+ jsii_struct_bases=[],
1468
+ name_mapping={
1469
+ "collection_endpoint": "collectionEndpoint",
1470
+ "index_name": "indexName",
1471
+ "mappings": "mappings",
1472
+ "settings": "settings",
1473
+ },
1474
+ )
1475
+ class CfnIndexProps:
1476
+ def __init__(
1477
+ self,
1478
+ *,
1479
+ collection_endpoint: builtins.str,
1480
+ index_name: builtins.str,
1481
+ mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.MappingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1482
+ settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.IndexSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1483
+ ) -> None:
1484
+ '''Properties for defining a ``CfnIndex``.
1485
+
1486
+ :param collection_endpoint: The endpoint for the collection.
1487
+ :param index_name: The name of the OpenSearch Serverless index.
1488
+ :param mappings: Index Mappings.
1489
+ :param settings:
1490
+
1491
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-index.html
1492
+ :exampleMetadata: fixture=_generated
1493
+
1494
+ Example::
1495
+
1496
+ # The code below shows an example of how to instantiate this type.
1497
+ # The values are placeholders you should change.
1498
+ from aws_cdk import aws_opensearchserverless as opensearchserverless
1499
+
1500
+ # property_mapping_property_: opensearchserverless.CfnIndex.PropertyMappingProperty
1501
+
1502
+ cfn_index_props = opensearchserverless.CfnIndexProps(
1503
+ collection_endpoint="collectionEndpoint",
1504
+ index_name="indexName",
1505
+
1506
+ # the properties below are optional
1507
+ mappings=opensearchserverless.CfnIndex.MappingsProperty(
1508
+ properties={
1509
+ "properties_key": opensearchserverless.CfnIndex.PropertyMappingProperty(
1510
+ type="type",
1511
+
1512
+ # the properties below are optional
1513
+ dimension=123,
1514
+ index=False,
1515
+ method=opensearchserverless.CfnIndex.MethodProperty(
1516
+ engine="engine",
1517
+ name="name",
1518
+
1519
+ # the properties below are optional
1520
+ parameters=opensearchserverless.CfnIndex.ParametersProperty(
1521
+ ef_construction=123,
1522
+ m=123
1523
+ ),
1524
+ space_type="spaceType"
1525
+ ),
1526
+ properties={
1527
+ "properties_key": property_mapping_property_
1528
+ },
1529
+ value="value"
1530
+ )
1531
+ }
1532
+ ),
1533
+ settings=opensearchserverless.CfnIndex.IndexSettingsProperty(
1534
+ index=opensearchserverless.CfnIndex.IndexProperty(
1535
+ knn=False,
1536
+ knn_algo_param_ef_search=123,
1537
+ refresh_interval="refreshInterval"
1538
+ )
1539
+ )
1540
+ )
1541
+ '''
1542
+ if __debug__:
1543
+ type_hints = typing.get_type_hints(_typecheckingstub__663cdeaeaa67ae562243597848e75d79ee7310523ecd791e0c37af19d4197d1a)
1544
+ check_type(argname="argument collection_endpoint", value=collection_endpoint, expected_type=type_hints["collection_endpoint"])
1545
+ check_type(argname="argument index_name", value=index_name, expected_type=type_hints["index_name"])
1546
+ check_type(argname="argument mappings", value=mappings, expected_type=type_hints["mappings"])
1547
+ check_type(argname="argument settings", value=settings, expected_type=type_hints["settings"])
1548
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1549
+ "collection_endpoint": collection_endpoint,
1550
+ "index_name": index_name,
1551
+ }
1552
+ if mappings is not None:
1553
+ self._values["mappings"] = mappings
1554
+ if settings is not None:
1555
+ self._values["settings"] = settings
1556
+
1557
+ @builtins.property
1558
+ def collection_endpoint(self) -> builtins.str:
1559
+ '''The endpoint for the collection.
1560
+
1561
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-index.html#cfn-opensearchserverless-index-collectionendpoint
1562
+ '''
1563
+ result = self._values.get("collection_endpoint")
1564
+ assert result is not None, "Required property 'collection_endpoint' is missing"
1565
+ return typing.cast(builtins.str, result)
1566
+
1567
+ @builtins.property
1568
+ def index_name(self) -> builtins.str:
1569
+ '''The name of the OpenSearch Serverless index.
1570
+
1571
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-index.html#cfn-opensearchserverless-index-indexname
1572
+ '''
1573
+ result = self._values.get("index_name")
1574
+ assert result is not None, "Required property 'index_name' is missing"
1575
+ return typing.cast(builtins.str, result)
1576
+
1577
+ @builtins.property
1578
+ def mappings(
1579
+ self,
1580
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnIndex.MappingsProperty]]:
1581
+ '''Index Mappings.
1582
+
1583
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-index.html#cfn-opensearchserverless-index-mappings
1584
+ '''
1585
+ result = self._values.get("mappings")
1586
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnIndex.MappingsProperty]], result)
1587
+
1588
+ @builtins.property
1589
+ def settings(
1590
+ self,
1591
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnIndex.IndexSettingsProperty]]:
1592
+ '''
1593
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-index.html#cfn-opensearchserverless-index-settings
1594
+ '''
1595
+ result = self._values.get("settings")
1596
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnIndex.IndexSettingsProperty]], result)
1597
+
1598
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1599
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1600
+
1601
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1602
+ return not (rhs == self)
1603
+
1604
+ def __repr__(self) -> str:
1605
+ return "CfnIndexProps(%s)" % ", ".join(
1606
+ k + "=" + repr(v) for k, v in self._values.items()
1607
+ )
1608
+
1609
+
692
1610
  @jsii.implements(_IInspectable_c2943556)
693
1611
  class CfnLifecyclePolicy(
694
1612
  _CfnResource_9df397a6,
@@ -2124,6 +3042,8 @@ __all__ = [
2124
3042
  "CfnAccessPolicyProps",
2125
3043
  "CfnCollection",
2126
3044
  "CfnCollectionProps",
3045
+ "CfnIndex",
3046
+ "CfnIndexProps",
2127
3047
  "CfnLifecyclePolicy",
2128
3048
  "CfnLifecyclePolicyProps",
2129
3049
  "CfnSecurityConfig",
@@ -2260,6 +3180,117 @@ def _typecheckingstub__dc3a9fff4dd66b4fe4e69ca639823a978df78a02743764020419d9b37
2260
3180
  """Type checking stubs"""
2261
3181
  pass
2262
3182
 
3183
+ def _typecheckingstub__a029f2a84e6e81eb77a837c5b057c54ae69d5f1ddda222ff52881f5d0f352fea(
3184
+ scope: _constructs_77d1e7e8.Construct,
3185
+ id: builtins.str,
3186
+ *,
3187
+ collection_endpoint: builtins.str,
3188
+ index_name: builtins.str,
3189
+ mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.MappingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3190
+ settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.IndexSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3191
+ ) -> None:
3192
+ """Type checking stubs"""
3193
+ pass
3194
+
3195
+ def _typecheckingstub__72216bdab3dcf25c4879e6aed5404e682fbe3d1fd832814ab5bb77a77f3258c5(
3196
+ inspector: _TreeInspector_488e0dd5,
3197
+ ) -> None:
3198
+ """Type checking stubs"""
3199
+ pass
3200
+
3201
+ def _typecheckingstub__f26c002ce18fad76e8c679969cbf05ddf77445cb22669f37a41940c49638cba7(
3202
+ props: typing.Mapping[builtins.str, typing.Any],
3203
+ ) -> None:
3204
+ """Type checking stubs"""
3205
+ pass
3206
+
3207
+ def _typecheckingstub__84fc2fc583ee69579f5b7f33f8afc9e23bef75f86f99a2b3e46cf07707ab26bf(
3208
+ value: builtins.str,
3209
+ ) -> None:
3210
+ """Type checking stubs"""
3211
+ pass
3212
+
3213
+ def _typecheckingstub__1a1f9a03417bd926596068b7f503b95c60abebc00e23689dd4dff83cf372576d(
3214
+ value: builtins.str,
3215
+ ) -> None:
3216
+ """Type checking stubs"""
3217
+ pass
3218
+
3219
+ def _typecheckingstub__01f2947a1782e9f60537bf751bb6fc12efd44df6bc7c2efab931f974a2048326(
3220
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnIndex.MappingsProperty]],
3221
+ ) -> None:
3222
+ """Type checking stubs"""
3223
+ pass
3224
+
3225
+ def _typecheckingstub__7fa35242932bdcac5598aa8d9552388d7e12b08b01413c30a72c824979d9345c(
3226
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnIndex.IndexSettingsProperty]],
3227
+ ) -> None:
3228
+ """Type checking stubs"""
3229
+ pass
3230
+
3231
+ def _typecheckingstub__1a85f85e738bf9023ab824f21e3c4b9a2f4e256a148a314ec2c2b5a47bb64698(
3232
+ *,
3233
+ knn: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3234
+ knn_algo_param_ef_search: typing.Optional[jsii.Number] = None,
3235
+ refresh_interval: typing.Optional[builtins.str] = None,
3236
+ ) -> None:
3237
+ """Type checking stubs"""
3238
+ pass
3239
+
3240
+ def _typecheckingstub__2062be5b5132fc74ed29db0c10805e0731b612aad10b8ddbab3dda1eac563bc0(
3241
+ *,
3242
+ index: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.IndexProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3243
+ ) -> None:
3244
+ """Type checking stubs"""
3245
+ pass
3246
+
3247
+ def _typecheckingstub__a5bb392b8c065f198a0fe7fd6e0fa2156f493990b76e0fee04edb929794b7223(
3248
+ *,
3249
+ properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.PropertyMappingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3250
+ ) -> None:
3251
+ """Type checking stubs"""
3252
+ pass
3253
+
3254
+ def _typecheckingstub__1f32a7c2cc9cc53a405856608b840b3cd657cad90afeb4b25d6577b3e1573b35(
3255
+ *,
3256
+ engine: builtins.str,
3257
+ name: builtins.str,
3258
+ parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.ParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3259
+ space_type: typing.Optional[builtins.str] = None,
3260
+ ) -> None:
3261
+ """Type checking stubs"""
3262
+ pass
3263
+
3264
+ def _typecheckingstub__af09bec36bc7cc06df73ca75b408b7f4402421f3feaaa06806d3ec93cfc2435d(
3265
+ *,
3266
+ ef_construction: typing.Optional[jsii.Number] = None,
3267
+ m: typing.Optional[jsii.Number] = None,
3268
+ ) -> None:
3269
+ """Type checking stubs"""
3270
+ pass
3271
+
3272
+ def _typecheckingstub__3f7c10818297058609492c7bc5b994ff55948eef9013ef34074e5e42d61fd371(
3273
+ *,
3274
+ type: builtins.str,
3275
+ dimension: typing.Optional[jsii.Number] = None,
3276
+ index: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3277
+ method: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.MethodProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3278
+ properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.PropertyMappingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3279
+ value: typing.Optional[builtins.str] = None,
3280
+ ) -> None:
3281
+ """Type checking stubs"""
3282
+ pass
3283
+
3284
+ def _typecheckingstub__663cdeaeaa67ae562243597848e75d79ee7310523ecd791e0c37af19d4197d1a(
3285
+ *,
3286
+ collection_endpoint: builtins.str,
3287
+ index_name: builtins.str,
3288
+ mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.MappingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3289
+ settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnIndex.IndexSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3290
+ ) -> None:
3291
+ """Type checking stubs"""
3292
+ pass
3293
+
2263
3294
  def _typecheckingstub__c2b4914847f05bdf08e17005048ebb9904d2b6ed6657b54ce1cd05b975532b69(
2264
3295
  scope: _constructs_77d1e7e8.Construct,
2265
3296
  id: builtins.str,