aws-cdk-lib 2.171.1__py3-none-any.whl → 2.173.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 (78) hide show
  1. aws_cdk/__init__.py +528 -161
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.173.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +40 -40
  5. aws_cdk/aws_apigateway/__init__.py +1357 -120
  6. aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
  7. aws_cdk/aws_appsync/__init__.py +163 -139
  8. aws_cdk/aws_autoscaling/__init__.py +96 -30
  9. aws_cdk/aws_bedrock/__init__.py +80 -44
  10. aws_cdk/aws_chatbot/__init__.py +803 -2
  11. aws_cdk/aws_cleanrooms/__init__.py +4 -6
  12. aws_cdk/aws_cloudformation/__init__.py +240 -159
  13. aws_cdk/aws_cloudfront/__init__.py +15 -7
  14. aws_cdk/aws_cloudtrail/__init__.py +802 -13
  15. aws_cdk/aws_cloudwatch/__init__.py +51 -14
  16. aws_cdk/aws_codebuild/__init__.py +39 -0
  17. aws_cdk/aws_codepipeline/__init__.py +4 -4
  18. aws_cdk/aws_cognito/__init__.py +1032 -43
  19. aws_cdk/aws_config/__init__.py +13 -10
  20. aws_cdk/aws_connect/__init__.py +454 -23
  21. aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
  22. aws_cdk/aws_customerprofiles/__init__.py +3148 -0
  23. aws_cdk/aws_docdb/__init__.py +128 -0
  24. aws_cdk/aws_dynamodb/__init__.py +256 -0
  25. aws_cdk/aws_ec2/__init__.py +976 -27
  26. aws_cdk/aws_ecs/__init__.py +37 -20
  27. aws_cdk/aws_eks/__init__.py +771 -0
  28. aws_cdk/aws_elasticache/__init__.py +22 -22
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +441 -177
  30. aws_cdk/aws_events/__init__.py +550 -30
  31. aws_cdk/aws_fsx/__init__.py +134 -10
  32. aws_cdk/aws_imagebuilder/__init__.py +8 -8
  33. aws_cdk/aws_invoicing/__init__.py +651 -0
  34. aws_cdk/aws_iot/__init__.py +70 -26
  35. aws_cdk/aws_iotfleetwise/__init__.py +1033 -382
  36. aws_cdk/aws_iotsitewise/__init__.py +158 -0
  37. aws_cdk/aws_ivs/__init__.py +43 -31
  38. aws_cdk/aws_kendra/__init__.py +4 -0
  39. aws_cdk/aws_lakeformation/__init__.py +2 -1
  40. aws_cdk/aws_lambda/__init__.py +272 -164
  41. aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
  42. aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
  43. aws_cdk/aws_logs/__init__.py +532 -0
  44. aws_cdk/aws_m2/__init__.py +289 -0
  45. aws_cdk/aws_mediaconnect/__init__.py +24 -14
  46. aws_cdk/aws_medialive/__init__.py +2359 -5
  47. aws_cdk/aws_mediapackage/__init__.py +3 -9
  48. aws_cdk/aws_mediapackagev2/__init__.py +19 -17
  49. aws_cdk/aws_memorydb/__init__.py +664 -4
  50. aws_cdk/aws_mwaa/__init__.py +6 -6
  51. aws_cdk/aws_opensearchserverless/__init__.py +249 -1
  52. aws_cdk/aws_pipes/__init__.py +14 -30
  53. aws_cdk/aws_qbusiness/__init__.py +2021 -67
  54. aws_cdk/aws_quicksight/__init__.py +8270 -10
  55. aws_cdk/aws_rbin/__init__.py +53 -34
  56. aws_cdk/aws_rds/__init__.py +170 -8
  57. aws_cdk/aws_resourcegroups/__init__.py +362 -4
  58. aws_cdk/aws_route53/__init__.py +1177 -10
  59. aws_cdk/aws_route53_targets/__init__.py +297 -91
  60. aws_cdk/aws_route53resolver/__init__.py +19 -8
  61. aws_cdk/aws_s3/__init__.py +4 -4
  62. aws_cdk/aws_s3express/__init__.py +421 -9
  63. aws_cdk/aws_sagemaker/__init__.py +905 -119
  64. aws_cdk/aws_secretsmanager/__init__.py +20 -6
  65. aws_cdk/aws_securityhub/__init__.py +64 -32
  66. aws_cdk/aws_servicediscovery/__init__.py +43 -0
  67. aws_cdk/aws_ses/__init__.py +188 -41
  68. aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
  69. aws_cdk/aws_synthetics/__init__.py +7 -5
  70. aws_cdk/aws_vpclattice/__init__.py +1479 -122
  71. aws_cdk/aws_wisdom/__init__.py +8509 -1502
  72. aws_cdk/aws_workspacesweb/__init__.py +1081 -0
  73. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
  74. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +78 -77
  75. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
  76. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
  77. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
  78. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
