aws-cdk-lib 2.154.0__py3-none-any.whl → 2.155.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 (35) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.154.0.jsii.tgz → aws-cdk-lib@2.155.0.jsii.tgz} +0 -0
  3. aws_cdk/assertions/__init__.py +17 -17
  4. aws_cdk/aws_apigatewayv2/__init__.py +13 -14
  5. aws_cdk/aws_bedrock/__init__.py +2672 -306
  6. aws_cdk/aws_cloudfront/__init__.py +20 -5
  7. aws_cdk/aws_codebuild/__init__.py +384 -4
  8. aws_cdk/aws_ec2/__init__.py +246 -47
  9. aws_cdk/aws_ecs/__init__.py +5 -3
  10. aws_cdk/aws_eks/__init__.py +34 -4
  11. aws_cdk/aws_gamelift/__init__.py +52 -40
  12. aws_cdk/aws_glue/__init__.py +55 -4
  13. aws_cdk/aws_imagebuilder/__init__.py +6 -6
  14. aws_cdk/aws_ivs/__init__.py +460 -2
  15. aws_cdk/aws_kms/__init__.py +36 -0
  16. aws_cdk/aws_lambda/__init__.py +38 -23
  17. aws_cdk/aws_lambda_event_sources/__init__.py +27 -0
  18. aws_cdk/aws_medialive/__init__.py +41 -0
  19. aws_cdk/aws_msk/__init__.py +88 -0
  20. aws_cdk/aws_rds/__init__.py +6 -0
  21. aws_cdk/aws_sagemaker/__init__.py +2 -2
  22. aws_cdk/aws_secretsmanager/__init__.py +3 -2
  23. aws_cdk/aws_ses/__init__.py +7 -7
  24. aws_cdk/aws_ssm/__init__.py +5 -5
  25. aws_cdk/aws_ssmcontacts/__init__.py +12 -0
  26. aws_cdk/aws_stepfunctions/__init__.py +12 -14
  27. aws_cdk/aws_stepfunctions_tasks/__init__.py +76 -0
  28. aws_cdk/aws_synthetics/__init__.py +13 -0
  29. aws_cdk/custom_resources/__init__.py +113 -2
  30. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/METADATA +1 -1
  31. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/RECORD +35 -35
  32. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/LICENSE +0 -0
  33. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/NOTICE +0 -0
  34. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/WHEEL +0 -0
  35. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/top_level.txt +0 -0
@@ -1519,6 +1519,260 @@ class CfnPlaybackRestrictionPolicyProps:
1519
1519
  )
1520
1520
 
1521
1521
 
