aws-cdk-lib 2.186.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 (62) hide show
  1. aws_cdk/__init__.py +281 -116
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.186.0.jsii.tgz → aws-cdk-lib@2.187.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +124 -0
  5. aws_cdk/aws_apigateway/__init__.py +48 -2
  6. aws_cdk/aws_appsync/__init__.py +14 -5
  7. aws_cdk/aws_bedrock/__init__.py +32 -22
  8. aws_cdk/aws_cassandra/__init__.py +2 -2
  9. aws_cdk/aws_cloudfront/__init__.py +11 -0
  10. aws_cdk/aws_cloudtrail/__init__.py +4 -18
  11. aws_cdk/aws_cloudwatch/__init__.py +50 -50
  12. aws_cdk/aws_codebuild/__init__.py +9 -0
  13. aws_cdk/aws_config/__init__.py +2 -5
  14. aws_cdk/aws_datazone/__init__.py +287 -226
  15. aws_cdk/aws_detective/__init__.py +3 -3
  16. aws_cdk/aws_dynamodb/__init__.py +37 -0
  17. aws_cdk/aws_ec2/__init__.py +154 -12
  18. aws_cdk/aws_ecr/__init__.py +143 -0
  19. aws_cdk/aws_ecr_assets/__init__.py +115 -4
  20. aws_cdk/aws_ecs/__init__.py +51 -0
  21. aws_cdk/aws_eks/__init__.py +114 -0
  22. aws_cdk/aws_events/__init__.py +8 -11
  23. aws_cdk/aws_forecast/__init__.py +1 -1
  24. aws_cdk/aws_fsx/__init__.py +2 -2
  25. aws_cdk/aws_gamelift/__init__.py +6 -6
  26. aws_cdk/aws_identitystore/__init__.py +16 -16
  27. aws_cdk/aws_iotsitewise/__init__.py +623 -0
  28. aws_cdk/aws_kms/__init__.py +10 -11
  29. aws_cdk/aws_lakeformation/__init__.py +3 -3
  30. aws_cdk/aws_lambda/__init__.py +105 -4
  31. aws_cdk/aws_lambda_event_sources/__init__.py +65 -3
  32. aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
  33. aws_cdk/aws_lex/__init__.py +981 -5
  34. aws_cdk/aws_mediaconnect/__init__.py +714 -290
  35. aws_cdk/aws_mwaa/__init__.py +9 -9
  36. aws_cdk/aws_networkfirewall/__init__.py +44 -0
  37. aws_cdk/aws_omics/__init__.py +216 -0
  38. aws_cdk/aws_quicksight/__init__.py +244 -39
  39. aws_cdk/aws_rds/__init__.py +102 -10
  40. aws_cdk/aws_route53/__init__.py +2 -2
  41. aws_cdk/aws_route53recoverycontrol/__init__.py +43 -2
  42. aws_cdk/aws_s3_assets/__init__.py +70 -1
  43. aws_cdk/aws_s3_deployment/__init__.py +4 -0
  44. aws_cdk/aws_sagemaker/__init__.py +6 -4
  45. aws_cdk/aws_scheduler_targets/__init__.py +4 -16
  46. aws_cdk/aws_securitylake/__init__.py +2 -2
  47. aws_cdk/aws_servicecatalog/__init__.py +4 -0
  48. aws_cdk/aws_sns/__init__.py +1 -1
  49. aws_cdk/aws_stepfunctions/__init__.py +23 -17
  50. aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
  51. aws_cdk/aws_synthetics/__init__.py +9 -0
  52. aws_cdk/aws_systemsmanagersap/__init__.py +150 -0
  53. aws_cdk/aws_wafv2/__init__.py +464 -1138
  54. aws_cdk/cloud_assembly_schema/__init__.py +60 -10
  55. aws_cdk/cx_api/__init__.py +15 -0
  56. aws_cdk/pipelines/__init__.py +20 -2
  57. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/METADATA +4 -4
  58. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/RECORD +62 -62
  59. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/WHEEL +1 -1
  60. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/LICENSE +0 -0
  61. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/NOTICE +0 -0
  62. {aws_cdk_lib-2.186.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.186.0", __name__[0:-6], "aws-cdk-lib@2.186.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__ = [
@@ -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,
@@ -2834,6 +2834,7 @@ class ApiDefinition(
2834
2834
  file: builtins.str,
2835
2835
  *,
2836
2836
  deploy_time: typing.Optional[builtins.bool] = None,
2837
+ display_name: typing.Optional[builtins.str] = None,
2837
2838
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
2838
2839
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
2839
2840
  asset_hash: typing.Optional[builtins.str] = None,
@@ -2847,6 +2848,7 @@ class ApiDefinition(
2847
2848
 
2848
2849
  :param file: -
2849
2850
  :param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
2851
+ :param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
2850
2852
  :param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
2851
2853
  :param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
2852
2854
  :param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
@@ -2861,6 +2863,7 @@ class ApiDefinition(
2861
2863
  check_type(argname="argument file", value=file, expected_type=type_hints["file"])
2862
2864
  options = _AssetOptions_2aa69621(
2863
2865
  deploy_time=deploy_time,
2866
+ display_name=display_name,
2864
2867
  readers=readers,
2865
2868
  source_kms_key=source_kms_key,
2866
2869
  asset_hash=asset_hash,
@@ -3266,6 +3269,7 @@ class AssetApiDefinition(
3266
3269
  path: builtins.str,
3267
3270
  *,
3268
3271
  deploy_time: typing.Optional[builtins.bool] = None,
3272
+ display_name: typing.Optional[builtins.str] = None,
3269
3273
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
3270
3274
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
3271
3275
  asset_hash: typing.Optional[builtins.str] = None,
@@ -3278,6 +3282,7 @@ class AssetApiDefinition(
3278
3282
  '''
3279
3283
  :param path: -
3280
3284
  :param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
3285
+ :param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
3281
3286
  :param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
3282
3287
  :param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
3283
3288
  :param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
@@ -3292,6 +3297,7 @@ class AssetApiDefinition(
3292
3297
  check_type(argname="argument path", value=path, expected_type=type_hints["path"])
3293
3298
  options = _AssetOptions_2aa69621(
3294
3299
  deploy_time=deploy_time,
3300
+ display_name=display_name,
3295
3301
  readers=readers,
3296
3302
  source_kms_key=source_kms_key,
3297
3303
  asset_hash=asset_hash,
@@ -7703,6 +7709,7 @@ class CfnDomainName(
7703
7709
  certificate_arn="certificateArn",
7704
7710
  domain_name="domainName",
7705
7711
  endpoint_configuration=apigateway.CfnDomainName.EndpointConfigurationProperty(
7712
+ ip_address_type="ipAddressType",
7706
7713
  types=["types"]
7707
7714
  ),
7708
7715
  mutual_tls_authentication=apigateway.CfnDomainName.MutualTlsAuthenticationProperty(
@@ -7967,18 +7974,20 @@ class CfnDomainName(
7967
7974
  @jsii.data_type(
7968
7975
  jsii_type="aws-cdk-lib.aws_apigateway.CfnDomainName.EndpointConfigurationProperty",
7969
7976
  jsii_struct_bases=[],
7970
- name_mapping={"types": "types"},
7977
+ name_mapping={"ip_address_type": "ipAddressType", "types": "types"},
7971
7978
  )
7972
7979
  class EndpointConfigurationProperty:
7973
7980
  def __init__(
7974
7981
  self,
7975
7982
  *,
7983
+ ip_address_type: typing.Optional[builtins.str] = None,
7976
7984
  types: typing.Optional[typing.Sequence[builtins.str]] = None,
7977
7985
  ) -> None:
7978
7986
  '''The ``EndpointConfiguration`` property type specifies the endpoint types of an Amazon API Gateway domain name.
7979
7987
 
7980
7988
  ``EndpointConfiguration`` is a property of the `AWS::ApiGateway::DomainName <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html>`_ resource.
7981
7989
 
7990
+ :param ip_address_type:
7982
7991
  :param types: A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is ``"EDGE"`` . For a regional API and its custom domain name, the endpoint type is ``REGIONAL`` . For a private API, the endpoint type is ``PRIVATE`` .
7983
7992
 
7984
7993
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainname-endpointconfiguration.html
@@ -7991,16 +8000,28 @@ class CfnDomainName(
7991
8000
  from aws_cdk import aws_apigateway as apigateway
7992
8001
 
7993
8002
  endpoint_configuration_property = apigateway.CfnDomainName.EndpointConfigurationProperty(
8003
+ ip_address_type="ipAddressType",
7994
8004
  types=["types"]
7995
8005
  )
7996
8006
  '''
7997
8007
  if __debug__:
7998
8008
  type_hints = typing.get_type_hints(_typecheckingstub__1d33c3bf6996efa92019e1b28e2d6c1c9ad4dd0fa50f2ad639962efcfa774fb2)
8009
+ check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
7999
8010
  check_type(argname="argument types", value=types, expected_type=type_hints["types"])
8000
8011
  self._values: typing.Dict[builtins.str, typing.Any] = {}
8012
+ if ip_address_type is not None:
8013
+ self._values["ip_address_type"] = ip_address_type
8001
8014
  if types is not None:
8002
8015
  self._values["types"] = types
8003
8016
 
8017
+ @builtins.property
8018
+ def ip_address_type(self) -> typing.Optional[builtins.str]:
8019
+ '''
8020
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainname-endpointconfiguration.html#cfn-apigateway-domainname-endpointconfiguration-ipaddresstype
8021
+ '''
8022
+ result = self._values.get("ip_address_type")
8023
+ return typing.cast(typing.Optional[builtins.str], result)
8024
+
8004
8025
  @builtins.property
8005
8026
  def types(self) -> typing.Optional[typing.List[builtins.str]]:
8006
8027
  '''A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).
@@ -8443,6 +8464,7 @@ class CfnDomainNameProps:
8443
8464
  certificate_arn="certificateArn",
8444
8465
  domain_name="domainName",
8445
8466
  endpoint_configuration=apigateway.CfnDomainName.EndpointConfigurationProperty(
8467
+ ip_address_type="ipAddressType",
8446
8468
  types=["types"]
8447
8469
  ),
8448
8470
  mutual_tls_authentication=apigateway.CfnDomainName.MutualTlsAuthenticationProperty(
@@ -11452,6 +11474,7 @@ class CfnRestApi(
11452
11474
  description="description",
11453
11475
  disable_execute_api_endpoint=False,
11454
11476
  endpoint_configuration=apigateway.CfnRestApi.EndpointConfigurationProperty(
11477
+ ip_address_type="ipAddressType",
11455
11478
  types=["types"],
11456
11479
  vpc_endpoint_ids=["vpcEndpointIds"]
11457
11480
  ),
@@ -11819,12 +11842,17 @@ class CfnRestApi(
11819
11842
  @jsii.data_type(
11820
11843
  jsii_type="aws-cdk-lib.aws_apigateway.CfnRestApi.EndpointConfigurationProperty",
11821
11844
  jsii_struct_bases=[],
11822
- name_mapping={"types": "types", "vpc_endpoint_ids": "vpcEndpointIds"},
11845
+ name_mapping={
11846
+ "ip_address_type": "ipAddressType",
11847
+ "types": "types",
11848
+ "vpc_endpoint_ids": "vpcEndpointIds",
11849
+ },
11823
11850
  )
11824
11851
  class EndpointConfigurationProperty:
11825
11852
  def __init__(
11826
11853
  self,
11827
11854
  *,
11855
+ ip_address_type: typing.Optional[builtins.str] = None,
11828
11856
  types: typing.Optional[typing.Sequence[builtins.str]] = None,
11829
11857
  vpc_endpoint_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
11830
11858
  ) -> None:
@@ -11832,6 +11860,7 @@ class CfnRestApi(
11832
11860
 
11833
11861
  ``EndpointConfiguration`` is a property of the `AWS::ApiGateway::RestApi <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html>`_ resource.
11834
11862
 
11863
+ :param ip_address_type:
11835
11864
  :param types: A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is ``"EDGE"`` . For a regional API and its custom domain name, the endpoint type is ``REGIONAL`` . For a private API, the endpoint type is ``PRIVATE`` .
11836
11865
  :param vpc_endpoint_ids: A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for ``PRIVATE`` endpoint type.
11837
11866
 
@@ -11845,20 +11874,32 @@ class CfnRestApi(
11845
11874
  from aws_cdk import aws_apigateway as apigateway
11846
11875
 
11847
11876
  endpoint_configuration_property = apigateway.CfnRestApi.EndpointConfigurationProperty(
11877
+ ip_address_type="ipAddressType",
11848
11878
  types=["types"],
11849
11879
  vpc_endpoint_ids=["vpcEndpointIds"]
11850
11880
  )
11851
11881
  '''
11852
11882
  if __debug__:
11853
11883
  type_hints = typing.get_type_hints(_typecheckingstub__df9522828c39c6e4b1e829251c3b77d5b94051a139bf4f10dfa3ac8717e878b6)
11884
+ check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
11854
11885
  check_type(argname="argument types", value=types, expected_type=type_hints["types"])
11855
11886
  check_type(argname="argument vpc_endpoint_ids", value=vpc_endpoint_ids, expected_type=type_hints["vpc_endpoint_ids"])
11856
11887
  self._values: typing.Dict[builtins.str, typing.Any] = {}
11888
+ if ip_address_type is not None:
11889
+ self._values["ip_address_type"] = ip_address_type
11857
11890
  if types is not None:
11858
11891
  self._values["types"] = types
11859
11892
  if vpc_endpoint_ids is not None:
11860
11893
  self._values["vpc_endpoint_ids"] = vpc_endpoint_ids
11861
11894
 
11895
+ @builtins.property
11896
+ def ip_address_type(self) -> typing.Optional[builtins.str]:
11897
+ '''
11898
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-restapi-endpointconfiguration.html#cfn-apigateway-restapi-endpointconfiguration-ipaddresstype
11899
+ '''
11900
+ result = self._values.get("ip_address_type")
11901
+ return typing.cast(typing.Optional[builtins.str], result)
11902
+
11862
11903
  @builtins.property
11863
11904
  def types(self) -> typing.Optional[typing.List[builtins.str]]:
11864
11905
  '''A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).
@@ -12089,6 +12130,7 @@ class CfnRestApiProps:
12089
12130
  description="description",
12090
12131
  disable_execute_api_endpoint=False,
12091
12132
  endpoint_configuration=apigateway.CfnRestApi.EndpointConfigurationProperty(
12133
+ ip_address_type="ipAddressType",
12092
12134
  types=["types"],
12093
12135
  vpc_endpoint_ids=["vpcEndpointIds"]
12094
12136
  ),
@@ -33279,6 +33321,7 @@ def _typecheckingstub__931fac6af706dd0dae384cc682b2ecb066666ff6165060417e461a392
33279
33321
  file: builtins.str,
33280
33322
  *,
33281
33323
  deploy_time: typing.Optional[builtins.bool] = None,
33324
+ display_name: typing.Optional[builtins.str] = None,
33282
33325
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
33283
33326
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
33284
33327
  asset_hash: typing.Optional[builtins.str] = None,
@@ -33346,6 +33389,7 @@ def _typecheckingstub__8d060d6bc8fc5b369cfe71dc05efc964aa6b083b674baa7dc17f1762a
33346
33389
  path: builtins.str,
33347
33390
  *,
33348
33391
  deploy_time: typing.Optional[builtins.bool] = None,
33392
+ display_name: typing.Optional[builtins.str] = None,
33349
33393
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
33350
33394
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
33351
33395
  asset_hash: typing.Optional[builtins.str] = None,
@@ -34145,6 +34189,7 @@ def _typecheckingstub__30658cbd8b896f811f887630d934f0751b5370d775062da4c8686d7ca
34145
34189
 
34146
34190
  def _typecheckingstub__1d33c3bf6996efa92019e1b28e2d6c1c9ad4dd0fa50f2ad639962efcfa774fb2(
34147
34191
  *,
34192
+ ip_address_type: typing.Optional[builtins.str] = None,
34148
34193
  types: typing.Optional[typing.Sequence[builtins.str]] = None,
34149
34194
  ) -> None:
34150
34195
  """Type checking stubs"""
@@ -34848,6 +34893,7 @@ def _typecheckingstub__9ae71bb5beb4f360ca0016003cbb508243a9ad4b5e494d1a4655780f8
34848
34893
 
34849
34894
  def _typecheckingstub__df9522828c39c6e4b1e829251c3b77d5b94051a139bf4f10dfa3ac8717e878b6(
34850
34895
  *,
34896
+ ip_address_type: typing.Optional[builtins.str] = None,
34851
34897
  types: typing.Optional[typing.Sequence[builtins.str]] = None,
34852
34898
  vpc_endpoint_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
34853
34899
  ) -> None: