aws-cdk-lib 2.133.0__py3-none-any.whl → 2.134.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 (56) hide show
  1. aws_cdk/__init__.py +9 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +105 -3
  5. aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
  6. aws_cdk/aws_appconfig/__init__.py +186 -8
  7. aws_cdk/aws_appintegrations/__init__.py +551 -0
  8. aws_cdk/aws_appsync/__init__.py +71 -0
  9. aws_cdk/aws_autoscaling/__init__.py +6 -4
  10. aws_cdk/aws_backup/__init__.py +23 -12
  11. aws_cdk/aws_batch/__init__.py +423 -73
  12. aws_cdk/aws_bedrock/__init__.py +197 -2
  13. aws_cdk/aws_cloudformation/__init__.py +1 -1
  14. aws_cdk/aws_cloudfront/__init__.py +2 -2
  15. aws_cdk/aws_cloudtrail/__init__.py +44 -14
  16. aws_cdk/aws_cloudwatch/__init__.py +18 -0
  17. aws_cdk/aws_codeartifact/__init__.py +812 -2
  18. aws_cdk/aws_codebuild/__init__.py +21 -5
  19. aws_cdk/aws_codepipeline/__init__.py +24 -8
  20. aws_cdk/aws_cognito/__init__.py +41 -40
  21. aws_cdk/aws_connect/__init__.py +256 -0
  22. aws_cdk/aws_datasync/__init__.py +393 -13
  23. aws_cdk/aws_dlm/__init__.py +2 -2
  24. aws_cdk/aws_docdbelastic/__init__.py +117 -0
  25. aws_cdk/aws_dynamodb/__init__.py +416 -5
  26. aws_cdk/aws_ec2/__init__.py +493 -93
  27. aws_cdk/aws_ecs/__init__.py +6 -4
  28. aws_cdk/aws_eks/__init__.py +27 -25
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +359 -60
  30. aws_cdk/aws_entityresolution/__init__.py +91 -64
  31. aws_cdk/aws_glue/__init__.py +137 -3
  32. aws_cdk/aws_iam/__init__.py +9 -10
  33. aws_cdk/aws_internetmonitor/__init__.py +85 -0
  34. aws_cdk/aws_iotsitewise/__init__.py +110 -50
  35. aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
  36. aws_cdk/aws_kendra/__init__.py +34 -24
  37. aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
  38. aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
  39. aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
  40. aws_cdk/aws_msk/__init__.py +88 -0
  41. aws_cdk/aws_opensearchservice/__init__.py +19 -17
  42. aws_cdk/aws_pinpoint/__init__.py +42 -0
  43. aws_cdk/aws_rds/__init__.py +48 -14
  44. aws_cdk/aws_sagemaker/__init__.py +2 -2
  45. aws_cdk/aws_ssm/__init__.py +3 -3
  46. aws_cdk/aws_stepfunctions_tasks/__init__.py +23 -0
  47. aws_cdk/aws_synthetics/__init__.py +74 -14
  48. aws_cdk/aws_transfer/__init__.py +4 -3
  49. aws_cdk/aws_wafv2/__init__.py +96 -46
  50. aws_cdk/cx_api/__init__.py +17 -0
  51. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
  52. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +56 -56
  53. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
  54. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
  55. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
  56. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
