aws-cdk-lib 2.207.0__py3-none-any.whl → 2.209.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 (41) hide show
  1. aws_cdk/__init__.py +31 -3
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.207.0.jsii.tgz → aws-cdk-lib@2.209.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_aiops/__init__.py +16 -12
  5. aws_cdk/aws_amazonmq/__init__.py +8 -18
  6. aws_cdk/aws_appstream/__init__.py +36 -4
  7. aws_cdk/aws_bedrock/__init__.py +227 -102
  8. aws_cdk/aws_certificatemanager/__init__.py +45 -0
  9. aws_cdk/aws_cloudfront/__init__.py +12 -2
  10. aws_cdk/aws_connect/__init__.py +107 -3
  11. aws_cdk/aws_customerprofiles/__init__.py +27 -22
  12. aws_cdk/aws_docdb/__init__.py +5 -3
  13. aws_cdk/aws_ec2/__init__.py +58 -16
  14. aws_cdk/aws_ecs/__init__.py +1554 -78
  15. aws_cdk/aws_elasticloadbalancingv2/__init__.py +27 -15
  16. aws_cdk/aws_events/__init__.py +142 -0
  17. aws_cdk/aws_gamelift/__init__.py +2 -2
  18. aws_cdk/aws_guardduty/__init__.py +86 -0
  19. aws_cdk/aws_kinesisfirehose/__init__.py +377 -4
  20. aws_cdk/aws_lambda/__init__.py +76 -67
  21. aws_cdk/aws_logs/__init__.py +53 -4
  22. aws_cdk/aws_mediapackagev2/__init__.py +881 -0
  23. aws_cdk/aws_omics/__init__.py +13 -10
  24. aws_cdk/aws_quicksight/__init__.py +111 -4
  25. aws_cdk/aws_rds/__init__.py +214 -10
  26. aws_cdk/aws_route53/__init__.py +97 -41
  27. aws_cdk/aws_s3/__init__.py +775 -5
  28. aws_cdk/aws_s3express/__init__.py +61 -3
  29. aws_cdk/aws_s3tables/__init__.py +254 -0
  30. aws_cdk/aws_sagemaker/__init__.py +524 -137
  31. aws_cdk/aws_ssm/__init__.py +48 -0
  32. aws_cdk/aws_transfer/__init__.py +49 -0
  33. aws_cdk/aws_wisdom/__init__.py +1185 -100
  34. aws_cdk/cloud_assembly_schema/__init__.py +28 -2
  35. aws_cdk/custom_resources/__init__.py +1 -1
  36. {aws_cdk_lib-2.207.0.dist-info → aws_cdk_lib-2.209.0.dist-info}/METADATA +2 -2
  37. {aws_cdk_lib-2.207.0.dist-info → aws_cdk_lib-2.209.0.dist-info}/RECORD +41 -41
  38. {aws_cdk_lib-2.207.0.dist-info → aws_cdk_lib-2.209.0.dist-info}/LICENSE +0 -0
  39. {aws_cdk_lib-2.207.0.dist-info → aws_cdk_lib-2.209.0.dist-info}/NOTICE +0 -0
  40. {aws_cdk_lib-2.207.0.dist-info → aws_cdk_lib-2.209.0.dist-info}/WHEEL +0 -0
  41. {aws_cdk_lib-2.207.0.dist-info → aws_cdk_lib-2.209.0.dist-info}/top_level.txt +0 -0
@@ -1813,28 +1813,40 @@ class ApplicationListenerRule(
1813
1813
  ):
1814
1814
  '''Define a new listener rule.
1815
1815
 
1816
- :exampleMetadata: fixture=_generated
1816
+ :exampleMetadata: infused
1817
1817
 
1818
1818
  Example::
1819
1819
 
1820
- # The code below shows an example of how to instantiate this type.
1821
- # The values are placeholders you should change.
1822
- from aws_cdk import aws_elasticloadbalancingv2 as elbv2
1820
+ import aws_cdk.aws_lambda as lambda_
1823
1821
 
1824
- # application_listener: elbv2.ApplicationListener
1825
- # application_target_group: elbv2.ApplicationTargetGroup
1826
- # listener_action: elbv2.ListenerAction
1827
- # listener_condition: elbv2.ListenerCondition
1822
+ # cluster: ecs.Cluster
1823
+ # task_definition: ecs.TaskDefinition
1824
+ # lambda_hook: lambda.Function
1825
+ # blue_target_group: elbv2.ApplicationTargetGroup
1826
+ # green_target_group: elbv2.ApplicationTargetGroup
1827
+ # prod_listener_rule: elbv2.ApplicationListenerRule
1828
1828
 
1829
- application_listener_rule = elbv2.ApplicationListenerRule(self, "MyApplicationListenerRule",
1830
- listener=application_listener,
1831
- priority=123,
1832
1829
 
1833
- # the properties below are optional
1834
- action=listener_action,
1835
- conditions=[listener_condition],
1836
- target_groups=[application_target_group]
1830
+ service = ecs.FargateService(self, "Service",
1831
+ cluster=cluster,
1832
+ task_definition=task_definition,
1833
+ deployment_strategy=ecs.DeploymentStrategy.BLUE_GREEN
1837
1834
  )
1835
+
1836
+ service.add_lifecycle_hook(ecs.DeploymentLifecycleLambdaTarget(lambda_hook, "PreScaleHook",
1837
+ lifecycle_stages=[ecs.DeploymentLifecycleStage.PRE_SCALE_UP]
1838
+ ))
1839
+
1840
+ target = service.load_balancer_target(ecs.LoadBalancerTargetOptions(
1841
+ container_name="nginx",
1842
+ container_port=80,
1843
+ protocol=ecs.Protocol.TCP
1844
+ ), ecs.AlternateTarget("AlternateTarget",
1845
+ alternate_target_group=green_target_group,
1846
+ production_listener=ecs.ListenerRuleConfiguration.application_listener_rule(prod_listener_rule)
1847
+ ))
1848
+
1849
+ target.attach_to_application_target_group(blue_target_group)
1838
1850
  '''
