aws-cdk-lib 2.100.0__py3-none-any.whl → 2.101.1__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 (38) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.100.0.jsii.tgz → aws-cdk-lib@2.101.1.jsii.tgz} +0 -0
  3. aws_cdk/aws_apigatewayv2/__init__.py +0 -8
  4. aws_cdk/aws_appconfig/__init__.py +101 -18
  5. aws_cdk/aws_apprunner/__init__.py +5 -2
  6. aws_cdk/aws_appstream/__init__.py +18 -26
  7. aws_cdk/aws_cloudfront/__init__.py +251 -3
  8. aws_cdk/aws_cloudtrail/__init__.py +47 -3
  9. aws_cdk/aws_cognito/__init__.py +414 -8
  10. aws_cdk/aws_dlm/__init__.py +10 -9
  11. aws_cdk/aws_ec2/__init__.py +308 -179
  12. aws_cdk/aws_events/__init__.py +62 -86
  13. aws_cdk/aws_fms/__init__.py +3 -3
  14. aws_cdk/aws_grafana/__init__.py +4 -4
  15. aws_cdk/aws_greengrassv2/__init__.py +1 -8
  16. aws_cdk/aws_iot/__init__.py +714 -0
  17. aws_cdk/aws_iotsitewise/__init__.py +3 -3
  18. aws_cdk/aws_kinesisanalytics/__init__.py +15 -15
  19. aws_cdk/aws_kinesisanalyticsv2/__init__.py +15 -15
  20. aws_cdk/aws_kinesisfirehose/__init__.py +87 -40
  21. aws_cdk/aws_lambda/__init__.py +34 -4
  22. aws_cdk/aws_lightsail/__init__.py +3 -1
  23. aws_cdk/aws_mediatailor/__init__.py +24 -1
  24. aws_cdk/aws_quicksight/__init__.py +2508 -55
  25. aws_cdk/aws_rds/__init__.py +121 -51
  26. aws_cdk/aws_sagemaker/__init__.py +5 -3
  27. aws_cdk/aws_sns/__init__.py +42 -5
  28. aws_cdk/aws_ssm/__init__.py +0 -8
  29. aws_cdk/aws_stepfunctions/__init__.py +233 -16
  30. aws_cdk/aws_stepfunctions_tasks/__init__.py +926 -27
  31. aws_cdk/aws_transfer/__init__.py +4 -4
  32. aws_cdk/aws_workspacesweb/__init__.py +3 -3
  33. {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/METADATA +1 -1
  34. {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/RECORD +38 -38
  35. {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/LICENSE +0 -0
  36. {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/NOTICE +0 -0
  37. {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/WHEEL +0 -0
  38. {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/top_level.txt +0 -0
@@ -3208,6 +3208,360 @@ class CfnIdentityPoolRoleAttachmentProps:
3208
3208
  )
3209
3209
 
3210
3210
 
3211
+ @jsii.implements(_IInspectable_c2943556)
3212
+ class CfnLogDeliveryConfiguration(
3213
+ _CfnResource_9df397a6,
3214
+ metaclass=jsii.JSIIMeta,
3215
+ jsii_type="aws-cdk-lib.aws_cognito.CfnLogDeliveryConfiguration",
3216
+ ):
3217
+ '''Resource Type definition for AWS::Cognito::LogDeliveryConfiguration.
3218
+
3219
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-logdeliveryconfiguration.html
3220
+ :cloudformationResource: AWS::Cognito::LogDeliveryConfiguration
3221
+ :exampleMetadata: fixture=_generated
3222
+
3223
+ Example::
3224
+
3225
+ # The code below shows an example of how to instantiate this type.
3226
+ # The values are placeholders you should change.
3227
+ from aws_cdk import aws_cognito as cognito
3228
+
3229
+ cfn_log_delivery_configuration = cognito.CfnLogDeliveryConfiguration(self, "MyCfnLogDeliveryConfiguration",
3230
+ user_pool_id="userPoolId",
3231
+
3232
+ # the properties below are optional
3233
+ log_configurations=[cognito.CfnLogDeliveryConfiguration.LogConfigurationProperty(
3234
+ cloud_watch_logs_configuration=cognito.CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty(
3235
+ log_group_arn="logGroupArn"
3236
+ ),
3237
+ event_source="eventSource",
3238
+ log_level="logLevel"
3239
+ )]
3240
+ )
3241
+ '''
3242
+
3243
+ def __init__(
3244
+ self,
3245
+ scope: _constructs_77d1e7e8.Construct,
3246
+ id: builtins.str,
3247
+ *,
3248
+ user_pool_id: builtins.str,
3249
+ log_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLogDeliveryConfiguration.LogConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
3250
+ ) -> None:
3251
+ '''
3252
+ :param scope: Scope in which this resource is defined.
3253
+ :param id: Construct identifier for this resource (unique in its scope).
3254
+ :param user_pool_id:
3255
+ :param log_configurations:
3256
+ '''
3257
+ if __debug__:
3258
+ type_hints = typing.get_type_hints(_typecheckingstub__e29530a80c41b2b01a02705536af0f4120664e64afaf6cf445105a2dd4a7023d)
3259
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3260
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3261
+ props = CfnLogDeliveryConfigurationProps(
3262
+ user_pool_id=user_pool_id, log_configurations=log_configurations
3263
+ )
3264
+
3265
+ jsii.create(self.__class__, self, [scope, id, props])
3266
+
3267
+ @jsii.member(jsii_name="inspect")
3268
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
3269
+ '''Examines the CloudFormation resource and discloses attributes.
3270
+
3271
+ :param inspector: tree inspector to collect and process attributes.
3272
+ '''
3273
+ if __debug__:
3274
+ type_hints = typing.get_type_hints(_typecheckingstub__9c754043d52de2809138bd323abb0b034a1950dd042f21ac2f36d2f80c2f6ab5)
3275
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
3276
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
3277
+
3278
+ @jsii.member(jsii_name="renderProperties")
3279
+ def _render_properties(
3280
+ self,
3281
+ props: typing.Mapping[builtins.str, typing.Any],
3282
+ ) -> typing.Mapping[builtins.str, typing.Any]:
3283
+ '''
3284
+ :param props: -
3285
+ '''
3286
+ if __debug__:
3287
+ type_hints = typing.get_type_hints(_typecheckingstub__089ac90c3942f7680901a3873d6f480819579f6ee19698ffe4041808f8ddfb54)
3288
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
3289
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
3290
+
3291
+ @jsii.python.classproperty
3292
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
3293
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
3294
+ '''The CloudFormation resource type name for this resource class.'''
3295
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
3296
+
3297
+ @builtins.property
3298
+ @jsii.member(jsii_name="attrId")
3299
+ def attr_id(self) -> builtins.str:
3300
+ '''
3301
+ :cloudformationAttribute: Id
3302
+ '''
3303
+ return typing.cast(builtins.str, jsii.get(self, "attrId"))
3304
+
3305
+ @builtins.property
3306
+ @jsii.member(jsii_name="cfnProperties")
3307
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
3308
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
3309
+
3310
+ @builtins.property
3311
+ @jsii.member(jsii_name="userPoolId")
3312
+ def user_pool_id(self) -> builtins.str:
3313
+ return typing.cast(builtins.str, jsii.get(self, "userPoolId"))
3314
+
3315
+ @user_pool_id.setter
3316
+ def user_pool_id(self, value: builtins.str) -> None:
3317
+ if __debug__:
3318
+ type_hints = typing.get_type_hints(_typecheckingstub__2182e97aaa93da941d4811edec2c32bd2af08481e5b611636933cf688c72d4a5)
3319
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3320
+ jsii.set(self, "userPoolId", value)
3321
+
3322
+ @builtins.property
3323
+ @jsii.member(jsii_name="logConfigurations")
3324
+ def log_configurations(
3325
+ self,
3326
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLogDeliveryConfiguration.LogConfigurationProperty"]]]]:
3327
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLogDeliveryConfiguration.LogConfigurationProperty"]]]], jsii.get(self, "logConfigurations"))
3328
+
3329
+ @log_configurations.setter
3330
+ def log_configurations(
3331
+ self,
3332
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLogDeliveryConfiguration.LogConfigurationProperty"]]]],
3333
+ ) -> None:
3334
+ if __debug__:
3335
+ type_hints = typing.get_type_hints(_typecheckingstub__40a6b8e2f773442c634fa6b71515839097ae56e3de02083447219aae5f9c1a9f)
3336
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3337
+ jsii.set(self, "logConfigurations", value)
3338
+
3339
+ @jsii.data_type(
3340
+ jsii_type="aws-cdk-lib.aws_cognito.CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty",
3341
+ jsii_struct_bases=[],
3342
+ name_mapping={"log_group_arn": "logGroupArn"},
3343
+ )
3344
+ class CloudWatchLogsConfigurationProperty:
3345
+ def __init__(
3346
+ self,
3347
+ *,
3348
+ log_group_arn: typing.Optional[builtins.str] = None,
3349
+ ) -> None:
3350
+ '''
3351
+ :param log_group_arn:
3352
+
3353
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-logdeliveryconfiguration-cloudwatchlogsconfiguration.html
3354
+ :exampleMetadata: fixture=_generated
3355
+
3356
+ Example::
3357
+
3358
+ # The code below shows an example of how to instantiate this type.
3359
+ # The values are placeholders you should change.
3360
+ from aws_cdk import aws_cognito as cognito
3361
+
3362
+ cloud_watch_logs_configuration_property = cognito.CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty(
3363
+ log_group_arn="logGroupArn"
3364
+ )
3365
+ '''
3366
+ if __debug__:
3367
+ type_hints = typing.get_type_hints(_typecheckingstub__ff46bbb404bb2daaadf6da44499aa85e733a076298ca686e738f64972365712b)
3368
+ check_type(argname="argument log_group_arn", value=log_group_arn, expected_type=type_hints["log_group_arn"])
3369
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3370
+ if log_group_arn is not None:
3371
+ self._values["log_group_arn"] = log_group_arn
3372
+
3373
+ @builtins.property
3374
+ def log_group_arn(self) -> typing.Optional[builtins.str]:
3375
+ '''
3376
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-logdeliveryconfiguration-cloudwatchlogsconfiguration.html#cfn-cognito-logdeliveryconfiguration-cloudwatchlogsconfiguration-loggrouparn
3377
+ '''
3378
+ result = self._values.get("log_group_arn")
3379
+ return typing.cast(typing.Optional[builtins.str], result)
3380
+
3381
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3382
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3383
+
3384
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3385
+ return not (rhs == self)
3386
+
3387
+ def __repr__(self) -> str:
3388
+ return "CloudWatchLogsConfigurationProperty(%s)" % ", ".join(
3389
+ k + "=" + repr(v) for k, v in self._values.items()
3390
+ )
3391
+
3392
+ @jsii.data_type(
3393
+ jsii_type="aws-cdk-lib.aws_cognito.CfnLogDeliveryConfiguration.LogConfigurationProperty",
3394
+ jsii_struct_bases=[],
3395
+ name_mapping={
3396
+ "cloud_watch_logs_configuration": "cloudWatchLogsConfiguration",
3397
+ "event_source": "eventSource",
3398
+ "log_level": "logLevel",
3399
+ },
3400
+ )
3401
+ class LogConfigurationProperty:
3402
+ def __init__(
3403
+ self,
3404
+ *,
3405
+ cloud_watch_logs_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3406
+ event_source: typing.Optional[builtins.str] = None,
3407
+ log_level: typing.Optional[builtins.str] = None,
3408
+ ) -> None:
3409
+ '''
3410
+ :param cloud_watch_logs_configuration:
3411
+ :param event_source:
3412
+ :param log_level:
3413
+
3414
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-logdeliveryconfiguration-logconfiguration.html
3415
+ :exampleMetadata: fixture=_generated
3416
+
3417
+ Example::
3418
+
3419
+ # The code below shows an example of how to instantiate this type.
3420
+ # The values are placeholders you should change.
3421
+ from aws_cdk import aws_cognito as cognito
3422
+
3423
+ log_configuration_property = cognito.CfnLogDeliveryConfiguration.LogConfigurationProperty(
3424
+ cloud_watch_logs_configuration=cognito.CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty(
3425
+ log_group_arn="logGroupArn"
3426
+ ),
3427
+ event_source="eventSource",
3428
+ log_level="logLevel"
3429
+ )
3430
+ '''
3431
+ if __debug__:
3432
+ type_hints = typing.get_type_hints(_typecheckingstub__3fcaff05e87f499492c9c4ac6949463926f4833510675569310df4f8cb619149)
3433
+ check_type(argname="argument cloud_watch_logs_configuration", value=cloud_watch_logs_configuration, expected_type=type_hints["cloud_watch_logs_configuration"])
3434
+ check_type(argname="argument event_source", value=event_source, expected_type=type_hints["event_source"])
3435
+ check_type(argname="argument log_level", value=log_level, expected_type=type_hints["log_level"])
3436
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3437
+ if cloud_watch_logs_configuration is not None:
3438
+ self._values["cloud_watch_logs_configuration"] = cloud_watch_logs_configuration
3439
+ if event_source is not None:
3440
+ self._values["event_source"] = event_source
3441
+ if log_level is not None:
3442
+ self._values["log_level"] = log_level
3443
+
3444
+ @builtins.property
3445
+ def cloud_watch_logs_configuration(
3446
+ self,
3447
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty"]]:
3448
+ '''
3449
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-logdeliveryconfiguration-logconfiguration.html#cfn-cognito-logdeliveryconfiguration-logconfiguration-cloudwatchlogsconfiguration
3450
+ '''
3451
+ result = self._values.get("cloud_watch_logs_configuration")
3452
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty"]], result)
3453
+
3454
+ @builtins.property
3455
+ def event_source(self) -> typing.Optional[builtins.str]:
3456
+ '''
3457
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-logdeliveryconfiguration-logconfiguration.html#cfn-cognito-logdeliveryconfiguration-logconfiguration-eventsource
3458
+ '''
3459
+ result = self._values.get("event_source")
3460
+ return typing.cast(typing.Optional[builtins.str], result)
3461
+
3462
+ @builtins.property
3463
+ def log_level(self) -> typing.Optional[builtins.str]:
3464
+ '''
3465
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-logdeliveryconfiguration-logconfiguration.html#cfn-cognito-logdeliveryconfiguration-logconfiguration-loglevel
3466
+ '''
3467
+ result = self._values.get("log_level")
3468
+ return typing.cast(typing.Optional[builtins.str], result)
3469
+
3470
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3471
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3472
+
3473
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3474
+ return not (rhs == self)
3475
+
3476
+ def __repr__(self) -> str:
3477
+ return "LogConfigurationProperty(%s)" % ", ".join(
3478
+ k + "=" + repr(v) for k, v in self._values.items()
3479
+ )
3480
+
3481
+
3482
+ @jsii.data_type(
3483
+ jsii_type="aws-cdk-lib.aws_cognito.CfnLogDeliveryConfigurationProps",
3484
+ jsii_struct_bases=[],
3485
+ name_mapping={
3486
+ "user_pool_id": "userPoolId",
3487
+ "log_configurations": "logConfigurations",
3488
+ },
3489
+ )
3490
+ class CfnLogDeliveryConfigurationProps:
3491
+ def __init__(
3492
+ self,
3493
+ *,
3494
+ user_pool_id: builtins.str,
3495
+ log_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLogDeliveryConfiguration.LogConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3496
+ ) -> None:
3497
+ '''Properties for defining a ``CfnLogDeliveryConfiguration``.
3498
+
3499
+ :param user_pool_id:
3500
+ :param log_configurations:
3501
+
3502
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-logdeliveryconfiguration.html
3503
+ :exampleMetadata: fixture=_generated
3504
+
3505
+ Example::
3506
+
3507
+ # The code below shows an example of how to instantiate this type.
3508
+ # The values are placeholders you should change.
3509
+ from aws_cdk import aws_cognito as cognito
3510
+
3511
+ cfn_log_delivery_configuration_props = cognito.CfnLogDeliveryConfigurationProps(
3512
+ user_pool_id="userPoolId",
3513
+
3514
+ # the properties below are optional
3515
+ log_configurations=[cognito.CfnLogDeliveryConfiguration.LogConfigurationProperty(
3516
+ cloud_watch_logs_configuration=cognito.CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty(
3517
+ log_group_arn="logGroupArn"
3518
+ ),
3519
+ event_source="eventSource",
3520
+ log_level="logLevel"
3521
+ )]
3522
+ )
3523
+ '''
3524
+ if __debug__:
3525
+ type_hints = typing.get_type_hints(_typecheckingstub__585789fa8816c3e4ed9b3aa9967435c1474787f750de3db35983f11efef27366)
3526
+ check_type(argname="argument user_pool_id", value=user_pool_id, expected_type=type_hints["user_pool_id"])
3527
+ check_type(argname="argument log_configurations", value=log_configurations, expected_type=type_hints["log_configurations"])
3528
+ self._values: typing.Dict[builtins.str, typing.Any] = {
3529
+ "user_pool_id": user_pool_id,
3530
+ }
3531
+ if log_configurations is not None:
3532
+ self._values["log_configurations"] = log_configurations
3533
+
3534
+ @builtins.property
3535
+ def user_pool_id(self) -> builtins.str:
3536
+ '''
3537
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-logdeliveryconfiguration.html#cfn-cognito-logdeliveryconfiguration-userpoolid
3538
+ '''
3539
+ result = self._values.get("user_pool_id")
3540
+ assert result is not None, "Required property 'user_pool_id' is missing"
3541
+ return typing.cast(builtins.str, result)
3542
+
3543
+ @builtins.property
3544
+ def log_configurations(
3545
+ self,
3546
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnLogDeliveryConfiguration.LogConfigurationProperty]]]]:
3547
+ '''
3548
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-logdeliveryconfiguration.html#cfn-cognito-logdeliveryconfiguration-logconfigurations
3549
+ '''
3550
+ result = self._values.get("log_configurations")
3551
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnLogDeliveryConfiguration.LogConfigurationProperty]]]], result)
3552
+
3553
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3554
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3555
+
3556
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3557
+ return not (rhs == self)
3558
+
3559
+ def __repr__(self) -> str:
3560
+ return "CfnLogDeliveryConfigurationProps(%s)" % ", ".join(
3561
+ k + "=" + repr(v) for k, v in self._values.items()
3562
+ )
3563
+
3564
+
3211
3565
  @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
3212
3566
  class CfnUserPool(
3213
3567
  _CfnResource_9df397a6,
@@ -10670,14 +11024,6 @@ class CfnUserPoolUser(
10670
11024
  '''The CloudFormation resource type name for this resource class.'''
10671
11025
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
10672
11026
 
10673
- @builtins.property
10674
- @jsii.member(jsii_name="attrId")
10675
- def attr_id(self) -> builtins.str:
10676
- '''
10677
- :cloudformationAttribute: Id
10678
- '''
10679
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
10680
-
10681
11027
  @builtins.property
10682
11028
  @jsii.member(jsii_name="cfnProperties")
10683
11029
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -20026,6 +20372,8 @@ __all__ = [
20026
20372
  "CfnIdentityPoolProps",
20027
20373
  "CfnIdentityPoolRoleAttachment",
20028
20374
  "CfnIdentityPoolRoleAttachmentProps",
20375
+ "CfnLogDeliveryConfiguration",
20376
+ "CfnLogDeliveryConfigurationProps",
20029
20377
  "CfnUserPool",
20030
20378
  "CfnUserPoolClient",
20031
20379
  "CfnUserPoolClientProps",
@@ -20446,6 +20794,64 @@ def _typecheckingstub__7531b732f0c0a047085fd9c4031282884fde57038e57a1ebd6d247d39
20446
20794
  """Type checking stubs"""
20447
20795
  pass
20448
20796
 
20797
+ def _typecheckingstub__e29530a80c41b2b01a02705536af0f4120664e64afaf6cf445105a2dd4a7023d(
20798
+ scope: _constructs_77d1e7e8.Construct,
20799
+ id: builtins.str,
20800
+ *,
20801
+ user_pool_id: builtins.str,
20802
+ log_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLogDeliveryConfiguration.LogConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
20803
+ ) -> None:
20804
+ """Type checking stubs"""
20805
+ pass
20806
+
20807
+ def _typecheckingstub__9c754043d52de2809138bd323abb0b034a1950dd042f21ac2f36d2f80c2f6ab5(
20808
+ inspector: _TreeInspector_488e0dd5,
20809
+ ) -> None:
20810
+ """Type checking stubs"""
20811
+ pass
20812
+
20813
+ def _typecheckingstub__089ac90c3942f7680901a3873d6f480819579f6ee19698ffe4041808f8ddfb54(
20814
+ props: typing.Mapping[builtins.str, typing.Any],
20815
+ ) -> None:
20816
+ """Type checking stubs"""
20817
+ pass
20818
+
20819
+ def _typecheckingstub__2182e97aaa93da941d4811edec2c32bd2af08481e5b611636933cf688c72d4a5(
20820
+ value: builtins.str,
20821
+ ) -> None:
20822
+ """Type checking stubs"""
20823
+ pass
20824
+
20825
+ def _typecheckingstub__40a6b8e2f773442c634fa6b71515839097ae56e3de02083447219aae5f9c1a9f(
20826
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnLogDeliveryConfiguration.LogConfigurationProperty]]]],
20827
+ ) -> None:
20828
+ """Type checking stubs"""
20829
+ pass
20830
+
20831
+ def _typecheckingstub__ff46bbb404bb2daaadf6da44499aa85e733a076298ca686e738f64972365712b(
20832
+ *,
20833
+ log_group_arn: typing.Optional[builtins.str] = None,
20834
+ ) -> None:
20835
+ """Type checking stubs"""
20836
+ pass
20837
+
20838
+ def _typecheckingstub__3fcaff05e87f499492c9c4ac6949463926f4833510675569310df4f8cb619149(
20839
+ *,
20840
+ cloud_watch_logs_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
20841
+ event_source: typing.Optional[builtins.str] = None,
20842
+ log_level: typing.Optional[builtins.str] = None,
20843
+ ) -> None:
20844
+ """Type checking stubs"""
20845
+ pass
20846
+
20847
+ def _typecheckingstub__585789fa8816c3e4ed9b3aa9967435c1474787f750de3db35983f11efef27366(
20848
+ *,
20849
+ user_pool_id: builtins.str,
20850
+ log_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLogDeliveryConfiguration.LogConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
20851
+ ) -> None:
20852
+ """Type checking stubs"""
20853
+ pass
20854
+
20449
20855
  def _typecheckingstub__32d20f28e2758f9a461380e2ed5d06233baf0f45541047ba837f26ebc37ee551(
20450
20856
  scope: _constructs_77d1e7e8.Construct,
20451
20857
  id: builtins.str,
@@ -982,7 +982,7 @@ class CfnLifecyclePolicy(
982
982
  target: typing.Optional[builtins.str] = None,
983
983
  target_region: typing.Optional[builtins.str] = None,
984
984
  ) -> None:
985
- '''*[Snapshot and AMI policies only]* Specifies a cross-Region copy rule for snapshot and AMI policies.
985
+ '''*[Snapshot and AMI policies only]* Specifies a cross-Region copy rule for a snapshot and AMI policies.
986
986
 
987
987
  .. epigraph::
988
988
 
@@ -993,8 +993,8 @@ class CfnLifecyclePolicy(
993
993
  :param copy_tags: Indicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.
994
994
  :param deprecate_rule:
995
995
  :param retain_rule: The retention rule that indicates how long the cross-Region snapshot or AMI copies are to be retained in the destination Region.
996
- :param target: The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies. Use this parameter instead of *TargetRegion* . Do not specify both.
997
- :param target_region: .. epigraph:: Avoid using this parameter when creating new policies. Instead, use *Target* to specify a target Region or a target Outpost for snapshot copies. .. epigraph:: For policies created before the *Target* parameter was introduced, this parameter indicates the target Region for snapshot copies.
996
+ :param target: .. epigraph:: Use this parameter for snapshot policies only. For AMI policies, use *TargetRegion* instead. *[Snapshot policies only]* The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
997
+ :param target_region: .. epigraph:: Use this parameter for AMI policies only. For snapshot policies, use *Target* instead. For snapshot policies created before the *Target* parameter was introduced, this parameter indicates the target Region for snapshot copies. *[AMI policies only]* The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
998
998
 
999
999
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html
1000
1000
  :exampleMetadata: fixture=_generated
@@ -1105,9 +1105,11 @@ class CfnLifecyclePolicy(
1105
1105
 
1106
1106
  @builtins.property
1107
1107
  def target(self) -> typing.Optional[builtins.str]:
1108
- '''The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
1108
+ '''.. epigraph::
1109
+
1110
+ Use this parameter for snapshot policies only. For AMI policies, use *TargetRegion* instead.
1109
1111
 
1110
- Use this parameter instead of *TargetRegion* . Do not specify both.
1112
+ *[Snapshot policies only]* The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
1111
1113
 
1112
1114
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyrule-target
1113
1115
  '''
@@ -1118,12 +1120,11 @@ class CfnLifecyclePolicy(
1118
1120
  def target_region(self) -> typing.Optional[builtins.str]:
1119
1121
  '''.. epigraph::
1120
1122
 
1121
- Avoid using this parameter when creating new policies.
1123
+ Use this parameter for AMI policies only.
1122
1124
 
1123
- Instead, use *Target* to specify a target Region or a target Outpost for snapshot copies.
1124
- .. epigraph::
1125
+ For snapshot policies, use *Target* instead. For snapshot policies created before the *Target* parameter was introduced, this parameter indicates the target Region for snapshot copies.
1125
1126
 
1126
- For policies created before the *Target* parameter was introduced, this parameter indicates the target Region for snapshot copies.
1127
+ *[AMI policies only]* The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
1127
1128
 
1128
1129
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyrule-targetregion
1129
1130
  '''