@@ -853,7 +853,7 @@ class CfnAsset(
853
853
  :param asset_model_id: The ID of the asset model from which to create the asset. This can be either the actual ID in UUID format, or else ``externalId:`` followed by the external ID, if it has one. For more information, see `Referencing objects with external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references>`_ in the *AWS IoT SiteWise User Guide* .
854
854
  :param asset_name: A friendly name for the asset.
855
855
  :param asset_description: The ID of the asset, in UUID format.
856
- :param asset_external_id: The External ID of the asset.
856
+ :param asset_external_id: The external ID of the asset model composite model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
857
857
  :param asset_hierarchies: A list of asset hierarchies that each contain a ``hierarchyId`` . A hierarchy specifies allowed parent/child asset relationships.
858
858
  :param asset_properties: The list of asset properties for the asset. This object doesn't include properties that you define in composite models. You can find composite model properties in the ``assetCompositeModels`` object.
859
859
  :param tags: A list of key-value pairs that contain metadata for the asset. For more information, see `Tagging your AWS IoT SiteWise resources <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html>`_ in the *AWS IoT SiteWise User Guide* .
@@ -975,7 +975,7 @@ class CfnAsset(
975
975
  @builtins.property
976
976
  @jsii.member(jsii_name="assetExternalId")
977
977
  def asset_external_id(self) -> typing.Optional[builtins.str]:
978
- '''The External ID of the asset.'''
978
+ '''The external ID of the asset model composite model.'''
979
979
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "assetExternalId"))
980
980
 
981
981
  @asset_external_id.setter