@@ -192,9 +192,9 @@ class CfnEnvironment(
192
192
  :param execution_role_arn: The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your environment. For example, ``arn:aws:iam::123456789:role/my-execution-role`` . To learn more, see `Amazon MWAA Execution role <https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html>`_ .
193
193
  :param kms_key: The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
194
194
  :param logging_configuration: The Apache Airflow logs being sent to CloudWatch Logs: ``DagProcessingLogs`` , ``SchedulerLogs`` , ``TaskLogs`` , ``WebserverLogs`` , ``WorkerLogs`` .
195
- :param max_webservers: The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in ``MaxWebserers`` . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: Accepts between ``2`` and ``5`` . Defaults to ``2`` .
195
+ :param max_webservers: The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in ``MaxWebserers`` . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
196
196
  :param max_workers: The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the ``MaxWorkers`` field. For example, ``20`` . When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in ``MinWorkers`` .
197
- :param min_webservers: The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: Accepts between ``2`` and ``5`` . Defaults to ``2`` .
197
+ :param min_webservers: The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
198
198
  :param min_workers: The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the ``MaxWorkers`` field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the ``MinWorkers`` field. For example, ``2`` .
199
199
  :param network_configuration: The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see `About networking on Amazon MWAA <https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html>`_ .
200
200
  :param plugins_s3_object_version: The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see `Installing custom plugins <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html>`_ .
@@ -1135,9 +1135,9 @@ class CfnEnvironmentProps:
1135
1135
  :param execution_role_arn: The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your environment. For example, ``arn:aws:iam::123456789:role/my-execution-role`` . To learn more, see `Amazon MWAA Execution role <https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html>`_ .
1136
1136
  :param kms_key: The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
1137
1137
  :param logging_configuration: The Apache Airflow logs being sent to CloudWatch Logs: ``DagProcessingLogs`` , ``SchedulerLogs`` , ``TaskLogs`` , ``WebserverLogs`` , ``WorkerLogs`` .
1138
- :param max_webservers: The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in ``MaxWebserers`` . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: Accepts between ``2`` and ``5`` . Defaults to ``2`` .
1138
+ :param max_webservers: The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in ``MaxWebserers`` . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
1139
1139
  :param max_workers: The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the ``MaxWorkers`` field. For example, ``20`` . When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in ``MinWorkers`` .
1140
- :param min_webservers: The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: Accepts between ``2`` and ``5`` . Defaults to ``2`` .
1140
+ :param min_webservers: The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
1141
1141
  :param min_workers: The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the ``MaxWorkers`` field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the ``MinWorkers`` field. For example, ``2`` .
1142
1142
  :param network_configuration: The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see `About networking on Amazon MWAA <https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html>`_ .
1143
1143
  :param plugins_s3_object_version: The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see `Installing custom plugins <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html>`_ .
@@ -1410,7 +1410,7 @@ class CfnEnvironmentProps:
1410
1410
 
1411
1411
  Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in ``MaxWebserers`` . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` .
1412
1412
 
1413
- Valid values: Accepts between ``2`` and ``5`` . Defaults to ``2`` .
1413
+ Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
1414
1414
 
1415
1415
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-maxwebservers
1416
1416
  '''
@@ -1434,7 +1434,7 @@ class CfnEnvironmentProps:
1434
1434
 
1435
1435
  Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` .
1436
1436
 
1437
- Valid values: Accepts between ``2`` and ``5`` . Defaults to ``2`` .
1437
+ Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
1438
1438
 
1439
1439
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-minwebservers
1440
1440
  '''
@@ -966,6 +966,16 @@ class CfnSecurityConfig(
966
966
 
967
967
  cfn_security_config = opensearchserverless.CfnSecurityConfig(self, "MyCfnSecurityConfig",
968
968
  description="description",
969
+ iam_identity_center_options=opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty(
970
+ instance_arn="instanceArn",
971
+
972
+ # the properties below are optional
973
+ application_arn="applicationArn",
974
+ application_description="applicationDescription",
975
+ application_name="applicationName",
976
+ group_attribute="groupAttribute",
977
+ user_attribute="userAttribute"
978
+ ),
969
979
  name="name",
970
980
  saml_options=opensearchserverless.CfnSecurityConfig.SamlConfigOptionsProperty(
971
981
  metadata="metadata",
@@ -985,6 +995,7 @@ class CfnSecurityConfig(
985
995
  id: builtins.str,
986
996
  *,
987
997
  description: typing.Optional[builtins.str] = None,
998
+ iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
988
999
  name: typing.Optional[builtins.str] = None,
989
1000
  saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityConfig.SamlConfigOptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
990
1001
  type: typing.Optional[builtins.str] = None,
@@ -993,6 +1004,7 @@ class CfnSecurityConfig(
993
1004
  :param scope: Scope in which this resource is defined.
994
1005
  :param id: Construct identifier for this resource (unique in its scope).
995
1006
  :param description: The description of the security configuration.
1007
+ :param iam_identity_center_options: Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
996
1008
  :param name: The name of the security configuration.
997
1009
  :param saml_options: SAML options for the security configuration in the form of a key-value map.
998
1010
  :param type: The type of security configuration. Currently the only option is ``saml`` .
@@ -1002,7 +1014,11 @@ class CfnSecurityConfig(
1002
1014
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1003
1015
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1004
1016
  props = CfnSecurityConfigProps(
1005
- description=description, name=name, saml_options=saml_options, type=type
1017
+ description=description,
1018
+ iam_identity_center_options=iam_identity_center_options,
1019
+ name=name,
1020
+ saml_options=saml_options,
1021
+ type=type,
1006
1022
  )
1007
1023
 
1008
1024
  jsii.create(self.__class__, self, [scope, id, props])
@@ -1037,6 +1053,33 @@ class CfnSecurityConfig(
1037
1053
  '''The CloudFormation resource type name for this resource class.'''
1038
1054
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
1039
1055
 
1056
+ @builtins.property
1057
+ @jsii.member(jsii_name="attrIamIdentityCenterOptionsApplicationArn")
1058
+ def attr_iam_identity_center_options_application_arn(self) -> builtins.str:
1059
+ '''The ARN of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1060
+
1061
+ :cloudformationAttribute: IamIdentityCenterOptions.ApplicationArn
1062
+ '''
1063
+ return typing.cast(builtins.str, jsii.get(self, "attrIamIdentityCenterOptionsApplicationArn"))
1064
+
1065
+ @builtins.property
1066
+ @jsii.member(jsii_name="attrIamIdentityCenterOptionsApplicationDescription")
1067
+ def attr_iam_identity_center_options_application_description(self) -> builtins.str:
1068
+ '''The description of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1069
+
1070
+ :cloudformationAttribute: IamIdentityCenterOptions.ApplicationDescription
1071
+ '''
1072
+ return typing.cast(builtins.str, jsii.get(self, "attrIamIdentityCenterOptionsApplicationDescription"))
1073
+
1074
+ @builtins.property
1075
+ @jsii.member(jsii_name="attrIamIdentityCenterOptionsApplicationName")
1076
+ def attr_iam_identity_center_options_application_name(self) -> builtins.str:
1077
+ '''The name of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1078
+
1079
+ :cloudformationAttribute: IamIdentityCenterOptions.ApplicationName
1080
+ '''
1081
+ return typing.cast(builtins.str, jsii.get(self, "attrIamIdentityCenterOptionsApplicationName"))
1082
+
1040
1083
  @builtins.property
1041
1084
  @jsii.member(jsii_name="attrId")
1042
1085
  def attr_id(self) -> builtins.str:
@@ -1066,6 +1109,24 @@ class CfnSecurityConfig(
1066
1109
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1067
1110
  jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
1068
1111
 
1112
+ @builtins.property
1113
+ @jsii.member(jsii_name="iamIdentityCenterOptions")
1114
+ def iam_identity_center_options(
1115
+ self,
1116
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty"]]:
1117
+ '''Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.'''
1118
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty"]], jsii.get(self, "iamIdentityCenterOptions"))
1119
+
1120
+ @iam_identity_center_options.setter
1121
+ def iam_identity_center_options(
1122
+ self,
1123
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty"]],
1124
+ ) -> None:
1125
+ if __debug__:
1126
+ type_hints = typing.get_type_hints(_typecheckingstub__1158fc0f587cad32843a157af521fc2d669a0bc1f7c84c5e1dcd753237a9ca9a)
1127
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1128
+ jsii.set(self, "iamIdentityCenterOptions", value) # pyright: ignore[reportArgumentType]
1129
+
1069
1130
  @builtins.property
1070
1131
  @jsii.member(jsii_name="name")
1071
1132
  def name(self) -> typing.Optional[builtins.str]:
@@ -1110,6 +1171,146 @@ class CfnSecurityConfig(
1110
1171
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1111
1172
  jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
1112
1173
 
1174
+ @jsii.data_type(
1175
+ jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty",
1176
+ jsii_struct_bases=[],
1177
+ name_mapping={
1178
+ "instance_arn": "instanceArn",
1179
+ "application_arn": "applicationArn",
1180
+ "application_description": "applicationDescription",
1181
+ "application_name": "applicationName",
1182
+ "group_attribute": "groupAttribute",
1183
+ "user_attribute": "userAttribute",
1184
+ },
1185
+ )
1186
+ class IamIdentityCenterConfigOptionsProperty:
1187
+ def __init__(
1188
+ self,
1189
+ *,
1190
+ instance_arn: builtins.str,
1191
+ application_arn: typing.Optional[builtins.str] = None,
1192
+ application_description: typing.Optional[builtins.str] = None,
1193
+ application_name: typing.Optional[builtins.str] = None,
1194
+ group_attribute: typing.Optional[builtins.str] = None,
1195
+ user_attribute: typing.Optional[builtins.str] = None,
1196
+ ) -> None:
1197
+ '''Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
1198
+
1199
+ :param instance_arn: The ARN of the IAM Identity Center instance used to integrate with OpenSearch Serverless.
1200
+ :param application_arn: The ARN of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1201
+ :param application_description: The description of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1202
+ :param application_name: The name of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1203
+ :param group_attribute: Group attribute for this IAM Identity Center integration.
1204
+ :param user_attribute: User attribute for this IAM Identity Center integration.
1205
+
1206
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html
1207
+ :exampleMetadata: fixture=_generated
1208
+
1209
+ Example::
1210
+
1211
+ # The code below shows an example of how to instantiate this type.
1212
+ # The values are placeholders you should change.
1213
+ from aws_cdk import aws_opensearchserverless as opensearchserverless
1214
+
1215
+ iam_identity_center_config_options_property = opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty(
1216
+ instance_arn="instanceArn",
1217
+
1218
+ # the properties below are optional
1219
+ application_arn="applicationArn",
1220
+ application_description="applicationDescription",
1221
+ application_name="applicationName",
1222
+ group_attribute="groupAttribute",
1223
+ user_attribute="userAttribute"
1224
+ )
1225
+ '''
1226
+ if __debug__:
1227
+ type_hints = typing.get_type_hints(_typecheckingstub__7013bb6fc78d2c057c35211835fafe79d7d06fc41bdb98c07e46a37fd20caff9)
1228
+ check_type(argname="argument instance_arn", value=instance_arn, expected_type=type_hints["instance_arn"])
1229
+ check_type(argname="argument application_arn", value=application_arn, expected_type=type_hints["application_arn"])
1230
+ check_type(argname="argument application_description", value=application_description, expected_type=type_hints["application_description"])
1231
+ check_type(argname="argument application_name", value=application_name, expected_type=type_hints["application_name"])
1232
+ check_type(argname="argument group_attribute", value=group_attribute, expected_type=type_hints["group_attribute"])
1233
+ check_type(argname="argument user_attribute", value=user_attribute, expected_type=type_hints["user_attribute"])
1234
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1235
+ "instance_arn": instance_arn,
1236
+ }
1237
+ if application_arn is not None:
1238
+ self._values["application_arn"] = application_arn
1239
+ if application_description is not None:
1240
+ self._values["application_description"] = application_description
1241
+ if application_name is not None:
1242
+ self._values["application_name"] = application_name
1243
+ if group_attribute is not None:
1244
+ self._values["group_attribute"] = group_attribute
1245
+ if user_attribute is not None:
1246
+ self._values["user_attribute"] = user_attribute
1247
+
1248
+ @builtins.property
1249
+ def instance_arn(self) -> builtins.str:
1250
+ '''The ARN of the IAM Identity Center instance used to integrate with OpenSearch Serverless.
1251
+
1252
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-instancearn
1253
+ '''
1254
+ result = self._values.get("instance_arn")
1255
+ assert result is not None, "Required property 'instance_arn' is missing"
1256
+ return typing.cast(builtins.str, result)
1257
+
1258
+ @builtins.property
1259
+ def application_arn(self) -> typing.Optional[builtins.str]:
1260
+ '''The ARN of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1261
+
1262
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-applicationarn
1263
+ '''
1264
+ result = self._values.get("application_arn")
1265
+ return typing.cast(typing.Optional[builtins.str], result)
1266
+
1267
+ @builtins.property
1268
+ def application_description(self) -> typing.Optional[builtins.str]:
1269
+ '''The description of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1270
+
1271
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-applicationdescription
1272
+ '''
1273
+ result = self._values.get("application_description")
1274
+ return typing.cast(typing.Optional[builtins.str], result)
1275
+
1276
+ @builtins.property
1277
+ def application_name(self) -> typing.Optional[builtins.str]:
1278
+ '''The name of the IAM Identity Center application used to integrate with OpenSearch Serverless.
1279
+
1280
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-applicationname
1281
+ '''
1282
+ result = self._values.get("application_name")
1283
+ return typing.cast(typing.Optional[builtins.str], result)
1284
+
1285
+ @builtins.property
1286
+ def group_attribute(self) -> typing.Optional[builtins.str]:
1287
+ '''Group attribute for this IAM Identity Center integration.
1288
+
1289
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-groupattribute
1290
+ '''
1291
+ result = self._values.get("group_attribute")
1292
+ return typing.cast(typing.Optional[builtins.str], result)
1293
+
1294
+ @builtins.property
1295
+ def user_attribute(self) -> typing.Optional[builtins.str]:
1296
+ '''User attribute for this IAM Identity Center integration.
1297
+
1298
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamidentitycenterconfigoptions.html#cfn-opensearchserverless-securityconfig-iamidentitycenterconfigoptions-userattribute
1299
+ '''
1300
+ result = self._values.get("user_attribute")
1301
+ return typing.cast(typing.Optional[builtins.str], result)
1302
+
1303
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1304
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1305
+
1306
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1307
+ return not (rhs == self)
1308
+
1309
+ def __repr__(self) -> str:
1310
+ return "IamIdentityCenterConfigOptionsProperty(%s)" % ", ".join(
1311
+ k + "=" + repr(v) for k, v in self._values.items()
1312
+ )
1313
+
1113
1314
  @jsii.data_type(
1114
1315
  jsii_type="aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.SamlConfigOptionsProperty",
1115
1316
  jsii_struct_bases=[],
@@ -1226,6 +1427,7 @@ class CfnSecurityConfig(
1226
1427
  jsii_struct_bases=[],
1227
1428
  name_mapping={
1228
1429
  "description": "description",
1430
+ "iam_identity_center_options": "iamIdentityCenterOptions",
1229
1431
  "name": "name",
1230
1432
  "saml_options": "samlOptions",
1231
1433
  "type": "type",
@@ -1236,6 +1438,7 @@ class CfnSecurityConfigProps:
1236
1438
  self,
1237
1439
  *,
1238
1440
  description: typing.Optional[builtins.str] = None,
1441
+ iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1239
1442
  name: typing.Optional[builtins.str] = None,
1240
1443
  saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.SamlConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1241
1444
  type: typing.Optional[builtins.str] = None,
@@ -1243,6 +1446,7 @@ class CfnSecurityConfigProps:
1243
1446
  '''Properties for defining a ``CfnSecurityConfig``.
1244
1447
 
1245
1448
  :param description: The description of the security configuration.
1449
+ :param iam_identity_center_options: Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
1246
1450
  :param name: The name of the security configuration.
1247
1451
  :param saml_options: SAML options for the security configuration in the form of a key-value map.
1248
1452
  :param type: The type of security configuration. Currently the only option is ``saml`` .
@@ -1258,6 +1462,16 @@ class CfnSecurityConfigProps:
1258
1462
 
1259
1463
  cfn_security_config_props = opensearchserverless.CfnSecurityConfigProps(
1260
1464
  description="description",
1465
+ iam_identity_center_options=opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty(
1466
+ instance_arn="instanceArn",
1467
+
1468
+ # the properties below are optional
1469
+ application_arn="applicationArn",
1470
+ application_description="applicationDescription",
1471
+ application_name="applicationName",
1472
+ group_attribute="groupAttribute",
1473
+ user_attribute="userAttribute"
1474
+ ),
1261
1475
  name="name",
1262
1476
  saml_options=opensearchserverless.CfnSecurityConfig.SamlConfigOptionsProperty(
1263
1477
  metadata="metadata",
@@ -1273,12 +1487,15 @@ class CfnSecurityConfigProps:
1273
1487
  if __debug__:
1274
1488
  type_hints = typing.get_type_hints(_typecheckingstub__83172f8fcf5e40df2e2a8ddc136c744969aad86c37d45de37b6d75f0dc154be4)
1275
1489
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
1490
+ check_type(argname="argument iam_identity_center_options", value=iam_identity_center_options, expected_type=type_hints["iam_identity_center_options"])
1276
1491
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
1277
1492
  check_type(argname="argument saml_options", value=saml_options, expected_type=type_hints["saml_options"])
1278
1493
  check_type(argname="argument type", value=type, expected_type=type_hints["type"])
1279
1494
  self._values: typing.Dict[builtins.str, typing.Any] = {}
1280
1495
  if description is not None:
1281
1496
  self._values["description"] = description
1497
+ if iam_identity_center_options is not None:
1498
+ self._values["iam_identity_center_options"] = iam_identity_center_options
1282
1499
  if name is not None:
1283
1500
  self._values["name"] = name
1284
1501
  if saml_options is not None:
@@ -1295,6 +1512,17 @@ class CfnSecurityConfigProps:
1295
1512
  result = self._values.get("description")
1296
1513
  return typing.cast(typing.Optional[builtins.str], result)
1297
1514
 
1515
+ @builtins.property
1516
+ def iam_identity_center_options(
1517
+ self,
1518
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty]]:
1519
+ '''Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
1520
+
1521
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-securityconfig.html#cfn-opensearchserverless-securityconfig-iamidentitycenteroptions
1522
+ '''
1523
+ result = self._values.get("iam_identity_center_options")
1524
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty]], result)
1525
+
1298
1526
  @builtins.property
