appmod-catalog-blueprints 1.0.0__py3-none-any.whl → 1.0.1__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.
@@ -2079,6 +2079,7 @@ class LambdaIamUtils(
2079
2079
  function_name: builtins.str,
2080
2080
  region: builtins.str,
2081
2081
  scope: _constructs_77d1e7e8.Construct,
2082
+ enable_observability: typing.Optional[builtins.bool] = None,
2082
2083
  log_group_name: typing.Optional[builtins.str] = None,
2083
2084
  ) -> "LambdaLogsPermissionsResult":
2084
2085
  '''(experimental) Creates CloudWatch Logs policy statements for Lambda execution.
@@ -2087,6 +2088,7 @@ class LambdaIamUtils(
2087
2088
  :param function_name: (experimental) The base name of the Lambda function.
2088
2089
  :param region: (experimental) AWS region for the log group ARN.
2089
2090
  :param scope: (experimental) The construct scope (used to generate unique names).
2091
+ :param enable_observability: (experimental) Whether observability is enabled or not. This would have an impact on the result IAM policy for the LogGroup for the Lambda function Default: false
2090
2092
  :param log_group_name: (experimental) Custom log group name pattern. Default: '/aws/lambda/{uniqueFunctionName}'
2091
2093
 
2092
2094
  :return: Object containing policy statements and the unique function name
@@ -2098,6 +2100,7 @@ class LambdaIamUtils(
2098
2100
  function_name=function_name,
2099
2101
  region=region,
2100
2102
  scope=scope,
2103
+ enable_observability=enable_observability,
2101
2104
  log_group_name=log_group_name,
2102
2105
  )
2103
2106
 
@@ -2293,6 +2296,14 @@ class LambdaIamUtils(
2293
2296
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
2294
2297
  return typing.cast("LambdaIamUtilsStackInfo", jsii.sinvoke(cls, "getStackInfo", [scope]))
2295
2298
 
2299
+ @jsii.python.classproperty
2300
+ @jsii.member(jsii_name="OBSERVABILITY_SUFFIX")
2301
+ def OBSERVABILITY_SUFFIX(cls) -> builtins.str:
2302
+ '''
2303
+ :stability: experimental
2304
+ '''
2305
+ return typing.cast(builtins.str, jsii.sget(cls, "OBSERVABILITY_SUFFIX"))
2306
+
2296
2307
 
2297
2308
  @jsii.data_type(
2298
2309
  jsii_type="@cdklabs/cdk-appmod-catalog-blueprints.LambdaIamUtilsStackInfo",
@@ -2355,6 +2366,7 @@ class LambdaIamUtilsStackInfo:
2355
2366
  "function_name": "functionName",
2356
2367
  "region": "region",
2357
2368
  "scope": "scope",
2369
+ "enable_observability": "enableObservability",
2358
2370
  "log_group_name": "logGroupName",
2359
2371
  },
2360
2372
  )
@@ -2366,6 +2378,7 @@ class LambdaLogsPermissionsProps:
2366
2378
  function_name: builtins.str,
2367
2379
  region: builtins.str,
2368
2380
  scope: _constructs_77d1e7e8.Construct,
2381
+ enable_observability: typing.Optional[builtins.bool] = None,
2369
2382
  log_group_name: typing.Optional[builtins.str] = None,
2370
2383
  ) -> None:
2371
2384
  '''(experimental) Configuration options for Lambda CloudWatch Logs permissions.
@@ -2374,6 +2387,7 @@ class LambdaLogsPermissionsProps:
2374
2387
  :param function_name: (experimental) The base name of the Lambda function.
2375
2388
  :param region: (experimental) AWS region for the log group ARN.
2376
2389
  :param scope: (experimental) The construct scope (used to generate unique names).
2390
+ :param enable_observability: (experimental) Whether observability is enabled or not. This would have an impact on the result IAM policy for the LogGroup for the Lambda function Default: false
2377
2391
  :param log_group_name: (experimental) Custom log group name pattern. Default: '/aws/lambda/{uniqueFunctionName}'
2378
2392
 
2379
2393
  :stability: experimental
@@ -2384,6 +2398,7 @@ class LambdaLogsPermissionsProps:
2384
2398
  check_type(argname="argument function_name", value=function_name, expected_type=type_hints["function_name"])
2385
2399
  check_type(argname="argument region", value=region, expected_type=type_hints["region"])
2386
2400
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
2401
+ check_type(argname="argument enable_observability", value=enable_observability, expected_type=type_hints["enable_observability"])
2387
2402
  check_type(argname="argument log_group_name", value=log_group_name, expected_type=type_hints["log_group_name"])
2388
2403
  self._values: typing.Dict[builtins.str, typing.Any] = {
2389
2404
  "account": account,
@@ -2391,6 +2406,8 @@ class LambdaLogsPermissionsProps:
2391
2406
  "region": region,
2392
2407
  "scope": scope,
2393
2408
  }
2409
+ if enable_observability is not None:
2410
+ self._values["enable_observability"] = enable_observability
2394
2411
  if log_group_name is not None:
2395
2412
  self._values["log_group_name"] = log_group_name
2396
2413
 
@@ -2434,6 +2451,20 @@ class LambdaLogsPermissionsProps:
2434
2451
  assert result is not None, "Required property 'scope' is missing"
2435
2452
  return typing.cast(_constructs_77d1e7e8.Construct, result)
2436
2453
 
2454
+ @builtins.property
2455
+ def enable_observability(self) -> typing.Optional[builtins.bool]:
2456
+ '''(experimental) Whether observability is enabled or not.
2457
+
2458
+ This would have an impact
2459
+ on the result IAM policy for the LogGroup for the Lambda function
2460
+
2461
+ :default: false
2462
+
2463
+ :stability: experimental
2464
+ '''
2465
+ result = self._values.get("enable_observability")
2466
+ return typing.cast(typing.Optional[builtins.bool], result)
2467
+
2437
2468
  @builtins.property
2438
2469
  def log_group_name(self) -> typing.Optional[builtins.str]:
2439
2470
  '''(experimental) Custom log group name pattern.
@@ -5297,6 +5328,7 @@ def _typecheckingstub__47564dc2777638ca33ba53983ac385b2dd8b03133d66569da912ae1ce
5297
5328
  function_name: builtins.str,
5298
5329
  region: builtins.str,
5299
5330
  scope: _constructs_77d1e7e8.Construct,
5331
+ enable_observability: typing.Optional[builtins.bool] = None,
5300
5332
  log_group_name: typing.Optional[builtins.str] = None,
5301
5333
  ) -> None:
5302
5334
  """Type checking stubs"""
@@ -34,9 +34,9 @@ import constructs._jsii
34
34
 
35
35
  __jsii_assembly__ = jsii.JSIIAssembly.load(
36
36
  "@cdklabs/cdk-appmod-catalog-blueprints",
37
- "1.0.0",
37
+ "1.0.1",
38
38
  __name__[0:-6],
39
- "cdk-appmod-catalog-blueprints@1.0.0.jsii.tgz",
39
+ "cdk-appmod-catalog-blueprints@1.0.1.jsii.tgz",
40
40
  )
41
41
 
42
42
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: appmod-catalog-blueprints
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Serverless infrastructure components organized by business use cases
5
5
  Home-page: https://github.com/cdklabs/cdk-appmod-catalog-blueprints.git
6
6
  Author: Amazon Web Services<aws-cdk-dev@amazon.com>
@@ -19,8 +19,8 @@ Classifier: License :: OSI Approved
19
19
  Requires-Python: ~=3.9
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.216.0
23
- Requires-Dist: aws-cdk.aws-lambda-python-alpha==2.192.0.a0
22
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.218.0
23
+ Requires-Dist: aws-cdk.aws-lambda-python-alpha<3.0.0,>=2.218.0.a0
24
24
  Requires-Dist: constructs<11.0.0,>=10.0.5
25
25
  Requires-Dist: jsii<2.0.0,>=1.110.0
26
26
  Requires-Dist: publication>=0.0.3
@@ -0,0 +1,9 @@
1
+ appmod_catalog_blueprints/__init__.py,sha256=PsVH0Kmngsj2vhUgwTkscJWVa_M0_SUXCuWjRR2KEVE,263455
2
+ appmod_catalog_blueprints/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ appmod_catalog_blueprints/_jsii/__init__.py,sha256=nS-KzJTOyTU_qOY14tz6LO14faYYRpyhnlKlGA__2R0,1536
4
+ appmod_catalog_blueprints/_jsii/cdk-appmod-catalog-blueprints@1.0.1.jsii.tgz,sha256=OOf6SEi6Nf_Xhs37xM-iPIb3VSmWMp1r77OSOc017s8,364809
5
+ appmod_catalog_blueprints-1.0.1.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
+ appmod_catalog_blueprints-1.0.1.dist-info/METADATA,sha256=sKShnOnHf7lGjg7x0PlbPekXnd2Ms2HqOgcshoVOkl0,10503
7
+ appmod_catalog_blueprints-1.0.1.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
8
+ appmod_catalog_blueprints-1.0.1.dist-info/top_level.txt,sha256=Ol8da5ggs2v4ibcxVrkcmnuFeKelb3o03ZaLWHGGcho,26
9
+ appmod_catalog_blueprints-1.0.1.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- appmod_catalog_blueprints/__init__.py,sha256=KGrKbYgnB1AWfziJ9F3qQ_N8rTGGzEbZm23VZAyovfw,261745
2
- appmod_catalog_blueprints/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- appmod_catalog_blueprints/_jsii/__init__.py,sha256=fT0XjvTI8g2KIPB2tucxbSEs2uNIWh1Vg4Uqhm7KXBs,1536
4
- appmod_catalog_blueprints/_jsii/cdk-appmod-catalog-blueprints@1.0.0.jsii.tgz,sha256=4uTTcTlzTlBL6qzUN4wfS7cYuXigod53bC3uxHTuoQw,363744
5
- appmod_catalog_blueprints-1.0.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
- appmod_catalog_blueprints-1.0.0.dist-info/METADATA,sha256=8oqHiuBNytJ56gbB3ucIaVtLu9sQTBkAF7DF3fhAHaU,10496
7
- appmod_catalog_blueprints-1.0.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
8
- appmod_catalog_blueprints-1.0.0.dist-info/top_level.txt,sha256=Ol8da5ggs2v4ibcxVrkcmnuFeKelb3o03ZaLWHGGcho,26
9
- appmod_catalog_blueprints-1.0.0.dist-info/RECORD,,