@@ -1056,8 +1056,8 @@ class CfnAsset(
1056
1056
  '''Describes an asset hierarchy that contains a hierarchy's name and ID.
1057
1057
 
1058
1058
  :param child_asset_id: The Id of the child asset.
1059
- :param external_id: String-friendly customer provided external ID.
1060
- :param id: Customer provided actual UUID for property.
1059
+ :param external_id: The external ID of the hierarchy, if it has one. When you update an asset hierarchy, you may assign an external ID if it doesn't already have one. You can't change the external ID of an asset hierarchy that already has one. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
1060
+ :param id: The ID of the hierarchy. This ID is a ``hierarchyId`` . .. epigraph:: This is a return value and can't be set.
1061
1061
  :param logical_id: The ID of the hierarchy. This ID is a ``hierarchyId`` .
1062
1062
 
1063
1063
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assethierarchy.html
@@ -1106,7 +1106,9 @@ class CfnAsset(
1106
1106
 
1107
1107
  @builtins.property
1108
1108
  def external_id(self) -> typing.Optional[builtins.str]:
1109
- '''String-friendly customer provided external ID.
1109
+ '''The external ID of the hierarchy, if it has one.
1110
+
1111
+ When you update an asset hierarchy, you may assign an external ID if it doesn't already have one. You can't change the external ID of an asset hierarchy that already has one. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
1110
1112
 
1111
1113
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assethierarchy.html#cfn-iotsitewise-asset-assethierarchy-externalid
1112
1114
  '''
@@ -1115,7 +1117,11 @@ class CfnAsset(
1115
1117
 
1116
1118
  @builtins.property
1117
1119
  def id(self) -> typing.Optional[builtins.str]:
1118
- '''Customer provided actual UUID for property.
1120
+ '''The ID of the hierarchy. This ID is a ``hierarchyId`` .
1121
+
1122
+ .. epigraph::
1123
+
1124
+ This is a return value and can't be set.
1119
1125
 
1120
1126
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assethierarchy.html#cfn-iotsitewise-asset-assethierarchy-id
1121
1127
  '''
@@ -1170,8 +1176,8 @@ class CfnAsset(
1170
1176
  '''Contains asset property information.
1171
1177
 
1172
1178
  :param alias: The alias that identifies the property, such as an OPC-UA server data stream path (for example, ``/company/windfarm/3/turbine/7/temperature`` ). For more information, see `Mapping industrial data streams to asset properties <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html>`_ in the *AWS IoT SiteWise User Guide* .
1173
- :param external_id: String-friendly customer provided external ID.
1174
- :param id: Customer provided actual UUID for property.
1179
+ :param external_id: The external ID of the property. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
1180
+ :param id: The ID of the asset property. .. epigraph:: This is a return value and can't be set.
1175
1181
  :param logical_id: The ``LogicalID`` of the asset property.
1176
1182
  :param notification_state: The MQTT notification state (enabled or disabled) for this asset property. When the notification state is enabled, AWS IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see `Interacting with other services <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/interact-with-other-services.html>`_ in the *AWS IoT SiteWise User Guide* . If you omit this parameter, the notification state is set to ``DISABLED`` .
1177
1183
  :param unit: The unit (such as ``Newtons`` or ``RPM`` ) of the asset property.
@@ -1229,7 +1235,9 @@ class CfnAsset(
1229
1235
 
1230
1236
  @builtins.property
1231
1237
  def external_id(self) -> typing.Optional[builtins.str]:
1232
- '''String-friendly customer provided external ID.
1238
+ '''The external ID of the property.
1239
+
1240
+ For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
1233
1241
 
1234
1242
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assetproperty.html#cfn-iotsitewise-asset-assetproperty-externalid
1235
1243
  '''
@@ -1238,7 +1246,11 @@ class CfnAsset(
1238
1246
 
1239
1247
  @builtins.property
1240
1248
  def id(self) -> typing.Optional[builtins.str]:
1241
- '''Customer provided actual UUID for property.
1249
+ '''The ID of the asset property.
1250
+
1251
+ .. epigraph::
1252
+
1253
+ This is a return value and can't be set.
1242
1254
 
1243
1255
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assetproperty.html#cfn-iotsitewise-asset-assetproperty-id
1244
1256
  '''
@@ -1490,10 +1502,10 @@ class CfnAssetModel(
1490
1502
  :param asset_model_name: A unique, friendly name for the asset model.
1491
1503
  :param asset_model_composite_models: The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model. .. epigraph:: When creating custom composite models, you need to use `CreateAssetModelCompositeModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html>`_ . For more information, see `Creating custom composite models (Components) <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-custom-composite-models.html>`_ in the *AWS IoT SiteWise User Guide* .
1492
1504
  :param asset_model_description: A description for the asset model.
1493
- :param asset_model_external_id: The external ID of the asset model.
1505
+ :param asset_model_external_id: The external ID of the asset model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
1494
1506
  :param asset_model_hierarchies: The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see `Asset hierarchies <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html>`_ in the *AWS IoT SiteWise User Guide* . You can specify up to 10 hierarchies per asset model. For more information, see `Quotas <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html>`_ in the *AWS IoT SiteWise User Guide* .
1495
1507
  :param asset_model_properties: The property definitions of the asset model. For more information, see `Asset properties <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html>`_ in the *AWS IoT SiteWise User Guide* . You can specify up to 200 properties per asset model. For more information, see `Quotas <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html>`_ in the *AWS IoT SiteWise User Guide* .
1496
- :param asset_model_type: The type of the asset model (ASSET_MODEL OR COMPONENT_MODEL).
1508
+ :param asset_model_type: The type of asset model. - *ASSET_MODEL* (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. - *COMPONENT_MODEL* – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
1497
1509
  :param tags: A list of key-value pairs that contain metadata for the asset. For more information, see `Tagging your AWS IoT SiteWise resources <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html>`_ in the *AWS IoT SiteWise User Guide* .
1498
1510
  '''
1499
1511
  if __debug__:
@@ -1668,7 +1680,7 @@ class CfnAssetModel(
1668
1680
  @builtins.property
1669
1681
  @jsii.member(jsii_name="assetModelType")
1670
1682
  def asset_model_type(self) -> typing.Optional[builtins.str]:
1671
- '''The type of the asset model (ASSET_MODEL OR COMPONENT_MODEL).'''
1683
+ '''The type of asset model.'''
1672
1684
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "assetModelType"))
1673
1685
 
1674
1686
  @asset_model_type.setter
@@ -1726,13 +1738,13 @@ class CfnAssetModel(
1726
1738
 
1727
1739
  :param name: The name of the composite model.
1728
1740
  :param type: The type of the composite model. For alarm composite models, this type is ``AWS/ALARM`` .
1729
- :param composed_asset_model_id: The component model ID for which the composite model is composed of.
1741
+ :param composed_asset_model_id: The ID of a component model which is reused to create this composite model.
1730
1742
  :param composite_model_properties: The asset property definitions for this composite model.
1731
1743
  :param description: The description of the composite model.
1732
- :param external_id: The External ID of the composite model.
1733
- :param id: The Actual ID of the composite model.
1734
- :param parent_asset_model_composite_model_external_id: The parent composite model External ID.
1735
- :param path: The path of the composite model. This is only for derived composite models
1744
+ :param external_id: The external ID of a composite model on this asset model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
1745
+ :param id: The ID of the asset model composite model. .. epigraph:: This is a return value and can't be set.
1746
+ :param parent_asset_model_composite_model_external_id: The external ID of the parent asset model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* . .. epigraph:: If ``ParentCompositeModelExternalId`` is specified, this value overrides the value of ``ExternalId`` , if both are included.
1747
+ :param path: The structured path to the property from the root of the asset using property names. Path is used as the ID if the asset model is a derived composite model.
1736
1748
 
1737
1749
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html
1738
1750
  :exampleMetadata: fixture=_generated
@@ -1871,7 +1883,7 @@ class CfnAssetModel(
1871
1883
 
1872
1884
  @builtins.property
1873
1885
  def composed_asset_model_id(self) -> typing.Optional[builtins.str]:
1874
- '''The component model ID for which the composite model is composed of.
1886
+ '''The ID of a component model which is reused to create this composite model.
1875
1887
 
1876
1888
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-composedassetmodelid
1877
1889
  '''
@@ -1900,7 +1912,9 @@ class CfnAssetModel(
1900
1912
 
1901
1913
  @builtins.property
1902
1914
  def external_id(self) -> typing.Optional[builtins.str]:
1903
- '''The External ID of the composite model.
1915
+ '''The external ID of a composite model on this asset model.
1916
+
1917
+ For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
1904
1918
 
1905
1919
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-externalid
1906
1920
  '''
@@ -1909,7 +1923,11 @@ class CfnAssetModel(
1909
1923
 
1910
1924
  @builtins.property
1911
1925
  def id(self) -> typing.Optional[builtins.str]:
1912
- '''The Actual ID of the composite model.
1926
+ '''The ID of the asset model composite model.
1927
+
1928
+ .. epigraph::
1929
+
1930
+ This is a return value and can't be set.
1913
1931
 
1914
1932
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-id
1915
1933
  '''
@@ -1920,7 +1938,12 @@ class CfnAssetModel(
1920
1938
  def parent_asset_model_composite_model_external_id(
1921
1939
  self,
1922
1940
  ) -> typing.Optional[builtins.str]:
1923
- '''The parent composite model External ID.
1941
+ '''The external ID of the parent asset model.
1942
+
1943
+ For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
1944
+ .. epigraph::
1945
+
1946
+ If ``ParentCompositeModelExternalId`` is specified, this value overrides the value of ``ExternalId`` , if both are included.
1924
1947
 
1925
1948
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-parentassetmodelcompositemodelexternalid
1926
1949
  '''
@@ -1929,9 +1952,9 @@ class CfnAssetModel(
1929
1952
 
1930
1953
  @builtins.property
1931
1954
  def path(self) -> typing.Optional[typing.List[builtins.str]]:
1932
- '''The path of the composite model.
1955
+ '''The structured path to the property from the root of the asset using property names.
1933
1956
 
1934
- This is only for derived composite models
1957
+ Path is used as the ID if the asset model is a derived composite model.
1935
1958
 
1936
1959
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-path
1937
1960
  '''
@@ -1974,8 +1997,8 @@ class CfnAssetModel(
1974
1997
 
1975
1998
  :param child_asset_model_id: The ID of the asset model, in UUID format. All assets in this hierarchy must be instances of the ``childAssetModelId`` asset model. AWS IoT SiteWise will always return the actual asset model ID for this value. However, when you are specifying this value as part of a call to `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ , you may provide either the asset model ID or else ``externalId:`` followed by the asset model's external ID. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
1976
1999
  :param name: The name of the asset model hierarchy that you specify by using the `CreateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html>`_ or `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ API operation.
1977
- :param external_id: Customer provided external ID for hierarchy.
1978
- :param id: Customer provided actual ID for hierarchy.
2000
+ :param external_id: The external ID (if any) provided in the `CreateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html>`_ or `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ operation. You can assign an external ID by specifying this value as part of a call to `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ . However, you can't change the external ID if one is already assigned. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
2001
+ :param id: The ID of the asset model hierarchy. This ID is a ``hierarchyId`` . .. epigraph:: This is a return value and can't be set. - If you are callling `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ to create a *new* hierarchy: You can specify its ID here, if desired. AWS IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. - If you are calling UpdateAssetModel to modify an *existing* hierarchy: This can be either the actual ID in UUID format, or else ``externalId:`` followed by the external ID, if it has one. For more information, see `Referencing objects with external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references>`_ in the *AWS IoT SiteWise User Guide* .
1979
2002
  :param logical_id: The ``LogicalID`` of the asset model hierarchy. This ID is a ``hierarchyLogicalId`` .
1980
2003
 
1981
2004
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelhierarchy.html
@@ -2039,7 +2062,7 @@ class CfnAssetModel(
2039
2062
 
2040
2063
  @builtins.property
2041
2064
  def external_id(self) -> typing.Optional[builtins.str]:
2042
- '''Customer provided external ID for hierarchy.
2065
+ '''The external ID (if any) provided in the `CreateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html>`_ or `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ operation. You can assign an external ID by specifying this value as part of a call to `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ . However, you can't change the external ID if one is already assigned. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
2043
2066
 
2044
2067
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelhierarchy.html#cfn-iotsitewise-assetmodel-assetmodelhierarchy-externalid
2045
2068
  '''
@@ -2048,7 +2071,14 @@ class CfnAssetModel(
2048
2071
 
2049
2072
  @builtins.property
2050
2073
  def id(self) -> typing.Optional[builtins.str]:
2051
- '''Customer provided actual ID for hierarchy.
2074
+ '''The ID of the asset model hierarchy. This ID is a ``hierarchyId`` .
2075
+
2076
+ .. epigraph::
2077
+
2078
+ This is a return value and can't be set.
2079
+
2080
+ - If you are callling `UpdateAssetModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html>`_ to create a *new* hierarchy: You can specify its ID here, if desired. AWS IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
2081
+ - If you are calling UpdateAssetModel to modify an *existing* hierarchy: This can be either the actual ID in UUID format, or else ``externalId:`` followed by the external ID, if it has one. For more information, see `Referencing objects with external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references>`_ in the *AWS IoT SiteWise User Guide* .
2052
2082
 
2053
2083
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelhierarchy.html#cfn-iotsitewise-assetmodel-assetmodelhierarchy-id
2054
2084
  '''
@@ -2110,8 +2140,8 @@ class CfnAssetModel(
2110
2140
  :param name: The name of the asset model property.
2111
2141
  :param type: Contains a property type, which can be one of ``attribute`` , ``measurement`` , ``metric`` , or ``transform`` .
2112
2142
  :param data_type_spec: The data type of the structure for this property. This parameter exists on properties that have the ``STRUCT`` data type.
2113
- :param external_id: The External ID of the Asset Model Property.
2114
- :param id: The ID of the Asset Model Property.
2143
+ :param external_id: The external ID of the asset property. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
2144
+ :param id: The ID of the property. .. epigraph:: This is a return value and can't be set.
2115
2145
  :param logical_id: The ``LogicalID`` of the asset model property.
2116
2146
  :param unit: The unit of the asset model property, such as ``Newtons`` or ``RPM`` .
2117
2147
 
@@ -2257,7 +2287,9 @@ class CfnAssetModel(
2257
2287
 
2258
2288
  @builtins.property
2259
2289
  def external_id(self) -> typing.Optional[builtins.str]:
2260
- '''The External ID of the Asset Model Property.
2290
+ '''The external ID of the asset property.
2291
+
2292
+ For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
2261
2293
 
2262
2294
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-externalid
2263
2295
  '''
@@ -2266,7 +2298,11 @@ class CfnAssetModel(
2266
2298
 
2267
2299
  @builtins.property
2268
2300
  def id(self) -> typing.Optional[builtins.str]:
2269
- '''The ID of the Asset Model Property.
2301
+ '''The ID of the property.
2302
+
2303
+ .. epigraph::
2304
+
2305
+ This is a return value and can't be set.
2270
2306
 
2271
2307
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-id
2272
2308
  '''
@@ -2639,9 +2675,9 @@ class CfnAssetModel(
2639
2675
  )
2640
2676
  class PropertyPathDefinitionProperty:
2641
2677
  def __init__(self, *, name: builtins.str) -> None:
2642
- '''The definition for property path which is used to reference properties in transforms/metrics.
2678
+ '''Represents one level between a composite model and the root of the asset model.
2643
2679
 
2644
- :param name: The name of the property.
2680
+ :param name: The name of the path segment.
2645
2681
 
2646
2682
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-propertypathdefinition.html
2647
2683
  :exampleMetadata: fixture=_generated
@@ -2665,7 +2701,7 @@ class CfnAssetModel(
2665
2701
 
2666
2702
  @builtins.property
2667
2703
  def name(self) -> builtins.str:
2668
- '''The name of the property.
2704
+ '''The name of the path segment.
2669
2705
 
2670
2706
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-propertypathdefinition.html#cfn-iotsitewise-assetmodel-propertypathdefinition-name
2671
2707
  '''
@@ -3073,13 +3109,13 @@ class CfnAssetModel(
3073
3109
  ) -> None:
3074
3110
  '''Identifies a property value used in an expression.
3075
3111
 
3076
- :param hierarchy_external_id: The External ID of the hierarchy that is trying to be referenced.
3077
- :param hierarchy_id: The ID of the hierarchy that is trying to be referenced.
3112
+ :param hierarchy_external_id: The external ID of the hierarchy being referenced. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
3113
+ :param hierarchy_id: The ID of the hierarchy to query for the property ID. You can use the hierarchy's name instead of the hierarchy's ID. If the hierarchy has an external ID, you can specify ``externalId:`` followed by the external ID. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* . You use a hierarchy ID instead of a model ID because you can have several hierarchies using the same model and therefore the same ``propertyId`` . For example, you might have separately grouped assets that come from the same asset model. For more information, see `Asset hierarchies <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html>`_ in the *AWS IoT SiteWise User Guide* .
3078
3114
  :param hierarchy_logical_id: The ``LogicalID`` of the hierarchy to query for the ``PropertyLogicalID`` . You use a ``hierarchyLogicalID`` instead of a model ID because you can have several hierarchies using the same model and therefore the same property. For example, you might have separately grouped assets that come from the same asset model. For more information, see `Defining relationships between asset models (hierarchies) <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html>`_ in the *AWS IoT SiteWise User Guide* .
3079
- :param property_external_id: The External ID of the property that is trying to be referenced.
3080
- :param property_id: The ID of the property that is trying to be referenced.
3115
+ :param property_external_id: The external ID of the property being referenced. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
3116
+ :param property_id: The ID of the property to use as the variable. You can use the property ``name`` if it's from the same asset model. If the property has an external ID, you can specify ``externalId:`` followed by the external ID. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* . .. epigraph:: This is a return value and can't be set.
3081
3117
  :param property_logical_id: The ``LogicalID`` of the property that is being referenced.
3082
- :param property_path: The path of the property that is trying to be referenced.
3118
+ :param property_path: The path of the property. Each step of the path is the name of the step. See the following example: ``PropertyPath: Name: AssetModelName Name: Composite1 Name: NestedComposite``
3083
3119
 
3084
3120
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-variablevalue.html
3085
3121
  :exampleMetadata: fixture=_generated
@@ -3129,7 +3165,9 @@ class CfnAssetModel(
3129
3165
 
3130
3166
  @builtins.property
3131
3167
  def hierarchy_external_id(self) -> typing.Optional[builtins.str]:
3132
- '''The External ID of the hierarchy that is trying to be referenced.
3168
+ '''The external ID of the hierarchy being referenced.
3169
+
3170
+ For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
3133
3171
 
3134
3172
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-variablevalue.html#cfn-iotsitewise-assetmodel-variablevalue-hierarchyexternalid
3135
3173
  '''
@@ -3138,7 +3176,11 @@ class CfnAssetModel(
3138
3176
 
3139
3177
  @builtins.property
3140
3178
  def hierarchy_id(self) -> typing.Optional[builtins.str]:
3141
- '''The ID of the hierarchy that is trying to be referenced.
3179
+ '''The ID of the hierarchy to query for the property ID.
3180
+
3181
+ You can use the hierarchy's name instead of the hierarchy's ID. If the hierarchy has an external ID, you can specify ``externalId:`` followed by the external ID. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
3182
+
3183
+ You use a hierarchy ID instead of a model ID because you can have several hierarchies using the same model and therefore the same ``propertyId`` . For example, you might have separately grouped assets that come from the same asset model. For more information, see `Asset hierarchies <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html>`_ in the *AWS IoT SiteWise User Guide* .
3142
3184
 
3143
3185
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-variablevalue.html#cfn-iotsitewise-assetmodel-variablevalue-hierarchyid
3144
3186
  '''
@@ -3158,7 +3200,9 @@ class CfnAssetModel(
3158
3200
 
3159
3201
  @builtins.property
3160
3202
  def property_external_id(self) -> typing.Optional[builtins.str]:
3161
- '''The External ID of the property that is trying to be referenced.
3203
+ '''The external ID of the property being referenced.
3204
+
3205
+ For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
3162
3206
 
3163
3207
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-variablevalue.html#cfn-iotsitewise-assetmodel-variablevalue-propertyexternalid
3164
3208
  '''
@@ -3167,7 +3211,12 @@ class CfnAssetModel(
3167
3211
 
3168
3212
  @builtins.property
3169
3213
  def property_id(self) -> typing.Optional[builtins.str]:
3170
- '''The ID of the property that is trying to be referenced.
3214
+ '''The ID of the property to use as the variable.
3215
+
3216
+ You can use the property ``name`` if it's from the same asset model. If the property has an external ID, you can specify ``externalId:`` followed by the external ID. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
3217
+ .. epigraph::
3218
+
3219
+ This is a return value and can't be set.
3171
3220
 
3172
3221
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-variablevalue.html#cfn-iotsitewise-assetmodel-variablevalue-propertyid
3173
3222
  '''
@@ -3187,7 +3236,11 @@ class CfnAssetModel(
3187
3236
  def property_path(
3188
3237
  self,
3189
3238
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAssetModel.PropertyPathDefinitionProperty"]]]]:
3190
- '''The path of the property that is trying to be referenced.
3239
+ '''The path of the property.
3240
+
3241
+ Each step of the path is the name of the step. See the following example:
3242
+
3243
+ ``PropertyPath: Name: AssetModelName Name: Composite1 Name: NestedComposite``
3191
3244
 
3192
3245
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-variablevalue.html#cfn-iotsitewise-assetmodel-variablevalue-propertypath
3193
3246
  '''
@@ -3238,10 +3291,10 @@ class CfnAssetModelProps:
3238
3291
  :param asset_model_name: A unique, friendly name for the asset model.
3239
3292
  :param asset_model_composite_models: The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model. .. epigraph:: When creating custom composite models, you need to use `CreateAssetModelCompositeModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html>`_ . For more information, see `Creating custom composite models (Components) <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-custom-composite-models.html>`_ in the *AWS IoT SiteWise User Guide* .
3240
3293
  :param asset_model_description: A description for the asset model.
3241
- :param asset_model_external_id: The external ID of the asset model.
3294
+ :param asset_model_external_id: The external ID of the asset model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
3242
3295
  :param asset_model_hierarchies: The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see `Asset hierarchies <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html>`_ in the *AWS IoT SiteWise User Guide* . You can specify up to 10 hierarchies per asset model. For more information, see `Quotas <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html>`_ in the *AWS IoT SiteWise User Guide* .
3243
3296
  :param asset_model_properties: The property definitions of the asset model. For more information, see `Asset properties <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html>`_ in the *AWS IoT SiteWise User Guide* . You can specify up to 200 properties per asset model. For more information, see `Quotas <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html>`_ in the *AWS IoT SiteWise User Guide* .
3244
- :param asset_model_type: The type of the asset model (ASSET_MODEL OR COMPONENT_MODEL).
3297
+ :param asset_model_type: The type of asset model. - *ASSET_MODEL* (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. - *COMPONENT_MODEL* – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
3245
3298
  :param tags: A list of key-value pairs that contain metadata for the asset. For more information, see `Tagging your AWS IoT SiteWise resources <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html>`_ in the *AWS IoT SiteWise User Guide* .
3246
3299
 
3247
3300
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html
@@ -3476,6 +3529,8 @@ class CfnAssetModelProps:
3476
3529
  def asset_model_external_id(self) -> typing.Optional[builtins.str]:
3477
3530
  '''The external ID of the asset model.
3478
3531
 
3532
+ For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
3533
+
3479
3534
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-assetmodelexternalid
3480
3535
  '''
3481
3536
  result = self._values.get("asset_model_external_id")
@@ -3513,7 +3568,10 @@ class CfnAssetModelProps:
3513
3568
 
3514
3569
  @builtins.property
3515
3570
  def asset_model_type(self) -> typing.Optional[builtins.str]:
3516
- '''The type of the asset model (ASSET_MODEL OR COMPONENT_MODEL).
3571
+ '''The type of asset model.
3572
+
3573
+ - *ASSET_MODEL* – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
3574
+ - *COMPONENT_MODEL* – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
3517
3575
 
3518
3576
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-assetmodeltype
3519
3577
  '''
@@ -3573,7 +3631,7 @@ class CfnAssetProps:
3573
3631
  :param asset_model_id: The ID of the asset model from which to create the asset. This can be either the actual ID in UUID format, or else ``externalId:`` followed by the external ID, if it has one. For more information, see `Referencing objects with external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references>`_ in the *AWS IoT SiteWise User Guide* .
3574
3632
  :param asset_name: A friendly name for the asset.
3575
3633
  :param asset_description: The ID of the asset, in UUID format.
3576
- :param asset_external_id: The External ID of the asset.
3634
+ :param asset_external_id: The external ID of the asset model composite model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
3577
3635
  :param asset_hierarchies: A list of asset hierarchies that each contain a ``hierarchyId`` . A hierarchy specifies allowed parent/child asset relationships.
3578
3636
  :param asset_properties: The list of asset properties for the asset. This object doesn't include properties that you define in composite models. You can find composite model properties in the ``assetCompositeModels`` object.
3579
3637
  :param tags: A list of key-value pairs that contain metadata for the asset. For more information, see `Tagging your AWS IoT SiteWise resources <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html>`_ in the *AWS IoT SiteWise User Guide* .
@@ -3673,7 +3731,9 @@ class CfnAssetProps:
3673
3731
 
3674
3732
  @builtins.property
3675
3733
  def asset_external_id(self) -> typing.Optional[builtins.str]:
3676
- '''The External ID of the asset.
3734
+ '''The external ID of the asset model composite model.
3735
+
3736
+ For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
3677
3737
 
3678
3738
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-asset.html#cfn-iotsitewise-asset-assetexternalid
3679
3739
  '''