aws-cdk-lib 2.177.0__py3-none-any.whl → 2.178.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 (111) hide show
  1. aws_cdk/__init__.py +95 -61
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.177.0.jsii.tgz → aws-cdk-lib@2.178.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplifyuibuilder/__init__.py +8 -8
  5. aws_cdk/aws_apigateway/__init__.py +97 -97
  6. aws_cdk/aws_apigatewayv2/__init__.py +35 -10
  7. aws_cdk/aws_appconfig/__init__.py +10 -10
  8. aws_cdk/aws_appflow/__init__.py +20 -20
  9. aws_cdk/aws_applicationsignals/__init__.py +8 -8
  10. aws_cdk/aws_appmesh/__init__.py +8 -8
  11. aws_cdk/aws_appsync/__init__.py +10383 -7035
  12. aws_cdk/aws_apptest/__init__.py +4 -4
  13. aws_cdk/aws_aps/__init__.py +135 -0
  14. aws_cdk/aws_athena/__init__.py +10 -10
  15. aws_cdk/aws_backup/__init__.py +14 -14
  16. aws_cdk/aws_batch/__init__.py +185 -22
  17. aws_cdk/aws_bcmdataexports/__init__.py +4 -4
  18. aws_cdk/aws_bedrock/__init__.py +266 -177
  19. aws_cdk/aws_certificatemanager/__init__.py +15 -14
  20. aws_cdk/aws_chatbot/__init__.py +4 -4
  21. aws_cdk/aws_cloudformation/__init__.py +22 -18
  22. aws_cdk/aws_cloudfront/__init__.py +674 -7
  23. aws_cdk/aws_cloudfront_origins/__init__.py +40 -0
  24. aws_cdk/aws_cloudtrail/__init__.py +4 -4
  25. aws_cdk/aws_cloudwatch/__init__.py +53 -53
  26. aws_cdk/aws_codedeploy/__init__.py +2 -2
  27. aws_cdk/aws_codepipeline/__init__.py +24 -6
  28. aws_cdk/aws_codepipeline_actions/__init__.py +2 -2
  29. aws_cdk/aws_cognito/__init__.py +42 -20
  30. aws_cdk/aws_connect/__init__.py +4 -4
  31. aws_cdk/aws_customerprofiles/__init__.py +3 -1
  32. aws_cdk/aws_databrew/__init__.py +16 -16
  33. aws_cdk/aws_datasync/__init__.py +14 -11
  34. aws_cdk/aws_datazone/__init__.py +5 -5
  35. aws_cdk/aws_dms/__init__.py +4 -4
  36. aws_cdk/aws_dynamodb/__init__.py +267 -25
  37. aws_cdk/aws_ec2/__init__.py +1137 -181
  38. aws_cdk/aws_ecs/__init__.py +740 -116
  39. aws_cdk/aws_ecs_patterns/__init__.py +49 -0
  40. aws_cdk/aws_efs/__init__.py +3 -3
  41. aws_cdk/aws_eks/__init__.py +31 -32
  42. aws_cdk/aws_elasticache/__init__.py +10 -10
  43. aws_cdk/aws_elasticloadbalancingv2/__init__.py +47 -18
  44. aws_cdk/aws_elasticsearch/__init__.py +10 -10
  45. aws_cdk/aws_emr/__init__.py +16 -16
  46. aws_cdk/aws_emrserverless/__init__.py +12 -9
  47. aws_cdk/aws_entityresolution/__init__.py +31 -17
  48. aws_cdk/aws_events/__init__.py +12 -12
  49. aws_cdk/aws_fis/__init__.py +16 -16
  50. aws_cdk/aws_fms/__init__.py +7 -3
  51. aws_cdk/aws_glue/__init__.py +1326 -7
  52. aws_cdk/aws_greengrassv2/__init__.py +8 -8
  53. aws_cdk/aws_guardduty/__init__.py +521 -0
  54. aws_cdk/aws_healthlake/__init__.py +10 -2
  55. aws_cdk/aws_imagebuilder/__init__.py +26 -26
  56. aws_cdk/aws_iot/__init__.py +40 -40
  57. aws_cdk/aws_iotanalytics/__init__.py +4 -4
  58. aws_cdk/aws_iotfleetwise/__init__.py +424 -10
  59. aws_cdk/aws_iotsitewise/__init__.py +84 -13
  60. aws_cdk/aws_iottwinmaker/__init__.py +18 -18
  61. aws_cdk/aws_iotwireless/__init__.py +4 -4
  62. aws_cdk/aws_kafkaconnect/__init__.py +10 -10
  63. aws_cdk/aws_kendra/__init__.py +0 -10
  64. aws_cdk/aws_kinesisanalytics/__init__.py +4 -4
  65. aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -4
  66. aws_cdk/aws_kinesisfirehose/__init__.py +4544 -183
  67. aws_cdk/aws_kms/__init__.py +11 -10
  68. aws_cdk/aws_lambda/__init__.py +34 -4
  69. aws_cdk/aws_lambda_nodejs/__init__.py +24 -5
  70. aws_cdk/aws_launchwizard/__init__.py +10 -10
  71. aws_cdk/aws_logs/__init__.py +19 -15
  72. aws_cdk/aws_mediaconnect/__init__.py +509 -12
  73. aws_cdk/aws_medialive/__init__.py +16 -16
  74. aws_cdk/aws_mediatailor/__init__.py +10 -10
  75. aws_cdk/aws_networkfirewall/__init__.py +12 -12
  76. aws_cdk/aws_notifications/__init__.py +602 -65
  77. aws_cdk/aws_omics/__init__.py +4 -4
  78. aws_cdk/aws_opensearchservice/__init__.py +10 -10
  79. aws_cdk/aws_opsworks/__init__.py +58 -58
  80. aws_cdk/aws_personalize/__init__.py +8 -8
  81. aws_cdk/aws_pipes/__init__.py +20 -20
  82. aws_cdk/aws_qbusiness/__init__.py +119 -0
  83. aws_cdk/aws_quicksight/__init__.py +247 -92
  84. aws_cdk/aws_rds/__init__.py +21 -15
  85. aws_cdk/aws_redshift/__init__.py +10 -10
  86. aws_cdk/aws_resiliencehub/__init__.py +0 -41
  87. aws_cdk/aws_route53/__init__.py +6 -0
  88. aws_cdk/aws_rum/__init__.py +4 -4
  89. aws_cdk/aws_s3/__init__.py +12 -2
  90. aws_cdk/aws_sagemaker/__init__.py +84 -60
  91. aws_cdk/aws_sam/__init__.py +48 -48
  92. aws_cdk/aws_secretsmanager/__init__.py +30 -14
  93. aws_cdk/aws_securityhub/__init__.py +12 -12
  94. aws_cdk/aws_sns/__init__.py +101 -15
  95. aws_cdk/aws_ssmquicksetup/__init__.py +10 -10
  96. aws_cdk/aws_stepfunctions/__init__.py +13207 -4740
  97. aws_cdk/aws_stepfunctions_tasks/__init__.py +77615 -22817
  98. aws_cdk/aws_synthetics/__init__.py +4 -4
  99. aws_cdk/aws_timestream/__init__.py +41 -0
  100. aws_cdk/aws_transfer/__init__.py +9 -10
  101. aws_cdk/aws_wafv2/__init__.py +24 -22
  102. aws_cdk/aws_wisdom/__init__.py +8 -8
  103. aws_cdk/aws_workspacesweb/__init__.py +60 -60
  104. aws_cdk/aws_xray/__init__.py +8 -8
  105. aws_cdk/cx_api/__init__.py +18 -0
  106. {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/METADATA +1 -1
  107. {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/RECORD +111 -111
  108. {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/LICENSE +0 -0
  109. {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/NOTICE +0 -0
  110. {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/WHEEL +0 -0
  111. {aws_cdk_lib-2.177.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/top_level.txt +0 -0
@@ -394,7 +394,7 @@ class CfnComponentVersion(
394
394
  def __init__(
395
395
  self,
396
396
  *,
397
- attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
397
+ attributes: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
398
398
  name: typing.Optional[builtins.str] = None,
399
399
  ) -> None:
400
400
  '''Contains information about a platform that a component supports.
@@ -431,7 +431,7 @@ class CfnComponentVersion(
431
431
  @builtins.property
432
432
  def attributes(
433
433
  self,
434
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
434
+ ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
435
435
  '''A dictionary of attributes for the platform.
436
436
 
437
437
  The AWS IoT Greengrass Core software defines the ``os`` and ``platform`` by default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the `AWS IoT Greengrass nucleus component <https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html>`_ in the *AWS IoT Greengrass V2 Developer Guide* .
@@ -439,7 +439,7 @@ class CfnComponentVersion(
439
439
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-componentplatform.html#cfn-greengrassv2-componentversion-componentplatform-attributes
440
440
  '''
441
441
  result = self._values.get("attributes")
442
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
442
+ return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
443
443
 
444
444
  @builtins.property
445
445
  def name(self) -> typing.Optional[builtins.str]:
@@ -778,7 +778,7 @@ class CfnComponentVersion(
778
778
  def __init__(
779
779
  self,
780
780
  *,
781
- environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
781
+ environment_variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
782
782
  event_sources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnComponentVersion.LambdaEventSourceProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
783
783
  exec_args: typing.Optional[typing.Sequence[builtins.str]] = None,
784
784
  input_payload_encoding_type: typing.Optional[builtins.str] = None,
@@ -889,13 +889,13 @@ class CfnComponentVersion(
889
889
  @builtins.property
890
890
  def environment_variables(
891
891
  self,
892
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
892
+ ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
893
893
  '''The map of environment variables that are available to the Lambda function when it runs.
894
894
 
895
895
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-environmentvariables
896
896
  '''
897
897
  result = self._values.get("environment_variables")
898
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
898
+ return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
899
899
 
900
900
  @builtins.property
901
901
  def event_sources(
@@ -3297,7 +3297,7 @@ def _typecheckingstub__8c678ca853046a4f9a77f7c2dd92c2ab09d84c106fa6e8f450dca99e2
3297
3297
 
3298
3298
  def _typecheckingstub__868d55cb9cd63d9081a8bb6f44c49ad0558ce766d47dc9e602b30fa6d7823104(
3299
3299
  *,
3300
- attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
3300
+ attributes: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
3301
3301
  name: typing.Optional[builtins.str] = None,
3302
3302
  ) -> None:
3303
3303
  """Type checking stubs"""
@@ -3332,7 +3332,7 @@ def _typecheckingstub__d2bdb1aa21a11fead4d3211e8427d3370a925fda227540a812604c871
3332
3332
 
3333
3333
  def _typecheckingstub__000b16ea913d1bbaf1c4a8d0fc0503b8b2497e7799ae2cf1cbbf4d109ec5d229(
3334
3334
  *,
3335
- environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
3335
+ environment_variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
3336
3336
  event_sources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnComponentVersion.LambdaEventSourceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3337
3337
  exec_args: typing.Optional[typing.Sequence[builtins.str]] = None,
3338
3338
  input_payload_encoding_type: typing.Optional[builtins.str] = None,
@@ -3612,6 +3612,451 @@ class CfnMemberProps:
3612
3612
  )
3613
3613
 
3614
3614
 
3615
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
3616
+ class CfnPublishingDestination(
3617
+ _CfnResource_9df397a6,
3618
+ metaclass=jsii.JSIIMeta,
3619
+ jsii_type="aws-cdk-lib.aws_guardduty.CfnPublishingDestination",
3620
+ ):
3621
+ '''Resource Type definition for AWS::GuardDuty::PublishingDestination.
3622
+
3623
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-publishingdestination.html
3624
+ :cloudformationResource: AWS::GuardDuty::PublishingDestination
3625
+ :exampleMetadata: fixture=_generated
3626
+
3627
+ Example::
3628
+
3629
+ # The code below shows an example of how to instantiate this type.
3630
+ # The values are placeholders you should change.
3631
+ from aws_cdk import aws_guardduty as guardduty
3632
+
3633
+ cfn_publishing_destination = guardduty.CfnPublishingDestination(self, "MyCfnPublishingDestination",
3634
+ destination_properties=guardduty.CfnPublishingDestination.CFNDestinationPropertiesProperty(
3635
+ destination_arn="destinationArn",
3636
+ kms_key_arn="kmsKeyArn"
3637
+ ),
3638
+ destination_type="destinationType",
3639
+ detector_id="detectorId",
3640
+
3641
+ # the properties below are optional
3642
+ tags=[guardduty.CfnPublishingDestination.TagItemProperty(
3643
+ key="key",
3644
+ value="value"
3645
+ )]
3646
+ )
3647
+ '''
3648
+
3649
+ def __init__(
3650
+ self,
3651
+ scope: _constructs_77d1e7e8.Construct,
3652
+ id: builtins.str,
3653
+ *,
3654
+ destination_properties: typing.Union[_IResolvable_da3f097b, typing.Union["CfnPublishingDestination.CFNDestinationPropertiesProperty", typing.Dict[builtins.str, typing.Any]]],
3655
+ destination_type: builtins.str,
3656
+ detector_id: builtins.str,
3657
+ tags: typing.Optional[typing.Sequence[typing.Union["CfnPublishingDestination.TagItemProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3658
+ ) -> None:
3659
+ '''
3660
+ :param scope: Scope in which this resource is defined.
3661
+ :param id: Construct identifier for this resource (unique in its scope).
3662
+ :param destination_properties:
3663
+ :param destination_type: The type of resource for the publishing destination. Currently only Amazon S3 buckets are supported.
3664
+ :param detector_id: The ID of the GuardDuty detector associated with the publishing destination.
3665
+ :param tags:
3666
+ '''
3667
+ if __debug__:
3668
+ type_hints = typing.get_type_hints(_typecheckingstub__7582a0d304acc160bc9a98d9a732b80f3278afa4bf6e6727d1f126985b25ef2e)
3669
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3670
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3671
+ props = CfnPublishingDestinationProps(
3672
+ destination_properties=destination_properties,
3673
+ destination_type=destination_type,
3674
+ detector_id=detector_id,
3675
+ tags=tags,
3676
+ )
3677
+
3678
+ jsii.create(self.__class__, self, [scope, id, props])
3679
+
3680
+ @jsii.member(jsii_name="inspect")
3681
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
3682
+ '''Examines the CloudFormation resource and discloses attributes.
3683
+
3684
+ :param inspector: tree inspector to collect and process attributes.
3685
+ '''
3686
+ if __debug__:
3687
+ type_hints = typing.get_type_hints(_typecheckingstub__b7a65c2f6a4c74d8c3b2e41bb4aec23cb6b4b8acbe0d23402bd1c0e4bfaa598a)
3688
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
3689
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
3690
+
3691
+ @jsii.member(jsii_name="renderProperties")
3692
+ def _render_properties(
3693
+ self,
3694
+ props: typing.Mapping[builtins.str, typing.Any],
3695
+ ) -> typing.Mapping[builtins.str, typing.Any]:
3696
+ '''
3697
+ :param props: -
3698
+ '''
3699
+ if __debug__:
3700
+ type_hints = typing.get_type_hints(_typecheckingstub__d21b5ab6a274adfb00f1fe01f6e91f6aa5c213629b29eefdeb20dd82587415f9)
3701
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
3702
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
3703
+
3704
+ @jsii.python.classproperty
3705
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
3706
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
3707
+ '''The CloudFormation resource type name for this resource class.'''
3708
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
3709
+
3710
+ @builtins.property
3711
+ @jsii.member(jsii_name="attrId")
3712
+ def attr_id(self) -> builtins.str:
3713
+ '''The ID of the publishing destination.
3714
+
3715
+ :cloudformationAttribute: Id
3716
+ '''
3717
+ return typing.cast(builtins.str, jsii.get(self, "attrId"))
3718
+
3719
+ @builtins.property
3720
+ @jsii.member(jsii_name="attrPublishingFailureStartTimestamp")
3721
+ def attr_publishing_failure_start_timestamp(self) -> builtins.str:
3722
+ '''The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.
3723
+
3724
+ :cloudformationAttribute: PublishingFailureStartTimestamp
3725
+ '''
3726
+ return typing.cast(builtins.str, jsii.get(self, "attrPublishingFailureStartTimestamp"))
3727
+
3728
+ @builtins.property
3729
+ @jsii.member(jsii_name="attrStatus")
3730
+ def attr_status(self) -> builtins.str:
3731
+ '''The status of the publishing destination.
3732
+
3733
+ :cloudformationAttribute: Status
3734
+ '''
3735
+ return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
3736
+
3737
+ @builtins.property
3738
+ @jsii.member(jsii_name="cdkTagManager")
3739
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
3740
+ '''Tag Manager which manages the tags for this resource.'''
3741
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
3742
+
3743
+ @builtins.property
3744
+ @jsii.member(jsii_name="cfnProperties")
3745
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
3746
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
3747
+
3748
+ @builtins.property
3749
+ @jsii.member(jsii_name="destinationProperties")
3750
+ def destination_properties(
3751
+ self,
3752
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnPublishingDestination.CFNDestinationPropertiesProperty"]:
3753
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnPublishingDestination.CFNDestinationPropertiesProperty"], jsii.get(self, "destinationProperties"))
3754
+
3755
+ @destination_properties.setter
3756
+ def destination_properties(
3757
+ self,
3758
+ value: typing.Union[_IResolvable_da3f097b, "CfnPublishingDestination.CFNDestinationPropertiesProperty"],
3759
+ ) -> None:
3760
+ if __debug__:
3761
+ type_hints = typing.get_type_hints(_typecheckingstub__8462a478ae531b30000f0c0ec193ea3228621fae41ff65fd5092497681704207)
3762
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3763
+ jsii.set(self, "destinationProperties", value) # pyright: ignore[reportArgumentType]
3764
+
3765
+ @builtins.property
3766
+ @jsii.member(jsii_name="destinationType")
3767
+ def destination_type(self) -> builtins.str:
3768
+ '''The type of resource for the publishing destination.'''
3769
+ return typing.cast(builtins.str, jsii.get(self, "destinationType"))
3770
+
3771
+ @destination_type.setter
3772
+ def destination_type(self, value: builtins.str) -> None:
3773
+ if __debug__:
3774
+ type_hints = typing.get_type_hints(_typecheckingstub__6cc9deb23b6a5de61d44894b1642e4e784fa009dea767391a5dbd6fa8df42483)
3775
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3776
+ jsii.set(self, "destinationType", value) # pyright: ignore[reportArgumentType]
3777
+
3778
+ @builtins.property
3779
+ @jsii.member(jsii_name="detectorId")
3780
+ def detector_id(self) -> builtins.str:
3781
+ '''The ID of the GuardDuty detector associated with the publishing destination.'''
3782
+ return typing.cast(builtins.str, jsii.get(self, "detectorId"))
3783
+
3784
+ @detector_id.setter
3785
+ def detector_id(self, value: builtins.str) -> None:
3786
+ if __debug__:
3787
+ type_hints = typing.get_type_hints(_typecheckingstub__ed53faa11f5db376093fb58d3a06190c47856c18dd56ba55c0ddbbe42eb008a9)
3788
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3789
+ jsii.set(self, "detectorId", value) # pyright: ignore[reportArgumentType]
3790
+
3791
+ @builtins.property
3792
+ @jsii.member(jsii_name="tags")
3793
+ def tags(
3794
+ self,
3795
+ ) -> typing.Optional[typing.List["CfnPublishingDestination.TagItemProperty"]]:
3796
+ return typing.cast(typing.Optional[typing.List["CfnPublishingDestination.TagItemProperty"]], jsii.get(self, "tags"))
3797
+
3798
+ @tags.setter
3799
+ def tags(
3800
+ self,
3801
+ value: typing.Optional[typing.List["CfnPublishingDestination.TagItemProperty"]],
3802
+ ) -> None:
3803
+ if __debug__:
3804
+ type_hints = typing.get_type_hints(_typecheckingstub__d2cfdcd4c810349dd448022d6f98ebfd5b325d20e6c62b58e56ec845d008f039)
3805
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3806
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
3807
+
3808
+ @jsii.data_type(
3809
+ jsii_type="aws-cdk-lib.aws_guardduty.CfnPublishingDestination.CFNDestinationPropertiesProperty",
3810
+ jsii_struct_bases=[],
3811
+ name_mapping={"destination_arn": "destinationArn", "kms_key_arn": "kmsKeyArn"},
3812
+ )
3813
+ class CFNDestinationPropertiesProperty:
3814
+ def __init__(
3815
+ self,
3816
+ *,
3817
+ destination_arn: typing.Optional[builtins.str] = None,
3818
+ kms_key_arn: typing.Optional[builtins.str] = None,
3819
+ ) -> None:
3820
+ '''
3821
+ :param destination_arn: The ARN of the resource to publish to.
3822
+ :param kms_key_arn: The ARN of the KMS key to use for encryption.
3823
+
3824
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-publishingdestination-cfndestinationproperties.html
3825
+ :exampleMetadata: fixture=_generated
3826
+
3827
+ Example::
3828
+
3829
+ # The code below shows an example of how to instantiate this type.
3830
+ # The values are placeholders you should change.
3831
+ from aws_cdk import aws_guardduty as guardduty
3832
+
3833
+ c_fNDestination_properties_property = guardduty.CfnPublishingDestination.CFNDestinationPropertiesProperty(
3834
+ destination_arn="destinationArn",
3835
+ kms_key_arn="kmsKeyArn"
3836
+ )
3837
+ '''
3838
+ if __debug__:
3839
+ type_hints = typing.get_type_hints(_typecheckingstub__1953f6d346325e51c89ea5825b27b71f01e21913a5cf5a4cd6835596c3252583)
3840
+ check_type(argname="argument destination_arn", value=destination_arn, expected_type=type_hints["destination_arn"])
3841
+ check_type(argname="argument kms_key_arn", value=kms_key_arn, expected_type=type_hints["kms_key_arn"])
3842
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3843
+ if destination_arn is not None:
3844
+ self._values["destination_arn"] = destination_arn
3845
+ if kms_key_arn is not None:
3846
+ self._values["kms_key_arn"] = kms_key_arn
3847
+
3848
+ @builtins.property
3849
+ def destination_arn(self) -> typing.Optional[builtins.str]:
3850
+ '''The ARN of the resource to publish to.
3851
+
3852
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-publishingdestination-cfndestinationproperties.html#cfn-guardduty-publishingdestination-cfndestinationproperties-destinationarn
3853
+ '''
3854
+ result = self._values.get("destination_arn")
3855
+ return typing.cast(typing.Optional[builtins.str], result)
3856
+
3857
+ @builtins.property
3858
+ def kms_key_arn(self) -> typing.Optional[builtins.str]:
3859
+ '''The ARN of the KMS key to use for encryption.
3860
+
3861
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-publishingdestination-cfndestinationproperties.html#cfn-guardduty-publishingdestination-cfndestinationproperties-kmskeyarn
3862
+ '''
3863
+ result = self._values.get("kms_key_arn")
3864
+ return typing.cast(typing.Optional[builtins.str], result)
3865
+
3866
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3867
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3868
+
3869
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3870
+ return not (rhs == self)
3871
+
3872
+ def __repr__(self) -> str:
3873
+ return "CFNDestinationPropertiesProperty(%s)" % ", ".join(
3874
+ k + "=" + repr(v) for k, v in self._values.items()
3875
+ )
3876
+
3877
+ @jsii.data_type(
3878
+ jsii_type="aws-cdk-lib.aws_guardduty.CfnPublishingDestination.TagItemProperty",
3879
+ jsii_struct_bases=[],
3880
+ name_mapping={"key": "key", "value": "value"},
3881
+ )
3882
+ class TagItemProperty:
3883
+ def __init__(self, *, key: builtins.str, value: builtins.str) -> None:
3884
+ '''
3885
+ :param key:
3886
+ :param value:
3887
+
3888
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-publishingdestination-tagitem.html
3889
+ :exampleMetadata: fixture=_generated
3890
+
3891
+ Example::
3892
+
3893
+ # The code below shows an example of how to instantiate this type.
3894
+ # The values are placeholders you should change.
3895
+ from aws_cdk import aws_guardduty as guardduty
3896
+
3897
+ tag_item_property = guardduty.CfnPublishingDestination.TagItemProperty(
3898
+ key="key",
3899
+ value="value"
3900
+ )
3901
+ '''
3902
+ if __debug__:
3903
+ type_hints = typing.get_type_hints(_typecheckingstub__4d737ccf6f9a65eccf27bcb268c162c314d61cbba8f8f4104e7951b2ee322835)
3904
+ check_type(argname="argument key", value=key, expected_type=type_hints["key"])
3905
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3906
+ self._values: typing.Dict[builtins.str, typing.Any] = {
3907
+ "key": key,
3908
+ "value": value,
3909
+ }
3910
+
3911
+ @builtins.property
3912
+ def key(self) -> builtins.str:
3913
+ '''
3914
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-publishingdestination-tagitem.html#cfn-guardduty-publishingdestination-tagitem-key
3915
+ '''
3916
+ result = self._values.get("key")
3917
+ assert result is not None, "Required property 'key' is missing"
3918
+ return typing.cast(builtins.str, result)
3919
+
3920
+ @builtins.property
3921
+ def value(self) -> builtins.str:
3922
+ '''
3923
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-publishingdestination-tagitem.html#cfn-guardduty-publishingdestination-tagitem-value
3924
+ '''
3925
+ result = self._values.get("value")
3926
+ assert result is not None, "Required property 'value' is missing"
3927
+ return typing.cast(builtins.str, result)
3928
+
3929
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3930
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3931
+
3932
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3933
+ return not (rhs == self)
3934
+
3935
+ def __repr__(self) -> str:
3936
+ return "TagItemProperty(%s)" % ", ".join(
3937
+ k + "=" + repr(v) for k, v in self._values.items()
3938
+ )
3939
+
3940
+
3941
+ @jsii.data_type(
3942
+ jsii_type="aws-cdk-lib.aws_guardduty.CfnPublishingDestinationProps",
3943
+ jsii_struct_bases=[],
3944
+ name_mapping={
3945
+ "destination_properties": "destinationProperties",
3946
+ "destination_type": "destinationType",
3947
+ "detector_id": "detectorId",
3948
+ "tags": "tags",
3949
+ },
3950
+ )
3951
+ class CfnPublishingDestinationProps:
3952
+ def __init__(
3953
+ self,
3954
+ *,
3955
+ destination_properties: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPublishingDestination.CFNDestinationPropertiesProperty, typing.Dict[builtins.str, typing.Any]]],
3956
+ destination_type: builtins.str,
3957
+ detector_id: builtins.str,
3958
+ tags: typing.Optional[typing.Sequence[typing.Union[CfnPublishingDestination.TagItemProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3959
+ ) -> None:
3960
+ '''Properties for defining a ``CfnPublishingDestination``.
3961
+
3962
+ :param destination_properties:
3963
+ :param destination_type: The type of resource for the publishing destination. Currently only Amazon S3 buckets are supported.
3964
+ :param detector_id: The ID of the GuardDuty detector associated with the publishing destination.
3965
+ :param tags:
3966
+
3967
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-publishingdestination.html
3968
+ :exampleMetadata: fixture=_generated
3969
+
3970
+ Example::
3971
+
3972
+ # The code below shows an example of how to instantiate this type.
3973
+ # The values are placeholders you should change.
3974
+ from aws_cdk import aws_guardduty as guardduty
3975
+
3976
+ cfn_publishing_destination_props = guardduty.CfnPublishingDestinationProps(
3977
+ destination_properties=guardduty.CfnPublishingDestination.CFNDestinationPropertiesProperty(
3978
+ destination_arn="destinationArn",
3979
+ kms_key_arn="kmsKeyArn"
3980
+ ),
3981
+ destination_type="destinationType",
3982
+ detector_id="detectorId",
3983
+
3984
+ # the properties below are optional
3985
+ tags=[guardduty.CfnPublishingDestination.TagItemProperty(
3986
+ key="key",
3987
+ value="value"
3988
+ )]
3989
+ )
3990
+ '''
3991
+ if __debug__:
3992
+ type_hints = typing.get_type_hints(_typecheckingstub__5035cd8908ac8fcff142733ecf98576b3480f30c7c0fd250caa41a83b01ce7ff)
3993
+ check_type(argname="argument destination_properties", value=destination_properties, expected_type=type_hints["destination_properties"])
3994
+ check_type(argname="argument destination_type", value=destination_type, expected_type=type_hints["destination_type"])
3995
+ check_type(argname="argument detector_id", value=detector_id, expected_type=type_hints["detector_id"])
3996
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
3997
+ self._values: typing.Dict[builtins.str, typing.Any] = {
3998
+ "destination_properties": destination_properties,
3999
+ "destination_type": destination_type,
4000
+ "detector_id": detector_id,
4001
+ }
4002
+ if tags is not None:
4003
+ self._values["tags"] = tags
4004
+
4005
+ @builtins.property
4006
+ def destination_properties(
4007
+ self,
4008
+ ) -> typing.Union[_IResolvable_da3f097b, CfnPublishingDestination.CFNDestinationPropertiesProperty]:
4009
+ '''
4010
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-publishingdestination.html#cfn-guardduty-publishingdestination-destinationproperties
4011
+ '''
4012
+ result = self._values.get("destination_properties")
4013
+ assert result is not None, "Required property 'destination_properties' is missing"
4014
+ return typing.cast(typing.Union[_IResolvable_da3f097b, CfnPublishingDestination.CFNDestinationPropertiesProperty], result)
4015
+
4016
+ @builtins.property
4017
+ def destination_type(self) -> builtins.str:
4018
+ '''The type of resource for the publishing destination.
4019
+
4020
+ Currently only Amazon S3 buckets are supported.
4021
+
4022
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-publishingdestination.html#cfn-guardduty-publishingdestination-destinationtype
4023
+ '''
4024
+ result = self._values.get("destination_type")
4025
+ assert result is not None, "Required property 'destination_type' is missing"
4026
+ return typing.cast(builtins.str, result)
4027
+
4028
+ @builtins.property
4029
+ def detector_id(self) -> builtins.str:
4030
+ '''The ID of the GuardDuty detector associated with the publishing destination.
4031
+
4032
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-publishingdestination.html#cfn-guardduty-publishingdestination-detectorid
4033
+ '''
4034
+ result = self._values.get("detector_id")
4035
+ assert result is not None, "Required property 'detector_id' is missing"
4036
+ return typing.cast(builtins.str, result)
4037
+
4038
+ @builtins.property
4039
+ def tags(
4040
+ self,
4041
+ ) -> typing.Optional[typing.List[CfnPublishingDestination.TagItemProperty]]:
4042
+ '''
4043
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-publishingdestination.html#cfn-guardduty-publishingdestination-tags
4044
+ '''
4045
+ result = self._values.get("tags")
4046
+ return typing.cast(typing.Optional[typing.List[CfnPublishingDestination.TagItemProperty]], result)
4047
+
4048
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4049
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4050
+
4051
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4052
+ return not (rhs == self)
4053
+
4054
+ def __repr__(self) -> str:
4055
+ return "CfnPublishingDestinationProps(%s)" % ", ".join(
4056
+ k + "=" + repr(v) for k, v in self._values.items()
4057
+ )
4058
+
4059
+
3615
4060
  @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
3616
4061
  class CfnThreatIntelSet(
3617
4062
  _CfnResource_9df397a6,
@@ -3984,6 +4429,8 @@ __all__ = [
3984
4429
  "CfnMasterProps",
3985
4430
  "CfnMember",
3986
4431
  "CfnMemberProps",
4432
+ "CfnPublishingDestination",
4433
+ "CfnPublishingDestinationProps",
3987
4434
  "CfnThreatIntelSet",
3988
4435
  "CfnThreatIntelSetProps",
3989
4436
  ]
@@ -4534,6 +4981,80 @@ def _typecheckingstub__707033ab8b51a1c3cb64594f2a7e13ff03829ca7aed824af4d8509b63
4534
4981
  """Type checking stubs"""
4535
4982
  pass
4536
4983
 
4984
+ def _typecheckingstub__7582a0d304acc160bc9a98d9a732b80f3278afa4bf6e6727d1f126985b25ef2e(
4985
+ scope: _constructs_77d1e7e8.Construct,
4986
+ id: builtins.str,
4987
+ *,
4988
+ destination_properties: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPublishingDestination.CFNDestinationPropertiesProperty, typing.Dict[builtins.str, typing.Any]]],
4989
+ destination_type: builtins.str,
4990
+ detector_id: builtins.str,
4991
+ tags: typing.Optional[typing.Sequence[typing.Union[CfnPublishingDestination.TagItemProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4992
+ ) -> None:
4993
+ """Type checking stubs"""
4994
+ pass
4995
+
4996
+ def _typecheckingstub__b7a65c2f6a4c74d8c3b2e41bb4aec23cb6b4b8acbe0d23402bd1c0e4bfaa598a(
4997
+ inspector: _TreeInspector_488e0dd5,
4998
+ ) -> None:
4999
+ """Type checking stubs"""
5000
+ pass
5001
+
5002
+ def _typecheckingstub__d21b5ab6a274adfb00f1fe01f6e91f6aa5c213629b29eefdeb20dd82587415f9(
5003
+ props: typing.Mapping[builtins.str, typing.Any],
5004
+ ) -> None:
5005
+ """Type checking stubs"""
5006
+ pass
5007
+
5008
+ def _typecheckingstub__8462a478ae531b30000f0c0ec193ea3228621fae41ff65fd5092497681704207(
5009
+ value: typing.Union[_IResolvable_da3f097b, CfnPublishingDestination.CFNDestinationPropertiesProperty],
5010
+ ) -> None:
5011
+ """Type checking stubs"""
5012
+ pass
5013
+
5014
+ def _typecheckingstub__6cc9deb23b6a5de61d44894b1642e4e784fa009dea767391a5dbd6fa8df42483(
5015
+ value: builtins.str,
5016
+ ) -> None:
5017
+ """Type checking stubs"""
5018
+ pass
5019
+
5020
+ def _typecheckingstub__ed53faa11f5db376093fb58d3a06190c47856c18dd56ba55c0ddbbe42eb008a9(
5021
+ value: builtins.str,
5022
+ ) -> None:
5023
+ """Type checking stubs"""
5024
+ pass
5025
+
5026
+ def _typecheckingstub__d2cfdcd4c810349dd448022d6f98ebfd5b325d20e6c62b58e56ec845d008f039(
5027
+ value: typing.Optional[typing.List[CfnPublishingDestination.TagItemProperty]],
5028
+ ) -> None:
5029
+ """Type checking stubs"""
5030
+ pass
5031
+
5032
+ def _typecheckingstub__1953f6d346325e51c89ea5825b27b71f01e21913a5cf5a4cd6835596c3252583(
5033
+ *,
5034
+ destination_arn: typing.Optional[builtins.str] = None,
5035
+ kms_key_arn: typing.Optional[builtins.str] = None,
5036
+ ) -> None:
5037
+ """Type checking stubs"""
5038
+ pass
5039
+
5040
+ def _typecheckingstub__4d737ccf6f9a65eccf27bcb268c162c314d61cbba8f8f4104e7951b2ee322835(
5041
+ *,
5042
+ key: builtins.str,
5043
+ value: builtins.str,
5044
+ ) -> None:
5045
+ """Type checking stubs"""
5046
+ pass
5047
+
5048
+ def _typecheckingstub__5035cd8908ac8fcff142733ecf98576b3480f30c7c0fd250caa41a83b01ce7ff(
5049
+ *,
5050
+ destination_properties: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPublishingDestination.CFNDestinationPropertiesProperty, typing.Dict[builtins.str, typing.Any]]],
5051
+ destination_type: builtins.str,
5052
+ detector_id: builtins.str,
5053
+ tags: typing.Optional[typing.Sequence[typing.Union[CfnPublishingDestination.TagItemProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5054
+ ) -> None:
5055
+ """Type checking stubs"""
5056
+ pass
5057
+
4537
5058
  def _typecheckingstub__e60035c0bc955afb794ee89f0439deae280bfec665014cbbd161f08566de73a7(
4538
5059
  scope: _constructs_77d1e7e8.Construct,
4539
5060
  id: builtins.str,
@@ -445,7 +445,7 @@ class CfnFHIRDatastore(
445
445
  ) -> None:
446
446
  '''The identity provider configuration selected when the data store was created.
447
447
 
448
- :param authorization_strategy: The authorization strategy selected when the data store was created.
448
+ :param authorization_strategy: The authorization strategy selected when the HealthLake data store is created. .. epigraph:: HealthLake provides support for both SMART on FHIR V1 and V2 as described below. - ``SMART_ON_FHIR_V1`` – Support for only SMART on FHIR V1, which includes ``read`` (read/search) and ``write`` (create/update/delete) permissions. - ``SMART_ON_FHIR`` – Support for both SMART on FHIR V1 and V2, which includes ``create`` , ``read`` , ``update`` , ``delete`` , and ``search`` permissions. - ``AWS_AUTH`` – The default HealthLake authorization strategy; not affiliated with SMART on FHIR.
449
449
  :param fine_grained_authorization_enabled: The parameter to enable SMART on FHIR fine-grained authorization for the data store.
450
450
  :param idp_lambda_arn: The Amazon Resource Name (ARN) of the Lambda function to use to decode the access token created by the authorization server.
451
451
  :param metadata: The JSON metadata elements to use in your identity provider configuration. Required elements are listed based on the launch specification of the SMART application. For more information on all possible elements, see `Metadata <https://docs.aws.amazon.com/https://build.fhir.org/ig/HL7/smart-app-launch/conformance.html#metadata>`_ in SMART's App Launch specification. ``authorization_endpoint`` : The URL to the OAuth2 authorization endpoint. ``grant_types_supported`` : An array of grant types that are supported at the token endpoint. You must provide at least one grant type option. Valid options are ``authorization_code`` and ``client_credentials`` . ``token_endpoint`` : The URL to the OAuth2 token endpoint. ``capabilities`` : An array of strings of the SMART capabilities that the authorization server supports. ``code_challenge_methods_supported`` : An array of strings of supported PKCE code challenge methods. You must include the ``S256`` method in the array of PKCE code challenge methods.
@@ -486,7 +486,15 @@ class CfnFHIRDatastore(
486
486
 
487
487
  @builtins.property
488
488
  def authorization_strategy(self) -> builtins.str:
489
- '''The authorization strategy selected when the data store was created.
489
+ '''The authorization strategy selected when the HealthLake data store is created.
490
+
491
+ .. epigraph::
492
+
493
+ HealthLake provides support for both SMART on FHIR V1 and V2 as described below.
494
+
495
+ - ``SMART_ON_FHIR_V1`` – Support for only SMART on FHIR V1, which includes ``read`` (read/search) and ``write`` (create/update/delete) permissions.
496
+ - ``SMART_ON_FHIR`` – Support for both SMART on FHIR V1 and V2, which includes ``create`` , ``read`` , ``update`` , ``delete`` , and ``search`` permissions.
497
+ - ``AWS_AUTH`` – The default HealthLake authorization strategy; not affiliated with SMART on FHIR.
490
498
 
491
499
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-healthlake-fhirdatastore-identityproviderconfiguration.html#cfn-healthlake-fhirdatastore-identityproviderconfiguration-authorizationstrategy
492
500
  '''