1299
1527
  def name(self) -> typing.Optional[builtins.str]:
1300
1528
  '''The name of the security configuration.
@@ -2073,6 +2301,7 @@ def _typecheckingstub__ed9d460597a09f666d8e08c01fd366ec5026a44848df01fe64ec8aa93
2073
2301
  id: builtins.str,
2074
2302
  *,
2075
2303
  description: typing.Optional[builtins.str] = None,
2304
+ iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2076
2305
  name: typing.Optional[builtins.str] = None,
2077
2306
  saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.SamlConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2078
2307
  type: typing.Optional[builtins.str] = None,
@@ -2098,6 +2327,12 @@ def _typecheckingstub__a7b44e920b0f0e4d138dcb200c4536168d3965f24eed3226a4574e927
2098
2327
  """Type checking stubs"""
2099
2328
  pass
2100
2329
 
2330
+ def _typecheckingstub__1158fc0f587cad32843a157af521fc2d669a0bc1f7c84c5e1dcd753237a9ca9a(
2331
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty]],
2332
+ ) -> None:
2333
+ """Type checking stubs"""
2334
+ pass
2335
+
2101
2336
  def _typecheckingstub__940c51c2c1e431ab9c4c070593d5d7662323951afe83dc31ea2eafebbe59ac3f(
2102
2337
  value: typing.Optional[builtins.str],
2103
2338
  ) -> None:
@@ -2116,6 +2351,18 @@ def _typecheckingstub__80701c5b69899d2a5416bba637f7adf26445dcef6c813c58399037cc3
2116
2351
  """Type checking stubs"""
2117
2352
  pass
2118
2353
 
2354
+ def _typecheckingstub__7013bb6fc78d2c057c35211835fafe79d7d06fc41bdb98c07e46a37fd20caff9(
2355
+ *,
2356
+ instance_arn: builtins.str,
2357
+ application_arn: typing.Optional[builtins.str] = None,
2358
+ application_description: typing.Optional[builtins.str] = None,
2359
+ application_name: typing.Optional[builtins.str] = None,
2360
+ group_attribute: typing.Optional[builtins.str] = None,
2361
+ user_attribute: typing.Optional[builtins.str] = None,
2362
+ ) -> None:
2363
+ """Type checking stubs"""
2364
+ pass
2365
+
2119
2366
  def _typecheckingstub__0390198d9b44e1b80737604ac5328dbfc7481d5b1ba8f915caa2e8c2a8028a9c(
2120
2367
  *,
2121
2368
  metadata: builtins.str,
@@ -2129,6 +2376,7 @@ def _typecheckingstub__0390198d9b44e1b80737604ac5328dbfc7481d5b1ba8f915caa2e8c2a
2129
2376
  def _typecheckingstub__83172f8fcf5e40df2e2a8ddc136c744969aad86c37d45de37b6d75f0dc154be4(
2130
2377
  *,
2131
2378
  description: typing.Optional[builtins.str] = None,
2379
+ iam_identity_center_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2132
2380
  name: typing.Optional[builtins.str] = None,
2133
2381
  saml_options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityConfig.SamlConfigOptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2134
2382
  type: typing.Optional[builtins.str] = None,
@@ -1468,27 +1468,16 @@ class CfnPipe(
1468
1468
  :param log_group_arn: The AWS Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records.
1469
1469
 
1470
1470
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-cloudwatchlogslogdestination.html
1471
- :exampleMetadata: infused
1471
+ :exampleMetadata: fixture=_generated
1472
1472
 
1473
1473
  Example::
1474
1474
 
1475
- # source_queue: sqs.Queue
1476
- # target_queue: sqs.Queue
1477
-
1478
-
1479
- source_filter = pipes.Filter([
1480
- pipes.FilterPattern.from_object({
1481
- "body": {
1482
- # only forward events with customerType B2B or B2C
1483
- "customer_type": ["B2B", "B2C"]
1484
- }
1485
- })
1486
- ])
1475
+ # The code below shows an example of how to instantiate this type.
1476
+ # The values are placeholders you should change.
1477
+ from aws_cdk import aws_pipes as pipes
1487
1478
 
1488
- pipe = pipes.Pipe(self, "Pipe",
1489
- source=SqsSource(source_queue),
1490
- target=SqsTarget(target_queue),
1491
- filter=source_filter
1479
+ cloudwatch_logs_log_destination_property = pipes.CfnPipe.CloudwatchLogsLogDestinationProperty(
1480
+ log_group_arn="logGroupArn"
1492
1481
  )
1493
1482
  '''