1522
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
1523
+ class CfnPublicKey(
1524
+ _CfnResource_9df397a6,
1525
+ metaclass=jsii.JSIIMeta,
1526
+ jsii_type="aws-cdk-lib.aws_ivs.CfnPublicKey",
1527
+ ):
1528
+ '''The ``AWS::IVS::PublicKey`` resource specifies an Amazon IVS public key used to sign stage participant tokens.
1529
+
1530
+ For more information, see `Distribute Participant Tokens <https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started-distribute-tokens.html>`_ in the *Amazon IVS Real-Time Streaming User Guide* .
1531
+
1532
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-publickey.html
1533
+ :cloudformationResource: AWS::IVS::PublicKey
1534
+ :exampleMetadata: fixture=_generated
1535
+
1536
+ Example::
1537
+
1538
+ # The code below shows an example of how to instantiate this type.
1539
+ # The values are placeholders you should change.
1540
+ from aws_cdk import aws_ivs as ivs
1541
+
1542
+ cfn_public_key = ivs.CfnPublicKey(self, "MyCfnPublicKey",
1543
+ name="name",
1544
+ public_key_material="publicKeyMaterial",
1545
+ tags=[CfnTag(
1546
+ key="key",
1547
+ value="value"
1548
+ )]
1549
+ )
1550
+ '''
1551
+
1552
+ def __init__(
1553
+ self,
1554
+ scope: _constructs_77d1e7e8.Construct,
1555
+ id: builtins.str,
1556
+ *,
1557
+ name: typing.Optional[builtins.str] = None,
1558
+ public_key_material: typing.Optional[builtins.str] = None,
1559
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1560
+ ) -> None:
1561
+ '''
1562
+ :param scope: Scope in which this resource is defined.
1563
+ :param id: Construct identifier for this resource (unique in its scope).
1564
+ :param name: Public key name. The value does not need to be unique.
1565
+ :param public_key_material: The public portion of a customer-generated key pair.
1566
+ :param tags: An array of key-value pairs to apply to this resource.
1567
+ '''
1568
+ if __debug__:
1569
+ type_hints = typing.get_type_hints(_typecheckingstub__69566f8b07a347c045dd6b2f0dfca75d7b37273e69681243f26273b19e06cd09)
1570
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1571
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1572
+ props = CfnPublicKeyProps(
1573
+ name=name, public_key_material=public_key_material, tags=tags
1574
+ )
1575
+
1576
+ jsii.create(self.__class__, self, [scope, id, props])
1577
+
1578
+ @jsii.member(jsii_name="inspect")
1579
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
1580
+ '''Examines the CloudFormation resource and discloses attributes.
1581
+
1582
+ :param inspector: tree inspector to collect and process attributes.
1583
+ '''
1584
+ if __debug__:
1585
+ type_hints = typing.get_type_hints(_typecheckingstub__4e6b8cd6799dd82e06ff9988e9e614506cad2cdb4fd21af49f6565f000590088)
1586
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
1587
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
1588
+
1589
+ @jsii.member(jsii_name="renderProperties")
1590
+ def _render_properties(
1591
+ self,
1592
+ props: typing.Mapping[builtins.str, typing.Any],
1593
+ ) -> typing.Mapping[builtins.str, typing.Any]:
1594
+ '''
1595
+ :param props: -
1596
+ '''
1597
+ if __debug__:
1598
+ type_hints = typing.get_type_hints(_typecheckingstub__e64d06031e9bc941f4698d06e7ad4d4c0b95c41a9c231c5cc51e05f1bb3c217b)
1599
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
1600
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
1601
+
1602
+ @jsii.python.classproperty
1603
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
1604
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
1605
+ '''The CloudFormation resource type name for this resource class.'''
1606
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
1607
+
1608
+ @builtins.property
1609
+ @jsii.member(jsii_name="attrArn")
1610
+ def attr_arn(self) -> builtins.str:
1611
+ '''The public key ARN.
1612
+
1613
+ For example: ``arn:aws:ivs:us-west-2:123456789012:public-key/abcdABCDefgh``
1614
+
1615
+ :cloudformationAttribute: Arn
1616
+ '''
1617
+ return typing.cast(builtins.str, jsii.get(self, "attrArn"))
1618
+
1619
+ @builtins.property
1620
+ @jsii.member(jsii_name="attrFingerprint")
1621
+ def attr_fingerprint(self) -> builtins.str:
1622
+ '''The public key identifier.
1623
+
1624
+ For example: ``98:0d:1a:a0:19:96:1e:ea:0a:0a:2c:9a:42:19:2b:e7``
1625
+
1626
+ :cloudformationAttribute: Fingerprint
1627
+ '''
1628
+ return typing.cast(builtins.str, jsii.get(self, "attrFingerprint"))
1629
+
1630
+ @builtins.property
1631
+ @jsii.member(jsii_name="cdkTagManager")
1632
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
1633
+ '''Tag Manager which manages the tags for this resource.'''
1634
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
1635
+
1636
+ @builtins.property
1637
+ @jsii.member(jsii_name="cfnProperties")
1638
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
1639
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
1640
+
1641
+ @builtins.property
1642
+ @jsii.member(jsii_name="name")
1643
+ def name(self) -> typing.Optional[builtins.str]:
1644
+ '''Public key name.'''
1645
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
1646
+
1647
+ @name.setter
1648
+ def name(self, value: typing.Optional[builtins.str]) -> None:
1649
+ if __debug__:
1650
+ type_hints = typing.get_type_hints(_typecheckingstub__d17e9902ef9a61f0eff6eb979f114b77f3840a826d3a39b4893ea2a98275b4be)
1651
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1652
+ jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
1653
+
1654
+ @builtins.property
1655
+ @jsii.member(jsii_name="publicKeyMaterial")
1656
+ def public_key_material(self) -> typing.Optional[builtins.str]:
1657
+ '''The public portion of a customer-generated key pair.'''
1658
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "publicKeyMaterial"))
1659
+
1660
+ @public_key_material.setter
1661
+ def public_key_material(self, value: typing.Optional[builtins.str]) -> None:
1662
+ if __debug__:
1663
+ type_hints = typing.get_type_hints(_typecheckingstub__a843701534e0f215185c3c60d4ab2be6eb1b19877fea3f91057d6b805e21bc31)
1664
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1665
+ jsii.set(self, "publicKeyMaterial", value) # pyright: ignore[reportArgumentType]
1666
+
1667
+ @builtins.property
1668
+ @jsii.member(jsii_name="tags")
1669
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1670
+ '''An array of key-value pairs to apply to this resource.'''
1671
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
1672
+
1673
+ @tags.setter
1674
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
1675
+ if __debug__:
1676
+ type_hints = typing.get_type_hints(_typecheckingstub__c5f083992aecb52530dd61b06308422142992ddce014c2eca8bd7e50b14a98e3)
1677
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1678
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
1679
+
1680
+
1681
+ @jsii.data_type(
1682
+ jsii_type="aws-cdk-lib.aws_ivs.CfnPublicKeyProps",
1683
+ jsii_struct_bases=[],
1684
+ name_mapping={
1685
+ "name": "name",
1686
+ "public_key_material": "publicKeyMaterial",
1687
+ "tags": "tags",
1688
+ },
1689
+ )
1690
+ class CfnPublicKeyProps:
1691
+ def __init__(
1692
+ self,
1693
+ *,
1694
+ name: typing.Optional[builtins.str] = None,
1695
+ public_key_material: typing.Optional[builtins.str] = None,
1696
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1697
+ ) -> None:
1698
+ '''Properties for defining a ``CfnPublicKey``.
1699
+
1700
+ :param name: Public key name. The value does not need to be unique.
1701
+ :param public_key_material: The public portion of a customer-generated key pair.
1702
+ :param tags: An array of key-value pairs to apply to this resource.
1703
+
1704
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-publickey.html
1705
+ :exampleMetadata: fixture=_generated
1706
+
1707
+ Example::
1708
+
1709
+ # The code below shows an example of how to instantiate this type.
1710
+ # The values are placeholders you should change.
1711
+ from aws_cdk import aws_ivs as ivs
1712
+
1713
+ cfn_public_key_props = ivs.CfnPublicKeyProps(
1714
+ name="name",
1715
+ public_key_material="publicKeyMaterial",
1716
+ tags=[CfnTag(
1717
+ key="key",
1718
+ value="value"
1719
+ )]
1720
+ )
1721
+ '''
1722
+ if __debug__:
1723
+ type_hints = typing.get_type_hints(_typecheckingstub__6e24b7446ff29c9bd2fdfcc82ce735007c1472e2e0a7ef6f06d261450515e6a4)
1724
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
1725
+ check_type(argname="argument public_key_material", value=public_key_material, expected_type=type_hints["public_key_material"])
1726
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1727
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1728
+ if name is not None:
1729
+ self._values["name"] = name
1730
+ if public_key_material is not None:
1731
+ self._values["public_key_material"] = public_key_material
1732
+ if tags is not None:
1733
+ self._values["tags"] = tags
1734
+
1735
+ @builtins.property
1736
+ def name(self) -> typing.Optional[builtins.str]:
1737
+ '''Public key name.
1738
+
1739
+ The value does not need to be unique.
1740
+
1741
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-publickey.html#cfn-ivs-publickey-name
1742
+ '''
1743
+ result = self._values.get("name")
1744
+ return typing.cast(typing.Optional[builtins.str], result)
1745
+
1746
+ @builtins.property
1747
+ def public_key_material(self) -> typing.Optional[builtins.str]:
1748
+ '''The public portion of a customer-generated key pair.
1749
+
1750
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-publickey.html#cfn-ivs-publickey-publickeymaterial
1751
+ '''
1752
+ result = self._values.get("public_key_material")
1753
+ return typing.cast(typing.Optional[builtins.str], result)
1754
+
1755
+ @builtins.property
1756
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1757
+ '''An array of key-value pairs to apply to this resource.
1758
+
1759
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-publickey.html#cfn-ivs-publickey-tags
1760
+ '''
1761
+ result = self._values.get("tags")
1762
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
1763
+
1764
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1765
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1766
+
1767
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1768
+ return not (rhs == self)
1769
+
1770
+ def __repr__(self) -> str:
1771
+ return "CfnPublicKeyProps(%s)" % ", ".join(
1772
+ k + "=" + repr(v) for k, v in self._values.items()
1773
+ )
1774
+
1775
+
1522
1776
  @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
