aws-cdk-lib 2.184.1__py3-none-any.whl → 2.186.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 (75) hide show
  1. aws_cdk/__init__.py +102 -29
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.184.1.jsii.tgz → aws-cdk-lib@2.186.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +3 -2
  5. aws_cdk/aws_apigateway/__init__.py +1 -1
  6. aws_cdk/aws_apigatewayv2/__init__.py +9 -0
  7. aws_cdk/aws_appconfig/__init__.py +3 -3
  8. aws_cdk/aws_applicationsignals/__init__.py +495 -1
  9. aws_cdk/aws_appsync/__init__.py +65 -11
  10. aws_cdk/aws_athena/__init__.py +143 -0
  11. aws_cdk/aws_backup/__init__.py +4 -2
  12. aws_cdk/aws_batch/__init__.py +9 -0
  13. aws_cdk/aws_bedrock/__init__.py +645 -199
  14. aws_cdk/aws_cassandra/__init__.py +3 -5
  15. aws_cdk/aws_chatbot/__init__.py +41 -0
  16. aws_cdk/aws_cleanrooms/__init__.py +21 -9
  17. aws_cdk/aws_cloudformation/__init__.py +1 -5
  18. aws_cdk/aws_cloudfront/__init__.py +4 -1
  19. aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
  20. aws_cdk/aws_codeartifact/__init__.py +20 -33
  21. aws_cdk/aws_codebuild/__init__.py +10 -3
  22. aws_cdk/aws_codepipeline/__init__.py +1328 -120
  23. aws_cdk/aws_cognito/__init__.py +1 -1
  24. aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
  25. aws_cdk/aws_config/__init__.py +1 -1
  26. aws_cdk/aws_connect/__init__.py +3 -7
  27. aws_cdk/aws_controltower/__init__.py +18 -26
  28. aws_cdk/aws_datasync/__init__.py +12 -14
  29. aws_cdk/aws_datazone/__init__.py +3471 -2
  30. aws_cdk/aws_ec2/__init__.py +701 -37
  31. aws_cdk/aws_ecr/__init__.py +84 -2
  32. aws_cdk/aws_ecs/__init__.py +20 -25
  33. aws_cdk/aws_eks/__init__.py +2 -0
  34. aws_cdk/aws_elasticloadbalancingv2/__init__.py +42 -5
  35. aws_cdk/aws_elasticsearch/__init__.py +1 -1
  36. aws_cdk/aws_events/__init__.py +37 -14
  37. aws_cdk/aws_events_targets/__init__.py +5 -5
  38. aws_cdk/aws_gamelift/__init__.py +165 -165
  39. aws_cdk/aws_gameliftstreams/__init__.py +199 -59
  40. aws_cdk/aws_iam/__init__.py +320 -25
  41. aws_cdk/aws_imagebuilder/__init__.py +15 -2
  42. aws_cdk/aws_iotfleetwise/__init__.py +15 -6
  43. aws_cdk/aws_kinesisfirehose/__init__.py +115 -113
  44. aws_cdk/aws_lambda/__init__.py +7 -1
  45. aws_cdk/aws_location/__init__.py +24 -7
  46. aws_cdk/aws_logs/__init__.py +21 -27
  47. aws_cdk/aws_msk/__init__.py +17 -50
  48. aws_cdk/aws_networkfirewall/__init__.py +16 -12
  49. aws_cdk/aws_oam/__init__.py +8 -37
  50. aws_cdk/aws_opensearchservice/__init__.py +1 -1
  51. aws_cdk/aws_pcs/__init__.py +33 -22
  52. aws_cdk/aws_quicksight/__init__.py +6 -69
  53. aws_cdk/aws_rds/__init__.py +8 -4
  54. aws_cdk/aws_redshiftserverless/__init__.py +192 -15
  55. aws_cdk/aws_rum/__init__.py +454 -43
  56. aws_cdk/aws_s3/__init__.py +4 -6
  57. aws_cdk/aws_s3_deployment/__init__.py +2 -0
  58. aws_cdk/aws_sagemaker/__init__.py +524 -0
  59. aws_cdk/aws_scheduler/__init__.py +3944 -121
  60. aws_cdk/aws_scheduler_targets/__init__.py +4472 -0
  61. aws_cdk/aws_ses/__init__.py +9 -9
  62. aws_cdk/aws_sns/__init__.py +12 -12
  63. aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
  64. aws_cdk/aws_stepfunctions/__init__.py +17 -15
  65. aws_cdk/aws_timestream/__init__.py +4 -4
  66. aws_cdk/aws_wafv2/__init__.py +345 -0
  67. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  68. aws_cdk/cx_api/__init__.py +53 -0
  69. aws_cdk/region_info/__init__.py +2 -2
  70. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/METADATA +1 -1
  71. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/RECORD +75 -73
  72. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/LICENSE +0 -0
  73. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/NOTICE +0 -0
  74. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/WHEEL +0 -0
  75. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py CHANGED