1494
1483
  if __debug__:
@@ -3079,19 +3068,15 @@ class CfnPipe(
3079
3068
 
3080
3069
  # source_queue: sqs.Queue
3081
3070
  # target_queue: sqs.Queue
3082
- # loggroup: logs.LogGroup
3083
3071
 
3084
3072
 
3073
+ target_input_transformation = pipes.InputTransformation.from_event_path("$.body.payload")
3074
+
3085
3075
  pipe = pipes.Pipe(self, "Pipe",
3086
3076
  source=SqsSource(source_queue),
3087
- target=SqsTarget(target_queue),
3088
-
3089
- log_level=pipes.LogLevel.TRACE,
3090
- log_include_execution_data=[pipes.IncludeExecutionData.ALL],
3091
-
3092
- log_destinations=[
3093
- CloudwatchDestination(loggroup)
3094
- ]
3077
+ target=SqsTarget(target_queue,
3078
+ input_transformation=target_input_transformation
3079
+ )
3095
3080
  )
3096
3081
  '''
3097
3082
  if __debug__:
@@ -5657,13 +5642,12 @@ class CfnPipe(
5657
5642
 
5658
5643
  Example::
5659
5644
 
5660
- # source_queue: sqs.Queue
5645
+ # source_stream: kinesis.Stream
5661
5646
  # target_queue: sqs.Queue
5662
5647
 
5663
5648
 
5664
- pipe_source = sources.SqsSource(source_queue,
5665
- batch_size=10,
5666
- maximum_batching_window=cdk.Duration.seconds(10)
5649
+ pipe_source = sources.KinesisSource(source_stream,
5650
+ starting_position=sources.KinesisStartingPosition.LATEST
5667
5651
  )
5668
5652
 
5669
5653
  pipe = pipes.Pipe(self, "Pipe",