aws-cdk-lib 2.201.0__py3-none-any.whl → 2.203.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 (69) hide show
  1. aws_cdk/__init__.py +70 -71
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.201.0.jsii.tgz → aws-cdk-lib@2.203.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_accessanalyzer/__init__.py +310 -4
  5. aws_cdk/aws_aiops/__init__.py +964 -0
  6. aws_cdk/aws_amplify/__init__.py +127 -0
  7. aws_cdk/aws_arczonalshift/__init__.py +8 -8
  8. aws_cdk/aws_athena/__init__.py +12 -11
  9. aws_cdk/aws_b2bi/__init__.py +782 -3
  10. aws_cdk/aws_backup/__init__.py +22 -0
  11. aws_cdk/aws_batch/__init__.py +53 -1
  12. aws_cdk/aws_bedrock/__init__.py +123 -9
  13. aws_cdk/aws_cleanrooms/__init__.py +157 -154
  14. aws_cdk/aws_cloudformation/__init__.py +28 -28
  15. aws_cdk/aws_cloudfront/__init__.py +92 -57
  16. aws_cdk/aws_cloudfront/experimental/__init__.py +42 -3
  17. aws_cdk/aws_cloudwatch/__init__.py +228 -2
  18. aws_cdk/aws_connect/__init__.py +120 -8
  19. aws_cdk/aws_connectcampaignsv2/__init__.py +25 -4
  20. aws_cdk/aws_customerprofiles/__init__.py +150 -30
  21. aws_cdk/aws_datazone/__init__.py +23 -4
  22. aws_cdk/aws_deadline/__init__.py +4 -4
  23. aws_cdk/aws_dsql/__init__.py +148 -0
  24. aws_cdk/aws_ec2/__init__.py +321 -19
  25. aws_cdk/aws_ecr/__init__.py +3 -3
  26. aws_cdk/aws_ecs/__init__.py +48 -13
  27. aws_cdk/aws_efs/__init__.py +17 -6
  28. aws_cdk/aws_eks/__init__.py +180 -158
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -2
  30. aws_cdk/aws_emrserverless/__init__.py +118 -0
  31. aws_cdk/aws_fsx/__init__.py +891 -0
  32. aws_cdk/aws_glue/__init__.py +58 -24
  33. aws_cdk/aws_iam/__init__.py +11 -11
  34. aws_cdk/aws_inspectorv2/__init__.py +442 -3
  35. aws_cdk/aws_kendra/__init__.py +10 -5
  36. aws_cdk/aws_kms/__init__.py +24 -12
  37. aws_cdk/aws_lambda/__init__.py +938 -36
  38. aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
  39. aws_cdk/aws_lambda_nodejs/__init__.py +37 -3
  40. aws_cdk/aws_lex/__init__.py +703 -0
  41. aws_cdk/aws_logs/__init__.py +144 -0
  42. aws_cdk/aws_mediatailor/__init__.py +399 -0
  43. aws_cdk/aws_mpa/__init__.py +1475 -0
  44. aws_cdk/aws_msk/__init__.py +21 -2
  45. aws_cdk/aws_mwaa/__init__.py +45 -2
  46. aws_cdk/aws_networkfirewall/__init__.py +4 -2
  47. aws_cdk/aws_networkmanager/__init__.py +51 -3
  48. aws_cdk/aws_opsworkscm/__init__.py +44 -2
  49. aws_cdk/aws_rds/__init__.py +175 -42
  50. aws_cdk/aws_redshiftserverless/__init__.py +632 -0
  51. aws_cdk/aws_route53resolver/__init__.py +58 -10
  52. aws_cdk/aws_s3/__init__.py +19 -1
  53. aws_cdk/aws_s3tables/__init__.py +230 -0
  54. aws_cdk/aws_sagemaker/__init__.py +14 -10
  55. aws_cdk/aws_securityhub/__init__.py +2887 -56
  56. aws_cdk/aws_synthetics/__init__.py +21 -0
  57. aws_cdk/aws_vpclattice/__init__.py +6 -4
  58. aws_cdk/aws_wafv2/__init__.py +849 -18
  59. aws_cdk/aws_workspacesinstances/__init__.py +3243 -0
  60. aws_cdk/cloud_assembly_schema/__init__.py +200 -4
  61. aws_cdk/cx_api/__init__.py +29 -14
  62. aws_cdk/pipelines/__init__.py +178 -41
  63. aws_cdk/triggers/__init__.py +41 -4
  64. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/METADATA +3 -3
  65. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/RECORD +69 -66
  66. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/LICENSE +0 -0
  67. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/NOTICE +0 -0
  68. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/WHEEL +0 -0
  69. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/top_level.txt +0 -0
@@ -145,6 +145,9 @@ class CfnApp(
145
145
  value="value"
146
146
  )],
147
147
  iam_service_role="iamServiceRole",
148
+ job_config=amplify.CfnApp.JobConfigProperty(
149
+ build_compute_type="buildComputeType"
150
+ ),
148
151
  oauth_token="oauthToken",
149
152
  platform="platform",
150
153
  repository="repository",
@@ -173,6 +176,7 @@ class CfnApp(
173
176
  enable_branch_auto_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
174
177
  environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.EnvironmentVariableProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
175
178
  iam_service_role: typing.Optional[builtins.str] = None,
179
+ job_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.JobConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
176
180
  oauth_token: typing.Optional[builtins.str] = None,
177
181
  platform: typing.Optional[builtins.str] = None,
178
182
  repository: typing.Optional[builtins.str] = None,
@@ -194,6 +198,7 @@ class CfnApp(
194
198
  :param enable_branch_auto_deletion: Automatically disconnect a branch in Amplify Hosting when you delete a branch from your Git repository.
195
199
  :param environment_variables: The environment variables for the Amplify app. For a list of the environment variables that are accessible to Amplify by default, see `Amplify Environment variables <https://docs.aws.amazon.com/amplify/latest/userguide/amplify-console-environment-variables.html>`_ in the *Amplify Hosting User Guide* .
196
200
  :param iam_service_role: AWS Identity and Access Management ( IAM ) service role for the Amazon Resource Name (ARN) of the Amplify app.
201
+ :param job_config: The configuration details that apply to the jobs for an Amplify app.
197
202
  :param oauth_token: The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored. Use ``OauthToken`` for repository providers other than GitHub, such as Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use ``AccessToken`` . You must specify either ``OauthToken`` or ``AccessToken`` when you create a new app. Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see `Migrating an existing OAuth app to the Amplify GitHub App <https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth>`_ in the *Amplify User Guide* .
198
203
  :param platform: The platform for the Amplify app. For a static app, set the platform type to ``WEB`` . For a dynamic server-side rendered (SSR) app, set the platform type to ``WEB_COMPUTE`` . For an app requiring Amplify Hosting's original SSR support only, set the platform type to ``WEB_DYNAMIC`` . If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to ``WEB_COMPUTE`` and set the artifacts ``baseDirectory`` to ``.next`` in the application's build settings. For an example of the build specification settings, see `Amplify build settings for a Next.js 14 SSG application <https://docs.aws.amazon.com/amplify/latest/userguide/deploy-nextjs-app.html#build-setting-detection-ssg-14>`_ in the *Amplify Hosting User Guide* .
199
204
  :param repository: The Git repository for the Amplify app.
@@ -217,6 +222,7 @@ class CfnApp(
217
222
  enable_branch_auto_deletion=enable_branch_auto_deletion,
218
223
  environment_variables=environment_variables,
219
224
  iam_service_role=iam_service_role,
225
+ job_config=job_config,
220
226
  oauth_token=oauth_token,
221
227
  platform=platform,
222
228
  repository=repository,
@@ -501,6 +507,24 @@ class CfnApp(
501
507
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
502
508
  jsii.set(self, "iamServiceRole", value) # pyright: ignore[reportArgumentType]
503
509
 
510
+ @builtins.property
511
+ @jsii.member(jsii_name="jobConfig")
512
+ def job_config(
513
+ self,
514
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApp.JobConfigProperty"]]:
515
+ '''The configuration details that apply to the jobs for an Amplify app.'''
516
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApp.JobConfigProperty"]], jsii.get(self, "jobConfig"))
517
+
518
+ @job_config.setter
519
+ def job_config(
520
+ self,
521
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApp.JobConfigProperty"]],
522
+ ) -> None:
523
+ if __debug__:
524
+ type_hints = typing.get_type_hints(_typecheckingstub__0c5331757d4f14f0e25aa5a2af73920abaa3c57bb5542207c86cbd2511fb7ada)
525
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
526
+ jsii.set(self, "jobConfig", value) # pyright: ignore[reportArgumentType]
527
+
504
528
  @builtins.property
505
529
  @jsii.member(jsii_name="oauthToken")
506
530
  def oauth_token(self) -> typing.Optional[builtins.str]:
@@ -1139,6 +1163,74 @@ class CfnApp(
1139
1163
  k + "=" + repr(v) for k, v in self._values.items()
1140
1164
  )
1141
1165
 
1166
+ @jsii.data_type(
1167
+ jsii_type="aws-cdk-lib.aws_amplify.CfnApp.JobConfigProperty",
1168
+ jsii_struct_bases=[],
1169
+ name_mapping={"build_compute_type": "buildComputeType"},
1170
+ )
1171
+ class JobConfigProperty:
1172
+ def __init__(self, *, build_compute_type: builtins.str) -> None:
1173
+ '''Describes the configuration details that apply to the jobs for an Amplify app.
1174
+
1175
+ Use ``JobConfig`` to apply configuration to jobs, such as customizing the build instance size when you create or update an Amplify app. For more information about customizable build instances, see `Custom build instances <https://docs.aws.amazon.com/amplify/latest/userguide/custom-build-instance.html>`_ in the *Amplify User Guide* .
1176
+
1177
+ :param build_compute_type: Specifies the size of the build instance. Amplify supports three instance sizes: ``STANDARD_8GB`` , ``LARGE_16GB`` , and ``XLARGE_72GB`` . If you don't specify a value, Amplify uses the ``STANDARD_8GB`` default. The following list describes the CPU, memory, and storage capacity for each build instance type: - **STANDARD_8GB** - - vCPUs: 4 - Memory: 8 GiB - Disk space: 128 GB - **LARGE_16GB** - - vCPUs: 8 - Memory: 16 GiB - Disk space: 128 GB - **XLARGE_72GB** - - vCPUs: 36 - Memory: 72 GiB - Disk space: 256 GB
1178
+
1179
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-jobconfig.html
1180
+ :exampleMetadata: fixture=_generated
1181
+
1182
+ Example::
1183
+
1184
+ # The code below shows an example of how to instantiate this type.
1185
+ # The values are placeholders you should change.
1186
+ from aws_cdk import aws_amplify as amplify
1187
+
1188
+ job_config_property = amplify.CfnApp.JobConfigProperty(
1189
+ build_compute_type="buildComputeType"
1190
+ )
1191
+ '''
1192
+ if __debug__:
1193
+ type_hints = typing.get_type_hints(_typecheckingstub__23396b8a9e988b0968a9bc45be771b246c847bee1770ffbdca295739ad4ede28)
1194
+ check_type(argname="argument build_compute_type", value=build_compute_type, expected_type=type_hints["build_compute_type"])
1195
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1196
+ "build_compute_type": build_compute_type,
1197
+ }
1198
+
1199
+ @builtins.property
1200
+ def build_compute_type(self) -> builtins.str:
1201
+ '''Specifies the size of the build instance.
1202
+
1203
+ Amplify supports three instance sizes: ``STANDARD_8GB`` , ``LARGE_16GB`` , and ``XLARGE_72GB`` . If you don't specify a value, Amplify uses the ``STANDARD_8GB`` default.
1204
+
1205
+ The following list describes the CPU, memory, and storage capacity for each build instance type:
1206
+
1207
+ - **STANDARD_8GB** - - vCPUs: 4
1208
+ - Memory: 8 GiB
1209
+ - Disk space: 128 GB
1210
+ - **LARGE_16GB** - - vCPUs: 8
1211
+ - Memory: 16 GiB
1212
+ - Disk space: 128 GB
1213
+ - **XLARGE_72GB** - - vCPUs: 36
1214
+ - Memory: 72 GiB
1215
+ - Disk space: 256 GB
1216
+
1217
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-jobconfig.html#cfn-amplify-app-jobconfig-buildcomputetype
1218
+ '''
1219
+ result = self._values.get("build_compute_type")
1220
+ assert result is not None, "Required property 'build_compute_type' is missing"
1221
+ return typing.cast(builtins.str, result)
1222
+
1223
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1224
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1225
+
1226
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1227
+ return not (rhs == self)
1228
+
1229
+ def __repr__(self) -> str:
1230
+ return "JobConfigProperty(%s)" % ", ".join(
1231
+ k + "=" + repr(v) for k, v in self._values.items()
1232
+ )
1233
+
1142
1234
 
1143
1235
  @jsii.data_type(
1144
1236
  jsii_type="aws-cdk-lib.aws_amplify.CfnAppProps",
@@ -1157,6 +1249,7 @@ class CfnApp(
1157
1249
  "enable_branch_auto_deletion": "enableBranchAutoDeletion",
1158
1250
  "environment_variables": "environmentVariables",
1159
1251
  "iam_service_role": "iamServiceRole",
1252
+ "job_config": "jobConfig",
1160
1253
  "oauth_token": "oauthToken",
1161
1254
  "platform": "platform",
1162
1255
  "repository": "repository",
@@ -1180,6 +1273,7 @@ class CfnAppProps:
1180
1273
  enable_branch_auto_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1181
1274
  environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.EnvironmentVariableProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
1182
1275
  iam_service_role: typing.Optional[builtins.str] = None,
1276
+ job_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.JobConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1183
1277
  oauth_token: typing.Optional[builtins.str] = None,
1184
1278
  platform: typing.Optional[builtins.str] = None,
1185
1279
  repository: typing.Optional[builtins.str] = None,
@@ -1200,6 +1294,7 @@ class CfnAppProps:
1200
1294
  :param enable_branch_auto_deletion: Automatically disconnect a branch in Amplify Hosting when you delete a branch from your Git repository.
1201
1295
  :param environment_variables: The environment variables for the Amplify app. For a list of the environment variables that are accessible to Amplify by default, see `Amplify Environment variables <https://docs.aws.amazon.com/amplify/latest/userguide/amplify-console-environment-variables.html>`_ in the *Amplify Hosting User Guide* .
1202
1296
  :param iam_service_role: AWS Identity and Access Management ( IAM ) service role for the Amazon Resource Name (ARN) of the Amplify app.
1297
+ :param job_config: The configuration details that apply to the jobs for an Amplify app.
1203
1298
  :param oauth_token: The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored. Use ``OauthToken`` for repository providers other than GitHub, such as Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use ``AccessToken`` . You must specify either ``OauthToken`` or ``AccessToken`` when you create a new app. Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see `Migrating an existing OAuth app to the Amplify GitHub App <https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth>`_ in the *Amplify User Guide* .
1204
1299
  :param platform: The platform for the Amplify app. For a static app, set the platform type to ``WEB`` . For a dynamic server-side rendered (SSR) app, set the platform type to ``WEB_COMPUTE`` . For an app requiring Amplify Hosting's original SSR support only, set the platform type to ``WEB_DYNAMIC`` . If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to ``WEB_COMPUTE`` and set the artifacts ``baseDirectory`` to ``.next`` in the application's build settings. For an example of the build specification settings, see `Amplify build settings for a Next.js 14 SSG application <https://docs.aws.amazon.com/amplify/latest/userguide/deploy-nextjs-app.html#build-setting-detection-ssg-14>`_ in the *Amplify Hosting User Guide* .
1205
1300
  :param repository: The Git repository for the Amplify app.
@@ -1265,6 +1360,9 @@ class CfnAppProps:
1265
1360
  value="value"
1266
1361
  )],
1267
1362
  iam_service_role="iamServiceRole",
1363
+ job_config=amplify.CfnApp.JobConfigProperty(
1364
+ build_compute_type="buildComputeType"
1365
+ ),
1268
1366
  oauth_token="oauthToken",
1269
1367
  platform="platform",
1270
1368
  repository="repository",
@@ -1289,6 +1387,7 @@ class CfnAppProps:
1289
1387
  check_type(argname="argument enable_branch_auto_deletion", value=enable_branch_auto_deletion, expected_type=type_hints["enable_branch_auto_deletion"])
1290
1388
  check_type(argname="argument environment_variables", value=environment_variables, expected_type=type_hints["environment_variables"])
1291
1389
  check_type(argname="argument iam_service_role", value=iam_service_role, expected_type=type_hints["iam_service_role"])
1390
+ check_type(argname="argument job_config", value=job_config, expected_type=type_hints["job_config"])
1292
1391
  check_type(argname="argument oauth_token", value=oauth_token, expected_type=type_hints["oauth_token"])
1293
1392
  check_type(argname="argument platform", value=platform, expected_type=type_hints["platform"])
1294
1393
  check_type(argname="argument repository", value=repository, expected_type=type_hints["repository"])
@@ -1320,6 +1419,8 @@ class CfnAppProps:
1320
1419
  self._values["environment_variables"] = environment_variables
1321
1420
  if iam_service_role is not None:
1322
1421
  self._values["iam_service_role"] = iam_service_role
1422
+ if job_config is not None:
1423
+ self._values["job_config"] = job_config
1323
1424
  if oauth_token is not None:
1324
1425
  self._values["oauth_token"] = oauth_token
1325
1426
  if platform is not None:
@@ -1475,6 +1576,17 @@ class CfnAppProps:
1475
1576
  result = self._values.get("iam_service_role")
1476
1577
  return typing.cast(typing.Optional[builtins.str], result)
1477
1578
 
1579
+ @builtins.property
1580
+ def job_config(
1581
+ self,
1582
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.JobConfigProperty]]:
1583
+ '''The configuration details that apply to the jobs for an Amplify app.
1584
+
1585
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-jobconfig
1586
+ '''
1587
+ result = self._values.get("job_config")
1588
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.JobConfigProperty]], result)
1589
+
1478
1590
  @builtins.property
