aws-cdk-lib 2.168.0__py3-none-any.whl → 2.170.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.
- aws_cdk/__init__.py +2 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.168.0.jsii.tgz → aws-cdk-lib@2.170.0.jsii.tgz} +0 -0
- aws_cdk/aws_accessanalyzer/__init__.py +244 -13
- aws_cdk/aws_applicationsignals/__init__.py +8 -1
- aws_cdk/aws_autoscaling/__init__.py +310 -9
- aws_cdk/aws_cloudfront/__init__.py +50 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
- aws_cdk/aws_codebuild/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +378 -0
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_deadline/__init__.py +299 -6
- aws_cdk/aws_dynamodb/__init__.py +47 -25
- aws_cdk/aws_ec2/__init__.py +6 -2
- aws_cdk/aws_ecs/__init__.py +28 -22
- aws_cdk/aws_efs/__init__.py +61 -4
- aws_cdk/aws_eks/__init__.py +116 -0
- aws_cdk/aws_gamelift/__init__.py +385 -251
- aws_cdk/aws_iot/__init__.py +209 -0
- aws_cdk/aws_iotfleetwise/__init__.py +550 -0
- aws_cdk/aws_iotsitewise/__init__.py +6 -3
- aws_cdk/aws_ivs/__init__.py +458 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +90 -33
- aws_cdk/aws_lambda/__init__.py +150 -6
- aws_cdk/aws_lambda_event_sources/__init__.py +298 -1
- aws_cdk/aws_rbin/__init__.py +902 -0
- aws_cdk/aws_rds/__init__.py +115 -0
- aws_cdk/aws_route53resolver/__init__.py +76 -19
- aws_cdk/aws_sagemaker/__init__.py +32 -0
- aws_cdk/aws_sns/__init__.py +593 -8
- aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
- aws_cdk/aws_synthetics/__init__.py +46 -0
- aws_cdk/aws_vpclattice/__init__.py +118 -2
- aws_cdk/aws_wisdom/__init__.py +16 -21
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/RECORD +40 -39
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.170.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_iot/__init__.py
CHANGED
|
@@ -12514,6 +12514,15 @@ class CfnThingType(
|
|
|
12514
12514
|
)],
|
|
12515
12515
|
thing_type_name="thingTypeName",
|
|
12516
12516
|
thing_type_properties=iot.CfnThingType.ThingTypePropertiesProperty(
|
|
12517
|
+
mqtt5_configuration=iot.CfnThingType.Mqtt5ConfigurationProperty(
|
|
12518
|
+
propagating_attributes=[iot.CfnThingType.PropagatingAttributeProperty(
|
|
12519
|
+
user_property_key="userPropertyKey",
|
|
12520
|
+
|
|
12521
|
+
# the properties below are optional
|
|
12522
|
+
connection_attribute="connectionAttribute",
|
|
12523
|
+
thing_attribute="thingAttribute"
|
|
12524
|
+
)]
|
|
12525
|
+
),
|
|
12517
12526
|
searchable_attributes=["searchableAttributes"],
|
|
12518
12527
|
thing_type_description="thingTypeDescription"
|
|
12519
12528
|
)
|
|
@@ -12675,10 +12684,160 @@ class CfnThingType(
|
|
|
12675
12684
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12676
12685
|
jsii.set(self, "thingTypeProperties", value) # pyright: ignore[reportArgumentType]
|
|
12677
12686
|
|
|
12687
|
+
@jsii.data_type(
|
|
12688
|
+
jsii_type="aws-cdk-lib.aws_iot.CfnThingType.Mqtt5ConfigurationProperty",
|
|
12689
|
+
jsii_struct_bases=[],
|
|
12690
|
+
name_mapping={"propagating_attributes": "propagatingAttributes"},
|
|
12691
|
+
)
|
|
12692
|
+
class Mqtt5ConfigurationProperty:
|
|
12693
|
+
def __init__(
|
|
12694
|
+
self,
|
|
12695
|
+
*,
|
|
12696
|
+
propagating_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnThingType.PropagatingAttributeProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
12697
|
+
) -> None:
|
|
12698
|
+
'''
|
|
12699
|
+
:param propagating_attributes:
|
|
12700
|
+
|
|
12701
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-thingtype-mqtt5configuration.html
|
|
12702
|
+
:exampleMetadata: fixture=_generated
|
|
12703
|
+
|
|
12704
|
+
Example::
|
|
12705
|
+
|
|
12706
|
+
# The code below shows an example of how to instantiate this type.
|
|
12707
|
+
# The values are placeholders you should change.
|
|
12708
|
+
from aws_cdk import aws_iot as iot
|
|
12709
|
+
|
|
12710
|
+
mqtt5_configuration_property = iot.CfnThingType.Mqtt5ConfigurationProperty(
|
|
12711
|
+
propagating_attributes=[iot.CfnThingType.PropagatingAttributeProperty(
|
|
12712
|
+
user_property_key="userPropertyKey",
|
|
12713
|
+
|
|
12714
|
+
# the properties below are optional
|
|
12715
|
+
connection_attribute="connectionAttribute",
|
|
12716
|
+
thing_attribute="thingAttribute"
|
|
12717
|
+
)]
|
|
12718
|
+
)
|
|
12719
|
+
'''
|
|
12720
|
+
if __debug__:
|
|
12721
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3266005a49fa9ac235ee2d0bee95115b969863e47bdabff36eba559ac86f37bc)
|
|
12722
|
+
check_type(argname="argument propagating_attributes", value=propagating_attributes, expected_type=type_hints["propagating_attributes"])
|
|
12723
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
12724
|
+
if propagating_attributes is not None:
|
|
12725
|
+
self._values["propagating_attributes"] = propagating_attributes
|
|
12726
|
+
|
|
12727
|
+
@builtins.property
|
|
12728
|
+
def propagating_attributes(
|
|
12729
|
+
self,
|
|
12730
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnThingType.PropagatingAttributeProperty"]]]]:
|
|
12731
|
+
'''
|
|
12732
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-thingtype-mqtt5configuration.html#cfn-iot-thingtype-mqtt5configuration-propagatingattributes
|
|
12733
|
+
'''
|
|
12734
|
+
result = self._values.get("propagating_attributes")
|
|
12735
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnThingType.PropagatingAttributeProperty"]]]], result)
|
|
12736
|
+
|
|
12737
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
12738
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
12739
|
+
|
|
12740
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
12741
|
+
return not (rhs == self)
|
|
12742
|
+
|
|
12743
|
+
def __repr__(self) -> str:
|
|
12744
|
+
return "Mqtt5ConfigurationProperty(%s)" % ", ".join(
|
|
12745
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
12746
|
+
)
|
|
12747
|
+
|
|
12748
|
+
@jsii.data_type(
|
|
12749
|
+
jsii_type="aws-cdk-lib.aws_iot.CfnThingType.PropagatingAttributeProperty",
|
|
12750
|
+
jsii_struct_bases=[],
|
|
12751
|
+
name_mapping={
|
|
12752
|
+
"user_property_key": "userPropertyKey",
|
|
12753
|
+
"connection_attribute": "connectionAttribute",
|
|
12754
|
+
"thing_attribute": "thingAttribute",
|
|
12755
|
+
},
|
|
12756
|
+
)
|
|
12757
|
+
class PropagatingAttributeProperty:
|
|
12758
|
+
def __init__(
|
|
12759
|
+
self,
|
|
12760
|
+
*,
|
|
12761
|
+
user_property_key: builtins.str,
|
|
12762
|
+
connection_attribute: typing.Optional[builtins.str] = None,
|
|
12763
|
+
thing_attribute: typing.Optional[builtins.str] = None,
|
|
12764
|
+
) -> None:
|
|
12765
|
+
'''
|
|
12766
|
+
:param user_property_key:
|
|
12767
|
+
:param connection_attribute:
|
|
12768
|
+
:param thing_attribute:
|
|
12769
|
+
|
|
12770
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-thingtype-propagatingattribute.html
|
|
12771
|
+
:exampleMetadata: fixture=_generated
|
|
12772
|
+
|
|
12773
|
+
Example::
|
|
12774
|
+
|
|
12775
|
+
# The code below shows an example of how to instantiate this type.
|
|
12776
|
+
# The values are placeholders you should change.
|
|
12777
|
+
from aws_cdk import aws_iot as iot
|
|
12778
|
+
|
|
12779
|
+
propagating_attribute_property = iot.CfnThingType.PropagatingAttributeProperty(
|
|
12780
|
+
user_property_key="userPropertyKey",
|
|
12781
|
+
|
|
12782
|
+
# the properties below are optional
|
|
12783
|
+
connection_attribute="connectionAttribute",
|
|
12784
|
+
thing_attribute="thingAttribute"
|
|
12785
|
+
)
|
|
12786
|
+
'''
|
|
12787
|
+
if __debug__:
|
|
12788
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d09c3c64e790706e11a060f6ec1990420bb3d4f9a52f5bfac64d4049119f267d)
|
|
12789
|
+
check_type(argname="argument user_property_key", value=user_property_key, expected_type=type_hints["user_property_key"])
|
|
12790
|
+
check_type(argname="argument connection_attribute", value=connection_attribute, expected_type=type_hints["connection_attribute"])
|
|
12791
|
+
check_type(argname="argument thing_attribute", value=thing_attribute, expected_type=type_hints["thing_attribute"])
|
|
12792
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
12793
|
+
"user_property_key": user_property_key,
|
|
12794
|
+
}
|
|
12795
|
+
if connection_attribute is not None:
|
|
12796
|
+
self._values["connection_attribute"] = connection_attribute
|
|
12797
|
+
if thing_attribute is not None:
|
|
12798
|
+
self._values["thing_attribute"] = thing_attribute
|
|
12799
|
+
|
|
12800
|
+
@builtins.property
|
|
12801
|
+
def user_property_key(self) -> builtins.str:
|
|
12802
|
+
'''
|
|
12803
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-thingtype-propagatingattribute.html#cfn-iot-thingtype-propagatingattribute-userpropertykey
|
|
12804
|
+
'''
|
|
12805
|
+
result = self._values.get("user_property_key")
|
|
12806
|
+
assert result is not None, "Required property 'user_property_key' is missing"
|
|
12807
|
+
return typing.cast(builtins.str, result)
|
|
12808
|
+
|
|
12809
|
+
@builtins.property
|
|
12810
|
+
def connection_attribute(self) -> typing.Optional[builtins.str]:
|
|
12811
|
+
'''
|
|
12812
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-thingtype-propagatingattribute.html#cfn-iot-thingtype-propagatingattribute-connectionattribute
|
|
12813
|
+
'''
|
|
12814
|
+
result = self._values.get("connection_attribute")
|
|
12815
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
12816
|
+
|
|
12817
|
+
@builtins.property
|
|
12818
|
+
def thing_attribute(self) -> typing.Optional[builtins.str]:
|
|
12819
|
+
'''
|
|
12820
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-thingtype-propagatingattribute.html#cfn-iot-thingtype-propagatingattribute-thingattribute
|
|
12821
|
+
'''
|
|
12822
|
+
result = self._values.get("thing_attribute")
|
|
12823
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
12824
|
+
|
|
12825
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
12826
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
12827
|
+
|
|
12828
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
12829
|
+
return not (rhs == self)
|
|
12830
|
+
|
|
12831
|
+
def __repr__(self) -> str:
|
|
12832
|
+
return "PropagatingAttributeProperty(%s)" % ", ".join(
|
|
12833
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
12834
|
+
)
|
|
12835
|
+
|
|
12678
12836
|
@jsii.data_type(
|
|
12679
12837
|
jsii_type="aws-cdk-lib.aws_iot.CfnThingType.ThingTypePropertiesProperty",
|
|
12680
12838
|
jsii_struct_bases=[],
|
|
12681
12839
|
name_mapping={
|
|
12840
|
+
"mqtt5_configuration": "mqtt5Configuration",
|
|
12682
12841
|
"searchable_attributes": "searchableAttributes",
|
|
12683
12842
|
"thing_type_description": "thingTypeDescription",
|
|
12684
12843
|
},
|
|
@@ -12687,11 +12846,13 @@ class CfnThingType(
|
|
|
12687
12846
|
def __init__(
|
|
12688
12847
|
self,
|
|
12689
12848
|
*,
|
|
12849
|
+
mqtt5_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnThingType.Mqtt5ConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12690
12850
|
searchable_attributes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
12691
12851
|
thing_type_description: typing.Optional[builtins.str] = None,
|
|
12692
12852
|
) -> None:
|
|
12693
12853
|
'''The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names.
|
|
12694
12854
|
|
|
12855
|
+
:param mqtt5_configuration:
|
|
12695
12856
|
:param searchable_attributes: A list of searchable thing attribute names.
|
|
12696
12857
|
:param thing_type_description: The description of the thing type.
|
|
12697
12858
|
|
|
@@ -12705,20 +12866,42 @@ class CfnThingType(
|
|
|
12705
12866
|
from aws_cdk import aws_iot as iot
|
|
12706
12867
|
|
|
12707
12868
|
thing_type_properties_property = iot.CfnThingType.ThingTypePropertiesProperty(
|
|
12869
|
+
mqtt5_configuration=iot.CfnThingType.Mqtt5ConfigurationProperty(
|
|
12870
|
+
propagating_attributes=[iot.CfnThingType.PropagatingAttributeProperty(
|
|
12871
|
+
user_property_key="userPropertyKey",
|
|
12872
|
+
|
|
12873
|
+
# the properties below are optional
|
|
12874
|
+
connection_attribute="connectionAttribute",
|
|
12875
|
+
thing_attribute="thingAttribute"
|
|
12876
|
+
)]
|
|
12877
|
+
),
|
|
12708
12878
|
searchable_attributes=["searchableAttributes"],
|
|
12709
12879
|
thing_type_description="thingTypeDescription"
|
|
12710
12880
|
)
|
|
12711
12881
|
'''
|
|
12712
12882
|
if __debug__:
|
|
12713
12883
|
type_hints = typing.get_type_hints(_typecheckingstub__c0b12b02aa04c428c8a4b0b009149238daf6e731dcbea61b9c059735a57ee0e3)
|
|
12884
|
+
check_type(argname="argument mqtt5_configuration", value=mqtt5_configuration, expected_type=type_hints["mqtt5_configuration"])
|
|
12714
12885
|
check_type(argname="argument searchable_attributes", value=searchable_attributes, expected_type=type_hints["searchable_attributes"])
|
|
12715
12886
|
check_type(argname="argument thing_type_description", value=thing_type_description, expected_type=type_hints["thing_type_description"])
|
|
12716
12887
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
12888
|
+
if mqtt5_configuration is not None:
|
|
12889
|
+
self._values["mqtt5_configuration"] = mqtt5_configuration
|
|
12717
12890
|
if searchable_attributes is not None:
|
|
12718
12891
|
self._values["searchable_attributes"] = searchable_attributes
|
|
12719
12892
|
if thing_type_description is not None:
|
|
12720
12893
|
self._values["thing_type_description"] = thing_type_description
|
|
12721
12894
|
|
|
12895
|
+
@builtins.property
|
|
12896
|
+
def mqtt5_configuration(
|
|
12897
|
+
self,
|
|
12898
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnThingType.Mqtt5ConfigurationProperty"]]:
|
|
12899
|
+
'''
|
|
12900
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-thingtype-thingtypeproperties.html#cfn-iot-thingtype-thingtypeproperties-mqtt5configuration
|
|
12901
|
+
'''
|
|
12902
|
+
result = self._values.get("mqtt5_configuration")
|
|
12903
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnThingType.Mqtt5ConfigurationProperty"]], result)
|
|
12904
|
+
|
|
12722
12905
|
@builtins.property
|
|
12723
12906
|
def searchable_attributes(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
12724
12907
|
'''A list of searchable thing attribute names.
|
|
@@ -12792,6 +12975,15 @@ class CfnThingTypeProps:
|
|
|
12792
12975
|
)],
|
|
12793
12976
|
thing_type_name="thingTypeName",
|
|
12794
12977
|
thing_type_properties=iot.CfnThingType.ThingTypePropertiesProperty(
|
|
12978
|
+
mqtt5_configuration=iot.CfnThingType.Mqtt5ConfigurationProperty(
|
|
12979
|
+
propagating_attributes=[iot.CfnThingType.PropagatingAttributeProperty(
|
|
12980
|
+
user_property_key="userPropertyKey",
|
|
12981
|
+
|
|
12982
|
+
# the properties below are optional
|
|
12983
|
+
connection_attribute="connectionAttribute",
|
|
12984
|
+
thing_attribute="thingAttribute"
|
|
12985
|
+
)]
|
|
12986
|
+
),
|
|
12795
12987
|
searchable_attributes=["searchableAttributes"],
|
|
12796
12988
|
thing_type_description="thingTypeDescription"
|
|
12797
12989
|
)
|
|
@@ -21693,8 +21885,25 @@ def _typecheckingstub__61835870660f4f9053e96274057265cbd30a5753240810087550b4e60
|
|
|
21693
21885
|
"""Type checking stubs"""
|
|
21694
21886
|
pass
|
|
21695
21887
|
|
|
21888
|
+
def _typecheckingstub__3266005a49fa9ac235ee2d0bee95115b969863e47bdabff36eba559ac86f37bc(
|
|
21889
|
+
*,
|
|
21890
|
+
propagating_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnThingType.PropagatingAttributeProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
21891
|
+
) -> None:
|
|
21892
|
+
"""Type checking stubs"""
|
|
21893
|
+
pass
|
|
21894
|
+
|
|
21895
|
+
def _typecheckingstub__d09c3c64e790706e11a060f6ec1990420bb3d4f9a52f5bfac64d4049119f267d(
|
|
21896
|
+
*,
|
|
21897
|
+
user_property_key: builtins.str,
|
|
21898
|
+
connection_attribute: typing.Optional[builtins.str] = None,
|
|
21899
|
+
thing_attribute: typing.Optional[builtins.str] = None,
|
|
21900
|
+
) -> None:
|
|
21901
|
+
"""Type checking stubs"""
|
|
21902
|
+
pass
|
|
21903
|
+
|
|
21696
21904
|
def _typecheckingstub__c0b12b02aa04c428c8a4b0b009149238daf6e731dcbea61b9c059735a57ee0e3(
|
|
21697
21905
|
*,
|
|
21906
|
+
mqtt5_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnThingType.Mqtt5ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21698
21907
|
searchable_attributes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
21699
21908
|
thing_type_description: typing.Optional[builtins.str] = None,
|
|
21700
21909
|
) -> None:
|