@@ -10562,14 +10562,16 @@ class ContextProvider(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.ContextPro
10562
10562
  *,
10563
10563
  dummy_value: typing.Any,
10564
10564
  ignore_error_on_missing_context: typing.Optional[builtins.bool] = None,
10565
+ must_exist: typing.Optional[builtins.bool] = None,
10565
10566
  provider: builtins.str,
10566
10567
  include_environment: typing.Optional[builtins.bool] = None,
10567
10568
  props: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
10568
10569
  ) -> "GetContextValueResult":
10569
10570
  '''
10570
10571
  :param scope: -
10571
- :param dummy_value: The value to return if the context value was not found and a missing context is reported.
10572
- :param ignore_error_on_missing_context: When True, the context provider will not throw an error if missing context is reported. Default: false
10572
+ :param dummy_value: The value to return if the lookup has not yet been performed. Upon first synthesis, the lookups has not yet been performed. The ``getValue()`` operation returns this value instead, so that synthesis can proceed. After synthesis completes the first time, the actual lookup will be performed and synthesis will run again with the *real* value. Dummy values should preferably have valid shapes so that downstream consumers of lookup values don't throw validation exceptions if they encounter a dummy value (or all possible downstream consumers need to effectively check for the well-known shape of the dummy value); throwing an exception would error out the synthesis operation and prevent the lookup and the second, real, synthesis from happening. Connection to mustExist ``dummyValue`` is also used as the official value to return if the lookup has failed and ``mustExist == false``.
10573
+ :param ignore_error_on_missing_context: (deprecated) Ignore a lookup failure and return the ``dummyValue`` instead. ``mustExist`` is the recommended alias for this deprecated property (note that its value is reversed). Default: false
10574
+ :param must_exist: Whether the resource must exist. If this is set (the default), the query fails if the value or resource we tried to look up doesn't exist. If this is ``false`` and the value we tried to look up could not be found, the failure is suppressed and ``dummyValue`` is officially returned instead. When this happens, ``dummyValue`` is encoded into cached context and it will never be refreshed anymore until the user runs ``cdk context --reset <key>``. Note that it is not possible for the CDK app code to make a distinction between "the lookup has not been performed yet" and "the lookup didn't find anything and we returned a default value instead". Context providers This feature must explicitly be supported by context providers. It is currently supported by: - KMS key provider - SSM parameter provider Note to implementors The dummy value should not be returned for all SDK lookup failures. For example, "no network" or "no credentials" or "malformed query" should not lead to the dummy value being returned. Only the case of "no such resource" should. Default: true
10573
10575
  :param provider: The context provider to query.
10574
10576
  :param include_environment: Whether to include the stack's account and region automatically. Default: true
10575
10577
  :param props: Provider-specific properties.
@@ -10580,6 +10582,7 @@ class ContextProvider(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.ContextPro
10580
10582
  options = GetContextValueOptions(
10581
10583
  dummy_value=dummy_value,
10582
10584
  ignore_error_on_missing_context=ignore_error_on_missing_context,
10585
+ must_exist=must_exist,
10583
10586
  provider=provider,
10584
10587
  include_environment=include_environment,
10585
10588
  props=props,
@@ -13033,26 +13036,21 @@ class Duration(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Duration"):
13033
13036
 
13034
13037
  Example::
13035
13038
 
13036
- import aws_cdk.aws_ecs as ecs
13037
-
13038
- # cluster: ecs.ICluster
13039
- # task_definition: ecs.TaskDefinition
13040
-
13039
+ # my_role: iam.Role
13041
13040
 
13042
- rule = events.Rule(self, "Rule",
13043
- schedule=events.Schedule.rate(cdk.Duration.hours(1))
13041
+ cr.AwsCustomResource(self, "Customized",
13042
+ role=my_role, # must be assumable by the `lambda.amazonaws.com` service principal
13043
+ timeout=Duration.minutes(10), # defaults to 2 minutes
13044
+ memory_size=1025, # defaults to 512 if installLatestAwsSdk is true
13045
+ log_group=logs.LogGroup(self, "AwsCustomResourceLogs",
13046
+ retention=logs.RetentionDays.ONE_DAY
13047
+ ),
13048
+ function_name="my-custom-name", # defaults to a CloudFormation generated name
13049
+ removal_policy=RemovalPolicy.RETAIN, # defaults to `RemovalPolicy.DESTROY`
13050
+ policy=cr.AwsCustomResourcePolicy.from_sdk_calls(
13051
+ resources=cr.AwsCustomResourcePolicy.ANY_RESOURCE
13052
+ )
13044
13053
  )
13045
-
13046
- rule.add_target(targets.EcsTask(
13047
- cluster=cluster,
13048
- task_definition=task_definition,
13049
- task_count=1,
13050
- container_overrides=[targets.ContainerOverride(
13051
- container_name="TheContainer",
13052
- command=["echo", events.EventField.from_path("$.detail.event")]
13053
- )],
13054
- enable_execute_command=True
13055
- ))
13056
13054
  '''