1523
1777
  class CfnRecordingConfiguration(
1524
1778
  _CfnResource_9df397a6,
@@ -2278,6 +2532,12 @@ class CfnStage(
2278
2532
  from aws_cdk import aws_ivs as ivs
2279
2533
 
2280
2534
  cfn_stage = ivs.CfnStage(self, "MyCfnStage",
2535
+ auto_participant_recording_configuration=ivs.CfnStage.AutoParticipantRecordingConfigurationProperty(
2536
+ storage_configuration_arn="storageConfigurationArn",
2537
+
2538
+ # the properties below are optional
2539
+ media_types=["mediaTypes"]
2540
+ ),
2281
2541
  name="name",
2282
2542
  tags=[CfnTag(
2283
2543
  key="key",
@@ -2291,12 +2551,14 @@ class CfnStage(
2291
2551
  scope: _constructs_77d1e7e8.Construct,
2292
2552
  id: builtins.str,
2293
2553
  *,
2554
+ auto_participant_recording_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStage.AutoParticipantRecordingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2294
2555
  name: typing.Optional[builtins.str] = None,
2295
2556
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2296
2557
  ) -> None:
2297
2558
  '''
2298
2559
  :param scope: Scope in which this resource is defined.
2299
2560
  :param id: Construct identifier for this resource (unique in its scope).
2561
+ :param auto_participant_recording_configuration: Configuration object for individual participant recording, to attach to the new stage.
2300
2562
  :param name: Stage name.
2301
2563
  :param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-tag.html>`_ .
2302
2564
  '''
@@ -2304,7 +2566,11 @@ class CfnStage(
2304
2566
  type_hints = typing.get_type_hints(_typecheckingstub__95445d65024ea014afa24d3c5da7a1c325ecb6f520b50f18c628abc8468ad394)
2305
2567
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
2306
2568
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
2307
- props = CfnStageProps(name=name, tags=tags)
2569
+ props = CfnStageProps(
2570
+ auto_participant_recording_configuration=auto_participant_recording_configuration,
2571
+ name=name,
2572
+ tags=tags,
2573
+ )
2308
2574
 
2309
2575
  jsii.create(self.__class__, self, [scope, id, props])
2310
2576
 
@@ -2371,6 +2637,24 @@ class CfnStage(
2371
2637
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
2372
2638
  return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
2373
2639
 
2640
+ @builtins.property
2641
+ @jsii.member(jsii_name="autoParticipantRecordingConfiguration")
2642
+ def auto_participant_recording_configuration(
2643
+ self,
2644
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStage.AutoParticipantRecordingConfigurationProperty"]]:
2645
+ '''Configuration object for individual participant recording, to attach to the new stage.'''
2646
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStage.AutoParticipantRecordingConfigurationProperty"]], jsii.get(self, "autoParticipantRecordingConfiguration"))
2647
+
2648
+ @auto_participant_recording_configuration.setter
2649
+ def auto_participant_recording_configuration(
2650
+ self,
2651
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStage.AutoParticipantRecordingConfigurationProperty"]],
2652
+ ) -> None:
2653
+ if __debug__:
2654
+ type_hints = typing.get_type_hints(_typecheckingstub__288ad5976e299bf3facf5812af603311b1780e61570d5cc88abb63f8e5ce0757)
2655
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2656
+ jsii.set(self, "autoParticipantRecordingConfiguration", value) # pyright: ignore[reportArgumentType]
2657
+
2374
2658
  @builtins.property
2375
2659
  @jsii.member(jsii_name="name")
2376
2660
  def name(self) -> typing.Optional[builtins.str]:
@@ -2397,21 +2681,107 @@ class CfnStage(
2397
2681
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2398
2682
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
2399
2683
 
2684
+ @jsii.data_type(
2685
+ jsii_type="aws-cdk-lib.aws_ivs.CfnStage.AutoParticipantRecordingConfigurationProperty",
2686
+ jsii_struct_bases=[],
2687
+ name_mapping={
2688
+ "storage_configuration_arn": "storageConfigurationArn",
2689
+ "media_types": "mediaTypes",
2690
+ },
2691
+ )
2692
+ class AutoParticipantRecordingConfigurationProperty:
2693
+ def __init__(
2694
+ self,
2695
+ *,
2696
+ storage_configuration_arn: builtins.str,
2697
+ media_types: typing.Optional[typing.Sequence[builtins.str]] = None,
2698
+ ) -> None:
2699
+ '''The ``AWS::IVS::AutoParticipantRecordingConfiguration`` property type describes a configuration for individual participant recording.
2700
+
2701
+ :param storage_configuration_arn: ARN of the StorageConfiguration resource to use for individual participant recording. Default: "" (empty string, no storage configuration is specified). Individual participant recording cannot be started unless a storage configuration is specified, when a Stage is created or updated.
2702
+ :param media_types: Types of media to be recorded. Default: ``AUDIO_VIDEO`` .
2703
+
2704
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-autoparticipantrecordingconfiguration.html
2705
+ :exampleMetadata: fixture=_generated
2706
+
2707
+ Example::
2708
+
2709
+ # The code below shows an example of how to instantiate this type.
2710
+ # The values are placeholders you should change.
2711
+ from aws_cdk import aws_ivs as ivs
2712
+
2713
+ auto_participant_recording_configuration_property = ivs.CfnStage.AutoParticipantRecordingConfigurationProperty(
2714
+ storage_configuration_arn="storageConfigurationArn",
2715
+
2716
+ # the properties below are optional
2717
+ media_types=["mediaTypes"]
2718
+ )
2719
+ '''
2720
+ if __debug__:
2721
+ type_hints = typing.get_type_hints(_typecheckingstub__3aeae0e25427fa7c0b735f190d30738c3d5c425f52576a56e84290d192a62871)
2722
+ check_type(argname="argument storage_configuration_arn", value=storage_configuration_arn, expected_type=type_hints["storage_configuration_arn"])
2723
+ check_type(argname="argument media_types", value=media_types, expected_type=type_hints["media_types"])
2724
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2725
+ "storage_configuration_arn": storage_configuration_arn,
2726
+ }
2727
+ if media_types is not None:
2728
+ self._values["media_types"] = media_types
2729
+
2730
+ @builtins.property
2731
+ def storage_configuration_arn(self) -> builtins.str:
2732
+ '''ARN of the StorageConfiguration resource to use for individual participant recording.
2733
+
2734
+ Default: "" (empty string, no storage configuration is specified). Individual participant recording cannot be started unless a storage configuration is specified, when a Stage is created or updated.
2735
+
2736
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-autoparticipantrecordingconfiguration.html#cfn-ivs-stage-autoparticipantrecordingconfiguration-storageconfigurationarn
2737
+ '''
2738
+ result = self._values.get("storage_configuration_arn")
2739
+ assert result is not None, "Required property 'storage_configuration_arn' is missing"
2740
+ return typing.cast(builtins.str, result)
2741
+
2742
+ @builtins.property
2743
+ def media_types(self) -> typing.Optional[typing.List[builtins.str]]:
2744
+ '''Types of media to be recorded.
2745
+
2746
+ Default: ``AUDIO_VIDEO`` .
2747
+
2748
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-autoparticipantrecordingconfiguration.html#cfn-ivs-stage-autoparticipantrecordingconfiguration-mediatypes
2749
+ '''
2750
+ result = self._values.get("media_types")
2751
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
2752
+
2753
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2754
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2755
+
2756
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2757
+ return not (rhs == self)
2758
+
2759
+ def __repr__(self) -> str:
2760
+ return "AutoParticipantRecordingConfigurationProperty(%s)" % ", ".join(
2761
+ k + "=" + repr(v) for k, v in self._values.items()
2762
+ )
2763
+
2400
2764
 
2401
2765
  @jsii.data_type(
2402
2766
  jsii_type="aws-cdk-lib.aws_ivs.CfnStageProps",
2403
2767
  jsii_struct_bases=[],
2404
- name_mapping={"name": "name", "tags": "tags"},
2768
+ name_mapping={
2769
+ "auto_participant_recording_configuration": "autoParticipantRecordingConfiguration",
2770
+ "name": "name",
2771
+ "tags": "tags",
2772
+ },
2405
2773
  )
2406
2774
  class CfnStageProps:
2407
2775
  def __init__(
2408
2776
  self,
2409
2777
  *,
2778
+ auto_participant_recording_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStage.AutoParticipantRecordingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2410
2779
  name: typing.Optional[builtins.str] = None,
2411
2780
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2412
2781
  ) -> None:
2413
2782
  '''Properties for defining a ``CfnStage``.
2414
2783
 
2784
+ :param auto_participant_recording_configuration: Configuration object for individual participant recording, to attach to the new stage.
2415
2785
  :param name: Stage name.
2416
2786
  :param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-tag.html>`_ .
2417
2787
 
@@ -2425,6 +2795,12 @@ class CfnStageProps:
2425
2795
  from aws_cdk import aws_ivs as ivs
2426
2796
 
2427
2797
  cfn_stage_props = ivs.CfnStageProps(
2798
+ auto_participant_recording_configuration=ivs.CfnStage.AutoParticipantRecordingConfigurationProperty(
2799
+ storage_configuration_arn="storageConfigurationArn",
2800
+
2801
+ # the properties below are optional
2802
+ media_types=["mediaTypes"]
2803
+ ),
2428
2804
  name="name",
2429
2805
  tags=[CfnTag(
2430
2806
  key="key",
@@ -2434,14 +2810,28 @@ class CfnStageProps:
2434
2810
  '''
2435
2811
  if __debug__:
2436
2812
  type_hints = typing.get_type_hints(_typecheckingstub__f7a0020ee283466459b434f83d43a5d205fcf4dbcde3ddb35eef021e6e069bf5)
2813
+ check_type(argname="argument auto_participant_recording_configuration", value=auto_participant_recording_configuration, expected_type=type_hints["auto_participant_recording_configuration"])
2437
2814
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
2438
2815
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2439
2816
  self._values: typing.Dict[builtins.str, typing.Any] = {}
2817
+ if auto_participant_recording_configuration is not None:
2818
+ self._values["auto_participant_recording_configuration"] = auto_participant_recording_configuration
2440
2819
  if name is not None:
2441
2820
  self._values["name"] = name
2442
2821
  if tags is not None:
2443
2822
  self._values["tags"] = tags
2444
2823
 
2824
+ @builtins.property
2825
+ def auto_participant_recording_configuration(
2826
+ self,
2827
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStage.AutoParticipantRecordingConfigurationProperty]]:
2828
+ '''Configuration object for individual participant recording, to attach to the new stage.
2829
+
2830
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-stage.html#cfn-ivs-stage-autoparticipantrecordingconfiguration
2831
+ '''
2832
+ result = self._values.get("auto_participant_recording_configuration")
2833
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStage.AutoParticipantRecordingConfigurationProperty]], result)
2834
+
2445
2835
  @builtins.property
2446
2836
  def name(self) -> typing.Optional[builtins.str]:
2447
2837
  '''Stage name.
@@ -3012,6 +3402,8 @@ __all__ = [
3012
3402
  "CfnPlaybackKeyPairProps",
3013
3403
  "CfnPlaybackRestrictionPolicy",
3014
3404
  "CfnPlaybackRestrictionPolicyProps",
3405
+ "CfnPublicKey",
3406
+ "CfnPublicKeyProps",
3015
3407
  "CfnRecordingConfiguration",
3016
3408
  "CfnRecordingConfigurationProps",
3017
3409
  "CfnStage",
@@ -3290,6 +3682,56 @@ def _typecheckingstub__feaf48f348987f686c52239e867f8aedc7a8a6debbbc2bec008fea1cc
3290
3682
  """Type checking stubs"""
3291
3683
  pass
3292
3684
 
3685
+ def _typecheckingstub__69566f8b07a347c045dd6b2f0dfca75d7b37273e69681243f26273b19e06cd09(
3686
+ scope: _constructs_77d1e7e8.Construct,
3687
+ id: builtins.str,
3688
+ *,
3689
+ name: typing.Optional[builtins.str] = None,
3690
+ public_key_material: typing.Optional[builtins.str] = None,
3691
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3692
+ ) -> None:
3693
+ """Type checking stubs"""
3694
+ pass
3695
+
3696
+ def _typecheckingstub__4e6b8cd6799dd82e06ff9988e9e614506cad2cdb4fd21af49f6565f000590088(
3697
+ inspector: _TreeInspector_488e0dd5,
3698
+ ) -> None:
3699
+ """Type checking stubs"""
3700
+ pass
3701
+
3702
+ def _typecheckingstub__e64d06031e9bc941f4698d06e7ad4d4c0b95c41a9c231c5cc51e05f1bb3c217b(
3703
+ props: typing.Mapping[builtins.str, typing.Any],
3704
+ ) -> None:
3705
+ """Type checking stubs"""
3706
+ pass
3707
+
3708
+ def _typecheckingstub__d17e9902ef9a61f0eff6eb979f114b77f3840a826d3a39b4893ea2a98275b4be(
3709
+ value: typing.Optional[builtins.str],
3710
+ ) -> None:
3711
+ """Type checking stubs"""
3712
+ pass
3713
+
3714
+ def _typecheckingstub__a843701534e0f215185c3c60d4ab2be6eb1b19877fea3f91057d6b805e21bc31(
3715
+ value: typing.Optional[builtins.str],
3716
+ ) -> None:
3717
+ """Type checking stubs"""
3718
+ pass
3719
+
3720
+ def _typecheckingstub__c5f083992aecb52530dd61b06308422142992ddce014c2eca8bd7e50b14a98e3(
3721
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
3722
+ ) -> None:
3723
+ """Type checking stubs"""
3724
+ pass
3725
+
3726
+ def _typecheckingstub__6e24b7446ff29c9bd2fdfcc82ce735007c1472e2e0a7ef6f06d261450515e6a4(
3727
+ *,
3728
+ name: typing.Optional[builtins.str] = None,
3729
+ public_key_material: typing.Optional[builtins.str] = None,
3730
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3731
+ ) -> None:
3732
+ """Type checking stubs"""
3733
+ pass
3734
+
3293
3735
  def _typecheckingstub__541cdf033047e5777646c5f067e03131707927e43c41e609fd3ac9ee776ae419(
3294
3736
  scope: _constructs_77d1e7e8.Construct,
3295
3737
  id: builtins.str,
@@ -3400,6 +3842,7 @@ def _typecheckingstub__95445d65024ea014afa24d3c5da7a1c325ecb6f520b50f18c628abc84
3400
3842
  scope: _constructs_77d1e7e8.Construct,
3401
3843
  id: builtins.str,
3402
3844
  *,
3845
+ auto_participant_recording_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStage.AutoParticipantRecordingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3403
3846
  name: typing.Optional[builtins.str] = None,
3404
3847
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3405
3848
  ) -> None:
@@ -3418,6 +3861,12 @@ def _typecheckingstub__0236ad7c18356db2e70641309707f63a741f804d4d94814bedc5adeaa
3418
3861
  """Type checking stubs"""
3419
3862
  pass
3420
3863
 
3864
+ def _typecheckingstub__288ad5976e299bf3facf5812af603311b1780e61570d5cc88abb63f8e5ce0757(
3865
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStage.AutoParticipantRecordingConfigurationProperty]],
3866
+ ) -> None:
3867
+ """Type checking stubs"""
3868
+ pass
3869
+
3421
3870
  def _typecheckingstub__aa886ee78ed539f2863fcdc7d7f62035b31fa2118c7c2c34cf8ba71078c75632(
3422
3871
  value: typing.Optional[builtins.str],
3423
3872
  ) -> None:
@@ -3430,8 +3879,17 @@ def _typecheckingstub__6a345b4498f1ee0487e9359886004162443d2310aa5159615d98ad8d3
3430
3879
  """Type checking stubs"""
3431
3880
  pass
3432
3881
 
3882
+ def _typecheckingstub__3aeae0e25427fa7c0b735f190d30738c3d5c425f52576a56e84290d192a62871(
3883
+ *,
3884
+ storage_configuration_arn: builtins.str,
3885
+ media_types: typing.Optional[typing.Sequence[builtins.str]] = None,
3886
+ ) -> None:
3887
+ """Type checking stubs"""
3888
+ pass
3889
+
3433
3890
  def _typecheckingstub__f7a0020ee283466459b434f83d43a5d205fcf4dbcde3ddb35eef021e6e069bf5(
3434
3891
  *,
3892
+ auto_participant_recording_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStage.AutoParticipantRecordingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3435
3893
  name: typing.Optional[builtins.str] = None,
3436
3894
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3437
3895
  ) -> None: