aws-cdk-lib 2.149.0__py3-none-any.whl → 2.151.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 (48) hide show
  1. aws_cdk/__init__.py +6 -16
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.149.0.jsii.tgz → aws-cdk-lib@2.151.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +94 -21
  5. aws_cdk/aws_appconfig/__init__.py +3 -3
  6. aws_cdk/aws_backup/__init__.py +3 -3
  7. aws_cdk/aws_bedrock/__init__.py +58 -46
  8. aws_cdk/aws_cleanrooms/__init__.py +5 -5
  9. aws_cdk/aws_cloudformation/__init__.py +4 -8
  10. aws_cdk/aws_cloudfront/__init__.py +102 -32
  11. aws_cdk/aws_cloudtrail/__init__.py +34 -558
  12. aws_cdk/aws_cloudwatch/__init__.py +1 -1
  13. aws_cdk/aws_codepipeline/__init__.py +11 -5
  14. aws_cdk/aws_cognito/__init__.py +1 -2
  15. aws_cdk/aws_ec2/__init__.py +263 -7
  16. aws_cdk/aws_ecs/__init__.py +16 -10
  17. aws_cdk/aws_eks/__init__.py +26 -20
  18. aws_cdk/aws_elasticloadbalancingv2/__init__.py +106 -11
  19. aws_cdk/aws_emr/__init__.py +18 -20
  20. aws_cdk/aws_entityresolution/__init__.py +27 -21
  21. aws_cdk/aws_events/__init__.py +83 -16
  22. aws_cdk/aws_fsx/__init__.py +25 -23
  23. aws_cdk/aws_glue/__init__.py +3 -3
  24. aws_cdk/aws_guardduty/__init__.py +6 -4
  25. aws_cdk/aws_iam/__init__.py +19 -29
  26. aws_cdk/aws_iotsitewise/__init__.py +8 -8
  27. aws_cdk/aws_lambda/__init__.py +21 -2
  28. aws_cdk/aws_logs/__init__.py +9 -0
  29. aws_cdk/aws_mwaa/__init__.py +3 -3
  30. aws_cdk/aws_pipes/__init__.py +2 -2
  31. aws_cdk/aws_qbusiness/__init__.py +21 -7
  32. aws_cdk/aws_rds/__init__.py +252 -206
  33. aws_cdk/aws_s3/__init__.py +8 -2
  34. aws_cdk/aws_sagemaker/__init__.py +10 -10
  35. aws_cdk/aws_ses/__init__.py +3 -3
  36. aws_cdk/aws_sns/__init__.py +5 -2
  37. aws_cdk/aws_stepfunctions/__init__.py +5 -2
  38. aws_cdk/aws_stepfunctions_tasks/__init__.py +23 -8
  39. aws_cdk/aws_synthetics/__init__.py +174 -22
  40. aws_cdk/custom_resources/__init__.py +91 -23
  41. aws_cdk/pipelines/__init__.py +1 -1
  42. aws_cdk/region_info/__init__.py +32 -12
  43. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/METADATA +1 -1
  44. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/RECORD +48 -48
  45. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/LICENSE +0 -0
  46. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/NOTICE +0 -0
  47. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/WHEEL +0 -0
  48. {aws_cdk_lib-2.149.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/top_level.txt +0 -0
@@ -2336,7 +2336,7 @@ class CfnMalwareProtectionPlan(
2336
2336
  :param scope: Scope in which this resource is defined.
2337
2337
  :param id: Construct identifier for this resource (unique in its scope).
2338
2338
  :param protected_resource: Information about the protected resource. Presently, ``S3Bucket`` is the only supported protected resource.
2339
- :param role: IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
2339
+ :param role: Amazon Resource Name (ARN) of the IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource. To find the ARN of your IAM role, go to the IAM console, and select the role name for details.
2340
2340
  :param actions: Specifies the action that is to be applied to the Malware Protection plan resource.
2341
2341
  :param tags: The tags to be added to the created Malware Protection plan resource. Each tag consists of a key and an optional value, both of which you need to specify.
2342
2342
  '''
@@ -2460,7 +2460,7 @@ class CfnMalwareProtectionPlan(
2460
2460
  @builtins.property
2461
2461
  @jsii.member(jsii_name="role")
2462
2462
  def role(self) -> builtins.str:
2463
- '''IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.'''
2463
+ '''Amazon Resource Name (ARN) of the IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.'''
2464
2464
  return typing.cast(builtins.str, jsii.get(self, "role"))
2465
2465
 
2466
2466
  @role.setter
@@ -2917,7 +2917,7 @@ class CfnMalwareProtectionPlanProps:
2917
2917
  '''Properties for defining a ``CfnMalwareProtectionPlan``.
2918
2918
 
2919
2919
  :param protected_resource: Information about the protected resource. Presently, ``S3Bucket`` is the only supported protected resource.
2920
- :param role: IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
2920
+ :param role: Amazon Resource Name (ARN) of the IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource. To find the ARN of your IAM role, go to the IAM console, and select the role name for details.
2921
2921
  :param actions: Specifies the action that is to be applied to the Malware Protection plan resource.
2922
2922
  :param tags: The tags to be added to the created Malware Protection plan resource. Each tag consists of a key and an optional value, both of which you need to specify.
2923
2923
 
@@ -2982,7 +2982,9 @@ class CfnMalwareProtectionPlanProps:
2982
2982
 
2983
2983
  @builtins.property
2984
2984
  def role(self) -> builtins.str:
2985
- '''IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
2985
+ '''Amazon Resource Name (ARN) of the IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource.
2986
+
2987
+ To find the ARN of your IAM role, go to the IAM console, and select the role name for details.
2986
2988
 
2987
2989
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html#cfn-guardduty-malwareprotectionplan-role
2988
2990
  '''
@@ -2383,8 +2383,7 @@ class CfnManagedPolicy(
2383
2383
  @builtins.property
2384
2384
  @jsii.member(jsii_name="attrAttachmentCount")
2385
2385
  def attr_attachment_count(self) -> jsii.Number:
2386
- '''The number of principal entities (users, groups, and roles) that the policy is attached to.
2387
-
2386
+ '''
2388
2387
  :cloudformationAttribute: AttachmentCount
2389
2388
  '''
2390
2389
  return typing.cast(jsii.Number, jsii.get(self, "attrAttachmentCount"))
@@ -2392,8 +2391,7 @@ class CfnManagedPolicy(
2392
2391
  @builtins.property
2393
2392
  @jsii.member(jsii_name="attrCreateDate")
2394
2393
  def attr_create_date(self) -> builtins.str:
2395
- '''The date and time, in `ISO 8601 date-time format <https://docs.aws.amazon.com/http://www.iso.org/iso/iso8601>`_ , when the policy was created.
2396
-
2394
+ '''
2397
2395
  :cloudformationAttribute: CreateDate
2398
2396
  '''
2399
2397
  return typing.cast(builtins.str, jsii.get(self, "attrCreateDate"))
@@ -2401,10 +2399,7 @@ class CfnManagedPolicy(
2401
2399
  @builtins.property
2402
2400
  @jsii.member(jsii_name="attrDefaultVersionId")
2403
2401
  def attr_default_version_id(self) -> builtins.str:
2404
- '''The identifier for the version of the policy that is set as the default (operative) version.
2405
-
2406
- For more information about policy versions, see `Versioning for managed policies <https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html>`_ in the *IAM User Guide* .
2407
-
2402
+ '''
2408
2403
  :cloudformationAttribute: DefaultVersionId
2409
2404
  '''
2410
2405
  return typing.cast(builtins.str, jsii.get(self, "attrDefaultVersionId"))
@@ -2412,8 +2407,7 @@ class CfnManagedPolicy(
2412
2407
  @builtins.property
2413
2408
  @jsii.member(jsii_name="attrIsAttachable")
2414
2409
  def attr_is_attachable(self) -> _IResolvable_da3f097b:
2415
- '''Specifies whether the policy can be attached to an IAM user, group, or role.
2416
-
2410
+ '''
2417
2411
  :cloudformationAttribute: IsAttachable
2418
2412
  '''
2419
2413
  return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrIsAttachable"))
@@ -2421,10 +2415,7 @@ class CfnManagedPolicy(
2421
2415
  @builtins.property
2422
2416
  @jsii.member(jsii_name="attrPermissionsBoundaryUsageCount")
2423
2417
  def attr_permissions_boundary_usage_count(self) -> jsii.Number:
2424
- '''The number of entities (users and roles) for which the policy is used as the permissions boundary.
2425
-
2426
- For more information about permissions boundaries, see `Permissions boundaries for IAM identities <https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html>`_ in the *IAM User Guide* .
2427
-
2418
+ '''
2428
2419
  :cloudformationAttribute: PermissionsBoundaryUsageCount
2429
2420
  '''
2430
2421
  return typing.cast(jsii.Number, jsii.get(self, "attrPermissionsBoundaryUsageCount"))
@@ -2440,10 +2431,7 @@ class CfnManagedPolicy(
2440
2431
  @builtins.property
2441
2432
  @jsii.member(jsii_name="attrPolicyId")
2442
2433
  def attr_policy_id(self) -> builtins.str:
2443
- '''The stable and unique string identifying the policy.
2444
-
2445
- For more information about IDs, see `IAM identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* .
2446
-
2434
+ '''
2447
2435
  :cloudformationAttribute: PolicyId
2448
2436
  '''
2449
2437
  return typing.cast(builtins.str, jsii.get(self, "attrPolicyId"))
@@ -2451,10 +2439,7 @@ class CfnManagedPolicy(
2451
2439
  @builtins.property
2452
2440
  @jsii.member(jsii_name="attrUpdateDate")
2453
2441
  def attr_update_date(self) -> builtins.str:
2454
- '''The date and time, in `ISO 8601 date-time format <https://docs.aws.amazon.com/http://www.iso.org/iso/iso8601>`_ , when the policy was last updated.
2455
-
2456
- When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
2457
-
2442
+ '''
2458
2443
  :cloudformationAttribute: UpdateDate
2459
2444
  '''
2460
2445
  return typing.cast(builtins.str, jsii.get(self, "attrUpdateDate"))
@@ -2826,7 +2811,7 @@ class CfnOIDCProvider(
2826
2811
  '''
2827
2812
  :param scope: Scope in which this resource is defined.
2828
2813
  :param id: Construct identifier for this resource (unique in its scope).
2829
- :param thumbprint_list: A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
2814
+ :param thumbprint_list: A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ . This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.
2830
2815
  :param client_id_list: A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
2831
2816
  :param tags: A list of tags that are attached to the specified IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see `Tagging IAM resources <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html>`_ in the *IAM User Guide* .
2832
2817
  :param url: The URL that the IAM OIDC provider resource object is associated with. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
@@ -2968,7 +2953,7 @@ class CfnOIDCProviderProps:
2968
2953
  ) -> None:
2969
2954
  '''Properties for defining a ``CfnOIDCProvider``.
2970
2955
 
2971
- :param thumbprint_list: A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
2956
+ :param thumbprint_list: A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ . This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.
2972
2957
  :param client_id_list: A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
2973
2958
  :param tags: A list of tags that are attached to the specified IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see `Tagging IAM resources <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html>`_ in the *IAM User Guide* .
2974
2959
  :param url: The URL that the IAM OIDC provider resource object is associated with. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
@@ -3016,6 +3001,8 @@ class CfnOIDCProviderProps:
3016
3001
 
3017
3002
  For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
3018
3003
 
3004
+ This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.
3005
+
3019
3006
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-oidcprovider.html#cfn-iam-oidcprovider-thumbprintlist
3020
3007
  '''
3021
3008
  result = self._values.get("thumbprint_list")
@@ -13298,11 +13285,14 @@ class ServicePrincipal(
13298
13285
  These days all service principal names are standardized, and they are all
13299
13286
  of the form ``<servicename>.amazonaws.com``.
13300
13287
 
13301
- If the feature flag ``@aws-cdk/aws-iam:standardizedServicePrincipals`` is set, this
13302
- method will always return its input. If this feature flag is not set, this
13303
- method will perform the legacy behavior, which appends the region-specific
13304
- domain suffix for some select services (for example, it would append ``.cn``
13305
- to some service principal names).
13288
+ To avoid breaking changes, handling is provided for services added with the formats below,
13289
+ however, no additional handling will be added for new regions or partitions.
13290
+
13291
+ - s3
13292
+ - s3.amazonaws.com
13293
+ - s3.amazonaws.com.cn
13294
+ - s3.c2s.ic.gov
13295
+ - s3.sc2s.sgov.gov
13306
13296
 
13307
13297
  :param service: -
13308
13298
 
@@ -1502,7 +1502,7 @@ class CfnAssetModel(
1502
1502
  '''
1503
1503
  :param scope: Scope in which this resource is defined.
1504
1504
  :param id: Construct identifier for this resource (unique in its scope).
1505
- :param asset_model_name: A unique, friendly name for the asset model.
1505
+ :param asset_model_name: A unique name for the asset model.
1506
1506
  :param asset_model_composite_models: The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model. .. epigraph:: When creating custom composite models, you need to use `CreateAssetModelCompositeModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html>`_ . For more information, see `Creating custom composite models (Components) <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-custom-composite-models.html>`_ in the *AWS IoT SiteWise User Guide* .
1507
1507
  :param asset_model_description: A description for the asset model.
1508
1508
  :param asset_model_external_id: The external ID of the asset model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
@@ -1590,7 +1590,7 @@ class CfnAssetModel(
1590
1590
  @builtins.property
1591
1591
  @jsii.member(jsii_name="assetModelName")
1592
1592
  def asset_model_name(self) -> builtins.str:
1593
- '''A unique, friendly name for the asset model.'''
1593
+ '''A unique name for the asset model.'''
1594
1594
  return typing.cast(builtins.str, jsii.get(self, "assetModelName"))
1595
1595
 
1596
1596
  @asset_model_name.setter
@@ -3311,7 +3311,7 @@ class CfnAssetModelProps:
3311
3311
  ) -> None:
3312
3312
  '''Properties for defining a ``CfnAssetModel``.
3313
3313
 
3314
- :param asset_model_name: A unique, friendly name for the asset model.
3314
+ :param asset_model_name: A unique name for the asset model.
3315
3315
  :param asset_model_composite_models: The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model. .. epigraph:: When creating custom composite models, you need to use `CreateAssetModelCompositeModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html>`_ . For more information, see `Creating custom composite models (Components) <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-custom-composite-models.html>`_ in the *AWS IoT SiteWise User Guide* .
3316
3316
  :param asset_model_description: A description for the asset model.
3317
3317
  :param asset_model_external_id: The external ID of the asset model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
@@ -3515,7 +3515,7 @@ class CfnAssetModelProps:
3515
3515
 
3516
3516
  @builtins.property
3517
3517
  def asset_model_name(self) -> builtins.str:
3518
- '''A unique, friendly name for the asset model.
3518
+ '''A unique name for the asset model.
3519
3519
 
3520
3520
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-assetmodelname
3521
3521
  '''
@@ -4195,7 +4195,7 @@ class CfnGateway(
4195
4195
  '''
4196
4196
  :param scope: Scope in which this resource is defined.
4197
4197
  :param id: Construct identifier for this resource (unique in its scope).
4198
- :param gateway_name: A unique, friendly name for the gateway.
4198
+ :param gateway_name: A unique name for the gateway.
4199
4199
  :param gateway_platform: The gateway's platform. You can only specify one platform in a gateway.
4200
4200
  :param gateway_capability_summaries: A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use `DescribeGatewayCapabilityConfiguration <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGatewayCapabilityConfiguration.html>`_ .
4201
4201
  :param tags: A list of key-value pairs that contain metadata for the gateway. For more information, see `Tagging your AWS IoT SiteWise resources <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html>`_ in the *AWS IoT SiteWise User Guide* .
@@ -4266,7 +4266,7 @@ class CfnGateway(
4266
4266
  @builtins.property
4267
4267
  @jsii.member(jsii_name="gatewayName")
4268
4268
  def gateway_name(self) -> builtins.str:
4269
- '''A unique, friendly name for the gateway.'''
4269
+ '''A unique name for the gateway.'''
4270
4270
  return typing.cast(builtins.str, jsii.get(self, "gatewayName"))
4271
4271
 
4272
4272
  @gateway_name.setter
@@ -4613,7 +4613,7 @@ class CfnGatewayProps:
4613
4613
  ) -> None:
4614
4614
  '''Properties for defining a ``CfnGateway``.
4615
4615
 
4616
- :param gateway_name: A unique, friendly name for the gateway.
4616
+ :param gateway_name: A unique name for the gateway.
4617
4617
  :param gateway_platform: The gateway's platform. You can only specify one platform in a gateway.
4618
4618
  :param gateway_capability_summaries: A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use `DescribeGatewayCapabilityConfiguration <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGatewayCapabilityConfiguration.html>`_ .
4619
4619
  :param tags: A list of key-value pairs that contain metadata for the gateway. For more information, see `Tagging your AWS IoT SiteWise resources <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html>`_ in the *AWS IoT SiteWise User Guide* .
@@ -4668,7 +4668,7 @@ class CfnGatewayProps:
4668
4668
 
4669
4669
  @builtins.property
4670
4670
  def gateway_name(self) -> builtins.str:
4671
- '''A unique, friendly name for the gateway.
4671
+ '''A unique name for the gateway.
4672
4672
 
4673
4673
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-gateway.html#cfn-iotsitewise-gateway-gatewayname
4674
4674
  '''
@@ -1003,7 +1003,7 @@ managing concurrency.
1003
1003
 
1004
1004
  ## Lambda with SnapStart
1005
1005
 
1006
- SnapStart is currently supported only on Java 11/Java 17 runtime. SnapStart does not support provisioned concurrency, the arm64 architecture, Amazon Elastic File System (Amazon EFS), or ephemeral storage greater than 512 MB. After you enable Lambda SnapStart for a particular Lambda function, publishing a new version of the function will trigger an optimization process.
1006
+ SnapStart is currently supported only on Java 11 and later [Java managed runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). SnapStart does not support provisioned concurrency, Amazon Elastic File System (Amazon EFS), or ephemeral storage greater than 512 MB. After you enable Lambda SnapStart for a particular Lambda function, publishing a new version of the function will trigger an optimization process.
1007
1007
 
1008
1008
  See [the AWS documentation](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) to learn more about AWS Lambda SnapStart
1009
1009
 
@@ -1594,6 +1594,8 @@ class AdotLambdaExecWrapper(enum.Enum):
1594
1594
  '''Wrapping streaming handlers (implementing RequestStreamHandler), enabling HTTP context propagation for HTTP requests.'''
1595
1595
  INSTRUMENT_HANDLER = "INSTRUMENT_HANDLER"
1596
1596
  '''Wrapping python lambda handlers see https://aws-otel.github.io/docs/getting-started/lambda/lambda-python.'''
1597
+ SQS_HANDLER = "SQS_HANDLER"
1598
+ '''Wrapping SQS-triggered function handlers (implementing RequestHandler).'''
1597
1599
 
1598
1600
 
1599
1601
  class AdotLambdaLayerGenericVersion(
@@ -1640,6 +1642,12 @@ class AdotLambdaLayerGenericVersion(
1640
1642
  '''
1641
1643
  return typing.cast("AdotLambdaLayerGenericVersion", jsii.sget(cls, "LATEST"))
1642
1644
 
1645
+ @jsii.python.classproperty
1646
+ @jsii.member(jsii_name="V0_102_1")
1647
+ def V0_102_1(cls) -> "AdotLambdaLayerGenericVersion":
1648
+ '''Version 0.102.1.'''
1649
+ return typing.cast("AdotLambdaLayerGenericVersion", jsii.sget(cls, "V0_102_1"))
1650
+
1643
1651
  @jsii.python.classproperty
1644
1652
  @jsii.member(jsii_name="V0_62_1")
1645
1653
  def V0_62_1(cls) -> "AdotLambdaLayerGenericVersion":
@@ -2037,6 +2045,12 @@ class AdotLambdaLayerPythonSdkVersion(
2037
2045
  '''Version 1.24.0.'''
2038
2046
  return typing.cast("AdotLambdaLayerPythonSdkVersion", jsii.sget(cls, "V1_24_0"))
2039
2047
 
2048
+ @jsii.python.classproperty
2049
+ @jsii.member(jsii_name="V1_25_0")
2050
+ def V1_25_0(cls) -> "AdotLambdaLayerPythonSdkVersion":
2051
+ '''Version 1.25.0.'''
2052
+ return typing.cast("AdotLambdaLayerPythonSdkVersion", jsii.sget(cls, "V1_25_0"))
2053
+
2040
2054
  @builtins.property
2041
2055
  @jsii.member(jsii_name="layerVersion")
2042
2056
  def _layer_version(self) -> builtins.str:
@@ -20034,7 +20048,12 @@ class Runtime(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_lambda.Runtime
20034
20048
  @jsii.python.classproperty
20035
20049
  @jsii.member(jsii_name="NODEJS_16_X")
20036
20050
  def NODEJS_16_X(cls) -> "Runtime":
20037
- '''The NodeJS 16.x runtime (nodejs16.x).'''
20051
+ '''(deprecated) The NodeJS 16.x runtime (nodejs16.x).
20052
+
20053
+ :deprecated: Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.
20054
+
20055
+ :stability: deprecated
20056
+ '''
20038
20057
  return typing.cast("Runtime", jsii.sget(cls, "NODEJS_16_X"))
20039
20058
 
20040
20059
  @jsii.python.classproperty
@@ -48,6 +48,15 @@ publish their log group to a specific region, such as AWS Chatbot creating a log
48
48
 
49
49
  By default, the log group created by LogRetention will be retained after the stack is deleted. If the RemovalPolicy is set to DESTROY, then the log group will be deleted when the stack is deleted.
50
50
 
51
+ ## Log Group Class
52
+
53
+ CloudWatch Logs offers two classes of log groups:
54
+
55
+ 1. The CloudWatch Logs Standard log class is a full-featured option for logs that require real-time monitoring or logs that you access frequently.
56
+ 2. The CloudWatch Logs Infrequent Access log class is a new log class that you can use to cost-effectively consolidate your logs. This log class offers a subset of CloudWatch Logs capabilities including managed ingestion, storage, cross-account log analytics, and encryption with a lower ingestion price per GB. The Infrequent Access log class is ideal for ad-hoc querying and after-the-fact forensic analysis on infrequently accessed logs.
57
+
58
+ For more details please check: [log group class documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html)
59
+
51
60
  ## Resource Policy
52
61
 
53
62
  CloudWatch Resource Policies allow other AWS services or IAM Principals to put log events into the log groups.
@@ -170,7 +170,7 @@ class CfnEnvironment(
170
170
  :param id: Construct identifier for this resource (unique in its scope).
171
171
  :param name: The name of your Amazon MWAA environment.
172
172
  :param airflow_configuration_options: A list of key-value pairs containing the Airflow configuration options for your environment. For example, ``core.default_timezone: utc`` . To learn more, see `Apache Airflow configuration options <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html>`_ .
173
- :param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` (latest)
173
+ :param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` (latest)
174
174
  :param dag_s3_path: The relative path to the DAGs folder on your Amazon S3 bucket. For example, ``dags`` . To learn more, see `Adding or updating DAGs <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html>`_ .
175
175
  :param endpoint_management: Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to ``SERVICE`` , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to ``CUSTOMER`` , you must create, and manage, the VPC endpoints in your VPC.
176
176
  :param environment_class: The environment class type. Valid values: ``mw1.small`` , ``mw1.medium`` , ``mw1.large`` . To learn more, see `Amazon MWAA environment class <https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html>`_ .
@@ -1113,7 +1113,7 @@ class CfnEnvironmentProps:
1113
1113
 
1114
1114
  :param name: The name of your Amazon MWAA environment.
1115
1115
  :param airflow_configuration_options: A list of key-value pairs containing the Airflow configuration options for your environment. For example, ``core.default_timezone: utc`` . To learn more, see `Apache Airflow configuration options <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html>`_ .
1116
- :param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` (latest)
1116
+ :param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` (latest)
1117
1117
  :param dag_s3_path: The relative path to the DAGs folder on your Amazon S3 bucket. For example, ``dags`` . To learn more, see `Adding or updating DAGs <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html>`_ .
1118
1118
  :param endpoint_management: Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to ``SERVICE`` , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to ``CUSTOMER`` , you must create, and manage, the VPC endpoints in your VPC.
1119
1119
  :param environment_class: The environment class type. Valid values: ``mw1.small`` , ``mw1.medium`` , ``mw1.large`` . To learn more, see `Amazon MWAA environment class <https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html>`_ .
@@ -1316,7 +1316,7 @@ class CfnEnvironmentProps:
1316
1316
 
1317
1317
  If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect.
1318
1318
 
1319
- *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` (latest)
1319
+ *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` (latest)
1320
1320
 
1321
1321
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-airflowversion
1322
1322
  '''
@@ -6850,7 +6850,7 @@ class CfnPipe(
6850
6850
  ) -> None:
6851
6851
  '''This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
6852
6852
 
6853
- :param security_group: Specifies the security groups associated with the stream. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
6853
+ :param security_group: Specifies the security groups associated with the stream. These security groups must all be in the same VPC. You can specify as many as five security groups.
6854
6854
  :param subnets: Specifies the subnets associated with the stream. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
6855
6855
 
6856
6856
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-selfmanagedkafkaaccessconfigurationvpc.html
@@ -6881,7 +6881,7 @@ class CfnPipe(
6881
6881
  def security_group(self) -> typing.Optional[typing.List[builtins.str]]:
6882
6882
  '''Specifies the security groups associated with the stream.
6883
6883
 
6884
- These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
6884
+ These security groups must all be in the same VPC. You can specify as many as five security groups.
6885
6885
 
6886
6886
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-selfmanagedkafkaaccessconfigurationvpc.html#cfn-pipes-pipe-selfmanagedkafkaaccessconfigurationvpc-securitygroup
6887
6887
  '''
@@ -756,7 +756,7 @@ class CfnDataSource(
756
756
  :param scope: Scope in which this resource is defined.
757
757
  :param id: Construct identifier for this resource (unique in its scope).
758
758
  :param application_id: The identifier of the Amazon Q Business application the data source will be attached to.
759
- :param configuration: Configuration information to connect to your data source repository. For configuration templates for your specific data source, see `Supported connectors <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html>`_ .
759
+ :param configuration: Configuration information to connect your data source repository to Amazon Q Business. Use this parameter to provide a JSON schema with configuration information specific to your data source connector. Each data source has a JSON schema provided by Amazon Q Business that you must use. For example, the Amazon S3 and Web Crawler connectors require the following JSON schemas: - `Amazon S3 JSON schema <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/s3-api.html>`_ - `Web Crawler JSON schema <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/web-crawler-api.html>`_ You can find configuration templates for your specific data source using the following steps: - Navigate to the `Supported connectors <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html>`_ page in the Amazon Q Business User Guide, and select the data source of your choice. - Then, from your specific data source connector page, select *Using the API* . You will find the JSON schema for your data source, including parameter descriptions, in this section.
760
760
  :param display_name: The name of the Amazon Q Business data source.
761
761
  :param index_id: The identifier of the index the data source is attached to.
762
762
  :param description: A description for the data source connector.
@@ -896,7 +896,7 @@ class CfnDataSource(
896
896
  @builtins.property
897
897
  @jsii.member(jsii_name="configuration")
898
898
  def configuration(self) -> typing.Any:
899
- '''Configuration information to connect to your data source repository.'''
899
+ '''Configuration information to connect your data source repository to Amazon Q Business.'''
900
900
  return typing.cast(typing.Any, jsii.get(self, "configuration"))
901
901
 
902
902
  @configuration.setter
@@ -1876,7 +1876,7 @@ class CfnDataSourceProps:
1876
1876
  '''Properties for defining a ``CfnDataSource``.
1877
1877
 
1878
1878
  :param application_id: The identifier of the Amazon Q Business application the data source will be attached to.
1879
- :param configuration: Configuration information to connect to your data source repository. For configuration templates for your specific data source, see `Supported connectors <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html>`_ .
1879
+ :param configuration: Configuration information to connect your data source repository to Amazon Q Business. Use this parameter to provide a JSON schema with configuration information specific to your data source connector. Each data source has a JSON schema provided by Amazon Q Business that you must use. For example, the Amazon S3 and Web Crawler connectors require the following JSON schemas: - `Amazon S3 JSON schema <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/s3-api.html>`_ - `Web Crawler JSON schema <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/web-crawler-api.html>`_ You can find configuration templates for your specific data source using the following steps: - Navigate to the `Supported connectors <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html>`_ page in the Amazon Q Business User Guide, and select the data source of your choice. - Then, from your specific data source connector page, select *Using the API* . You will find the JSON schema for your data source, including parameter descriptions, in this section.
1880
1880
  :param display_name: The name of the Amazon Q Business data source.
1881
1881
  :param index_id: The identifier of the index the data source is attached to.
1882
1882
  :param description: A description for the data source connector.
@@ -2023,9 +2023,19 @@ class CfnDataSourceProps:
2023
2023
 
2024
2024
  @builtins.property
2025
2025
  def configuration(self) -> typing.Any:
2026
- '''Configuration information to connect to your data source repository.
2026
+ '''Configuration information to connect your data source repository to Amazon Q Business.
2027
2027
 
2028
- For configuration templates for your specific data source, see `Supported connectors <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html>`_ .
2028
+ Use this parameter to provide a JSON schema with configuration information specific to your data source connector.
2029
+
2030
+ Each data source has a JSON schema provided by Amazon Q Business that you must use. For example, the Amazon S3 and Web Crawler connectors require the following JSON schemas:
2031
+
2032
+ - `Amazon S3 JSON schema <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/s3-api.html>`_
2033
+ - `Web Crawler JSON schema <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/web-crawler-api.html>`_
2034
+
2035
+ You can find configuration templates for your specific data source using the following steps:
2036
+
2037
+ - Navigate to the `Supported connectors <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html>`_ page in the Amazon Q Business User Guide, and select the data source of your choice.
2038
+ - Then, from your specific data source connector page, select *Using the API* . You will find the JSON schema for your data source, including parameter descriptions, in this section.
2029
2039
 
2030
2040
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-configuration
2031
2041
  '''
@@ -4493,7 +4503,7 @@ class CfnWebExperience(
4493
4503
  :param scope: Scope in which this resource is defined.
4494
4504
  :param id: Construct identifier for this resource (unique in its scope).
4495
4505
  :param application_id: The identifier of the Amazon Q Business web experience.
4496
- :param role_arn: The Amazon Resource Name (ARN) of the service role attached to your web experience.
4506
+ :param role_arn: The Amazon Resource Name (ARN) of the service role attached to your web experience. .. epigraph:: You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.
4497
4507
  :param sample_prompts_control_mode: Determines whether sample prompts are enabled in the web experience for an end user.
4498
4508
  :param subtitle: A subtitle to personalize your Amazon Q Business web experience.
4499
4509
  :param tags: A list of key-value pairs that identify or categorize your Amazon Q Business web experience. You can also use tags to help control access to the web experience. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -
@@ -4733,7 +4743,7 @@ class CfnWebExperienceProps:
4733
4743
  '''Properties for defining a ``CfnWebExperience``.
4734
4744
 
4735
4745
  :param application_id: The identifier of the Amazon Q Business web experience.
4736
- :param role_arn: The Amazon Resource Name (ARN) of the service role attached to your web experience.
4746
+ :param role_arn: The Amazon Resource Name (ARN) of the service role attached to your web experience. .. epigraph:: You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.
4737
4747
  :param sample_prompts_control_mode: Determines whether sample prompts are enabled in the web experience for an end user.
4738
4748
  :param subtitle: A subtitle to personalize your Amazon Q Business web experience.
4739
4749
  :param tags: A list of key-value pairs that identify or categorize your Amazon Q Business web experience. You can also use tags to help control access to the web experience. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -
@@ -4803,6 +4813,10 @@ class CfnWebExperienceProps:
4803
4813
  def role_arn(self) -> typing.Optional[builtins.str]:
4804
4814
  '''The Amazon Resource Name (ARN) of the service role attached to your web experience.
4805
4815
 
4816
+ .. epigraph::
4817
+
4818
+ You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.
4819
+
4806
4820
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-rolearn
4807
4821
  '''
4808
4822
  result = self._values.get("role_arn")