1479
1591
  def oauth_token(self) -> typing.Optional[builtins.str]:
1480
1592
  '''The OAuth token for a third-party source control system for an Amplify app.
@@ -3306,6 +3418,7 @@ def _typecheckingstub__8dc8d772047a068d22a76d907b344356448c6a26d23e419ed69cc622d
3306
3418
  enable_branch_auto_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3307
3419
  environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.EnvironmentVariableProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3308
3420
  iam_service_role: typing.Optional[builtins.str] = None,
3421
+ job_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.JobConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3309
3422
  oauth_token: typing.Optional[builtins.str] = None,
3310
3423
  platform: typing.Optional[builtins.str] = None,
3311
3424
  repository: typing.Optional[builtins.str] = None,
@@ -3404,6 +3517,12 @@ def _typecheckingstub__378909021f9642b2e612e1ecd4b62069a17df2eef9f3461fa46cd5337
3404
3517
  """Type checking stubs"""
3405
3518
  pass
3406
3519
 
3520
+ def _typecheckingstub__0c5331757d4f14f0e25aa5a2af73920abaa3c57bb5542207c86cbd2511fb7ada(
3521
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.JobConfigProperty]],
3522
+ ) -> None:
3523
+ """Type checking stubs"""
3524
+ pass
3525
+
3407
3526
  def _typecheckingstub__e4f1a9875121cc669c475a05f9524db58d7e32e0b0134143bf750ceca8d2d6ec(
3408
3527
  value: typing.Optional[builtins.str],
3409
3528
  ) -> None:
@@ -3479,6 +3598,13 @@ def _typecheckingstub__f76edc62ddffd84b573400931e580feb099c3a238dc1b312f88a08a68
3479
3598
  """Type checking stubs"""
3480
3599
  pass
3481
3600
 
3601
+ def _typecheckingstub__23396b8a9e988b0968a9bc45be771b246c847bee1770ffbdca295739ad4ede28(
3602
+ *,
3603
+ build_compute_type: builtins.str,
3604
+ ) -> None:
3605
+ """Type checking stubs"""
3606
+ pass
3607
+
3482
3608
  def _typecheckingstub__cfa8f09e6d42b5d6d1122d3e9214ec780302e9c3fda48d7ca044dd07613d11db(
3483
3609
  *,
3484
3610
  name: builtins.str,
@@ -3494,6 +3620,7 @@ def _typecheckingstub__cfa8f09e6d42b5d6d1122d3e9214ec780302e9c3fda48d7ca044dd076
3494
3620
  enable_branch_auto_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3495
3621
  environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.EnvironmentVariableProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3496
3622
  iam_service_role: typing.Optional[builtins.str] = None,
3623
+ job_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.JobConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3497
3624
  oauth_token: typing.Optional[builtins.str] = None,
3498
3625
  platform: typing.Optional[builtins.str] = None,
3499
3626
  repository: typing.Optional[builtins.str] = None,
@@ -245,7 +245,7 @@ class CfnZonalAutoshiftConfiguration(
245
245
  ):
246
246
  '''The zonal autoshift configuration for a resource includes the practice run configuration and the status for running autoshifts, zonal autoshift status.
