aws-cdk-lib 2.212.0__py3-none-any.whl → 2.214.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 (65) hide show
  1. aws_cdk/__init__.py +23 -3
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.212.0.jsii.tgz → aws-cdk-lib@2.214.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_appconfig/__init__.py +18 -6
  5. aws_cdk/aws_appintegrations/__init__.py +4 -4
  6. aws_cdk/aws_apprunner/__init__.py +5 -8
  7. aws_cdk/aws_aps/__init__.py +243 -10
  8. aws_cdk/aws_b2bi/__init__.py +1015 -128
  9. aws_cdk/aws_batch/__init__.py +33 -11
  10. aws_cdk/aws_bedrock/__init__.py +22 -216
  11. aws_cdk/aws_budgets/__init__.py +18 -0
  12. aws_cdk/aws_certificatemanager/__init__.py +96 -15
  13. aws_cdk/aws_cloudformation/__init__.py +3 -3
  14. aws_cdk/aws_cloudwatch/__init__.py +80 -49
  15. aws_cdk/aws_cognito/__init__.py +76 -5
  16. aws_cdk/aws_connect/__init__.py +188 -2
  17. aws_cdk/aws_datazone/__init__.py +2267 -0
  18. aws_cdk/aws_deadline/__init__.py +6 -5
  19. aws_cdk/aws_dynamodb/__init__.py +418 -56
  20. aws_cdk/aws_ec2/__init__.py +51 -10
  21. aws_cdk/aws_ecs/__init__.py +288 -25
  22. aws_cdk/aws_ecs_patterns/__init__.py +2 -0
  23. aws_cdk/aws_eks/__init__.py +124 -0
  24. aws_cdk/aws_elasticloadbalancingv2/__init__.py +6 -2
  25. aws_cdk/aws_entityresolution/__init__.py +107 -0
  26. aws_cdk/aws_events/__init__.py +153 -55
  27. aws_cdk/aws_events_targets/__init__.py +87 -36
  28. aws_cdk/aws_fsx/__init__.py +62 -0
  29. aws_cdk/aws_gameliftstreams/__init__.py +1 -1
  30. aws_cdk/aws_glue/__init__.py +205 -23
  31. aws_cdk/aws_guardduty/__init__.py +205 -100
  32. aws_cdk/aws_iam/__init__.py +18 -0
  33. aws_cdk/aws_inspectorv2/__init__.py +125 -80
  34. aws_cdk/aws_iot/__init__.py +37 -19
  35. aws_cdk/aws_iotsitewise/__init__.py +111 -75
  36. aws_cdk/aws_ivs/__init__.py +17 -17
  37. aws_cdk/aws_kinesisanalytics/__init__.py +122 -3
  38. aws_cdk/aws_kinesisanalyticsv2/__init__.py +122 -3
  39. aws_cdk/aws_lambda/__init__.py +23 -2
  40. aws_cdk/aws_logs/__init__.py +20 -15
  41. aws_cdk/aws_mediapackagev2/__init__.py +2 -2
  42. aws_cdk/aws_networkfirewall/__init__.py +6 -6
  43. aws_cdk/aws_omics/__init__.py +477 -2
  44. aws_cdk/aws_qbusiness/__init__.py +4 -2
  45. aws_cdk/aws_rds/__init__.py +132 -4
  46. aws_cdk/aws_route53/__init__.py +18 -11
  47. aws_cdk/aws_s3/__init__.py +4 -4
  48. aws_cdk/aws_s3_deployment/__init__.py +45 -0
  49. aws_cdk/aws_sagemaker/__init__.py +653 -0
  50. aws_cdk/aws_servicediscovery/__init__.py +22 -37
  51. aws_cdk/aws_sns/__init__.py +12 -2
  52. aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
  53. aws_cdk/aws_sqs/__init__.py +5 -5
  54. aws_cdk/aws_ssm/__init__.py +8 -3
  55. aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
  56. aws_cdk/aws_synthetics/__init__.py +222 -12
  57. aws_cdk/aws_transfer/__init__.py +15 -2
  58. aws_cdk/aws_vpclattice/__init__.py +41 -0
  59. aws_cdk/aws_workspacesweb/__init__.py +71 -41
  60. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/METADATA +2 -2
  61. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/RECORD +65 -65
  62. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/LICENSE +0 -0
  63. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/NOTICE +0 -0
  64. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/WHEEL +0 -0
  65. {aws_cdk_lib-2.212.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/top_level.txt +0 -0
@@ -1438,7 +1438,7 @@ class CfnConnection(
1438
1438
  ) -> None:
1439
1439
  '''A structure that is used to specify a connection to create or update.
1440
1440
 
1441
- :param connection_type: The type of the connection. Currently, these types are supported:. - ``JDBC`` - Designates a connection to a database through Java Database Connectivity (JDBC). ``JDBC`` Connections use the following ConnectionParameters. - Required: All of ( ``HOST`` , ``PORT`` , ``JDBC_ENGINE`` ) or ``JDBC_CONNECTION_URL`` . - Required: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - Optional: ``JDBC_ENFORCE_SSL`` , ``CUSTOM_JDBC_CERT`` , ``CUSTOM_JDBC_CERT_STRING`` , ``SKIP_CUSTOM_JDBC_CERT_VALIDATION`` . These parameters are used to configure SSL with JDBC. - ``KAFKA`` - Designates a connection to an Apache Kafka streaming platform. ``KAFKA`` Connections use the following ConnectionParameters. - Required: ``KAFKA_BOOTSTRAP_SERVERS`` . - Optional: ``KAFKA_SSL_ENABLED`` , ``KAFKA_CUSTOM_CERT`` , ``KAFKA_SKIP_CUSTOM_CERT_VALIDATION`` . These parameters are used to configure SSL with ``KAFKA`` . - Optional: ``KAFKA_CLIENT_KEYSTORE`` , ``KAFKA_CLIENT_KEYSTORE_PASSWORD`` , ``KAFKA_CLIENT_KEY_PASSWORD`` , ``ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD`` , ``ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD`` . These parameters are used to configure TLS client configuration with SSL in ``KAFKA`` . - Optional: ``KAFKA_SASL_MECHANISM`` . Can be specified as ``SCRAM-SHA-512`` , ``GSSAPI`` , or ``AWS_MSK_IAM`` . - Optional: ``KAFKA_SASL_SCRAM_USERNAME`` , ``KAFKA_SASL_SCRAM_PASSWORD`` , ``ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD`` . These parameters are used to configure SASL/SCRAM-SHA-512 authentication with ``KAFKA`` . - Optional: ``KAFKA_SASL_GSSAPI_KEYTAB`` , ``KAFKA_SASL_GSSAPI_KRB5_CONF`` , ``KAFKA_SASL_GSSAPI_SERVICE`` , ``KAFKA_SASL_GSSAPI_PRINCIPAL`` . These parameters are used to configure SASL/GSSAPI authentication with ``KAFKA`` . - ``MONGODB`` - Designates a connection to a MongoDB document database. ``MONGODB`` Connections use the following ConnectionParameters. - Required: ``CONNECTION_URL`` . - Required: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - ``VIEW_VALIDATION_REDSHIFT`` - Designates a connection used for view validation by Amazon Redshift. - ``VIEW_VALIDATION_ATHENA`` - Designates a connection used for view validation by Amazon Athena. - ``NETWORK`` - Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC). ``NETWORK`` Connections do not require ConnectionParameters. Instead, provide a PhysicalConnectionRequirements. - ``MARKETPLACE`` - Uses configuration settings contained in a connector purchased from AWS Marketplace to read from and write to data stores that are not natively supported by AWS Glue . ``MARKETPLACE`` Connections use the following ConnectionParameters. - Required: ``CONNECTOR_TYPE`` , ``CONNECTOR_URL`` , ``CONNECTOR_CLASS_NAME`` , ``CONNECTION_URL`` . - Required for ``JDBC`` ``CONNECTOR_TYPE`` connections: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - ``CUSTOM`` - Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by AWS Glue . Additionally, a ``ConnectionType`` for the following SaaS connectors is supported: - ``FACEBOOKADS`` - Designates a connection to Facebook Ads. - ``GOOGLEADS`` - Designates a connection to Google Ads. - ``GOOGLESHEETS`` - Designates a connection to Google Sheets. - ``GOOGLEANALYTICS4`` - Designates a connection to Google Analytics 4. - ``HUBSPOT`` - Designates a connection to HubSpot. - ``INSTAGRAMADS`` - Designates a connection to Instagram Ads. - ``INTERCOM`` - Designates a connection to Intercom. - ``JIRACLOUD`` - Designates a connection to Jira Cloud. - ``MARKETO`` - Designates a connection to Adobe Marketo Engage. - ``NETSUITEERP`` - Designates a connection to Oracle NetSuite. - ``SALESFORCE`` - Designates a connection to Salesforce using OAuth authentication. - ``SALESFORCEMARKETINGCLOUD`` - Designates a connection to Salesforce Marketing Cloud. - ``SALESFORCEPARDOT`` - Designates a connection to Salesforce Marketing Cloud Account Engagement (MCAE). - ``SAPODATA`` - Designates a connection to SAP OData. - ``SERVICENOW`` - Designates a connection to ServiceNow. - ``SLACK`` - Designates a connection to Slack. - ``SNAPCHATADS`` - Designates a connection to Snapchat Ads. - ``STRIPE`` - Designates a connection to Stripe. - ``ZENDESK`` - Designates a connection to Zendesk. - ``ZOHOCRM`` - Designates a connection to Zoho CRM. For more information on the connection parameters needed for a particular connector, see the documentation for the connector in `Adding an AWS Glue connection <https://docs.aws.amazon.com/glue/latest/dg/console-connections.html>`_ in the AWS Glue User Guide. ``SFTP`` is not supported. For more information about how optional ConnectionProperties are used to configure features in AWS Glue , consult `AWS Glue connection properties <https://docs.aws.amazon.com/glue/latest/dg/connection-defining.html>`_ . For more information about how optional ConnectionProperties are used to configure features in AWS Glue Studio, consult `Using connectors and connections <https://docs.aws.amazon.com/glue/latest/ug/connectors-chapter.html>`_ .
1441
+ :param connection_type: The type of the connection. Currently, these types are supported:. - ``JDBC`` - Designates a connection to a database through Java Database Connectivity (JDBC). ``JDBC`` Connections use the following ConnectionParameters. - Required: All of ( ``HOST`` , ``PORT`` , ``JDBC_ENGINE`` ) or ``JDBC_CONNECTION_URL`` . - Required: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - Optional: ``JDBC_ENFORCE_SSL`` , ``CUSTOM_JDBC_CERT`` , ``CUSTOM_JDBC_CERT_STRING`` , ``SKIP_CUSTOM_JDBC_CERT_VALIDATION`` . These parameters are used to configure SSL with JDBC. - ``KAFKA`` - Designates a connection to an Apache Kafka streaming platform. ``KAFKA`` Connections use the following ConnectionParameters. - Required: ``KAFKA_BOOTSTRAP_SERVERS`` . - Optional: ``KAFKA_SSL_ENABLED`` , ``KAFKA_CUSTOM_CERT`` , ``KAFKA_SKIP_CUSTOM_CERT_VALIDATION`` . These parameters are used to configure SSL with ``KAFKA`` . - Optional: ``KAFKA_CLIENT_KEYSTORE`` , ``KAFKA_CLIENT_KEYSTORE_PASSWORD`` , ``KAFKA_CLIENT_KEY_PASSWORD`` , ``ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD`` , ``ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD`` . These parameters are used to configure TLS client configuration with SSL in ``KAFKA`` . - Optional: ``KAFKA_SASL_MECHANISM`` . Can be specified as ``SCRAM-SHA-512`` , ``GSSAPI`` , or ``AWS_MSK_IAM`` . - Optional: ``KAFKA_SASL_SCRAM_USERNAME`` , ``KAFKA_SASL_SCRAM_PASSWORD`` , ``ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD`` . These parameters are used to configure SASL/SCRAM-SHA-512 authentication with ``KAFKA`` . - Optional: ``KAFKA_SASL_GSSAPI_KEYTAB`` , ``KAFKA_SASL_GSSAPI_KRB5_CONF`` , ``KAFKA_SASL_GSSAPI_SERVICE`` , ``KAFKA_SASL_GSSAPI_PRINCIPAL`` . These parameters are used to configure SASL/GSSAPI authentication with ``KAFKA`` . - ``MONGODB`` - Designates a connection to a MongoDB document database. ``MONGODB`` Connections use the following ConnectionParameters. - Required: ``CONNECTION_URL`` . - Required: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - ``VIEW_VALIDATION_REDSHIFT`` - Designates a connection used for view validation by Amazon Redshift. - ``VIEW_VALIDATION_ATHENA`` - Designates a connection used for view validation by Amazon Athena. - ``NETWORK`` - Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC). ``NETWORK`` Connections do not require ConnectionParameters. Instead, provide a PhysicalConnectionRequirements. - ``MARKETPLACE`` - Uses configuration settings contained in a connector purchased from AWS Marketplace to read from and write to data stores that are not natively supported by AWS Glue . ``MARKETPLACE`` Connections use the following ConnectionParameters. - Required: ``CONNECTOR_TYPE`` , ``CONNECTOR_URL`` , ``CONNECTOR_CLASS_NAME`` , ``CONNECTION_URL`` . - Required for ``JDBC`` ``CONNECTOR_TYPE`` connections: All of ( ``USERNAME`` , ``PASSWORD`` ) or ``SECRET_ID`` . - ``CUSTOM`` - Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by AWS Glue . Additionally, a ``ConnectionType`` for the following SaaS connectors is supported: - ``FACEBOOKADS`` - Designates a connection to Facebook Ads. - ``GOOGLEADS`` - Designates a connection to Google Ads. - ``GOOGLESHEETS`` - Designates a connection to Google Sheets. - ``GOOGLEANALYTICS4`` - Designates a connection to Google Analytics 4. - ``HUBSPOT`` - Designates a connection to HubSpot. - ``INSTAGRAMADS`` - Designates a connection to Instagram Ads. - ``INTERCOM`` - Designates a connection to Intercom. - ``JIRACLOUD`` - Designates a connection to Jira Cloud. - ``MARKETO`` - Designates a connection to Adobe Marketo Engage. - ``NETSUITEERP`` - Designates a connection to Oracle NetSuite. - ``SALESFORCE`` - Designates a connection to Salesforce using OAuth authentication. - ``SALESFORCEMARKETINGCLOUD`` - Designates a connection to Salesforce Marketing Cloud. - ``SALESFORCEPARDOT`` - Designates a connection to Salesforce Marketing Cloud Account Engagement (MCAE). - ``SAPODATA`` - Designates a connection to SAP OData. - ``SERVICENOW`` - Designates a connection to ServiceNow. - ``SLACK`` - Designates a connection to Slack. - ``SNOWFLAKE`` - Designates a connection to Snowflake. - ``SNAPCHATADS`` - Designates a connection to Snapchat Ads. - ``STRIPE`` - Designates a connection to Stripe. - ``ZENDESK`` - Designates a connection to Zendesk. - ``ZOHOCRM`` - Designates a connection to Zoho CRM. - ``ADOBEANALYTICS`` - Designates a connection to Adobe Analytics. - ``LINKEDIN`` - Designates a connection to LinkedIn. - ``MIXPANEL`` - Designates a connection to Mixpanel. - ``ASANA`` - Designates a connection to Asana. - ``SMARTSHEET`` - Designates a connection to Smartsheet. - ``DATADOG`` - Designates a connection to Datadog. - ``WOOCOMMERCE`` - Designates a connection to WooCommerce. - ``PAYPAL`` - Designates a connection to PayPal. - ``QUICKBOOKS`` - Designates a connection to QuickBooks. - ``FACEBOOKPAGEINSIGHTS`` - Designates a connection to Facebook Page Insights. - ``FRESHDESK`` - Designates a connection to Freshdesk. - ``TWILIO`` - Designates a connection to Twilio. - ``DOCUSIGNMONITOR`` - Designates a connection to DocuSign Monitor. - ``FRESHSALES`` - Designates a connection to Freshsales. - ``ZOOM`` - Designates a connection to Zoom. - ``GOOGLESEARCHCONSOLE`` - Designates a connection to Google Search Console. - ``SALESFORCECOMMERCECLOUD`` - Designates a connection to Salesforce Commerce Cloud. - ``SAPCONCUR`` - Designates a connection to SAP Concur. - ``DYNATRACE`` - Designates a connection to Dynatrace. - ``MICROSOFTDYNAMIC365FINANCEANDOPS`` - Designates a connection to Microsoft Dynamics 365 Finance and Operations. - ``MICROSOFTTEAMS`` - Designates a connection to Microsoft Teams. - ``BLACKBAUDRAISEREDGENXT`` - Designates a connection to Blackbaud Raiser's Edge NXT. - ``MAILCHIMP`` - Designates a connection to Mailchimp. - ``GITLAB`` - Designates a connection to GitLab. - ``PENDO`` - Designates a connection to Pendo. - ``PRODUCTBOARD`` - Designates a connection to Productboard. - ``CIRCLECI`` - Designates a connection to CircleCI. - ``PIPEDIVE`` - Designates a connection to Pipedrive. - ``SENDGRID`` - Designates a connection to SendGrid. For more information on the connection parameters needed for a particular connector, see the documentation for the connector in `Adding an AWS Glue connection <https://docs.aws.amazon.com/glue/latest/dg/console-connections.html>`_ in the AWS Glue User Guide. ``SFTP`` is not supported. For more information about how optional ConnectionProperties are used to configure features in AWS Glue , consult `AWS Glue connection properties <https://docs.aws.amazon.com/glue/latest/dg/connection-defining.html>`_ . For more information about how optional ConnectionProperties are used to configure features in AWS Glue Studio, consult `Using connectors and connections <https://docs.aws.amazon.com/glue/latest/ug/connectors-chapter.html>`_ .
1442
1442
  :param athena_properties: Connection properties specific to the Athena compute environment.
1443
1443
  :param authentication_configuration: The authentication properties of the connection.
1444
1444
  :param connection_properties: These key-value pairs define parameters for the connection.
@@ -1617,10 +1617,40 @@ class CfnConnection(
1617
1617
  - ``SAPODATA`` - Designates a connection to SAP OData.
1618
1618
  - ``SERVICENOW`` - Designates a connection to ServiceNow.
1619
1619
  - ``SLACK`` - Designates a connection to Slack.
1620
+ - ``SNOWFLAKE`` - Designates a connection to Snowflake.
1620
1621
  - ``SNAPCHATADS`` - Designates a connection to Snapchat Ads.
1621
1622
  - ``STRIPE`` - Designates a connection to Stripe.
1622
1623
  - ``ZENDESK`` - Designates a connection to Zendesk.
1623
1624
  - ``ZOHOCRM`` - Designates a connection to Zoho CRM.
1625
+ - ``ADOBEANALYTICS`` - Designates a connection to Adobe Analytics.
1626
+ - ``LINKEDIN`` - Designates a connection to LinkedIn.
1627
+ - ``MIXPANEL`` - Designates a connection to Mixpanel.
1628
+ - ``ASANA`` - Designates a connection to Asana.
1629
+ - ``SMARTSHEET`` - Designates a connection to Smartsheet.
1630
+ - ``DATADOG`` - Designates a connection to Datadog.
1631
+ - ``WOOCOMMERCE`` - Designates a connection to WooCommerce.
1632
+ - ``PAYPAL`` - Designates a connection to PayPal.
1633
+ - ``QUICKBOOKS`` - Designates a connection to QuickBooks.
1634
+ - ``FACEBOOKPAGEINSIGHTS`` - Designates a connection to Facebook Page Insights.
1635
+ - ``FRESHDESK`` - Designates a connection to Freshdesk.
1636
+ - ``TWILIO`` - Designates a connection to Twilio.
1637
+ - ``DOCUSIGNMONITOR`` - Designates a connection to DocuSign Monitor.
1638
+ - ``FRESHSALES`` - Designates a connection to Freshsales.
1639
+ - ``ZOOM`` - Designates a connection to Zoom.
1640
+ - ``GOOGLESEARCHCONSOLE`` - Designates a connection to Google Search Console.
1641
+ - ``SALESFORCECOMMERCECLOUD`` - Designates a connection to Salesforce Commerce Cloud.
1642
+ - ``SAPCONCUR`` - Designates a connection to SAP Concur.
1643
+ - ``DYNATRACE`` - Designates a connection to Dynatrace.
1644
+ - ``MICROSOFTDYNAMIC365FINANCEANDOPS`` - Designates a connection to Microsoft Dynamics 365 Finance and Operations.
1645
+ - ``MICROSOFTTEAMS`` - Designates a connection to Microsoft Teams.
1646
+ - ``BLACKBAUDRAISEREDGENXT`` - Designates a connection to Blackbaud Raiser's Edge NXT.
1647
+ - ``MAILCHIMP`` - Designates a connection to Mailchimp.
1648
+ - ``GITLAB`` - Designates a connection to GitLab.
1649
+ - ``PENDO`` - Designates a connection to Pendo.
1650
+ - ``PRODUCTBOARD`` - Designates a connection to Productboard.
1651
+ - ``CIRCLECI`` - Designates a connection to CircleCI.
1652
+ - ``PIPEDIVE`` - Designates a connection to Pipedrive.
1653
+ - ``SENDGRID`` - Designates a connection to SendGrid.
1624
1654
 
1625
1655
  For more information on the connection parameters needed for a particular connector, see the documentation for the connector in `Adding an AWS Glue connection <https://docs.aws.amazon.com/glue/latest/dg/console-connections.html>`_ in the AWS Glue User Guide.
1626
1656
 
@@ -2364,7 +2394,9 @@ class CfnCrawler(
2364
2394
  write_manifest=False
2365
2395
  )],
2366
2396
  dynamo_db_targets=[glue.CfnCrawler.DynamoDBTargetProperty(
2367
- path="path"
2397
+ path="path",
2398
+ scan_all=False,
2399
+ scan_rate=123
2368
2400
  )],
2369
2401
  hudi_targets=[glue.CfnCrawler.HudiTargetProperty(
2370
2402
  connection_name="connectionName",
@@ -2973,13 +3005,21 @@ class CfnCrawler(
2973
3005
  @jsii.data_type(
2974
3006
  jsii_type="aws-cdk-lib.aws_glue.CfnCrawler.DynamoDBTargetProperty",
2975
3007
  jsii_struct_bases=[],
2976
- name_mapping={"path": "path"},
3008
+ name_mapping={"path": "path", "scan_all": "scanAll", "scan_rate": "scanRate"},
2977
3009
  )
2978
3010
  class DynamoDBTargetProperty:
2979
- def __init__(self, *, path: typing.Optional[builtins.str] = None) -> None:
3011
+ def __init__(
3012
+ self,
3013
+ *,
3014
+ path: typing.Optional[builtins.str] = None,
3015
+ scan_all: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3016
+ scan_rate: typing.Optional[jsii.Number] = None,
3017
+ ) -> None:
2980
3018
  '''Specifies an Amazon DynamoDB table to crawl.
2981
3019
 
2982
3020
  :param path: The name of the DynamoDB table to crawl.
3021
+ :param scan_all: Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table. A value of ``true`` means to scan all records, while a value of ``false`` means to sample the records. If no value is specified, the value defaults to ``true`` .
3022
+ :param scan_rate: The percentage of the configured read capacity units to use by the AWS Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second. The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
2983
3023
 
2984
3024
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-dynamodbtarget.html
2985
3025
  :exampleMetadata: fixture=_generated
@@ -2991,15 +3031,23 @@ class CfnCrawler(
2991
3031
  from aws_cdk import aws_glue as glue
2992
3032
 
2993
3033
  dynamo_dBTarget_property = glue.CfnCrawler.DynamoDBTargetProperty(
2994
- path="path"
3034
+ path="path",
3035
+ scan_all=False,
3036
+ scan_rate=123
2995
3037
  )
2996
3038
  '''
2997
3039
  if __debug__:
2998
3040
  type_hints = typing.get_type_hints(_typecheckingstub__4c03ffc3d1fa17ed9770b2c448e87c012b6d363001f06ce8b95bdb9c62711274)
2999
3041
  check_type(argname="argument path", value=path, expected_type=type_hints["path"])
3042
+ check_type(argname="argument scan_all", value=scan_all, expected_type=type_hints["scan_all"])
3043
+ check_type(argname="argument scan_rate", value=scan_rate, expected_type=type_hints["scan_rate"])
3000
3044
  self._values: typing.Dict[builtins.str, typing.Any] = {}
3001
3045
  if path is not None:
3002
3046
  self._values["path"] = path
3047
+ if scan_all is not None:
3048
+ self._values["scan_all"] = scan_all
3049
+ if scan_rate is not None:
3050
+ self._values["scan_rate"] = scan_rate
3003
3051
 
3004
3052
  @builtins.property
3005
3053
  def path(self) -> typing.Optional[builtins.str]:
@@ -3010,6 +3058,34 @@ class CfnCrawler(
3010
3058
  result = self._values.get("path")
3011
3059
  return typing.cast(typing.Optional[builtins.str], result)
3012
3060
 
3061
+ @builtins.property
3062
+ def scan_all(
3063
+ self,
3064
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
3065
+ '''Indicates whether to scan all the records, or to sample rows from the table.
3066
+
3067
+ Scanning all the records can take a long time when the table is not a high throughput table.
3068
+
3069
+ A value of ``true`` means to scan all records, while a value of ``false`` means to sample the records. If no value is specified, the value defaults to ``true`` .
3070
+
3071
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-dynamodbtarget.html#cfn-glue-crawler-dynamodbtarget-scanall
3072
+ '''
3073
+ result = self._values.get("scan_all")
3074
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
3075
+
3076
+ @builtins.property
3077
+ def scan_rate(self) -> typing.Optional[jsii.Number]:
3078
+ '''The percentage of the configured read capacity units to use by the AWS Glue crawler.
3079
+
3080
+ Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.
3081
+
3082
+ The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
3083
+
3084
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-dynamodbtarget.html#cfn-glue-crawler-dynamodbtarget-scanrate
3085
+ '''
3086
+ result = self._values.get("scan_rate")
3087
+ return typing.cast(typing.Optional[jsii.Number], result)
3088
+
3013
3089
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
3014
3090
  return isinstance(rhs, self.__class__) and rhs._values == self._values
3015
3091
 
@@ -3917,7 +3993,9 @@ class CfnCrawler(
3917
3993
  write_manifest=False
3918
3994
  )],
3919
3995
  dynamo_db_targets=[glue.CfnCrawler.DynamoDBTargetProperty(
3920
- path="path"
3996
+ path="path",
3997
+ scan_all=False,
3998
+ scan_rate=123
3921
3999
  )],
3922
4000
  hudi_targets=[glue.CfnCrawler.HudiTargetProperty(
3923
4001
  connection_name="connectionName",
@@ -4163,7 +4241,9 @@ class CfnCrawlerProps:
4163
4241
  write_manifest=False
4164
4242
  )],
4165
4243
  dynamo_db_targets=[glue.CfnCrawler.DynamoDBTargetProperty(
4166
- path="path"
4244
+ path="path",
4245
+ scan_all=False,
4246
+ scan_rate=123
4167
4247
  )],
4168
4248
  hudi_targets=[glue.CfnCrawler.HudiTargetProperty(
4169
4249
  connection_name="connectionName",
@@ -14513,9 +14593,10 @@ class CfnTableOptimizer(
14513
14593
  )
14514
14594
  ),
14515
14595
  retention_configuration=glue.CfnTableOptimizer.RetentionConfigurationProperty(
14516
- iceberg_configuration=glue.CfnTableOptimizer.IcebergConfigurationProperty(
14517
- location="location",
14518
- orphan_file_retention_period_in_days=123
14596
+ iceberg_configuration=glue.CfnTableOptimizer.IcebergRetentionConfigurationProperty(
14597
+ clean_expired_files=False,
14598
+ number_of_snapshots_to_retain=123,
14599
+ snapshot_retention_period_in_days=123
14519
14600
  )
14520
14601
  ),
14521
14602
  vpc_configuration=glue.CfnTableOptimizer.VpcConfigurationProperty(
@@ -14753,6 +14834,93 @@ class CfnTableOptimizer(
14753
14834
  k + "=" + repr(v) for k, v in self._values.items()
14754
14835
  )
14755
14836
 
14837
+ @jsii.data_type(
14838
+ jsii_type="aws-cdk-lib.aws_glue.CfnTableOptimizer.IcebergRetentionConfigurationProperty",
14839
+ jsii_struct_bases=[],
14840
+ name_mapping={
14841
+ "clean_expired_files": "cleanExpiredFiles",
14842
+ "number_of_snapshots_to_retain": "numberOfSnapshotsToRetain",
14843
+ "snapshot_retention_period_in_days": "snapshotRetentionPeriodInDays",
14844
+ },
14845
+ )
14846
+ class IcebergRetentionConfigurationProperty:
14847
+ def __init__(
14848
+ self,
14849
+ *,
14850
+ clean_expired_files: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
14851
+ number_of_snapshots_to_retain: typing.Optional[jsii.Number] = None,
14852
+ snapshot_retention_period_in_days: typing.Optional[jsii.Number] = None,
14853
+ ) -> None:
14854
+ '''
14855
+ :param clean_expired_files:
14856
+ :param number_of_snapshots_to_retain:
14857
+ :param snapshot_retention_period_in_days:
14858
+
14859
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-icebergretentionconfiguration.html
14860
+ :exampleMetadata: fixture=_generated
14861
+
14862
+ Example::
14863
+
14864
+ # The code below shows an example of how to instantiate this type.
14865
+ # The values are placeholders you should change.
14866
+ from aws_cdk import aws_glue as glue
14867
+
14868
+ iceberg_retention_configuration_property = glue.CfnTableOptimizer.IcebergRetentionConfigurationProperty(
14869
+ clean_expired_files=False,
14870
+ number_of_snapshots_to_retain=123,
14871
+ snapshot_retention_period_in_days=123
14872
+ )
14873
+ '''
14874
+ if __debug__:
14875
+ type_hints = typing.get_type_hints(_typecheckingstub__b4f8e1a2489f73394a6c790dbe1b5ccb03d98f5bcab84019c0dd305f8d0e643e)
14876
+ check_type(argname="argument clean_expired_files", value=clean_expired_files, expected_type=type_hints["clean_expired_files"])
14877
+ check_type(argname="argument number_of_snapshots_to_retain", value=number_of_snapshots_to_retain, expected_type=type_hints["number_of_snapshots_to_retain"])
14878
+ check_type(argname="argument snapshot_retention_period_in_days", value=snapshot_retention_period_in_days, expected_type=type_hints["snapshot_retention_period_in_days"])
14879
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
14880
+ if clean_expired_files is not None:
14881
+ self._values["clean_expired_files"] = clean_expired_files
14882
+ if number_of_snapshots_to_retain is not None:
14883
+ self._values["number_of_snapshots_to_retain"] = number_of_snapshots_to_retain
14884
+ if snapshot_retention_period_in_days is not None:
14885
+ self._values["snapshot_retention_period_in_days"] = snapshot_retention_period_in_days
14886
+
14887
+ @builtins.property
14888
+ def clean_expired_files(
14889
+ self,
14890
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
14891
+ '''
14892
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-icebergretentionconfiguration.html#cfn-glue-tableoptimizer-icebergretentionconfiguration-cleanexpiredfiles
14893
+ '''
14894
+ result = self._values.get("clean_expired_files")
14895
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
14896
+
14897
+ @builtins.property
14898
+ def number_of_snapshots_to_retain(self) -> typing.Optional[jsii.Number]:
14899
+ '''
14900
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-icebergretentionconfiguration.html#cfn-glue-tableoptimizer-icebergretentionconfiguration-numberofsnapshotstoretain
14901
+ '''
14902
+ result = self._values.get("number_of_snapshots_to_retain")
14903
+ return typing.cast(typing.Optional[jsii.Number], result)
14904
+
14905
+ @builtins.property
14906
+ def snapshot_retention_period_in_days(self) -> typing.Optional[jsii.Number]:
14907
+ '''
14908
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-icebergretentionconfiguration.html#cfn-glue-tableoptimizer-icebergretentionconfiguration-snapshotretentionperiodindays
14909
+ '''
14910
+ result = self._values.get("snapshot_retention_period_in_days")
14911
+ return typing.cast(typing.Optional[jsii.Number], result)
14912
+
14913
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
14914
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
14915
+
14916
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
14917
+ return not (rhs == self)
14918
+
14919
+ def __repr__(self) -> str:
14920
+ return "IcebergRetentionConfigurationProperty(%s)" % ", ".join(
14921
+ k + "=" + repr(v) for k, v in self._values.items()
14922
+ )
14923
+
14756
14924
  @jsii.data_type(
14757
14925
  jsii_type="aws-cdk-lib.aws_glue.CfnTableOptimizer.OrphanFileDeletionConfigurationProperty",
14758
14926
  jsii_struct_bases=[],
@@ -14824,7 +14992,7 @@ class CfnTableOptimizer(
14824
14992
  def __init__(
14825
14993
  self,
14826
14994
  *,
14827
- iceberg_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTableOptimizer.IcebergConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
14995
+ iceberg_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTableOptimizer.IcebergRetentionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
14828
14996
  ) -> None:
14829
14997
  '''The configuration for a snapshot retention optimizer for Apache Iceberg tables.
14830
14998
 
@@ -14840,9 +15008,10 @@ class CfnTableOptimizer(
14840
15008
  from aws_cdk import aws_glue as glue
14841
15009
 
14842
15010
  retention_configuration_property = glue.CfnTableOptimizer.RetentionConfigurationProperty(
14843
- iceberg_configuration=glue.CfnTableOptimizer.IcebergConfigurationProperty(
14844
- location="location",
14845
- orphan_file_retention_period_in_days=123
15011
+ iceberg_configuration=glue.CfnTableOptimizer.IcebergRetentionConfigurationProperty(
15012
+ clean_expired_files=False,
15013
+ number_of_snapshots_to_retain=123,
15014
+ snapshot_retention_period_in_days=123
14846
15015
  )
14847
15016
  )
14848
15017
  '''
@@ -14856,13 +15025,13 @@ class CfnTableOptimizer(
14856
15025
  @builtins.property
14857
15026
  def iceberg_configuration(
14858
15027
  self,
14859
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.IcebergConfigurationProperty"]]:
15028
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.IcebergRetentionConfigurationProperty"]]:
14860
15029
  '''The configuration for an Iceberg snapshot retention optimizer.
14861
15030
 
14862
15031
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-retentionconfiguration.html#cfn-glue-tableoptimizer-retentionconfiguration-icebergconfiguration
14863
15032
  '''
14864
15033
  result = self._values.get("iceberg_configuration")
14865
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.IcebergConfigurationProperty"]], result)
15034
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableOptimizer.IcebergRetentionConfigurationProperty"]], result)
14866
15035
 
14867
15036
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
14868
15037
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -14925,9 +15094,10 @@ class CfnTableOptimizer(
14925
15094
  )
14926
15095
  ),
14927
15096
  retention_configuration=glue.CfnTableOptimizer.RetentionConfigurationProperty(
14928
- iceberg_configuration=glue.CfnTableOptimizer.IcebergConfigurationProperty(
14929
- location="location",
14930
- orphan_file_retention_period_in_days=123
15097
+ iceberg_configuration=glue.CfnTableOptimizer.IcebergRetentionConfigurationProperty(
15098
+ clean_expired_files=False,
15099
+ number_of_snapshots_to_retain=123,
15100
+ snapshot_retention_period_in_days=123
14931
15101
  )
14932
15102
  ),
14933
15103
  vpc_configuration=glue.CfnTableOptimizer.VpcConfigurationProperty(
@@ -15133,9 +15303,10 @@ class CfnTableOptimizerProps:
15133
15303
  )
15134
15304
  ),
15135
15305
  retention_configuration=glue.CfnTableOptimizer.RetentionConfigurationProperty(
15136
- iceberg_configuration=glue.CfnTableOptimizer.IcebergConfigurationProperty(
15137
- location="location",
15138
- orphan_file_retention_period_in_days=123
15306
+ iceberg_configuration=glue.CfnTableOptimizer.IcebergRetentionConfigurationProperty(
15307
+ clean_expired_files=False,
15308
+ number_of_snapshots_to_retain=123,
15309
+ snapshot_retention_period_in_days=123
15139
15310
  )
15140
15311
  ),
15141
15312
  vpc_configuration=glue.CfnTableOptimizer.VpcConfigurationProperty(
@@ -17682,6 +17853,8 @@ def _typecheckingstub__a7510699883f74759e475bf2ece2842156b441164d538264f93242ebd
17682
17853
  def _typecheckingstub__4c03ffc3d1fa17ed9770b2c448e87c012b6d363001f06ce8b95bdb9c62711274(
17683
17854
  *,
17684
17855
  path: typing.Optional[builtins.str] = None,
17856
+ scan_all: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
17857
+ scan_rate: typing.Optional[jsii.Number] = None,
17685
17858
  ) -> None:
17686
17859
  """Type checking stubs"""
17687
17860
  pass
@@ -19366,6 +19539,15 @@ def _typecheckingstub__5e7a911f626ca723b7f0b1c35deb71291cb06af5a64d75f3dcb432988
19366
19539
  """Type checking stubs"""
19367
19540
  pass
19368
19541
 
19542
+ def _typecheckingstub__b4f8e1a2489f73394a6c790dbe1b5ccb03d98f5bcab84019c0dd305f8d0e643e(
19543
+ *,
19544
+ clean_expired_files: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
19545
+ number_of_snapshots_to_retain: typing.Optional[jsii.Number] = None,
19546
+ snapshot_retention_period_in_days: typing.Optional[jsii.Number] = None,
19547
+ ) -> None:
19548
+ """Type checking stubs"""
19549
+ pass
19550
+
19369
19551
  def _typecheckingstub__fd6b7e3a46937a5c19f35e6c499494a7bff00c3eb67dd21cf60217c60a49b95b(
19370
19552
  *,
19371
19553
  iceberg_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableOptimizer.IcebergConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -19375,7 +19557,7 @@ def _typecheckingstub__fd6b7e3a46937a5c19f35e6c499494a7bff00c3eb67dd21cf60217c60
19375
19557
 
19376
19558
  def _typecheckingstub__c5ba28f1de672bfecf327282ce4e55b72b9a4850e73f7c390aa55e0c015e2ce8(
19377
19559
  *,
19378
- iceberg_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableOptimizer.IcebergConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19560
+ iceberg_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableOptimizer.IcebergRetentionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19379
19561
  ) -> None:
19380
19562
  """Type checking stubs"""
19381
19563
  pass