aws-cdk-lib 2.154.0__py3-none-any.whl → 2.154.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.154.0.jsii.tgz → aws-cdk-lib@2.154.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +13 -14
- aws_cdk/aws_bedrock/__init__.py +2672 -306
- aws_cdk/aws_cloudfront/__init__.py +16 -3
- aws_cdk/aws_codebuild/__init__.py +39 -0
- aws_cdk/aws_ec2/__init__.py +20 -12
- aws_cdk/aws_ecs/__init__.py +5 -3
- aws_cdk/aws_gamelift/__init__.py +52 -40
- aws_cdk/aws_glue/__init__.py +55 -4
- aws_cdk/aws_imagebuilder/__init__.py +6 -6
- aws_cdk/aws_ivs/__init__.py +458 -2
- aws_cdk/aws_medialive/__init__.py +41 -0
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_sagemaker/__init__.py +2 -2
- aws_cdk/aws_ssm/__init__.py +5 -5
- aws_cdk/custom_resources/__init__.py +7 -1
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/RECORD +23 -23
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ivs/__init__.py
CHANGED
|
@@ -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: An object representing a configuration to record a channel stream.
|
|
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(
|
|
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
|
+
'''An object representing a configuration to record a channel stream.'''
|
|
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,105 @@ 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
|
+
'''Configuration object for individual participant recording, to attach to the new stage.
|
|
2700
|
+
|
|
2701
|
+
:param storage_configuration_arn: ARN of the StorageConfiguration resource to use for individual participant recording.
|
|
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
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-autoparticipantrecordingconfiguration.html#cfn-ivs-stage-autoparticipantrecordingconfiguration-storageconfigurationarn
|
|
2735
|
+
'''
|
|
2736
|
+
result = self._values.get("storage_configuration_arn")
|
|
2737
|
+
assert result is not None, "Required property 'storage_configuration_arn' is missing"
|
|
2738
|
+
return typing.cast(builtins.str, result)
|
|
2739
|
+
|
|
2740
|
+
@builtins.property
|
|
2741
|
+
def media_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2742
|
+
'''Types of media to be recorded.
|
|
2743
|
+
|
|
2744
|
+
Default: AUDIO_VIDEO.
|
|
2745
|
+
|
|
2746
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-autoparticipantrecordingconfiguration.html#cfn-ivs-stage-autoparticipantrecordingconfiguration-mediatypes
|
|
2747
|
+
'''
|
|
2748
|
+
result = self._values.get("media_types")
|
|
2749
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2750
|
+
|
|
2751
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2752
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2753
|
+
|
|
2754
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2755
|
+
return not (rhs == self)
|
|
2756
|
+
|
|
2757
|
+
def __repr__(self) -> str:
|
|
2758
|
+
return "AutoParticipantRecordingConfigurationProperty(%s)" % ", ".join(
|
|
2759
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2760
|
+
)
|
|
2761
|
+
|
|
2400
2762
|
|
|
2401
2763
|
@jsii.data_type(
|
|
2402
2764
|
jsii_type="aws-cdk-lib.aws_ivs.CfnStageProps",
|
|
2403
2765
|
jsii_struct_bases=[],
|
|
2404
|
-
name_mapping={
|
|
2766
|
+
name_mapping={
|
|
2767
|
+
"auto_participant_recording_configuration": "autoParticipantRecordingConfiguration",
|
|
2768
|
+
"name": "name",
|
|
2769
|
+
"tags": "tags",
|
|
2770
|
+
},
|
|
2405
2771
|
)
|
|
2406
2772
|
class CfnStageProps:
|
|
2407
2773
|
def __init__(
|
|
2408
2774
|
self,
|
|
2409
2775
|
*,
|
|
2776
|
+
auto_participant_recording_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStage.AutoParticipantRecordingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2410
2777
|
name: typing.Optional[builtins.str] = None,
|
|
2411
2778
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2412
2779
|
) -> None:
|
|
2413
2780
|
'''Properties for defining a ``CfnStage``.
|
|
2414
2781
|
|
|
2782
|
+
:param auto_participant_recording_configuration: An object representing a configuration to record a channel stream.
|
|
2415
2783
|
:param name: Stage name.
|
|
2416
2784
|
: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
2785
|
|
|
@@ -2425,6 +2793,12 @@ class CfnStageProps:
|
|
|
2425
2793
|
from aws_cdk import aws_ivs as ivs
|
|
2426
2794
|
|
|
2427
2795
|
cfn_stage_props = ivs.CfnStageProps(
|
|
2796
|
+
auto_participant_recording_configuration=ivs.CfnStage.AutoParticipantRecordingConfigurationProperty(
|
|
2797
|
+
storage_configuration_arn="storageConfigurationArn",
|
|
2798
|
+
|
|
2799
|
+
# the properties below are optional
|
|
2800
|
+
media_types=["mediaTypes"]
|
|
2801
|
+
),
|
|
2428
2802
|
name="name",
|
|
2429
2803
|
tags=[CfnTag(
|
|
2430
2804
|
key="key",
|
|
@@ -2434,14 +2808,28 @@ class CfnStageProps:
|
|
|
2434
2808
|
'''
|
|
2435
2809
|
if __debug__:
|
|
2436
2810
|
type_hints = typing.get_type_hints(_typecheckingstub__f7a0020ee283466459b434f83d43a5d205fcf4dbcde3ddb35eef021e6e069bf5)
|
|
2811
|
+
check_type(argname="argument auto_participant_recording_configuration", value=auto_participant_recording_configuration, expected_type=type_hints["auto_participant_recording_configuration"])
|
|
2437
2812
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2438
2813
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2439
2814
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2815
|
+
if auto_participant_recording_configuration is not None:
|
|
2816
|
+
self._values["auto_participant_recording_configuration"] = auto_participant_recording_configuration
|
|
2440
2817
|
if name is not None:
|
|
2441
2818
|
self._values["name"] = name
|
|
2442
2819
|
if tags is not None:
|
|
2443
2820
|
self._values["tags"] = tags
|
|
2444
2821
|
|
|
2822
|
+
@builtins.property
|
|
2823
|
+
def auto_participant_recording_configuration(
|
|
2824
|
+
self,
|
|
2825
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStage.AutoParticipantRecordingConfigurationProperty]]:
|
|
2826
|
+
'''An object representing a configuration to record a channel stream.
|
|
2827
|
+
|
|
2828
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-stage.html#cfn-ivs-stage-autoparticipantrecordingconfiguration
|
|
2829
|
+
'''
|
|
2830
|
+
result = self._values.get("auto_participant_recording_configuration")
|
|
2831
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStage.AutoParticipantRecordingConfigurationProperty]], result)
|
|
2832
|
+
|
|
2445
2833
|
@builtins.property
|
|
2446
2834
|
def name(self) -> typing.Optional[builtins.str]:
|
|
2447
2835
|
'''Stage name.
|
|
@@ -3012,6 +3400,8 @@ __all__ = [
|
|
|
3012
3400
|
"CfnPlaybackKeyPairProps",
|
|
3013
3401
|
"CfnPlaybackRestrictionPolicy",
|
|
3014
3402
|
"CfnPlaybackRestrictionPolicyProps",
|
|
3403
|
+
"CfnPublicKey",
|
|
3404
|
+
"CfnPublicKeyProps",
|
|
3015
3405
|
"CfnRecordingConfiguration",
|
|
3016
3406
|
"CfnRecordingConfigurationProps",
|
|
3017
3407
|
"CfnStage",
|
|
@@ -3290,6 +3680,56 @@ def _typecheckingstub__feaf48f348987f686c52239e867f8aedc7a8a6debbbc2bec008fea1cc
|
|
|
3290
3680
|
"""Type checking stubs"""
|
|
3291
3681
|
pass
|
|
3292
3682
|
|
|
3683
|
+
def _typecheckingstub__69566f8b07a347c045dd6b2f0dfca75d7b37273e69681243f26273b19e06cd09(
|
|
3684
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3685
|
+
id: builtins.str,
|
|
3686
|
+
*,
|
|
3687
|
+
name: typing.Optional[builtins.str] = None,
|
|
3688
|
+
public_key_material: typing.Optional[builtins.str] = None,
|
|
3689
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3690
|
+
) -> None:
|
|
3691
|
+
"""Type checking stubs"""
|
|
3692
|
+
pass
|
|
3693
|
+
|
|
3694
|
+
def _typecheckingstub__4e6b8cd6799dd82e06ff9988e9e614506cad2cdb4fd21af49f6565f000590088(
|
|
3695
|
+
inspector: _TreeInspector_488e0dd5,
|
|
3696
|
+
) -> None:
|
|
3697
|
+
"""Type checking stubs"""
|
|
3698
|
+
pass
|
|
3699
|
+
|
|
3700
|
+
def _typecheckingstub__e64d06031e9bc941f4698d06e7ad4d4c0b95c41a9c231c5cc51e05f1bb3c217b(
|
|
3701
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
3702
|
+
) -> None:
|
|
3703
|
+
"""Type checking stubs"""
|
|
3704
|
+
pass
|
|
3705
|
+
|
|
3706
|
+
def _typecheckingstub__d17e9902ef9a61f0eff6eb979f114b77f3840a826d3a39b4893ea2a98275b4be(
|
|
3707
|
+
value: typing.Optional[builtins.str],
|
|
3708
|
+
) -> None:
|
|
3709
|
+
"""Type checking stubs"""
|
|
3710
|
+
pass
|
|
3711
|
+
|
|
3712
|
+
def _typecheckingstub__a843701534e0f215185c3c60d4ab2be6eb1b19877fea3f91057d6b805e21bc31(
|
|
3713
|
+
value: typing.Optional[builtins.str],
|
|
3714
|
+
) -> None:
|
|
3715
|
+
"""Type checking stubs"""
|
|
3716
|
+
pass
|
|
3717
|
+
|
|
3718
|
+
def _typecheckingstub__c5f083992aecb52530dd61b06308422142992ddce014c2eca8bd7e50b14a98e3(
|
|
3719
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
3720
|
+
) -> None:
|
|
3721
|
+
"""Type checking stubs"""
|
|
3722
|
+
pass
|
|
3723
|
+
|
|
3724
|
+
def _typecheckingstub__6e24b7446ff29c9bd2fdfcc82ce735007c1472e2e0a7ef6f06d261450515e6a4(
|
|
3725
|
+
*,
|
|
3726
|
+
name: typing.Optional[builtins.str] = None,
|
|
3727
|
+
public_key_material: typing.Optional[builtins.str] = None,
|
|
3728
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3729
|
+
) -> None:
|
|
3730
|
+
"""Type checking stubs"""
|
|
3731
|
+
pass
|
|
3732
|
+
|
|
3293
3733
|
def _typecheckingstub__541cdf033047e5777646c5f067e03131707927e43c41e609fd3ac9ee776ae419(
|
|
3294
3734
|
scope: _constructs_77d1e7e8.Construct,
|
|
3295
3735
|
id: builtins.str,
|
|
@@ -3400,6 +3840,7 @@ def _typecheckingstub__95445d65024ea014afa24d3c5da7a1c325ecb6f520b50f18c628abc84
|
|
|
3400
3840
|
scope: _constructs_77d1e7e8.Construct,
|
|
3401
3841
|
id: builtins.str,
|
|
3402
3842
|
*,
|
|
3843
|
+
auto_participant_recording_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStage.AutoParticipantRecordingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3403
3844
|
name: typing.Optional[builtins.str] = None,
|
|
3404
3845
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3405
3846
|
) -> None:
|
|
@@ -3418,6 +3859,12 @@ def _typecheckingstub__0236ad7c18356db2e70641309707f63a741f804d4d94814bedc5adeaa
|
|
|
3418
3859
|
"""Type checking stubs"""
|
|
3419
3860
|
pass
|
|
3420
3861
|
|
|
3862
|
+
def _typecheckingstub__288ad5976e299bf3facf5812af603311b1780e61570d5cc88abb63f8e5ce0757(
|
|
3863
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStage.AutoParticipantRecordingConfigurationProperty]],
|
|
3864
|
+
) -> None:
|
|
3865
|
+
"""Type checking stubs"""
|
|
3866
|
+
pass
|
|
3867
|
+
|
|
3421
3868
|
def _typecheckingstub__aa886ee78ed539f2863fcdc7d7f62035b31fa2118c7c2c34cf8ba71078c75632(
|
|
3422
3869
|
value: typing.Optional[builtins.str],
|
|
3423
3870
|
) -> None:
|
|
@@ -3430,8 +3877,17 @@ def _typecheckingstub__6a345b4498f1ee0487e9359886004162443d2310aa5159615d98ad8d3
|
|
|
3430
3877
|
"""Type checking stubs"""
|
|
3431
3878
|
pass
|
|
3432
3879
|
|
|
3880
|
+
def _typecheckingstub__3aeae0e25427fa7c0b735f190d30738c3d5c425f52576a56e84290d192a62871(
|
|
3881
|
+
*,
|
|
3882
|
+
storage_configuration_arn: builtins.str,
|
|
3883
|
+
media_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3884
|
+
) -> None:
|
|
3885
|
+
"""Type checking stubs"""
|
|
3886
|
+
pass
|
|
3887
|
+
|
|
3433
3888
|
def _typecheckingstub__f7a0020ee283466459b434f83d43a5d205fcf4dbcde3ddb35eef021e6e069bf5(
|
|
3434
3889
|
*,
|
|
3890
|
+
auto_participant_recording_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStage.AutoParticipantRecordingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3435
3891
|
name: typing.Optional[builtins.str] = None,
|
|
3436
3892
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3437
3893
|
) -> None:
|