13057
13055
 
13058
13056
  @jsii.member(jsii_name="days")
@@ -15219,6 +15217,7 @@ class GetContextKeyResult:
15219
15217
  "props": "props",
15220
15218
  "dummy_value": "dummyValue",
15221
15219
  "ignore_error_on_missing_context": "ignoreErrorOnMissingContext",
15220
+ "must_exist": "mustExist",
15222
15221
  },
15223
15222
  )
15224
15223
  class GetContextValueOptions(GetContextKeyOptions):
@@ -15230,13 +15229,15 @@ class GetContextValueOptions(GetContextKeyOptions):
15230
15229
  props: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
15231
15230
  dummy_value: typing.Any,
15232
15231
  ignore_error_on_missing_context: typing.Optional[builtins.bool] = None,
15232
+ must_exist: typing.Optional[builtins.bool] = None,
15233
15233
  ) -> None:
15234
15234
  '''
15235
15235
  :param provider: The context provider to query.
15236
15236
  :param include_environment: Whether to include the stack's account and region automatically. Default: true
15237
15237
  :param props: Provider-specific properties.
15238
- :param dummy_value: The value to return if the context value was not found and a missing context is reported.
15239
- :param ignore_error_on_missing_context: When True, the context provider will not throw an error if missing context is reported. Default: false
15238
+ :param dummy_value: The value to return if the lookup has not yet been performed. Upon first synthesis, the lookups has not yet been performed. The ``getValue()`` operation returns this value instead, so that synthesis can proceed. After synthesis completes the first time, the actual lookup will be performed and synthesis will run again with the *real* value. Dummy values should preferably have valid shapes so that downstream consumers of lookup values don't throw validation exceptions if they encounter a dummy value (or all possible downstream consumers need to effectively check for the well-known shape of the dummy value); throwing an exception would error out the synthesis operation and prevent the lookup and the second, real, synthesis from happening. Connection to mustExist ``dummyValue`` is also used as the official value to return if the lookup has failed and ``mustExist == false``.
15239
+ :param ignore_error_on_missing_context: (deprecated) Ignore a lookup failure and return the ``dummyValue`` instead. ``mustExist`` is the recommended alias for this deprecated property (note that its value is reversed). Default: false
15240
+ :param must_exist: Whether the resource must exist. If this is set (the default), the query fails if the value or resource we tried to look up doesn't exist. If this is ``false`` and the value we tried to look up could not be found, the failure is suppressed and ``dummyValue`` is officially returned instead. When this happens, ``dummyValue`` is encoded into cached context and it will never be refreshed anymore until the user runs ``cdk context --reset <key>``. Note that it is not possible for the CDK app code to make a distinction between "the lookup has not been performed yet" and "the lookup didn't find anything and we returned a default value instead". Context providers This feature must explicitly be supported by context providers. It is currently supported by: - KMS key provider - SSM parameter provider Note to implementors The dummy value should not be returned for all SDK lookup failures. For example, "no network" or "no credentials" or "malformed query" should not lead to the dummy value being returned. Only the case of "no such resource" should. Default: true
15240
15241
 
15241
15242
  :exampleMetadata: fixture=_generated
15242
15243
 
@@ -15256,6 +15257,7 @@ class GetContextValueOptions(GetContextKeyOptions):
15256
15257
  # the properties below are optional
15257
15258
  ignore_error_on_missing_context=False,
15258
15259
  include_environment=False,
15260
+ must_exist=False,
15259
15261
  props={
15260
15262
  "props_key": props
15261
15263
  }
@@ -15268,6 +15270,7 @@ class GetContextValueOptions(GetContextKeyOptions):
15268
15270
  check_type(argname="argument props", value=props, expected_type=type_hints["props"])
15269
15271
  check_type(argname="argument dummy_value", value=dummy_value, expected_type=type_hints["dummy_value"])
15270
15272
  check_type(argname="argument ignore_error_on_missing_context", value=ignore_error_on_missing_context, expected_type=type_hints["ignore_error_on_missing_context"])
15273
+ check_type(argname="argument must_exist", value=must_exist, expected_type=type_hints["must_exist"])
15271
15274
  self._values: typing.Dict[builtins.str, typing.Any] = {
15272
15275
  "provider": provider,
15273
15276
  "dummy_value": dummy_value,
@@ -15278,6 +15281,8 @@ class GetContextValueOptions(GetContextKeyOptions):
15278
15281
  self._values["props"] = props
15279
15282
  if ignore_error_on_missing_context is not None:
15280
15283
  self._values["ignore_error_on_missing_context"] = ignore_error_on_missing_context
15284
+ if must_exist is not None:
15285
+ self._values["must_exist"] = must_exist
15281
15286
 
15282
15287
  @builtins.property
15283
15288
  def provider(self) -> builtins.str:
@@ -15303,20 +15308,86 @@ class GetContextValueOptions(GetContextKeyOptions):
15303
15308
 
15304
15309
  @builtins.property
15305
15310
  def dummy_value(self) -> typing.Any:
15306
- '''The value to return if the context value was not found and a missing context is reported.'''
15311
+ '''The value to return if the lookup has not yet been performed.
15312
+
15313
+ Upon first synthesis, the lookups has not yet been performed. The
15314
+ ``getValue()`` operation returns this value instead, so that synthesis can
15315
+ proceed. After synthesis completes the first time, the actual lookup will
15316
+ be performed and synthesis will run again with the *real* value.
15317
+
15318
+ Dummy values should preferably have valid shapes so that downstream
15319
+ consumers of lookup values don't throw validation exceptions if they
15320
+ encounter a dummy value (or all possible downstream consumers need to
15321
+ effectively check for the well-known shape of the dummy value); throwing an
15322
+ exception would error out the synthesis operation and prevent the lookup
15323
+ and the second, real, synthesis from happening.
15324
+
15325
+
15326
+ Connection to mustExist
15327
+
15328
+ ``dummyValue`` is also used as the official value to return if the lookup has
15329
+ failed and ``mustExist == false``.
15330
+ '''
15307
15331
  result = self._values.get("dummy_value")
15308
15332
  assert result is not None, "Required property 'dummy_value' is missing"
15309
15333
  return typing.cast(typing.Any, result)
15310
15334
 
15311
15335
  @builtins.property
15312
15336
  def ignore_error_on_missing_context(self) -> typing.Optional[builtins.bool]:
15313
- '''When True, the context provider will not throw an error if missing context is reported.
15337
+ '''(deprecated) Ignore a lookup failure and return the ``dummyValue`` instead.
15338
+
15339
+ ``mustExist`` is the recommended alias for this deprecated
15340
+ property (note that its value is reversed).
15314
15341
 
15315
15342
  :default: false
15343
+
15344
+ :deprecated: Use mustExist instead
15345
+
15346
+ :stability: deprecated
15316
15347
  '''