1839
1851
 
1840
1852
  def __init__(
@@ -4013,6 +4013,10 @@ class CfnEventBus(
4013
4013
  description="description",
4014
4014
  event_source_name="eventSourceName",
4015
4015
  kms_key_identifier="kmsKeyIdentifier",
4016
+ log_config=events.CfnEventBus.LogConfigProperty(
4017
+ include_detail="includeDetail",
4018
+ level="level"
4019
+ ),
4016
4020
  policy=policy,
4017
4021
  tags=[CfnTag(
4018
4022
  key="key",
@@ -4031,6 +4035,7 @@ class CfnEventBus(
4031
4035
  description: typing.Optional[builtins.str] = None,
4032
4036
  event_source_name: typing.Optional[builtins.str] = None,
4033
4037
  kms_key_identifier: typing.Optional[builtins.str] = None,
4038
+ log_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventBus.LogConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4034
4039
  policy: typing.Any = None,
4035
4040
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4036
4041
  ) -> None:
@@ -4042,6 +4047,7 @@ class CfnEventBus(
4042
4047
  :param description: The event bus description.
4043
4048
  :param event_source_name: If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
4044
4049
  :param kms_key_identifier: The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus. For more information, see `Identify and view keys <https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html>`_ in the *AWS Key Management Service Developer Guide* . .. epigraph:: Schema discovery is not supported for event buses encrypted using a customer managed key. EventBridge returns an error if: - You call ``[CreateDiscoverer](https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer)`` on an event bus set to use a customer managed key for encryption. - You call ``[UpdatedEventBus](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html)`` to set a customer managed key on an event bus with schema discovery enabled. To enable schema discovery on an event bus, choose to use an AWS owned key . For more information, see `Encrypting events <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption-event-bus-cmkey.html>`_ in the *Amazon EventBridge User Guide* . > If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well. For more information, see `Encrypting archives <https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html>`_ in the *Amazon EventBridge User Guide* .
4050
+ :param log_config: The logging configuration settings for the event bus. For more information, see `Configuring logs for event buses <https://docs.aws.amazon.com/eb-event-bus-logs.html>`_ in the *EventBridge User Guide* .
4045
4051
  :param policy: The permissions policy of the event bus, describing which other AWS accounts can write events to this event bus.
4046
4052
  :param tags: Tags to associate with the event bus.
4047
4053
  '''
@@ -4055,6 +4061,7 @@ class CfnEventBus(
4055
4061
  description=description,
4056
4062
  event_source_name=event_source_name,
4057
4063
  kms_key_identifier=kms_key_identifier,
4064
+ log_config=log_config,
4058
4065
  policy=policy,
4059
4066
  tags=tags,
4060
4067
  )
@@ -4198,6 +4205,24 @@ class CfnEventBus(
4198
4205
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4199
4206
  jsii.set(self, "kmsKeyIdentifier", value) # pyright: ignore[reportArgumentType]
4200
4207
 
4208
+ @builtins.property
4209
+ @jsii.member(jsii_name="logConfig")
4210
+ def log_config(
4211
+ self,
4212
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnEventBus.LogConfigProperty"]]:
4213
+ '''The logging configuration settings for the event bus.'''
4214
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnEventBus.LogConfigProperty"]], jsii.get(self, "logConfig"))
4215
+
4216
+ @log_config.setter
4217
+ def log_config(
4218
+ self,
4219
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnEventBus.LogConfigProperty"]],
4220
+ ) -> None:
4221
+ if __debug__:
4222
+ type_hints = typing.get_type_hints(_typecheckingstub__51db51bf8f1ebc8d9c19cdf02644ddeaaef6bd2b5c86607383cd85b5fa2030c1)
4223
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4224
+ jsii.set(self, "logConfig", value) # pyright: ignore[reportArgumentType]
4225
+
4201
4226
  @builtins.property
4202
4227
  @jsii.member(jsii_name="policy")
4203
4228
  def policy(self) -> typing.Any:
@@ -4277,6 +4302,84 @@ class CfnEventBus(
4277
4302
  k + "=" + repr(v) for k, v in self._values.items()
4278
4303
  )
4279
4304
 
4305
+ @jsii.data_type(
4306
+ jsii_type="aws-cdk-lib.aws_events.CfnEventBus.LogConfigProperty",
4307
+ jsii_struct_bases=[],
4308
+ name_mapping={"include_detail": "includeDetail", "level": "level"},
4309
+ )
4310
+ class LogConfigProperty:
4311
+ def __init__(
4312
+ self,
4313
+ *,
4314
+ include_detail: typing.Optional[builtins.str] = None,
4315
+ level: typing.Optional[builtins.str] = None,
4316
+ ) -> None:
4317
+ '''The logging configuration settings for the event bus.
4318
+
4319
+ For more information, see `Configuring logs for event buses <https://docs.aws.amazon.com/eb-event-bus-logs.html>`_ in the *EventBridge User Guide* .
4320
+
4321
+ :param include_detail: Whether EventBridge include detailed event information in the records it generates. Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details. For more information, see `Including detail data in event bus logs <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus-logs.html#eb-event-logs-data>`_ in the *EventBridge User Guide* .
4322
+ :param level: The level of logging detail to include. This applies to all log destinations for the event bus. For more information, see `Specifying event bus log level <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus-logs.html#eb-event-bus-logs-level>`_ in the *EventBridge User Guide* .
4323
+
4324
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbus-logconfig.html
4325
+ :exampleMetadata: fixture=_generated
4326
+
4327
+ Example::
4328
+
4329
+ # The code below shows an example of how to instantiate this type.
4330
+ # The values are placeholders you should change.
4331
+ from aws_cdk import aws_events as events
4332
+
4333
+ log_config_property = events.CfnEventBus.LogConfigProperty(
4334
+ include_detail="includeDetail",
4335
+ level="level"
4336
+ )
4337
+ '''
4338
+ if __debug__:
4339
+ type_hints = typing.get_type_hints(_typecheckingstub__325c97a9fc2ec199dfb4fb51645bc16dde3cf1f257d1bcf5c86f7cd3a0b2d77c)
4340
+ check_type(argname="argument include_detail", value=include_detail, expected_type=type_hints["include_detail"])
4341
+ check_type(argname="argument level", value=level, expected_type=type_hints["level"])
4342
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4343
+ if include_detail is not None:
4344
+ self._values["include_detail"] = include_detail
4345
+ if level is not None:
4346
+ self._values["level"] = level
4347
+
4348
+ @builtins.property
4349
+ def include_detail(self) -> typing.Optional[builtins.str]:
4350
+ '''Whether EventBridge include detailed event information in the records it generates.
4351
+
4352
+ Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details.
4353
+
4354
+ For more information, see `Including detail data in event bus logs <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus-logs.html#eb-event-logs-data>`_ in the *EventBridge User Guide* .
4355
+
4356
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbus-logconfig.html#cfn-events-eventbus-logconfig-includedetail
4357
+ '''
4358
+ result = self._values.get("include_detail")
4359
+ return typing.cast(typing.Optional[builtins.str], result)
4360
+
4361
+ @builtins.property
4362
+ def level(self) -> typing.Optional[builtins.str]:
4363
+ '''The level of logging detail to include. This applies to all log destinations for the event bus.
4364
+
4365
+ For more information, see `Specifying event bus log level <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus-logs.html#eb-event-bus-logs-level>`_ in the *EventBridge User Guide* .
4366
+
4367
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbus-logconfig.html#cfn-events-eventbus-logconfig-level
4368
+ '''
4369
+ result = self._values.get("level")
4370
+ return typing.cast(typing.Optional[builtins.str], result)
4371
+
4372
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4373
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4374
+
4375
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4376
+ return not (rhs == self)
4377
+
4378
+ def __repr__(self) -> str:
4379
+ return "LogConfigProperty(%s)" % ", ".join(
4380
+ k + "=" + repr(v) for k, v in self._values.items()
4381
+ )
4382
+
4280
4383
 
4281
4384
  @jsii.implements(_IInspectable_c2943556)
4282
4385
  class CfnEventBusPolicy(
@@ -4760,6 +4863,7 @@ class CfnEventBusPolicyProps:
4760
4863
  "description": "description",
4761
4864
  "event_source_name": "eventSourceName",
4762
4865
  "kms_key_identifier": "kmsKeyIdentifier",
4866
+ "log_config": "logConfig",
4763
4867
  "policy": "policy",
4764
4868
  "tags": "tags",
4765
4869
  },
@@ -4773,6 +4877,7 @@ class CfnEventBusProps:
4773
4877
  description: typing.Optional[builtins.str] = None,
4774
4878
  event_source_name: typing.Optional[builtins.str] = None,
4775
4879
  kms_key_identifier: typing.Optional[builtins.str] = None,
4880
+ log_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventBus.LogConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4776
4881
  policy: typing.Any = None,
4777
4882
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4778
4883
  ) -> None:
@@ -4783,6 +4888,7 @@ class CfnEventBusProps:
4783
4888
  :param description: The event bus description.
4784
4889
  :param event_source_name: If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
4785
4890
  :param kms_key_identifier: The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus. For more information, see `Identify and view keys <https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html>`_ in the *AWS Key Management Service Developer Guide* . .. epigraph:: Schema discovery is not supported for event buses encrypted using a customer managed key. EventBridge returns an error if: - You call ``[CreateDiscoverer](https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer)`` on an event bus set to use a customer managed key for encryption. - You call ``[UpdatedEventBus](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html)`` to set a customer managed key on an event bus with schema discovery enabled. To enable schema discovery on an event bus, choose to use an AWS owned key . For more information, see `Encrypting events <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption-event-bus-cmkey.html>`_ in the *Amazon EventBridge User Guide* . > If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well. For more information, see `Encrypting archives <https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html>`_ in the *Amazon EventBridge User Guide* .
4891
+ :param log_config: The logging configuration settings for the event bus. For more information, see `Configuring logs for event buses <https://docs.aws.amazon.com/eb-event-bus-logs.html>`_ in the *EventBridge User Guide* .
4786
4892
  :param policy: The permissions policy of the event bus, describing which other AWS accounts can write events to this event bus.
4787
4893
  :param tags: Tags to associate with the event bus.
4788
4894
 
@@ -4807,6 +4913,10 @@ class CfnEventBusProps:
4807
4913
  description="description",
4808
4914
  event_source_name="eventSourceName",
4809
4915
  kms_key_identifier="kmsKeyIdentifier",
4916
+ log_config=events.CfnEventBus.LogConfigProperty(
4917
+ include_detail="includeDetail",
4918
+ level="level"
4919
+ ),
4810
4920
  policy=policy,
4811
4921
  tags=[CfnTag(
4812
4922
  key="key",
@@ -4821,6 +4931,7 @@ class CfnEventBusProps:
4821
4931
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
4822
4932
  check_type(argname="argument event_source_name", value=event_source_name, expected_type=type_hints["event_source_name"])
4823
4933
  check_type(argname="argument kms_key_identifier", value=kms_key_identifier, expected_type=type_hints["kms_key_identifier"])
4934
+ check_type(argname="argument log_config", value=log_config, expected_type=type_hints["log_config"])
4824
4935
  check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
4825
4936
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
4826
4937
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -4834,6 +4945,8 @@ class CfnEventBusProps:
4834
4945
  self._values["event_source_name"] = event_source_name
4835
4946
  if kms_key_identifier is not None:
4836
4947
  self._values["kms_key_identifier"] = kms_key_identifier
4948
+ if log_config is not None:
4949
+ self._values["log_config"] = log_config
4837
4950
  if policy is not None:
4838
4951
  self._values["policy"] = policy
4839
4952
  if tags is not None:
@@ -4909,6 +5022,19 @@ class CfnEventBusProps:
4909
5022
  result = self._values.get("kms_key_identifier")
4910
5023
  return typing.cast(typing.Optional[builtins.str], result)
4911
5024
 
5025
+ @builtins.property
5026
+ def log_config(
5027
+ self,
5028
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnEventBus.LogConfigProperty]]:
5029
+ '''The logging configuration settings for the event bus.
5030
+
5031
+ For more information, see `Configuring logs for event buses <https://docs.aws.amazon.com/eb-event-bus-logs.html>`_ in the *EventBridge User Guide* .
5032
+
5033
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-logconfig
5034
+ '''
5035
+ result = self._values.get("log_config")
5036
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnEventBus.LogConfigProperty]], result)
5037
+
4912
5038
  @builtins.property
4913
5039
  def policy(self) -> typing.Any:
4914
5040
  '''The permissions policy of the event bus, describing which other AWS accounts can write events to this event bus.
@@ -12941,6 +13067,7 @@ def _typecheckingstub__5766595a149723459145d9f55c6afa7ed3017d49f4af7cec85e0fffe2
12941
13067
  description: typing.Optional[builtins.str] = None,
12942
13068
  event_source_name: typing.Optional[builtins.str] = None,
12943
13069
  kms_key_identifier: typing.Optional[builtins.str] = None,
13070
+ log_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventBus.LogConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12944
13071
  policy: typing.Any = None,
12945
13072
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
12946
13073
  ) -> None:
@@ -12989,6 +13116,12 @@ def _typecheckingstub__1899d0d8378d7d8ade574708aa2d0221794e2fcd5f946287a6f238e59
12989
13116
  """Type checking stubs"""
12990
13117
  pass
12991
13118
 
13119
+ def _typecheckingstub__51db51bf8f1ebc8d9c19cdf02644ddeaaef6bd2b5c86607383cd85b5fa2030c1(
13120
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnEventBus.LogConfigProperty]],
13121
+ ) -> None:
13122
+ """Type checking stubs"""
13123
+ pass
13124
+
12992
13125
  def _typecheckingstub__6069dbf8a749c1a9a0cd15c07c6efbd2f70dbd4c7e3a6e98efd29bdb8c7acb24(
12993
13126
  value: typing.Any,
12994
13127
  ) -> None:
@@ -13008,6 +13141,14 @@ def _typecheckingstub__19cc778177531cf61ae62a46e1a008d0fb9f91cd857dc37c522f0cd73
13008
13141
  """Type checking stubs"""
13009
13142
  pass
13010
13143
 
13144
+ def _typecheckingstub__325c97a9fc2ec199dfb4fb51645bc16dde3cf1f257d1bcf5c86f7cd3a0b2d77c(
13145
+ *,
13146
+ include_detail: typing.Optional[builtins.str] = None,
13147
+ level: typing.Optional[builtins.str] = None,
13148
+ ) -> None:
13149
+ """Type checking stubs"""
13150
+ pass
13151
+
13011
13152
  def _typecheckingstub__c6df7e81a60de40e0e425694b7757e614a634ac89c7c10147ca4c807819a6b71(
13012
13153
  scope: _constructs_77d1e7e8.Construct,
13013
13154
  id: builtins.str,
@@ -13098,6 +13239,7 @@ def _typecheckingstub__79e3f734387b70ada8040490433e9e9ec9b92701ddfb55826c4adc111
13098
13239
  description: typing.Optional[builtins.str] = None,
13099
13240
  event_source_name: typing.Optional[builtins.str] = None,
13100
13241
  kms_key_identifier: typing.Optional[builtins.str] = None,
13242
+ log_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventBus.LogConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
13101
13243
  policy: typing.Any = None,
13102
13244
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
13103
13245
  ) -> None:
@@ -1976,7 +1976,7 @@ class CfnContainerFleet(
1976
1976
 
1977
1977
  The location value might refer to a fleet's remote location or its home Region.
1978
1978
 
1979
- :param desired_ec2_instances: The number of EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits.
1979
+ :param desired_ec2_instances: The number of EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. If any auto-scaling policy is defined for the container fleet, the desired instance will only be applied once during fleet creation and will be ignored in updates to avoid conflicts with auto-scaling. During updates with any auto-scaling policy defined, if current desired instance is lower than the new MinSize, it will be increased to the new MinSize; if current desired instance is larger than the new MaxSize, it will be decreased to the new MaxSize.
1980
1980
  :param max_size: The maximum value that is allowed for the fleet's instance count for a location.
1981
1981
  :param min_size: The minimum value allowed for the fleet's instance count for a location.
1982
1982
 
@@ -2010,7 +2010,7 @@ class CfnContainerFleet(
2010
2010
  def desired_ec2_instances(self) -> jsii.Number:
2011
2011
  '''The number of EC2 instances you want to maintain in the specified fleet location.
2012
2012
 
2013
- This value must fall between the minimum and maximum size limits.
2013
+ This value must fall between the minimum and maximum size limits. If any auto-scaling policy is defined for the container fleet, the desired instance will only be applied once during fleet creation and will be ignored in updates to avoid conflicts with auto-scaling. During updates with any auto-scaling policy defined, if current desired instance is lower than the new MinSize, it will be increased to the new MinSize; if current desired instance is larger than the new MaxSize, it will be decreased to the new MaxSize.
2014
2014
 
2015
2015
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containerfleet-locationcapacity.html#cfn-gamelift-containerfleet-locationcapacity-desiredec2instances
2016
2016
  '''
@@ -1968,6 +1968,7 @@ class CfnIPSet(
1968
1968
  # the properties below are optional
1969
1969
  activate=False,
1970
1970
  detector_id="detectorId",
1971
+ expected_bucket_owner="expectedBucketOwner",
1971
1972
  name="name",
1972
1973
  tags=[CfnTag(
1973
1974
  key="key",
@@ -1985,6 +1986,7 @@ class CfnIPSet(
1985
1986
  location: builtins.str,
1986
1987
  activate: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1987
1988
  detector_id: typing.Optional[builtins.str] = None,
1989
+ expected_bucket_owner: typing.Optional[builtins.str] = None,
1988
1990
  name: typing.Optional[builtins.str] = None,
1989
1991
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1990
1992
  ) -> None:
@@ -1995,6 +1997,7 @@ class CfnIPSet(
1995
1997
  :param location: The URI of the file that contains the IPSet.
1996
1998
  :param activate: Indicates whether or not GuardDuty uses the ``IPSet`` .
1997
1999
  :param detector_id: The unique ID of the detector of the GuardDuty account for which you want to create an IPSet. To find the ``detectorId`` in the current Region, see the Settings page in the GuardDuty console, or run the `ListDetectors <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html>`_ API.
2000
+ :param expected_bucket_owner: The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field. When you provide this account ID, GuardDuty will validate that the S3 bucket belongs to this account. If you don't specify an account ID owner, GuardDuty doesn't perform any validation.
1998
2001
  :param name: The user-friendly name to identify the IPSet. Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
1999
2002
  :param tags: The tags to be added to a new IP set resource. Each tag consists of a key and an optional value, both of which you define. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
2000
2003
  '''
@@ -2007,6 +2010,7 @@ class CfnIPSet(
2007
2010
  location=location,
2008
2011
  activate=activate,
2009
2012
  detector_id=detector_id,
2013
+ expected_bucket_owner=expected_bucket_owner,
2010
2014
  name=name,
2011
2015
  tags=tags,
2012
2016
  )
@@ -2119,6 +2123,19 @@ class CfnIPSet(
2119
2123
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2120
2124
  jsii.set(self, "detectorId", value) # pyright: ignore[reportArgumentType]
2121
2125
 
2126
+ @builtins.property
2127
+ @jsii.member(jsii_name="expectedBucketOwner")
2128
+ def expected_bucket_owner(self) -> typing.Optional[builtins.str]:
2129
+ '''The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field.'''
2130
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "expectedBucketOwner"))
2131
+
2132
+ @expected_bucket_owner.setter
2133
+ def expected_bucket_owner(self, value: typing.Optional[builtins.str]) -> None:
2134
+ if __debug__:
2135
+ type_hints = typing.get_type_hints(_typecheckingstub__9191409994fec537ce4d4e8e40256113b2937c7a1bb90b2f14b71998143f9810)
2136
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2137
+ jsii.set(self, "expectedBucketOwner", value) # pyright: ignore[reportArgumentType]
2138
+
2122
2139
  @builtins.property
2123
2140
  @jsii.member(jsii_name="name")
2124
2141
  def name(self) -> typing.Optional[builtins.str]:
@@ -2154,6 +2171,7 @@ class CfnIPSet(
2154
2171
  "location": "location",
2155
2172
  "activate": "activate",
2156
2173
  "detector_id": "detectorId",
2174
+ "expected_bucket_owner": "expectedBucketOwner",
2157
2175
  "name": "name",
2158
2176
  "tags": "tags",
2159
2177
  },
@@ -2166,6 +2184,7 @@ class CfnIPSetProps:
2166
2184
  location: builtins.str,
2167
2185
  activate: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2168
2186
  detector_id: typing.Optional[builtins.str] = None,
2187
+ expected_bucket_owner: typing.Optional[builtins.str] = None,
2169
2188
  name: typing.Optional[builtins.str] = None,
2170
2189
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2171
2190
  ) -> None:
@@ -2175,6 +2194,7 @@ class CfnIPSetProps:
2175
2194
  :param location: The URI of the file that contains the IPSet.
2176
2195
  :param activate: Indicates whether or not GuardDuty uses the ``IPSet`` .
2177
2196
  :param detector_id: The unique ID of the detector of the GuardDuty account for which you want to create an IPSet. To find the ``detectorId`` in the current Region, see the Settings page in the GuardDuty console, or run the `ListDetectors <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html>`_ API.
2197
+ :param expected_bucket_owner: The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field. When you provide this account ID, GuardDuty will validate that the S3 bucket belongs to this account. If you don't specify an account ID owner, GuardDuty doesn't perform any validation.
2178
2198
  :param name: The user-friendly name to identify the IPSet. Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
2179
2199
  :param tags: The tags to be added to a new IP set resource. Each tag consists of a key and an optional value, both of which you define. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
2180
2200
 
@@ -2194,6 +2214,7 @@ class CfnIPSetProps:
2194
2214
  # the properties below are optional
2195
2215
  activate=False,
2196
2216
  detector_id="detectorId",
2217
+ expected_bucket_owner="expectedBucketOwner",
2197
2218
  name="name",
2198
2219
  tags=[CfnTag(
2199
2220
  key="key",
@@ -2207,6 +2228,7 @@ class CfnIPSetProps:
2207
2228
  check_type(argname="argument location", value=location, expected_type=type_hints["location"])
2208
2229
  check_type(argname="argument activate", value=activate, expected_type=type_hints["activate"])
2209
2230
  check_type(argname="argument detector_id", value=detector_id, expected_type=type_hints["detector_id"])
2231
+ check_type(argname="argument expected_bucket_owner", value=expected_bucket_owner, expected_type=type_hints["expected_bucket_owner"])
2210
2232
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
2211
2233
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2212
2234
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -2217,6 +2239,8 @@ class CfnIPSetProps:
2217
2239
  self._values["activate"] = activate
2218
2240
  if detector_id is not None:
2219
2241
  self._values["detector_id"] = detector_id
2242
+ if expected_bucket_owner is not None:
2243
+ self._values["expected_bucket_owner"] = expected_bucket_owner
2220
2244
  if name is not None:
2221
2245
  self._values["name"] = name
2222
2246
  if tags is not None:
@@ -2265,6 +2289,17 @@ class CfnIPSetProps:
2265
2289
  result = self._values.get("detector_id")
2266
2290
  return typing.cast(typing.Optional[builtins.str], result)
2267
2291
 
2292
+ @builtins.property
2293
+ def expected_bucket_owner(self) -> typing.Optional[builtins.str]:
2294
+ '''The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field.
2295
+
2296
+ When you provide this account ID, GuardDuty will validate that the S3 bucket belongs to this account. If you don't specify an account ID owner, GuardDuty doesn't perform any validation.
2297
+
2298
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-expectedbucketowner
2299
+ '''
2300
+ result = self._values.get("expected_bucket_owner")
2301
+ return typing.cast(typing.Optional[builtins.str], result)
2302
+
2268
2303
  @builtins.property
2269
2304
  def name(self) -> typing.Optional[builtins.str]:
2270
2305
  '''The user-friendly name to identify the IPSet.
@@ -4096,6 +4131,7 @@ class CfnThreatIntelSet(
4096
4131
  # the properties below are optional
4097
4132
  activate=False,
4098
4133
  detector_id="detectorId",
4134
+ expected_bucket_owner="expectedBucketOwner",
4099
4135
  name="name",
4100
4136
  tags=[CfnTag(
4101
4137
  key="key",
@@ -4113,6 +4149,7 @@ class CfnThreatIntelSet(
4113
4149
  location: builtins.str,
4114
4150
  activate: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4115
4151
  detector_id: typing.Optional[builtins.str] = None,
4152
+ expected_bucket_owner: typing.Optional[builtins.str] = None,
4116
4153
  name: typing.Optional[builtins.str] = None,
4117
4154
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4118
4155
  ) -> None:
@@ -4123,6 +4160,7 @@ class CfnThreatIntelSet(
4123
4160
  :param location: The URI of the file that contains the ThreatIntelSet.
4124
4161
  :param activate: A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
4125
4162
  :param detector_id: The unique ID of the detector of the GuardDuty account for which you want to create a ``ThreatIntelSet`` . To find the ``detectorId`` in the current Region, see the Settings page in the GuardDuty console, or run the `ListDetectors <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html>`_ API.
4163
+ :param expected_bucket_owner: The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field. When you provide this account ID, GuardDuty will validate that the S3 bucket belongs to this account. If you don't specify an account ID owner, GuardDuty doesn't perform any validation.
4126
4164
  :param name: A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.
4127
4165
  :param tags: The tags to be added to a new threat list resource. Each tag consists of a key and an optional value, both of which you define. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
4128
4166
  '''
@@ -4135,6 +4173,7 @@ class CfnThreatIntelSet(
4135
4173
  location=location,
4136
4174
  activate=activate,
4137
4175
  detector_id=detector_id,
4176
+ expected_bucket_owner=expected_bucket_owner,
4138
4177
  name=name,
4139
4178
  tags=tags,
4140
4179
  )
@@ -4248,6 +4287,19 @@ class CfnThreatIntelSet(
4248
4287
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4249
4288
  jsii.set(self, "detectorId", value) # pyright: ignore[reportArgumentType]
4250
4289
 
4290
+ @builtins.property
4291
+ @jsii.member(jsii_name="expectedBucketOwner")
4292
+ def expected_bucket_owner(self) -> typing.Optional[builtins.str]:
4293
+ '''The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field.'''
4294
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "expectedBucketOwner"))
4295
+
4296
+ @expected_bucket_owner.setter
4297
+ def expected_bucket_owner(self, value: typing.Optional[builtins.str]) -> None:
4298
+ if __debug__:
4299
+ type_hints = typing.get_type_hints(_typecheckingstub__45c0733c6c75c09ff089a9606f91e845cf362445012b247e68e83208c0a5aaee)
4300
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4301
+ jsii.set(self, "expectedBucketOwner", value) # pyright: ignore[reportArgumentType]
4302
+
4251
4303
  @builtins.property
4252
4304
  @jsii.member(jsii_name="name")
4253
4305
  def name(self) -> typing.Optional[builtins.str]:
@@ -4283,6 +4335,7 @@ class CfnThreatIntelSet(
4283
4335
  "location": "location",
4284
4336
  "activate": "activate",
4285
4337
  "detector_id": "detectorId",
4338
+ "expected_bucket_owner": "expectedBucketOwner",
4286
4339
  "name": "name",
4287
4340
  "tags": "tags",
4288
4341
  },
@@ -4295,6 +4348,7 @@ class CfnThreatIntelSetProps:
4295
4348
  location: builtins.str,
4296
4349
  activate: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4297
4350
  detector_id: typing.Optional[builtins.str] = None,
4351
+ expected_bucket_owner: typing.Optional[builtins.str] = None,
4298
4352
  name: typing.Optional[builtins.str] = None,
4299
4353
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4300
4354
  ) -> None:
@@ -4304,6 +4358,7 @@ class CfnThreatIntelSetProps:
4304
4358
  :param location: The URI of the file that contains the ThreatIntelSet.
4305
4359
  :param activate: A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
4306
4360
  :param detector_id: The unique ID of the detector of the GuardDuty account for which you want to create a ``ThreatIntelSet`` . To find the ``detectorId`` in the current Region, see the Settings page in the GuardDuty console, or run the `ListDetectors <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html>`_ API.
4361
+ :param expected_bucket_owner: The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field. When you provide this account ID, GuardDuty will validate that the S3 bucket belongs to this account. If you don't specify an account ID owner, GuardDuty doesn't perform any validation.
4307
4362
  :param name: A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.
4308
4363
  :param tags: The tags to be added to a new threat list resource. Each tag consists of a key and an optional value, both of which you define. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
4309
4364
 
@@ -4323,6 +4378,7 @@ class CfnThreatIntelSetProps:
4323
4378
  # the properties below are optional
4324
4379
  activate=False,
4325
4380
  detector_id="detectorId",
4381
+ expected_bucket_owner="expectedBucketOwner",
4326
4382
  name="name",
4327
4383
  tags=[CfnTag(
4328
4384
  key="key",
@@ -4336,6 +4392,7 @@ class CfnThreatIntelSetProps:
4336
4392
  check_type(argname="argument location", value=location, expected_type=type_hints["location"])
4337
4393
  check_type(argname="argument activate", value=activate, expected_type=type_hints["activate"])
4338
4394
  check_type(argname="argument detector_id", value=detector_id, expected_type=type_hints["detector_id"])
4395
+ check_type(argname="argument expected_bucket_owner", value=expected_bucket_owner, expected_type=type_hints["expected_bucket_owner"])
4339
4396
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
4340
4397
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
4341
4398
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -4346,6 +4403,8 @@ class CfnThreatIntelSetProps:
4346
4403
  self._values["activate"] = activate
4347
4404
  if detector_id is not None:
4348
4405
  self._values["detector_id"] = detector_id
4406
+ if expected_bucket_owner is not None:
4407
+ self._values["expected_bucket_owner"] = expected_bucket_owner
4349
4408
  if name is not None:
4350
4409
  self._values["name"] = name
4351
4410
  if tags is not None:
@@ -4394,6 +4453,17 @@ class CfnThreatIntelSetProps:
4394
4453
  result = self._values.get("detector_id")
4395
4454
  return typing.cast(typing.Optional[builtins.str], result)
4396
4455
 
4456
+ @builtins.property
4457
+ def expected_bucket_owner(self) -> typing.Optional[builtins.str]:
4458
+ '''The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field.
4459
+
4460
+ When you provide this account ID, GuardDuty will validate that the S3 bucket belongs to this account. If you don't specify an account ID owner, GuardDuty doesn't perform any validation.
4461
+
4462
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-threatintelset.html#cfn-guardduty-threatintelset-expectedbucketowner
4463
+ '''
4464
+ result = self._values.get("expected_bucket_owner")
4465
+ return typing.cast(typing.Optional[builtins.str], result)
4466
+
4397
4467
  @builtins.property
4398
4468
  def name(self) -> typing.Optional[builtins.str]:
4399
4469
  '''A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.
@@ -4700,6 +4770,7 @@ def _typecheckingstub__b0c6fd2cb08b5267e6265af6fae1a30df065b4b25dc1d6d684eec9f9b
4700
4770
  location: builtins.str,
4701
4771
  activate: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4702
4772
  detector_id: typing.Optional[builtins.str] = None,
4773
+ expected_bucket_owner: typing.Optional[builtins.str] = None,
4703
4774
  name: typing.Optional[builtins.str] = None,
4704
4775
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4705
4776
  ) -> None:
@@ -4742,6 +4813,12 @@ def _typecheckingstub__1aa4bf6ad59c1223085a10fc5ece87e88253a83036d5b0e3947792ffc
4742
4813
  """Type checking stubs"""
4743
4814
  pass
4744
4815
 
4816
+ def _typecheckingstub__9191409994fec537ce4d4e8e40256113b2937c7a1bb90b2f14b71998143f9810(
4817
+ value: typing.Optional[builtins.str],
4818
+ ) -> None:
4819
+ """Type checking stubs"""
4820
+ pass
4821
+
4745
4822
  def _typecheckingstub__0128f966eac1a136f141aedcb397b96308a170e31f1d45176a39160ebf5a7a8f(
4746
4823
  value: typing.Optional[builtins.str],
4747
4824
  ) -> None:
@@ -4760,6 +4837,7 @@ def _typecheckingstub__f47aa340c89b95bf1878c9cb7463920b568c23940ad283e6f2c2bb481
4760
4837
  location: builtins.str,
4761
4838
  activate: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4762
4839
  detector_id: typing.Optional[builtins.str] = None,
4840
+ expected_bucket_owner: typing.Optional[builtins.str] = None,
4763
4841
  name: typing.Optional[builtins.str] = None,
4764
4842
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4765
4843
  ) -> None:
@@ -5075,6 +5153,7 @@ def _typecheckingstub__e60035c0bc955afb794ee89f0439deae280bfec665014cbbd161f0856
5075
5153
  location: builtins.str,
5076
5154
  activate: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5077
5155
  detector_id: typing.Optional[builtins.str] = None,
5156
+ expected_bucket_owner: typing.Optional[builtins.str] = None,
5078
5157
  name: typing.Optional[builtins.str] = None,
5079
5158
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5080
5159
  ) -> None:
@@ -5117,6 +5196,12 @@ def _typecheckingstub__6198953302f0959c3d25abb6f0063fb638c6abf44a125235eafb49370
5117
5196
  """Type checking stubs"""
5118
5197
  pass
5119
5198
 
5199
+ def _typecheckingstub__45c0733c6c75c09ff089a9606f91e845cf362445012b247e68e83208c0a5aaee(
5200
+ value: typing.Optional[builtins.str],
5201
+ ) -> None:
5202
+ """Type checking stubs"""
5203
+ pass
5204
+
5120
5205
  def _typecheckingstub__78860e52ab0e0d6681a85585054b7ed92f84696ec2b6a43bb90c609188bf36e6(
5121
5206
  value: typing.Optional[builtins.str],
5122
5207
  ) -> None:
@@ -5135,6 +5220,7 @@ def _typecheckingstub__0a5d0bedab8c4fad4ab288ce5a467dbe6a4d07ef2947521b14162f1e7
5135
5220
  location: builtins.str,
5136
5221
  activate: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5137
5222
  detector_id: typing.Optional[builtins.str] = None,
5223
+ expected_bucket_owner: typing.Optional[builtins.str] = None,
5138
5224
  name: typing.Optional[builtins.str] = None,
5139
5225
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5140
5226
  ) -> None: