aws-cdk-lib 2.185.0__py3-none-any.whl → 2.187.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 (87) hide show
  1. aws_cdk/__init__.py +383 -145
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.185.0.jsii.tgz → aws-cdk-lib@2.187.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +3 -2
  5. aws_cdk/aws_amplify/__init__.py +124 -0
  6. aws_cdk/aws_apigateway/__init__.py +48 -2
  7. aws_cdk/aws_apigatewayv2/__init__.py +9 -0
  8. aws_cdk/aws_appconfig/__init__.py +3 -3
  9. aws_cdk/aws_applicationsignals/__init__.py +363 -3
  10. aws_cdk/aws_appsync/__init__.py +74 -3
  11. aws_cdk/aws_bedrock/__init__.py +395 -14
  12. aws_cdk/aws_cassandra/__init__.py +2 -2
  13. aws_cdk/aws_cleanrooms/__init__.py +21 -9
  14. aws_cdk/aws_cloudformation/__init__.py +1 -5
  15. aws_cdk/aws_cloudfront/__init__.py +15 -1
  16. aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
  17. aws_cdk/aws_cloudtrail/__init__.py +4 -18
  18. aws_cdk/aws_cloudwatch/__init__.py +50 -50
  19. aws_cdk/aws_codeartifact/__init__.py +20 -33
  20. aws_cdk/aws_codebuild/__init__.py +9 -0
  21. aws_cdk/aws_codepipeline/__init__.py +1328 -120
  22. aws_cdk/aws_cognito/__init__.py +1 -1
  23. aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
  24. aws_cdk/aws_config/__init__.py +2 -5
  25. aws_cdk/aws_connect/__init__.py +3 -7
  26. aws_cdk/aws_controltower/__init__.py +18 -26
  27. aws_cdk/aws_datazone/__init__.py +3540 -10
  28. aws_cdk/aws_detective/__init__.py +3 -3
  29. aws_cdk/aws_dynamodb/__init__.py +37 -0
  30. aws_cdk/aws_ec2/__init__.py +714 -37
  31. aws_cdk/aws_ecr/__init__.py +143 -0
  32. aws_cdk/aws_ecr_assets/__init__.py +115 -4
  33. aws_cdk/aws_ecs/__init__.py +66 -20
  34. aws_cdk/aws_eks/__init__.py +114 -0
  35. aws_cdk/aws_events/__init__.py +26 -6
  36. aws_cdk/aws_forecast/__init__.py +1 -1
  37. aws_cdk/aws_fsx/__init__.py +2 -2
  38. aws_cdk/aws_gamelift/__init__.py +11 -11
  39. aws_cdk/aws_iam/__init__.py +264 -0
  40. aws_cdk/aws_identitystore/__init__.py +16 -16
  41. aws_cdk/aws_imagebuilder/__init__.py +3 -27
  42. aws_cdk/aws_iotsitewise/__init__.py +623 -0
  43. aws_cdk/aws_kinesisfirehose/__init__.py +2 -3
  44. aws_cdk/aws_kms/__init__.py +10 -11
  45. aws_cdk/aws_lakeformation/__init__.py +3 -3
  46. aws_cdk/aws_lambda/__init__.py +112 -5
  47. aws_cdk/aws_lambda_event_sources/__init__.py +65 -3
  48. aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
  49. aws_cdk/aws_lex/__init__.py +981 -5
  50. aws_cdk/aws_location/__init__.py +24 -7
  51. aws_cdk/aws_mediaconnect/__init__.py +714 -290
  52. aws_cdk/aws_msk/__init__.py +8 -2
  53. aws_cdk/aws_mwaa/__init__.py +9 -9
  54. aws_cdk/aws_networkfirewall/__init__.py +60 -12
  55. aws_cdk/aws_oam/__init__.py +8 -37
  56. aws_cdk/aws_omics/__init__.py +216 -0
  57. aws_cdk/aws_quicksight/__init__.py +250 -108
  58. aws_cdk/aws_rds/__init__.py +102 -10
  59. aws_cdk/aws_redshiftserverless/__init__.py +192 -15
  60. aws_cdk/aws_route53/__init__.py +2 -2
  61. aws_cdk/aws_route53recoverycontrol/__init__.py +43 -2
  62. aws_cdk/aws_rum/__init__.py +315 -52
  63. aws_cdk/aws_s3_assets/__init__.py +70 -1
  64. aws_cdk/aws_s3_deployment/__init__.py +4 -0
  65. aws_cdk/aws_sagemaker/__init__.py +6 -4
  66. aws_cdk/aws_scheduler/__init__.py +3944 -121
  67. aws_cdk/aws_scheduler_targets/__init__.py +4460 -0
  68. aws_cdk/aws_securitylake/__init__.py +2 -2
  69. aws_cdk/aws_servicecatalog/__init__.py +4 -0
  70. aws_cdk/aws_sns/__init__.py +1 -1
  71. aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
  72. aws_cdk/aws_stepfunctions/__init__.py +8 -0
  73. aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
  74. aws_cdk/aws_synthetics/__init__.py +9 -0
  75. aws_cdk/aws_systemsmanagersap/__init__.py +150 -0
  76. aws_cdk/aws_timestream/__init__.py +4 -4
  77. aws_cdk/aws_wafv2/__init__.py +1117 -1446
  78. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  79. aws_cdk/cloud_assembly_schema/__init__.py +60 -10
  80. aws_cdk/cx_api/__init__.py +38 -0
  81. aws_cdk/pipelines/__init__.py +20 -2
  82. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/METADATA +4 -4
  83. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/RECORD +87 -85
  84. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/WHEEL +1 -1
  85. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/LICENSE +0 -0
  86. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/NOTICE +0 -0
  87. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/top_level.txt +0 -0
aws_cdk/_jsii/__init__.py CHANGED
@@ -34,7 +34,7 @@ import aws_cdk.cloud_assembly_schema._jsii
34
34
  import constructs._jsii
35
35
 
36
36
  __jsii_assembly__ = jsii.JSIIAssembly.load(
37
- "aws-cdk-lib", "2.185.0", __name__[0:-6], "aws-cdk-lib@2.185.0.jsii.tgz"
37
+ "aws-cdk-lib", "2.187.0", __name__[0:-6], "aws-cdk-lib@2.187.0.jsii.tgz"
38
38
  )
39
39
 
40
40
  __all__ = [
@@ -1382,7 +1382,7 @@ class CfnBroker(
1382
1382
  :param username: The username of the broker user. For Amazon MQ for ActiveMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). For Amazon MQ for RabbitMQ brokers, this value can contain only alphanumeric characters, dashes, periods, underscores (- . _). This value must not contain a tilde (~) character. Amazon MQ prohibts using guest as a valid usename. This value must be 2-100 characters long. .. epigraph:: Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other AWS services, including CloudWatch Logs . Broker usernames are not intended to be used for private or sensitive data.
1383
1383
  :param console_access: Enables access to the ActiveMQ web console for the ActiveMQ user. Does not apply to RabbitMQ brokers.
1384
1384
  :param groups: The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long. Does not apply to RabbitMQ brokers.
1385
- :param jolokia_api_access:
1385
+ :param jolokia_api_access: Turn on Jolokia access for your ActiveMQ broker user (Does not apply to RabbitMQ brokers).
1386
1386
  :param replication_user: Defines if this user is intended for CRDR replication purposes.
1387
1387
 
1388
1388
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html
@@ -1479,7 +1479,8 @@ class CfnBroker(
1479
1479
 
1480
1480
  @builtins.property
1481
1481
  def jolokia_api_access(self) -> typing.Optional[builtins.str]:
1482
- '''
1482
+ '''Turn on Jolokia access for your ActiveMQ broker user (Does not apply to RabbitMQ brokers).
1483
+
1483
1484
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-jolokiaapiaccess
1484
1485
  '''
1485
1486
  result = self._values.get("jolokia_api_access")
@@ -128,6 +128,7 @@ class CfnApp(
128
128
  cache_config=amplify.CfnApp.CacheConfigProperty(
129
129
  type="type"
130
130
  ),
131
+ compute_role_arn="computeRoleArn",
131
132
  custom_headers="customHeaders",
132
133
  custom_rules=[amplify.CfnApp.CustomRuleProperty(
133
134
  source="source",
@@ -165,6 +166,7 @@ class CfnApp(
165
166
  basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.BasicAuthConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
166
167
  build_spec: typing.Optional[builtins.str] = None,
167
168
  cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.CacheConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
169
+ compute_role_arn: typing.Optional[builtins.str] = None,
168
170
  custom_headers: typing.Optional[builtins.str] = None,
169
171
  custom_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.CustomRuleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
170
172
  description: typing.Optional[builtins.str] = None,
@@ -185,6 +187,7 @@ class CfnApp(
185
187
  :param basic_auth_config: The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format ``user:password`` .
186
188
  :param build_spec: The build specification (build spec) for an Amplify app.
187
189
  :param cache_config: The cache configuration for the Amplify app. If you don't specify the cache configuration ``type`` , Amplify uses the default ``AMPLIFY_MANAGED`` setting.
190
+ :param compute_role_arn:
188
191
  :param custom_headers: The custom HTTP headers for an Amplify app.
189
192
  :param custom_rules: The custom rewrite and redirect rules for an Amplify app.
190
193
  :param description: The description of the Amplify app.
@@ -207,6 +210,7 @@ class CfnApp(
207
210
  basic_auth_config=basic_auth_config,
208
211
  build_spec=build_spec,
209
212
  cache_config=cache_config,
213
+ compute_role_arn=compute_role_arn,
210
214
  custom_headers=custom_headers,
211
215
  custom_rules=custom_rules,
212
216
  description=description,
@@ -391,6 +395,18 @@ class CfnApp(
391
395
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
392
396
  jsii.set(self, "cacheConfig", value) # pyright: ignore[reportArgumentType]
393
397
 
398
+ @builtins.property
399
+ @jsii.member(jsii_name="computeRoleArn")
400
+ def compute_role_arn(self) -> typing.Optional[builtins.str]:
401
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "computeRoleArn"))
402
+
403
+ @compute_role_arn.setter
404
+ def compute_role_arn(self, value: typing.Optional[builtins.str]) -> None:
405
+ if __debug__:
406
+ type_hints = typing.get_type_hints(_typecheckingstub__d55f0c87bc50af5a1e7d9bf3f8fca41d5e5a849cb69dbf43ca51f24872058be8)
407
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
408
+ jsii.set(self, "computeRoleArn", value) # pyright: ignore[reportArgumentType]
409
+
394
410
  @builtins.property
395
411
  @jsii.member(jsii_name="customHeaders")
396
412
  def custom_headers(self) -> typing.Optional[builtins.str]:
@@ -1133,6 +1149,7 @@ class CfnApp(
1133
1149
  "basic_auth_config": "basicAuthConfig",
1134
1150
  "build_spec": "buildSpec",
1135
1151
  "cache_config": "cacheConfig",
1152
+ "compute_role_arn": "computeRoleArn",
1136
1153
  "custom_headers": "customHeaders",
1137
1154
  "custom_rules": "customRules",
1138
1155
  "description": "description",
@@ -1155,6 +1172,7 @@ class CfnAppProps:
1155
1172
  basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1156
1173
  build_spec: typing.Optional[builtins.str] = None,
1157
1174
  cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CacheConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1175
+ compute_role_arn: typing.Optional[builtins.str] = None,
1158
1176
  custom_headers: typing.Optional[builtins.str] = None,
1159
1177
  custom_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CustomRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
1160
1178
  description: typing.Optional[builtins.str] = None,
@@ -1174,6 +1192,7 @@ class CfnAppProps:
1174
1192
  :param basic_auth_config: The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format ``user:password`` .
1175
1193
  :param build_spec: The build specification (build spec) for an Amplify app.
1176
1194
  :param cache_config: The cache configuration for the Amplify app. If you don't specify the cache configuration ``type`` , Amplify uses the default ``AMPLIFY_MANAGED`` setting.
1195
+ :param compute_role_arn:
1177
1196
  :param custom_headers: The custom HTTP headers for an Amplify app.
1178
1197
  :param custom_rules: The custom rewrite and redirect rules for an Amplify app.
1179
1198
  :param description: The description of the Amplify app.
@@ -1228,6 +1247,7 @@ class CfnAppProps:
1228
1247
  cache_config=amplify.CfnApp.CacheConfigProperty(
1229
1248
  type="type"
1230
1249
  ),
1250
+ compute_role_arn="computeRoleArn",
1231
1251
  custom_headers="customHeaders",
1232
1252
  custom_rules=[amplify.CfnApp.CustomRuleProperty(
1233
1253
  source="source",
@@ -1261,6 +1281,7 @@ class CfnAppProps:
1261
1281
  check_type(argname="argument basic_auth_config", value=basic_auth_config, expected_type=type_hints["basic_auth_config"])
1262
1282
  check_type(argname="argument build_spec", value=build_spec, expected_type=type_hints["build_spec"])
1263
1283
  check_type(argname="argument cache_config", value=cache_config, expected_type=type_hints["cache_config"])
1284
+ check_type(argname="argument compute_role_arn", value=compute_role_arn, expected_type=type_hints["compute_role_arn"])
1264
1285
  check_type(argname="argument custom_headers", value=custom_headers, expected_type=type_hints["custom_headers"])
1265
1286
  check_type(argname="argument custom_rules", value=custom_rules, expected_type=type_hints["custom_rules"])
1266
1287
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
@@ -1284,6 +1305,8 @@ class CfnAppProps:
1284
1305
  self._values["build_spec"] = build_spec
1285
1306
  if cache_config is not None:
1286
1307
  self._values["cache_config"] = cache_config
1308
+ if compute_role_arn is not None:
1309
+ self._values["compute_role_arn"] = compute_role_arn
1287
1310
  if custom_headers is not None:
1288
1311
  self._values["custom_headers"] = custom_headers
1289
1312
  if custom_rules is not None:
@@ -1378,6 +1401,14 @@ class CfnAppProps:
1378
1401
  result = self._values.get("cache_config")
1379
1402
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.CacheConfigProperty]], result)
1380
1403
 
1404
+ @builtins.property
1405
+ def compute_role_arn(self) -> typing.Optional[builtins.str]:
1406
+ '''
1407
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-computerolearn
1408
+ '''
1409
+ result = self._values.get("compute_role_arn")
1410
+ return typing.cast(typing.Optional[builtins.str], result)
1411
+
1381
1412
  @builtins.property
1382
1413
  def custom_headers(self) -> typing.Optional[builtins.str]:
1383
1414
  '''The custom HTTP headers for an Amplify app.
@@ -1534,10 +1565,12 @@ class CfnBranch(
1534
1565
  enable_basic_auth=False
1535
1566
  ),
1536
1567
  build_spec="buildSpec",
1568
+ compute_role_arn="computeRoleArn",
1537
1569
  description="description",
1538
1570
  enable_auto_build=False,
1539
1571
  enable_performance_mode=False,
1540
1572
  enable_pull_request_preview=False,
1573
+ enable_skew_protection=False,
1541
1574
  environment_variables=[amplify.CfnBranch.EnvironmentVariableProperty(
1542
1575
  name="name",
1543
1576
  value="value"
@@ -1562,10 +1595,12 @@ class CfnBranch(
1562
1595
  backend: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBranch.BackendProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1563
1596
  basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBranch.BasicAuthConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1564
1597
  build_spec: typing.Optional[builtins.str] = None,
1598
+ compute_role_arn: typing.Optional[builtins.str] = None,
1565
1599
  description: typing.Optional[builtins.str] = None,
1566
1600
  enable_auto_build: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1567
1601
  enable_performance_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1568
1602
  enable_pull_request_preview: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1603
+ enable_skew_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1569
1604
  environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBranch.EnvironmentVariableProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
1570
1605
  framework: typing.Optional[builtins.str] = None,
1571
1606
  pull_request_environment_name: typing.Optional[builtins.str] = None,
@@ -1580,10 +1615,12 @@ class CfnBranch(
1580
1615
  :param backend: The backend for a ``Branch`` of an Amplify app. Use for a backend created from an AWS CloudFormation stack. This field is available to Amplify Gen 2 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
1581
1616
  :param basic_auth_config: The basic authorization credentials for a branch of an Amplify app. You must base64-encode the authorization credentials and provide them in the format ``user:password`` .
1582
1617
  :param build_spec: The build specification (build spec) for the branch.
1618
+ :param compute_role_arn:
1583
1619
  :param description: The description for the branch that is part of an Amplify app.
1584
1620
  :param enable_auto_build: Enables auto building for the branch.
1585
1621
  :param enable_performance_mode: Enables performance mode for the branch. Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
1586
1622
  :param enable_pull_request_preview: Specifies whether Amplify Hosting creates a preview for each pull request that is made for this branch. If this property is enabled, Amplify deploys your app to a unique preview URL after each pull request is opened. Development and QA teams can use this preview to test the pull request before it's merged into a production or integration branch. To provide backend support for your preview, Amplify automatically provisions a temporary backend environment that it deletes when the pull request is closed. If you want to specify a dedicated backend environment for your previews, use the ``PullRequestEnvironmentName`` property. For more information, see `Web Previews <https://docs.aws.amazon.com/amplify/latest/userguide/pr-previews.html>`_ in the *AWS Amplify Hosting User Guide* .
1623
+ :param enable_skew_protection:
1587
1624
  :param environment_variables: The environment variables for the branch.
1588
1625
  :param framework: The framework for the branch.
1589
1626
  :param pull_request_environment_name: If pull request previews are enabled for this branch, you can use this property to specify a dedicated backend environment for your previews. For example, you could specify an environment named ``prod`` , ``test`` , or ``dev`` that you initialized with the Amplify CLI and mapped to this branch. To enable pull request previews, set the ``EnablePullRequestPreview`` property to ``true`` . If you don't specify an environment, Amplify Hosting provides backend support for each preview by automatically provisioning a temporary backend environment. Amplify Hosting deletes this environment when the pull request is closed. For more information about creating backend environments, see `Feature Branch Deployments and Team Workflows <https://docs.aws.amazon.com/amplify/latest/userguide/multi-environments.html>`_ in the *AWS Amplify Hosting User Guide* .
@@ -1600,10 +1637,12 @@ class CfnBranch(
1600
1637
  backend=backend,
1601
1638
  basic_auth_config=basic_auth_config,
1602
1639
  build_spec=build_spec,
1640
+ compute_role_arn=compute_role_arn,
1603
1641
  description=description,
1604
1642
  enable_auto_build=enable_auto_build,
1605
1643
  enable_performance_mode=enable_performance_mode,
1606
1644
  enable_pull_request_preview=enable_pull_request_preview,
1645
+ enable_skew_protection=enable_skew_protection,
1607
1646
  environment_variables=environment_variables,
1608
1647
  framework=framework,
1609
1648
  pull_request_environment_name=pull_request_environment_name,
@@ -1750,6 +1789,18 @@ class CfnBranch(
1750
1789
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1751
1790
  jsii.set(self, "buildSpec", value) # pyright: ignore[reportArgumentType]
1752
1791
 
1792
+ @builtins.property
1793
+ @jsii.member(jsii_name="computeRoleArn")
1794
+ def compute_role_arn(self) -> typing.Optional[builtins.str]:
1795
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "computeRoleArn"))
1796
+
1797
+ @compute_role_arn.setter
1798
+ def compute_role_arn(self, value: typing.Optional[builtins.str]) -> None:
1799
+ if __debug__:
1800
+ type_hints = typing.get_type_hints(_typecheckingstub__50c29bd1063cbc0e1fa76d9721d838c59c46a84f1257f3ced31f3d727d6f9e36)
1801
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1802
+ jsii.set(self, "computeRoleArn", value) # pyright: ignore[reportArgumentType]
1803
+
1753
1804
  @builtins.property
1754
1805
  @jsii.member(jsii_name="description")
1755
1806
  def description(self) -> typing.Optional[builtins.str]:
@@ -1817,6 +1868,23 @@ class CfnBranch(
1817
1868
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1818
1869
  jsii.set(self, "enablePullRequestPreview", value) # pyright: ignore[reportArgumentType]
1819
1870
 
1871
+ @builtins.property
1872
+ @jsii.member(jsii_name="enableSkewProtection")
1873
+ def enable_skew_protection(
1874
+ self,
1875
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1876
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enableSkewProtection"))
1877
+
1878
+ @enable_skew_protection.setter
1879
+ def enable_skew_protection(
1880
+ self,
1881
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
1882
+ ) -> None:
1883
+ if __debug__:
1884
+ type_hints = typing.get_type_hints(_typecheckingstub__432a4942ceb7d62c4b8b4afa118592daeb5e524bc422ad19ea2bc1d797199dac)
1885
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1886
+ jsii.set(self, "enableSkewProtection", value) # pyright: ignore[reportArgumentType]
1887
+
1820
1888
  @builtins.property
1821
1889
  @jsii.member(jsii_name="environmentVariables")
1822
1890
  def environment_variables(
@@ -2114,10 +2182,12 @@ class CfnBranch(
2114
2182
  "backend": "backend",
2115
2183
  "basic_auth_config": "basicAuthConfig",
2116
2184
  "build_spec": "buildSpec",
2185
+ "compute_role_arn": "computeRoleArn",
2117
2186
  "description": "description",
2118
2187
  "enable_auto_build": "enableAutoBuild",
2119
2188
  "enable_performance_mode": "enablePerformanceMode",
2120
2189
  "enable_pull_request_preview": "enablePullRequestPreview",
2190
+ "enable_skew_protection": "enableSkewProtection",
2121
2191
  "environment_variables": "environmentVariables",
2122
2192
  "framework": "framework",
2123
2193
  "pull_request_environment_name": "pullRequestEnvironmentName",
@@ -2134,10 +2204,12 @@ class CfnBranchProps:
2134
2204
  backend: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBranch.BackendProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2135
2205
  basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBranch.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2136
2206
  build_spec: typing.Optional[builtins.str] = None,
2207
+ compute_role_arn: typing.Optional[builtins.str] = None,
2137
2208
  description: typing.Optional[builtins.str] = None,
2138
2209
  enable_auto_build: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2139
2210
  enable_performance_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2140
2211
  enable_pull_request_preview: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2212
+ enable_skew_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2141
2213
  environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBranch.EnvironmentVariableProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2142
2214
  framework: typing.Optional[builtins.str] = None,
2143
2215
  pull_request_environment_name: typing.Optional[builtins.str] = None,
@@ -2151,10 +2223,12 @@ class CfnBranchProps:
2151
2223
  :param backend: The backend for a ``Branch`` of an Amplify app. Use for a backend created from an AWS CloudFormation stack. This field is available to Amplify Gen 2 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.
2152
2224
  :param basic_auth_config: The basic authorization credentials for a branch of an Amplify app. You must base64-encode the authorization credentials and provide them in the format ``user:password`` .
2153
2225
  :param build_spec: The build specification (build spec) for the branch.
2226
+ :param compute_role_arn:
2154
2227
  :param description: The description for the branch that is part of an Amplify app.
2155
2228
  :param enable_auto_build: Enables auto building for the branch.
2156
2229
  :param enable_performance_mode: Enables performance mode for the branch. Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
2157
2230
  :param enable_pull_request_preview: Specifies whether Amplify Hosting creates a preview for each pull request that is made for this branch. If this property is enabled, Amplify deploys your app to a unique preview URL after each pull request is opened. Development and QA teams can use this preview to test the pull request before it's merged into a production or integration branch. To provide backend support for your preview, Amplify automatically provisions a temporary backend environment that it deletes when the pull request is closed. If you want to specify a dedicated backend environment for your previews, use the ``PullRequestEnvironmentName`` property. For more information, see `Web Previews <https://docs.aws.amazon.com/amplify/latest/userguide/pr-previews.html>`_ in the *AWS Amplify Hosting User Guide* .
2231
+ :param enable_skew_protection:
2158
2232
  :param environment_variables: The environment variables for the branch.
2159
2233
  :param framework: The framework for the branch.
2160
2234
  :param pull_request_environment_name: If pull request previews are enabled for this branch, you can use this property to specify a dedicated backend environment for your previews. For example, you could specify an environment named ``prod`` , ``test`` , or ``dev`` that you initialized with the Amplify CLI and mapped to this branch. To enable pull request previews, set the ``EnablePullRequestPreview`` property to ``true`` . If you don't specify an environment, Amplify Hosting provides backend support for each preview by automatically provisioning a temporary backend environment. Amplify Hosting deletes this environment when the pull request is closed. For more information about creating backend environments, see `Feature Branch Deployments and Team Workflows <https://docs.aws.amazon.com/amplify/latest/userguide/multi-environments.html>`_ in the *AWS Amplify Hosting User Guide* .
@@ -2186,10 +2260,12 @@ class CfnBranchProps:
2186
2260
  enable_basic_auth=False
2187
2261
  ),
2188
2262
  build_spec="buildSpec",
2263
+ compute_role_arn="computeRoleArn",
2189
2264
  description="description",
2190
2265
  enable_auto_build=False,
2191
2266
  enable_performance_mode=False,
2192
2267
  enable_pull_request_preview=False,
2268
+ enable_skew_protection=False,
2193
2269
  environment_variables=[amplify.CfnBranch.EnvironmentVariableProperty(
2194
2270
  name="name",
2195
2271
  value="value"
@@ -2210,10 +2286,12 @@ class CfnBranchProps:
2210
2286
  check_type(argname="argument backend", value=backend, expected_type=type_hints["backend"])
2211
2287
  check_type(argname="argument basic_auth_config", value=basic_auth_config, expected_type=type_hints["basic_auth_config"])
2212
2288
  check_type(argname="argument build_spec", value=build_spec, expected_type=type_hints["build_spec"])
2289
+ check_type(argname="argument compute_role_arn", value=compute_role_arn, expected_type=type_hints["compute_role_arn"])
2213
2290
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
2214
2291
  check_type(argname="argument enable_auto_build", value=enable_auto_build, expected_type=type_hints["enable_auto_build"])
2215
2292
  check_type(argname="argument enable_performance_mode", value=enable_performance_mode, expected_type=type_hints["enable_performance_mode"])
2216
2293
  check_type(argname="argument enable_pull_request_preview", value=enable_pull_request_preview, expected_type=type_hints["enable_pull_request_preview"])
2294
+ check_type(argname="argument enable_skew_protection", value=enable_skew_protection, expected_type=type_hints["enable_skew_protection"])
2217
2295
  check_type(argname="argument environment_variables", value=environment_variables, expected_type=type_hints["environment_variables"])
2218
2296
  check_type(argname="argument framework", value=framework, expected_type=type_hints["framework"])
2219
2297
  check_type(argname="argument pull_request_environment_name", value=pull_request_environment_name, expected_type=type_hints["pull_request_environment_name"])
@@ -2229,6 +2307,8 @@ class CfnBranchProps:
2229
2307
  self._values["basic_auth_config"] = basic_auth_config
2230
2308
  if build_spec is not None:
2231
2309
  self._values["build_spec"] = build_spec
2310
+ if compute_role_arn is not None:
2311
+ self._values["compute_role_arn"] = compute_role_arn
2232
2312
  if description is not None:
2233
2313
  self._values["description"] = description
2234
2314
  if enable_auto_build is not None:
@@ -2237,6 +2317,8 @@ class CfnBranchProps:
2237
2317
  self._values["enable_performance_mode"] = enable_performance_mode
2238
2318
  if enable_pull_request_preview is not None:
2239
2319
  self._values["enable_pull_request_preview"] = enable_pull_request_preview
2320
+ if enable_skew_protection is not None:
2321
+ self._values["enable_skew_protection"] = enable_skew_protection
2240
2322
  if environment_variables is not None:
2241
2323
  self._values["environment_variables"] = environment_variables
2242
2324
  if framework is not None:
@@ -2303,6 +2385,14 @@ class CfnBranchProps:
2303
2385
  result = self._values.get("build_spec")
2304
2386
  return typing.cast(typing.Optional[builtins.str], result)
2305
2387
 
2388
+ @builtins.property
2389
+ def compute_role_arn(self) -> typing.Optional[builtins.str]:
2390
+ '''
2391
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-computerolearn
2392
+ '''
2393
+ result = self._values.get("compute_role_arn")
2394
+ return typing.cast(typing.Optional[builtins.str], result)
2395
+
2306
2396
  @builtins.property
2307
2397
  def description(self) -> typing.Optional[builtins.str]:
2308
2398
  '''The description for the branch that is part of an Amplify app.
@@ -2353,6 +2443,16 @@ class CfnBranchProps:
2353
2443
  result = self._values.get("enable_pull_request_preview")
2354
2444
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
2355
2445
 
2446
+ @builtins.property
2447
+ def enable_skew_protection(
2448
+ self,
2449
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
2450
+ '''
2451
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-enableskewprotection
2452
+ '''
2453
+ result = self._values.get("enable_skew_protection")
2454
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
2455
+
2356
2456
  @builtins.property
2357
2457
  def environment_variables(
2358
2458
  self,
@@ -3187,6 +3287,7 @@ def _typecheckingstub__8dc8d772047a068d22a76d907b344356448c6a26d23e419ed69cc622d
3187
3287
  basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3188
3288
  build_spec: typing.Optional[builtins.str] = None,
3189
3289
  cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CacheConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3290
+ compute_role_arn: typing.Optional[builtins.str] = None,
3190
3291
  custom_headers: typing.Optional[builtins.str] = None,
3191
3292
  custom_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CustomRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3192
3293
  description: typing.Optional[builtins.str] = None,
@@ -3249,6 +3350,12 @@ def _typecheckingstub__1e0b47cf174f09e141957cc84bc0f442ba70bbfa96a59aad74b66dab1
3249
3350
  """Type checking stubs"""
3250
3351
  pass
3251
3352
 
3353
+ def _typecheckingstub__d55f0c87bc50af5a1e7d9bf3f8fca41d5e5a849cb69dbf43ca51f24872058be8(
3354
+ value: typing.Optional[builtins.str],
3355
+ ) -> None:
3356
+ """Type checking stubs"""
3357
+ pass
3358
+
3252
3359
  def _typecheckingstub__623b6d97b6b1967c76a0782c9ba61b276ee5ff570dad9ab0003baf0626317805(
3253
3360
  value: typing.Optional[builtins.str],
3254
3361
  ) -> None:
@@ -3368,6 +3475,7 @@ def _typecheckingstub__cfa8f09e6d42b5d6d1122d3e9214ec780302e9c3fda48d7ca044dd076
3368
3475
  basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3369
3476
  build_spec: typing.Optional[builtins.str] = None,
3370
3477
  cache_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CacheConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3478
+ compute_role_arn: typing.Optional[builtins.str] = None,
3371
3479
  custom_headers: typing.Optional[builtins.str] = None,
3372
3480
  custom_rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.CustomRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3373
3481
  description: typing.Optional[builtins.str] = None,
@@ -3391,10 +3499,12 @@ def _typecheckingstub__859cd0a15aef1449f80ffe32589fdb895b13f3510c6905791c3eea033
3391
3499
  backend: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBranch.BackendProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3392
3500
  basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBranch.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3393
3501
  build_spec: typing.Optional[builtins.str] = None,
3502
+ compute_role_arn: typing.Optional[builtins.str] = None,
3394
3503
  description: typing.Optional[builtins.str] = None,
3395
3504
  enable_auto_build: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3396
3505
  enable_performance_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3397
3506
  enable_pull_request_preview: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3507
+ enable_skew_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3398
3508
  environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBranch.EnvironmentVariableProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3399
3509
  framework: typing.Optional[builtins.str] = None,
3400
3510
  pull_request_environment_name: typing.Optional[builtins.str] = None,
@@ -3446,6 +3556,12 @@ def _typecheckingstub__ae472a508b2b0e4a122ae35d93c8733d00df3680d8823bd2ad857acc2
3446
3556
  """Type checking stubs"""
3447
3557
  pass
3448
3558
 
3559
+ def _typecheckingstub__50c29bd1063cbc0e1fa76d9721d838c59c46a84f1257f3ced31f3d727d6f9e36(
3560
+ value: typing.Optional[builtins.str],
3561
+ ) -> None:
3562
+ """Type checking stubs"""
3563
+ pass
3564
+
3449
3565
  def _typecheckingstub__a71cabeaa4605532f47314006f7075821b92f53c6bdb0be7bbb3c0f09ff70ea2(
3450
3566
  value: typing.Optional[builtins.str],
3451
3567
  ) -> None:
@@ -3470,6 +3586,12 @@ def _typecheckingstub__6c8216d12e1375a7227a3e83088f390c0e7d3575f804bea24c90bc6e4
3470
3586
  """Type checking stubs"""
3471
3587
  pass
3472
3588
 
3589
+ def _typecheckingstub__432a4942ceb7d62c4b8b4afa118592daeb5e524bc422ad19ea2bc1d797199dac(
3590
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
3591
+ ) -> None:
3592
+ """Type checking stubs"""
3593
+ pass
3594
+
3473
3595
  def _typecheckingstub__8ff5456e47cd7b5d2fb38bcf736c28804423dcef024c2d036243fc28345dd532(
3474
3596
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnBranch.EnvironmentVariableProperty]]]],
3475
3597
  ) -> None:
@@ -3531,10 +3653,12 @@ def _typecheckingstub__57c0d80a85d344dca51e3abe3e5e1ee9fff906ef48fa3809bec9a68a3
3531
3653
  backend: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBranch.BackendProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3532
3654
  basic_auth_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBranch.BasicAuthConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3533
3655
  build_spec: typing.Optional[builtins.str] = None,
3656
+ compute_role_arn: typing.Optional[builtins.str] = None,
3534
3657
  description: typing.Optional[builtins.str] = None,
3535
3658
  enable_auto_build: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3536
3659
  enable_performance_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3537
3660
  enable_pull_request_preview: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3661
+ enable_skew_protection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3538
3662
  environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBranch.EnvironmentVariableProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3539
3663
  framework: typing.Optional[builtins.str] = None,
3540
3664
  pull_request_environment_name: typing.Optional[builtins.str] = None,