15317
15348
  result = self._values.get("ignore_error_on_missing_context")
15318
15349
  return typing.cast(typing.Optional[builtins.bool], result)
15319
15350
 
15351
+ @builtins.property
15352
+ def must_exist(self) -> typing.Optional[builtins.bool]:
15353
+ '''Whether the resource must exist.
15354
+
15355
+ If this is set (the default), the query fails if the value or resource we
15356
+ tried to look up doesn't exist.
15357
+
15358
+ If this is ``false`` and the value we tried to look up could not be found, the
15359
+ failure is suppressed and ``dummyValue`` is officially returned instead.
15360
+
15361
+ When this happens, ``dummyValue`` is encoded into cached context and it will
15362
+ never be refreshed anymore until the user runs ``cdk context --reset <key>``.
15363
+
15364
+ Note that it is not possible for the CDK app code to make a distinction
15365
+ between "the lookup has not been performed yet" and "the lookup didn't
15366
+ find anything and we returned a default value instead".
15367
+
15368
+
15369
+ Context providers
15370
+
15371
+ This feature must explicitly be supported by context providers. It is
15372
+ currently supported by:
15373
+
15374
+ - KMS key provider
15375
+ - SSM parameter provider
15376
+
15377
+
15378
+
15379
+ Note to implementors
15380
+
15381
+ The dummy value should not be returned for all SDK lookup failures. For
15382
+ example, "no network" or "no credentials" or "malformed query" should
15383
+ not lead to the dummy value being returned. Only the case of "no such
15384
+ resource" should.
15385
+
15386
+ :default: true
15387
+ '''
15388
+ result = self._values.get("must_exist")
15389
+ return typing.cast(typing.Optional[builtins.bool], result)
15390
+
15320
15391
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
15321
15392
  return isinstance(rhs, self.__class__) and rhs._values == self._values
15322
15393
 
@@ -33558,7 +33629,7 @@ class CfnStackSet(
33558
33629
  :param max_concurrent_count: The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of ``FailureToleranceCount`` . ``MaxConcurrentCount`` is at most one more than the ``FailureToleranceCount`` . Note that this setting lets you specify the *maximum* for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. Conditional: You must specify either ``MaxConcurrentCount`` or ``MaxConcurrentPercentage`` , but not both.
33559
33630
  :param max_concurrent_percentage: The maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead. Note that this setting lets you specify the *maximum* for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. Conditional: You must specify either ``MaxConcurrentCount`` or ``MaxConcurrentPercentage`` , but not both.
33560
33631
  :param region_concurrency_type: The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
33561
- :param region_order: The order of the Regions where you want to perform the stack operation. .. epigraph:: ``RegionOrder`` isn't followed if ``AutoDeployment`` is enabled.
33632
+ :param region_order: The order of the Regions where you want to perform the stack operation.
33562
33633
 
33563
33634
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-operationpreferences.html
33564
33635
  :exampleMetadata: fixture=_generated
@@ -33690,10 +33761,6 @@ class CfnStackSet(
33690
33761
  def region_order(self) -> typing.Optional[typing.List[builtins.str]]:
33691
33762
  '''The order of the Regions where you want to perform the stack operation.
33692
33763
 
33693
- .. epigraph::
33694
-
33695
- ``RegionOrder`` isn't followed if ``AutoDeployment`` is enabled.
33696
-
33697
33764
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-operationpreferences.html#cfn-cloudformation-stackset-operationpreferences-regionorder
33698
33765
  '''
33699
33766
  result = self._values.get("region_order")
@@ -37057,6 +37124,7 @@ __all__ = [
37057
37124
  "aws_codestarconnections",
37058
37125
  "aws_codestarnotifications",
37059
37126
  "aws_cognito",
37127
+ "aws_cognito_identitypool",
37060
37128
  "aws_comprehend",
37061
37129
  "aws_config",
37062
37130
  "aws_connect",
@@ -37235,6 +37303,7 @@ __all__ = [
37235
37303
  "aws_sagemaker",
37236
37304
  "aws_sam",
37237
37305
  "aws_scheduler",
37306
+ "aws_scheduler_targets",
37238
37307
  "aws_sdb",
37239
37308
  "aws_secretsmanager",
37240
37309
  "aws_securityhub",
@@ -37351,6 +37420,7 @@ from . import aws_codestar
37351
37420
  from . import aws_codestarconnections
37352
37421
  from . import aws_codestarnotifications
37353
37422
  from . import aws_cognito
37423
+ from . import aws_cognito_identitypool
37354
37424
  from . import aws_comprehend
37355
37425
  from . import aws_config
37356
37426
  from . import aws_connect
@@ -37529,6 +37599,7 @@ from . import aws_s3tables
37529
37599
  from . import aws_sagemaker
37530
37600
  from . import aws_sam
37531
37601
  from . import aws_scheduler
37602
+ from . import aws_scheduler_targets
37532
37603
  from . import aws_sdb
37533
37604
  from . import aws_secretsmanager
37534
37605
  from . import aws_securityhub
@@ -38621,6 +38692,7 @@ def _typecheckingstub__cbcd83febe5237c988f26712b8a838ca5d2e34ea47490d008757c21a6
38621
38692
  *,
38622
38693
  dummy_value: typing.Any,
38623
38694
  ignore_error_on_missing_context: typing.Optional[builtins.bool] = None,
38695
+ must_exist: typing.Optional[builtins.bool] = None,
38624
38696
  provider: builtins.str,
38625
38697
  include_environment: typing.Optional[builtins.bool] = None,
38626
38698
  props: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
@@ -39275,6 +39347,7 @@ def _typecheckingstub__16ea3024419c210903405ca05f7de1bb3fad517c101a7a84926fb5e09
39275
39347
  props: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
39276
39348
  dummy_value: typing.Any,
39277
39349
  ignore_error_on_missing_context: typing.Optional[builtins.bool] = None,
39350
+ must_exist: typing.Optional[builtins.bool] = None,
39278
39351
  ) -> None:
39279
39352
  """Type checking stubs"""
39280
39353
  pass
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.184.1", __name__[0:-6], "aws-cdk-lib@2.184.1.jsii.tgz"
37
+ "aws-cdk-lib", "2.186.0", __name__[0:-6], "aws-cdk-lib@2.186.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")
@@ -1585,7 +1585,7 @@ api = apigateway.RestApi(self, "books",
1585
1585
 
1586
1586
  **Note:** The delivery stream name must start with `amazon-apigateway-`.
1587
1587
 
1588
- > Visit [Logging API calls to Kinesis Data Firehose](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-logging-to-kinesis.html) for more details.
1588
+ > Visit [Logging API calls to Amazon Data Firehose](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-logging-to-kinesis.html) for more details.
1589
1589
 
1590
1590
  ## Cross Origin Resource Sharing (CORS)
1591
1591
 
@@ -4044,6 +4044,15 @@ class CfnDomainName(
4044
4044
  '''The CloudFormation resource type name for this resource class.'''
4045
4045
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
4046
4046
 
4047
+ @builtins.property
4048
+ @jsii.member(jsii_name="attrDomainNameArn")
4049
+ def attr_domain_name_arn(self) -> builtins.str:
4050
+ '''Represents an Amazon Resource Name (ARN).
4051
+
4052
+ :cloudformationAttribute: DomainNameArn
4053
+ '''
4054
+ return typing.cast(builtins.str, jsii.get(self, "attrDomainNameArn"))
4055
+
4047
4056
  @builtins.property
4048
4057
  @jsii.member(jsii_name="attrRegionalDomainName")
4049
4058
  def attr_regional_domain_name(self) -> builtins.str:
@@ -1418,7 +1418,7 @@ class CfnConfigurationProfile(
1418
1418
  :param deletion_protection_check: On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
1419
1419
  :param description: A description of the configuration profile.
1420
1420
  :param kms_key_identifier: The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
1421
- :param retrieval_role_arn: The ARN of an IAM role with permission to access the configuration at the specified ``LocationUri`` . .. epigraph:: A retrieval role ARN is not required for configurations stored in the AWS AppConfig hosted configuration store. It is required for all other sources that store your configuration.
1421
+ :param retrieval_role_arn: The ARN of an IAM role with permission to access the configuration at the specified ``LocationUri`` . .. epigraph:: A retrieval role ARN is not required for configurations stored in AWS CodePipeline or the AWS AppConfig hosted configuration store. It is required for all other sources that store your configuration.
1422
1422
  :param tags: Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
1423
1423
  :param type: The type of configurations contained in the profile. AWS AppConfig supports ``feature flags`` and ``freeform`` configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for ``Type`` : ``AWS.AppConfig.FeatureFlags`` ``AWS.Freeform``
1424
1424
  :param validators: A list of methods for validating the configuration.
@@ -1753,7 +1753,7 @@ class CfnConfigurationProfileProps:
1753
1753
  :param deletion_protection_check: On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
1754
1754
  :param description: A description of the configuration profile.
1755
1755
  :param kms_key_identifier: The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
1756
- :param retrieval_role_arn: The ARN of an IAM role with permission to access the configuration at the specified ``LocationUri`` . .. epigraph:: A retrieval role ARN is not required for configurations stored in the AWS AppConfig hosted configuration store. It is required for all other sources that store your configuration.
1756
+ :param retrieval_role_arn: The ARN of an IAM role with permission to access the configuration at the specified ``LocationUri`` . .. epigraph:: A retrieval role ARN is not required for configurations stored in AWS CodePipeline or the AWS AppConfig hosted configuration store. It is required for all other sources that store your configuration.
1757
1757
  :param tags: Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
1758
1758
  :param type: The type of configurations contained in the profile. AWS AppConfig supports ``feature flags`` and ``freeform`` configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for ``Type`` : ``AWS.AppConfig.FeatureFlags`` ``AWS.Freeform``
1759
1759
  :param validators: A list of methods for validating the configuration.
@@ -1892,7 +1892,7 @@ class CfnConfigurationProfileProps:
1892
1892
 
1893
1893
  .. epigraph::
1894
1894
 
1895
- A retrieval role ARN is not required for configurations stored in the AWS AppConfig hosted configuration store. It is required for all other sources that store your configuration.
1895
+ A retrieval role ARN is not required for configurations stored in AWS CodePipeline or the AWS AppConfig hosted configuration store. It is required for all other sources that store your configuration.
1896
1896
 
1897
1897
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-retrievalrolearn
1898
1898
  '''