247
247
 
248
- When a resource has a practice run configuation, Route 53 ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone.
248
+ When a resource has a practice run configuation, ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone.
249
249
 
250
250
  You can update the zonal autoshift autoshift status to enable or disable zonal autoshift. When zonal autoshift is ``ENABLED`` , you authorize AWS to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away for the required weekly practice runs.
251
251
 
@@ -293,7 +293,7 @@ class CfnZonalAutoshiftConfiguration(
293
293
  '''
294
294
  :param scope: Scope in which this resource is defined.
295
295
  :param id: Construct identifier for this resource (unique in its scope).
296
- :param resource_identifier: The identifier for the resource that AWS shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
296
+ :param resource_identifier: The identifier for the resource that AWS shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers.
297
297
  :param practice_run_configuration: A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run configuration, ARC shifts traffic for the resource weekly for practice runs. Practice runs are required for zonal autoshift. The zonal shifts that ARC starts for practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application. You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.
298
298
  :param zonal_autoshift_status: When zonal autoshift is ``ENABLED`` , you authorize AWS to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away for the required weekly practice runs.
299
299
  '''
@@ -406,7 +406,7 @@ class CfnZonalAutoshiftConfiguration(
406
406
 
407
407
  Control condition alarms do not apply for autoshifts.
408
408
 
409
- For more information, see `Considerations when you configure zonal autoshift <https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html>`_ in the Route 53 ARC Developer Guide.
409
+ For more information, see `Considerations when you configure zonal autoshift <https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html>`_ in the ARC Developer Guide.
410
410
 
411
411
  :param alarm_identifier: The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run.
412
412
  :param type: The type of alarm specified for a practice run. You can only specify Amazon CloudWatch alarms for practice runs, so the only valid value is ``CLOUDWATCH`` .
@@ -488,13 +488,13 @@ class CfnZonalAutoshiftConfiguration(
488
488
  ) -> None:
489
489
  '''A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run.
490
490
 
491
- When a resource has a practice run configuation, Route 53 ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone.
491
+ When a resource has a practice run configuation, ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone.
492
492
 
493
493
  You can update or delete a practice run configuration. When you delete a practice run configuration, zonal autoshift is disabled for the resource. A practice run configuration is required when zonal autoshift is enabled.
494
494
 
495
495
  :param outcome_alarms: The alarm that you specify to monitor the health of your application during practice runs. When the outcome alarm goes into an ``ALARM`` state, the practice run is ended and the outcome is set to ``FAILED`` .
496
496
  :param blocked_dates: An array of one or more dates that you can specify when AWS does not start practice runs for a resource. Dates are in UTC. Specify blocked dates in the format ``YYYY-MM-DD`` , separated by spaces.
497
- :param blocked_windows: An array of one or more days and times that you can specify when Route 53 ARC does not start practice runs for a resource. Days and times are in UTC. Specify blocked windows in the format ``DAY:HH:MM-DAY:HH:MM`` , separated by spaces. For example, ``MON:18:30-MON:19:30 TUE:18:30-TUE:19:30`` .
497
+ :param blocked_windows: An array of one or more days and times that you can specify when ARC does not start practice runs for a resource. Days and times are in UTC. Specify blocked windows in the format ``DAY:HH:MM-DAY:HH:MM`` , separated by spaces. For example, ``MON:18:30-MON:19:30 TUE:18:30-TUE:19:30`` .
498
498
  :param blocking_alarms: An optional alarm that you can specify that blocks practice runs when the alarm is in an ``ALARM`` state. When a blocking alarm goes into an ``ALARM`` state, it prevents practice runs from being started, and ends practice runs that are in progress.
499
499
 
500
500
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arczonalshift-zonalautoshiftconfiguration-practicerunconfiguration.html
@@ -566,7 +566,7 @@ class CfnZonalAutoshiftConfiguration(
566
566
 
567
567
  @builtins.property
568
568
  def blocked_windows(self) -> typing.Optional[typing.List[builtins.str]]:
569
- '''An array of one or more days and times that you can specify when Route 53 ARC does not start practice runs for a resource.
569
+ '''An array of one or more days and times that you can specify when ARC does not start practice runs for a resource.
570
570
 
571
571
  Days and times are in UTC.
572
572
 
@@ -621,7 +621,7 @@ class CfnZonalAutoshiftConfigurationProps:
621
621
  ) -> None:
622
622
  '''Properties for defining a ``CfnZonalAutoshiftConfiguration``.
623
623
 
624
- :param resource_identifier: The identifier for the resource that AWS shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
624
+ :param resource_identifier: The identifier for the resource that AWS shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers.
625
625
  :param practice_run_configuration: A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run configuration, ARC shifts traffic for the resource weekly for practice runs. Practice runs are required for zonal autoshift. The zonal shifts that ARC starts for practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application. You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.
626
626
  :param zonal_autoshift_status: When zonal autoshift is ``ENABLED`` , you authorize AWS to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away for the required weekly practice runs.
627
627
 
@@ -674,7 +674,7 @@ class CfnZonalAutoshiftConfigurationProps:
674
674
 
675
675
  The identifier is the Amazon Resource Name (ARN) for the resource.
676
676
 
677
- At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
677
+ At this time, supported resources are Network Load Balancers and Application Load Balancers.
678
678
 
679
679
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arczonalshift-zonalautoshiftconfiguration.html#cfn-arczonalshift-zonalautoshiftconfiguration-resourceidentifier
680
680
  '''
@@ -2140,12 +2140,12 @@ class CfnWorkGroup(
2140
2140
  enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2141
2141
  encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2142
2142
  ) -> None:
2143
- '''The configuration for the managed query results and encryption option.
2143
+ '''The configuration for storing results in Athena owned storage, which includes whether this feature is enabled;
2144
2144
 
2145
- ResultConfiguration and ManagedQueryResultsConfiguration cannot be set at the same time
2145
+ whether encryption configuration, if any, is used for encrypting query results.
2146
2146
 
2147
- :param enabled:
2148
- :param encryption_configuration: Indicates the encryption configuration for Athena Managed Storage. If not setting this field, Managed Storage will encrypt the query results with Athena's encryption key
2147
+ :param enabled: If set to true, allows you to store query results in Athena owned storage. If set to false, workgroup member stores query results in location specified under ``ResultConfiguration$OutputLocation`` . The default is false. A workgroup cannot have the ``ResultConfiguration$OutputLocation`` parameter when you set this field to true.
2148
+ :param encryption_configuration: If you encrypt query and calculation results in Athena owned storage, this field indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key information.
2149
2149
 
2150
2150
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-managedqueryresultsconfiguration.html
2151
2151
  :exampleMetadata: fixture=_generated
@@ -2177,7 +2177,10 @@ class CfnWorkGroup(
2177
2177
  def enabled(
2178
2178
  self,
2179
2179
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
2180
- '''
2180
+ '''If set to true, allows you to store query results in Athena owned storage.
2181
+
2182
+ If set to false, workgroup member stores query results in location specified under ``ResultConfiguration$OutputLocation`` . The default is false. A workgroup cannot have the ``ResultConfiguration$OutputLocation`` parameter when you set this field to true.
2183
+
2181
2184
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-managedqueryresultsconfiguration.html#cfn-athena-workgroup-managedqueryresultsconfiguration-enabled
2182
2185
  '''
2183
2186
  result = self._values.get("enabled")
@@ -2187,9 +2190,7 @@ class CfnWorkGroup(
2187
2190
  def encryption_configuration(
2188
2191
  self,
2189
2192
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkGroup.ManagedStorageEncryptionConfigurationProperty"]]:
2190
- '''Indicates the encryption configuration for Athena Managed Storage.
2191
-
2192
- If not setting this field, Managed Storage will encrypt the query results with Athena's encryption key
2193
+ '''If you encrypt query and calculation results in Athena owned storage, this field indicates the encryption option (for example, SSE_KMS or CSE_KMS) and key information.
2193
2194
 
2194
2195
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-managedqueryresultsconfiguration.html#cfn-athena-workgroup-managedqueryresultsconfiguration-encryptionconfiguration
2195
2196
  '''
@@ -2631,7 +2632,7 @@ class CfnWorkGroup(
2631
2632
  :param enforce_work_group_configuration: If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see `Override client-side settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2632
2633
  :param engine_version: The engine version that all queries running on the workgroup use.
2633
2634
  :param execution_role: Role used to access user resources in an Athena for Apache Spark session. This property applies only to Spark-enabled workgroups in Athena.
2634
- :param managed_query_results_configuration: The configuration for the managed query results and encryption option. ResultConfiguration and ManagedQueryResultsConfiguration cannot be set at the same time
2635
+ :param managed_query_results_configuration: The configuration for storing results in Athena owned storage, which includes whether this feature is enabled; whether encryption configuration, if any, is used for encrypting query results.
2635
2636
  :param publish_cloud_watch_metrics_enabled: Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
2636
2637
  :param requester_pays_enabled: If set to ``true`` , allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to ``false`` , workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is ``false`` . For more information about Requester Pays buckets, see `Requester Pays Buckets <https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html>`_ in the *Amazon Simple Storage Service Developer Guide* .
2637
2638
  :param result_configuration: Specifies the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. For more information, see `Work with query results and recent queries <https://docs.aws.amazon.com/athena/latest/ug/querying.html>`_ .
@@ -2789,9 +2790,9 @@ class CfnWorkGroup(
2789
2790
  def managed_query_results_configuration(
2790
2791
  self,
2791
2792
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkGroup.ManagedQueryResultsConfigurationProperty"]]:
2792
- '''The configuration for the managed query results and encryption option.
2793
+ '''The configuration for storing results in Athena owned storage, which includes whether this feature is enabled;
2793
2794
 
2794
- ResultConfiguration and ManagedQueryResultsConfiguration cannot be set at the same time
2795
+ whether encryption configuration, if any, is used for encrypting query results.
2795
2796
 
2796
2797
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-managedqueryresultsconfiguration
2797
2798
  '''