aws-cdk-lib 2.195.0__py3-none-any.whl → 2.224.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.
- aws_cdk/__init__.py +1806 -417
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +12 -2
- aws_cdk/aws_accessanalyzer/__init__.py +323 -6
- aws_cdk/aws_acmpca/__init__.py +53 -10
- aws_cdk/aws_aiops/__init__.py +1019 -0
- aws_cdk/aws_amazonmq/__init__.py +357 -313
- aws_cdk/aws_amplify/__init__.py +173 -17
- aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
- aws_cdk/aws_apigateway/__init__.py +1245 -215
- aws_cdk/aws_apigatewayv2/__init__.py +3890 -476
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +618 -91
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +75 -10
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +136 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +350 -94
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +2188 -94
- aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
- aws_cdk/aws_arczonalshift/__init__.py +39 -12
- aws_cdk/aws_athena/__init__.py +365 -29
- aws_cdk/aws_auditmanager/__init__.py +71 -2
- aws_cdk/aws_autoscaling/__init__.py +165 -60
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +13 -2
- aws_cdk/aws_b2bi/__init__.py +1819 -99
- aws_cdk/aws_backup/__init__.py +370 -42
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1462 -163
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +7867 -727
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +611 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +258 -32
- aws_cdk/aws_chatbot/__init__.py +76 -6
- aws_cdk/aws_cleanrooms/__init__.py +709 -206
- aws_cdk/aws_cleanroomsml/__init__.py +13 -2
- aws_cdk/aws_cloud9/__init__.py +13 -2
- aws_cdk/aws_cloudformation/__init__.py +362 -189
- aws_cdk/aws_cloudfront/__init__.py +2188 -674
- aws_cdk/aws_cloudfront/experimental/__init__.py +114 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +615 -74
- aws_cdk/aws_cloudtrail/__init__.py +311 -21
- aws_cdk/aws_cloudwatch/__init__.py +3093 -1038
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1303 -135
- aws_cdk/aws_codecommit/__init__.py +29 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +130 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +80 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +177 -71
- aws_cdk/aws_codepipeline_actions/__init__.py +753 -4
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +22 -2
- aws_cdk/aws_cognito/__init__.py +905 -92
- aws_cdk/aws_cognito_identitypool/__init__.py +23 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +227 -30
- aws_cdk/aws_connect/__init__.py +2736 -191
- aws_cdk/aws_connectcampaigns/__init__.py +13 -2
- aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
- aws_cdk/aws_controltower/__init__.py +35 -6
- aws_cdk/aws_cur/__init__.py +100 -4
- aws_cdk/aws_customerprofiles/__init__.py +617 -27
- aws_cdk/aws_databrew/__init__.py +68 -12
- aws_cdk/aws_datapipeline/__init__.py +42 -2
- aws_cdk/aws_datasync/__init__.py +1514 -977
- aws_cdk/aws_datazone/__init__.py +7426 -1763
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +511 -36
- aws_cdk/aws_detective/__init__.py +35 -6
- aws_cdk/aws_devicefarm/__init__.py +68 -12
- aws_cdk/aws_devopsguru/__init__.py +37 -6
- aws_cdk/aws_directoryservice/__init__.py +53 -4
- aws_cdk/aws_dlm/__init__.py +13 -2
- aws_cdk/aws_dms/__init__.py +184 -27
- aws_cdk/aws_docdb/__init__.py +350 -49
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +386 -16
- aws_cdk/aws_dynamodb/__init__.py +1479 -170
- aws_cdk/aws_ec2/__init__.py +10465 -1335
- aws_cdk/aws_ecr/__init__.py +637 -43
- aws_cdk/aws_ecr_assets/__init__.py +10 -0
- aws_cdk/aws_ecs/__init__.py +6629 -490
- aws_cdk/aws_ecs_patterns/__init__.py +124 -12
- aws_cdk/aws_efs/__init__.py +276 -24
- aws_cdk/aws_eks/__init__.py +1132 -227
- aws_cdk/aws_elasticache/__init__.py +378 -25
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +22 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1796 -123
- aws_cdk/aws_elasticsearch/__init__.py +291 -9
- aws_cdk/aws_emr/__init__.py +219 -18
- aws_cdk/aws_emrcontainers/__init__.py +71 -2
- aws_cdk/aws_emrserverless/__init__.py +188 -3
- aws_cdk/aws_entityresolution/__init__.py +585 -58
- aws_cdk/aws_events/__init__.py +1007 -126
- aws_cdk/aws_events_targets/__init__.py +398 -65
- aws_cdk/aws_eventschemas/__init__.py +46 -8
- aws_cdk/aws_evidently/__init__.py +57 -10
- aws_cdk/aws_evs/__init__.py +2244 -0
- aws_cdk/aws_finspace/__init__.py +71 -2
- aws_cdk/aws_fis/__init__.py +26 -4
- aws_cdk/aws_fms/__init__.py +35 -6
- aws_cdk/aws_forecast/__init__.py +24 -4
- aws_cdk/aws_frauddetector/__init__.py +79 -14
- aws_cdk/aws_fsx/__init__.py +1349 -127
- aws_cdk/aws_gamelift/__init__.py +755 -94
- aws_cdk/aws_gameliftstreams/__init__.py +44 -22
- aws_cdk/aws_globalaccelerator/__init__.py +73 -14
- aws_cdk/aws_glue/__init__.py +1455 -378
- aws_cdk/aws_grafana/__init__.py +13 -2
- aws_cdk/aws_greengrass/__init__.py +654 -32
- aws_cdk/aws_greengrassv2/__init__.py +53 -4
- aws_cdk/aws_groundstation/__init__.py +122 -6
- aws_cdk/aws_guardduty/__init__.py +1613 -123
- aws_cdk/aws_healthimaging/__init__.py +71 -2
- aws_cdk/aws_healthlake/__init__.py +42 -2
- aws_cdk/aws_iam/__init__.py +921 -141
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1454 -199
- aws_cdk/aws_inspector/__init__.py +44 -6
- aws_cdk/aws_inspectorv2/__init__.py +2285 -243
- aws_cdk/aws_internetmonitor/__init__.py +71 -2
- aws_cdk/aws_invoicing/__init__.py +13 -2
- aws_cdk/aws_iot/__init__.py +1760 -64
- aws_cdk/aws_iotanalytics/__init__.py +162 -8
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
- aws_cdk/aws_iotevents/__init__.py +122 -6
- aws_cdk/aws_iotfleethub/__init__.py +71 -2
- aws_cdk/aws_iotfleetwise/__init__.py +195 -14
- aws_cdk/aws_iotsitewise/__init__.py +1837 -89
- aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
- aws_cdk/aws_iottwinmaker/__init__.py +115 -10
- aws_cdk/aws_iotwireless/__init__.py +649 -22
- aws_cdk/aws_ivs/__init__.py +561 -57
- aws_cdk/aws_ivschat/__init__.py +24 -4
- aws_cdk/aws_kafkaconnect/__init__.py +35 -6
- aws_cdk/aws_kendra/__init__.py +120 -28
- aws_cdk/aws_kendraranking/__init__.py +13 -2
- aws_cdk/aws_kinesis/__init__.py +641 -23
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -96
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +207 -19
- aws_cdk/aws_kinesisfirehose/__init__.py +3087 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +204 -45
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2236 -297
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
- aws_cdk/aws_launchwizard/__init__.py +13 -2
- aws_cdk/aws_lex/__init__.py +2162 -212
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2958 -1322
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +6014 -923
- aws_cdk/aws_lookoutequipment/__init__.py +13 -2
- aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
- aws_cdk/aws_lookoutvision/__init__.py +71 -2
- aws_cdk/aws_m2/__init__.py +94 -19
- aws_cdk/aws_macie/__init__.py +49 -11
- aws_cdk/aws_managedblockchain/__init__.py +180 -6
- aws_cdk/aws_mediaconnect/__init__.py +101 -18
- aws_cdk/aws_mediaconvert/__init__.py +35 -6
- aws_cdk/aws_medialive/__init__.py +1938 -532
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1616 -233
- aws_cdk/aws_mediastore/__init__.py +13 -2
- aws_cdk/aws_mediatailor/__init__.py +583 -12
- aws_cdk/aws_memorydb/__init__.py +271 -12
- aws_cdk/aws_mpa/__init__.py +1495 -0
- aws_cdk/aws_msk/__init__.py +108 -22
- aws_cdk/aws_mwaa/__init__.py +121 -9
- aws_cdk/aws_neptune/__init__.py +290 -78
- aws_cdk/aws_neptunegraph/__init__.py +24 -4
- aws_cdk/aws_networkfirewall/__init__.py +1184 -164
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +283 -408
- aws_cdk/aws_notifications/__init__.py +317 -12
- aws_cdk/aws_notificationscontacts/__init__.py +13 -2
- aws_cdk/aws_oam/__init__.py +24 -4
- aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
- aws_cdk/aws_odb/__init__.py +5872 -0
- aws_cdk/aws_omics/__init__.py +2967 -162
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +501 -19
- aws_cdk/aws_opsworks/__init__.py +235 -139
- aws_cdk/aws_opsworkscm/__init__.py +16 -52
- aws_cdk/aws_organizations/__init__.py +70 -10
- aws_cdk/aws_osis/__init__.py +167 -2
- aws_cdk/aws_panorama/__init__.py +181 -9
- aws_cdk/aws_paymentcryptography/__init__.py +24 -4
- aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
- aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
- aws_cdk/aws_pcs/__init__.py +516 -64
- aws_cdk/aws_personalize/__init__.py +46 -8
- aws_cdk/aws_pinpoint/__init__.py +329 -38
- aws_cdk/aws_pinpointemail/__init__.py +48 -8
- aws_cdk/aws_pipes/__init__.py +12 -2
- aws_cdk/aws_proton/__init__.py +37 -6
- aws_cdk/aws_qbusiness/__init__.py +635 -34
- aws_cdk/aws_qldb/__init__.py +24 -4
- aws_cdk/aws_quicksight/__init__.py +7900 -1160
- aws_cdk/aws_ram/__init__.py +24 -4
- aws_cdk/aws_rbin/__init__.py +12 -2
- aws_cdk/aws_rds/__init__.py +3721 -573
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +699 -11
- aws_cdk/aws_refactorspaces/__init__.py +64 -14
- aws_cdk/aws_rekognition/__init__.py +93 -6
- aws_cdk/aws_resiliencehub/__init__.py +24 -4
- aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
- aws_cdk/aws_resourcegroups/__init__.py +82 -4
- aws_cdk/aws_robomaker/__init__.py +72 -12
- aws_cdk/aws_rolesanywhere/__init__.py +194 -19
- aws_cdk/aws_route53/__init__.py +3965 -1436
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +37 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
- aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
- aws_cdk/aws_route53resolver/__init__.py +189 -40
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1742 -221
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +153 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +1053 -6
- aws_cdk/aws_s3objectlambda/__init__.py +68 -16
- aws_cdk/aws_s3outposts/__init__.py +46 -8
- aws_cdk/aws_s3tables/__init__.py +2000 -323
- aws_cdk/aws_s3vectors/__init__.py +1378 -0
- aws_cdk/aws_sagemaker/__init__.py +6848 -373
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +249 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +194 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +429 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +188 -47
- aws_cdk/aws_ses/__init__.py +2265 -369
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +33 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +263 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +265 -2
- aws_cdk/aws_sqs/__init__.py +223 -14
- aws_cdk/aws_ssm/__init__.py +413 -58
- aws_cdk/aws_ssmcontacts/__init__.py +98 -9
- aws_cdk/aws_ssmguiconnect/__init__.py +20 -9
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +393 -8
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +823 -94
- aws_cdk/aws_stepfunctions_tasks/__init__.py +2323 -150
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +1088 -126
- aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
- aws_cdk/aws_timestream/__init__.py +104 -8
- aws_cdk/aws_transfer/__init__.py +784 -87
- aws_cdk/aws_verifiedpermissions/__init__.py +306 -13
- aws_cdk/aws_voiceid/__init__.py +54 -5
- aws_cdk/aws_vpclattice/__init__.py +589 -231
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1183 -64
- aws_cdk/aws_wisdom/__init__.py +1403 -90
- aws_cdk/aws_workspaces/__init__.py +134 -6
- aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
- aws_cdk/aws_workspacesweb/__init__.py +1057 -141
- aws_cdk/aws_xray/__init__.py +48 -8
- aws_cdk/cloud_assembly_schema/__init__.py +368 -48
- aws_cdk/custom_resources/__init__.py +58 -12
- aws_cdk/cx_api/__init__.py +125 -21
- aws_cdk/interfaces/__init__.py +739 -0
- aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
- aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
- aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
- aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
- aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
- aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
- aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
- aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
- aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
- aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
- aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
- aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
- aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
- aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
- aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
- aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
- aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
- aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
- aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
- aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
- aws_cdk/interfaces/aws_aps/__init__.py +558 -0
- aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
- aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
- aws_cdk/interfaces/aws_athena/__init__.py +575 -0
- aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
- aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
- aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
- aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
- aws_cdk/interfaces/aws_backup/__init__.py +955 -0
- aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
- aws_cdk/interfaces/aws_batch/__init__.py +681 -0
- aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
- aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
- aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
- aws_cdk/interfaces/aws_billing/__init__.py +146 -0
- aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
- aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
- aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
- aws_cdk/interfaces/aws_ce/__init__.py +352 -0
- aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
- aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
- aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
- aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
- aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
- aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
- aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
- aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
- aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
- aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
- aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
- aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
- aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
- aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
- aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
- aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
- aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
- aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
- aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
- aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
- aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
- aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
- aws_cdk/interfaces/aws_config/__init__.py +1165 -0
- aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
- aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
- aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
- aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
- aws_cdk/interfaces/aws_cur/__init__.py +146 -0
- aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
- aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
- aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
- aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
- aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
- aws_cdk/interfaces/aws_dax/__init__.py +364 -0
- aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
- aws_cdk/interfaces/aws_detective/__init__.py +364 -0
- aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
- aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
- aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
- aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
- aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
- aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
- aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
- aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
- aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
- aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
- aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
- aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
- aws_cdk/interfaces/aws_efs/__init__.py +392 -0
- aws_cdk/interfaces/aws_eks/__init__.py +948 -0
- aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
- aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
- aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
- aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
- aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
- aws_cdk/interfaces/aws_emr/__init__.py +913 -0
- aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
- aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
- aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
- aws_cdk/interfaces/aws_events/__init__.py +872 -0
- aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
- aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
- aws_cdk/interfaces/aws_evs/__init__.py +166 -0
- aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
- aws_cdk/interfaces/aws_fis/__init__.py +271 -0
- aws_cdk/interfaces/aws_fms/__init__.py +364 -0
- aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
- aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
- aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
- aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
- aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
- aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
- aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
- aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
- aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
- aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
- aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
- aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
- aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
- aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
- aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
- aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
- aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
- aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
- aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
- aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
- aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
- aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
- aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
- aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
- aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
- aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
- aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
- aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
- aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
- aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
- aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
- aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
- aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
- aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
- aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
- aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
- aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
- aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
- aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
- aws_cdk/interfaces/aws_kms/__init__.py +376 -0
- aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
- aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
- aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
- aws_cdk/interfaces/aws_lex/__init__.py +513 -0
- aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
- aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
- aws_cdk/interfaces/aws_location/__init__.py +879 -0
- aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
- aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
- aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
- aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
- aws_cdk/interfaces/aws_m2/__init__.py +352 -0
- aws_cdk/interfaces/aws_macie/__init__.py +512 -0
- aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
- aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
- aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
- aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
- aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
- aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
- aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
- aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
- aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
- aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
- aws_cdk/interfaces/aws_msk/__init__.py +764 -0
- aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
- aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
- aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
- aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
- aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
- aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
- aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
- aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
- aws_cdk/interfaces/aws_oam/__init__.py +249 -0
- aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
- aws_cdk/interfaces/aws_odb/__init__.py +562 -0
- aws_cdk/interfaces/aws_omics/__init__.py +838 -0
- aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
- aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
- aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
- aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
- aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
- aws_cdk/interfaces/aws_osis/__init__.py +146 -0
- aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
- aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
- aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
- aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
- aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
- aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
- aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
- aws_cdk/interfaces/aws_proton/__init__.py +360 -0
- aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
- aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
- aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
- aws_cdk/interfaces/aws_ram/__init__.py +249 -0
- aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
- aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
- aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
- aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
- aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
- aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
- aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
- aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
- aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
- aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
- aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
- aws_cdk/interfaces/aws_route53/__init__.py +804 -0
- aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
- aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
- aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
- aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
- aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
- aws_cdk/interfaces/aws_rum/__init__.py +146 -0
- aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
- aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
- aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
- aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
- aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
- aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
- aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
- aws_cdk/interfaces/aws_sam/__init__.py +603 -0
- aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
- aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
- aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
- aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
- aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
- aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
- aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
- aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
- aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
- aws_cdk/interfaces/aws_shield/__init__.py +455 -0
- aws_cdk/interfaces/aws_signer/__init__.py +266 -0
- aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
- aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
- aws_cdk/interfaces/aws_sns/__init__.py +455 -0
- aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
- aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
- aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
- aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
- aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
- aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
- aws_cdk/interfaces/aws_sso/__init__.py +797 -0
- aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
- aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
- aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
- aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
- aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
- aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
- aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
- aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
- aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
- aws_cdk/interfaces/aws_waf/__init__.py +764 -0
- aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
- aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
- aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
- aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
- aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
- aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
- aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
- aws_cdk/interfaces/aws_xray/__init__.py +457 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +202 -52
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +66 -18
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +418 -18
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.195.0.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
|
@@ -68,15 +68,44 @@ from .. import (
|
|
|
68
68
|
TagManager as _TagManager_0a598cb3,
|
|
69
69
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
70
70
|
)
|
|
71
|
+
from ..interfaces.aws_iotsitewise import (
|
|
72
|
+
AccessPolicyReference as _AccessPolicyReference_ccb6f7f6,
|
|
73
|
+
AssetModelReference as _AssetModelReference_92ee8857,
|
|
74
|
+
AssetReference as _AssetReference_0c957c1a,
|
|
75
|
+
ComputationModelReference as _ComputationModelReference_6be451c1,
|
|
76
|
+
DashboardReference as _DashboardReference_773e0a65,
|
|
77
|
+
DatasetReference as _DatasetReference_80081712,
|
|
78
|
+
GatewayReference as _GatewayReference_66094f49,
|
|
79
|
+
IAccessPolicyRef as _IAccessPolicyRef_53bd9e99,
|
|
80
|
+
IAssetModelRef as _IAssetModelRef_a295b695,
|
|
81
|
+
IAssetRef as _IAssetRef_c1a45f64,
|
|
82
|
+
IComputationModelRef as _IComputationModelRef_5fc2055d,
|
|
83
|
+
IDashboardRef as _IDashboardRef_0211bee9,
|
|
84
|
+
IDatasetRef as _IDatasetRef_406a2301,
|
|
85
|
+
IGatewayRef as _IGatewayRef_4b449489,
|
|
86
|
+
IPortalRef as _IPortalRef_e8556ba7,
|
|
87
|
+
IProjectRef as _IProjectRef_252ad716,
|
|
88
|
+
PortalReference as _PortalReference_e91a4b78,
|
|
89
|
+
ProjectReference as _ProjectReference_0ece3987,
|
|
90
|
+
)
|
|
71
91
|
|
|
72
92
|
|
|
73
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
93
|
+
@jsii.implements(_IInspectable_c2943556, _IAccessPolicyRef_53bd9e99)
|
|
74
94
|
class CfnAccessPolicy(
|
|
75
95
|
_CfnResource_9df397a6,
|
|
76
96
|
metaclass=jsii.JSIIMeta,
|
|
77
97
|
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnAccessPolicy",
|
|
78
98
|
):
|
|
79
|
-
'''
|
|
99
|
+
'''.. epigraph::
|
|
100
|
+
|
|
101
|
+
The AWS IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025 .
|
|
102
|
+
|
|
103
|
+
If you would like to use the AWS IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see `AWS IoT SiteWise Monitor availability change <https://docs.aws.amazon.com/iot-sitewise/latest/appguide/iotsitewise-monitor-availability-change.html>`_ .
|
|
104
|
+
|
|
105
|
+
Creates an access policy that grants the specified identity (IAM Identity Center user, IAM Identity Center group, or IAM user) access to the specified AWS IoT SiteWise Monitor portal or project resource.
|
|
106
|
+
.. epigraph::
|
|
107
|
+
|
|
108
|
+
Support for access policies that use an SSO Group as the identity is not supported at this time.
|
|
80
109
|
|
|
81
110
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html
|
|
82
111
|
:cloudformationResource: AWS::IoTSiteWise::AccessPolicy
|
|
@@ -121,7 +150,8 @@ class CfnAccessPolicy(
|
|
|
121
150
|
access_policy_permission: builtins.str,
|
|
122
151
|
access_policy_resource: typing.Union[_IResolvable_da3f097b, typing.Union["CfnAccessPolicy.AccessPolicyResourceProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
123
152
|
) -> None:
|
|
124
|
-
'''
|
|
153
|
+
'''Create a new ``AWS::IoTSiteWise::AccessPolicy``.
|
|
154
|
+
|
|
125
155
|
:param scope: Scope in which this resource is defined.
|
|
126
156
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
127
157
|
:param access_policy_identity: The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
|
|
@@ -140,6 +170,48 @@ class CfnAccessPolicy(
|
|
|
140
170
|
|
|
141
171
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
142
172
|
|
|
173
|
+
@jsii.member(jsii_name="fromAccessPolicyArn")
|
|
174
|
+
@builtins.classmethod
|
|
175
|
+
def from_access_policy_arn(
|
|
176
|
+
cls,
|
|
177
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
178
|
+
id: builtins.str,
|
|
179
|
+
arn: builtins.str,
|
|
180
|
+
) -> _IAccessPolicyRef_53bd9e99:
|
|
181
|
+
'''Creates a new IAccessPolicyRef from an ARN.
|
|
182
|
+
|
|
183
|
+
:param scope: -
|
|
184
|
+
:param id: -
|
|
185
|
+
:param arn: -
|
|
186
|
+
'''
|
|
187
|
+
if __debug__:
|
|
188
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8c5448873247f014fbabe75495d971f11170e821c8ceaf95d73559ecdd8e1681)
|
|
189
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
190
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
191
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
192
|
+
return typing.cast(_IAccessPolicyRef_53bd9e99, jsii.sinvoke(cls, "fromAccessPolicyArn", [scope, id, arn]))
|
|
193
|
+
|
|
194
|
+
@jsii.member(jsii_name="fromAccessPolicyId")
|
|
195
|
+
@builtins.classmethod
|
|
196
|
+
def from_access_policy_id(
|
|
197
|
+
cls,
|
|
198
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
199
|
+
id: builtins.str,
|
|
200
|
+
access_policy_id: builtins.str,
|
|
201
|
+
) -> _IAccessPolicyRef_53bd9e99:
|
|
202
|
+
'''Creates a new IAccessPolicyRef from a accessPolicyId.
|
|
203
|
+
|
|
204
|
+
:param scope: -
|
|
205
|
+
:param id: -
|
|
206
|
+
:param access_policy_id: -
|
|
207
|
+
'''
|
|
208
|
+
if __debug__:
|
|
209
|
+
type_hints = typing.get_type_hints(_typecheckingstub__582ff2c4a66e3c2f09077e37e119938b8584d09e400b9c6a5322e2f39340064e)
|
|
210
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
211
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
212
|
+
check_type(argname="argument access_policy_id", value=access_policy_id, expected_type=type_hints["access_policy_id"])
|
|
213
|
+
return typing.cast(_IAccessPolicyRef_53bd9e99, jsii.sinvoke(cls, "fromAccessPolicyId", [scope, id, access_policy_id]))
|
|
214
|
+
|
|
143
215
|
@jsii.member(jsii_name="inspect")
|
|
144
216
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
145
217
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -170,6 +242,12 @@ class CfnAccessPolicy(
|
|
|
170
242
|
'''The CloudFormation resource type name for this resource class.'''
|
|
171
243
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
172
244
|
|
|
245
|
+
@builtins.property
|
|
246
|
+
@jsii.member(jsii_name="accessPolicyRef")
|
|
247
|
+
def access_policy_ref(self) -> _AccessPolicyReference_ccb6f7f6:
|
|
248
|
+
'''A reference to a AccessPolicy resource.'''
|
|
249
|
+
return typing.cast(_AccessPolicyReference_ccb6f7f6, jsii.get(self, "accessPolicyRef"))
|
|
250
|
+
|
|
173
251
|
@builtins.property
|
|
174
252
|
@jsii.member(jsii_name="attrAccessPolicyArn")
|
|
175
253
|
def attr_access_policy_arn(self) -> builtins.str:
|
|
@@ -803,7 +881,7 @@ class CfnAccessPolicyProps:
|
|
|
803
881
|
)
|
|
804
882
|
|
|
805
883
|
|
|
806
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
884
|
+
@jsii.implements(_IInspectable_c2943556, _IAssetRef_c1a45f64, _ITaggable_36806126)
|
|
807
885
|
class CfnAsset(
|
|
808
886
|
_CfnResource_9df397a6,
|
|
809
887
|
metaclass=jsii.JSIIMeta,
|
|
@@ -866,7 +944,8 @@ class CfnAsset(
|
|
|
866
944
|
asset_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAsset.AssetPropertyProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
867
945
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
868
946
|
) -> None:
|
|
869
|
-
'''
|
|
947
|
+
'''Create a new ``AWS::IoTSiteWise::Asset``.
|
|
948
|
+
|
|
870
949
|
:param scope: Scope in which this resource is defined.
|
|
871
950
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
872
951
|
: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* .
|
|
@@ -893,6 +972,48 @@ class CfnAsset(
|
|
|
893
972
|
|
|
894
973
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
895
974
|
|
|
975
|
+
@jsii.member(jsii_name="fromAssetArn")
|
|
976
|
+
@builtins.classmethod
|
|
977
|
+
def from_asset_arn(
|
|
978
|
+
cls,
|
|
979
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
980
|
+
id: builtins.str,
|
|
981
|
+
arn: builtins.str,
|
|
982
|
+
) -> _IAssetRef_c1a45f64:
|
|
983
|
+
'''Creates a new IAssetRef from an ARN.
|
|
984
|
+
|
|
985
|
+
:param scope: -
|
|
986
|
+
:param id: -
|
|
987
|
+
:param arn: -
|
|
988
|
+
'''
|
|
989
|
+
if __debug__:
|
|
990
|
+
type_hints = typing.get_type_hints(_typecheckingstub__073f8820073df238c5e7e3d9cb836ef8d0e89b64e5c0c4d6554996997da9ca16)
|
|
991
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
992
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
993
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
994
|
+
return typing.cast(_IAssetRef_c1a45f64, jsii.sinvoke(cls, "fromAssetArn", [scope, id, arn]))
|
|
995
|
+
|
|
996
|
+
@jsii.member(jsii_name="fromAssetId")
|
|
997
|
+
@builtins.classmethod
|
|
998
|
+
def from_asset_id(
|
|
999
|
+
cls,
|
|
1000
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1001
|
+
id: builtins.str,
|
|
1002
|
+
asset_id: builtins.str,
|
|
1003
|
+
) -> _IAssetRef_c1a45f64:
|
|
1004
|
+
'''Creates a new IAssetRef from a assetId.
|
|
1005
|
+
|
|
1006
|
+
:param scope: -
|
|
1007
|
+
:param id: -
|
|
1008
|
+
:param asset_id: -
|
|
1009
|
+
'''
|
|
1010
|
+
if __debug__:
|
|
1011
|
+
type_hints = typing.get_type_hints(_typecheckingstub__79d4307e6940146ab525a60e0533d574cdf0bb6e55223c0d04b513be0bb57bae)
|
|
1012
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1013
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1014
|
+
check_type(argname="argument asset_id", value=asset_id, expected_type=type_hints["asset_id"])
|
|
1015
|
+
return typing.cast(_IAssetRef_c1a45f64, jsii.sinvoke(cls, "fromAssetId", [scope, id, asset_id]))
|
|
1016
|
+
|
|
896
1017
|
@jsii.member(jsii_name="inspect")
|
|
897
1018
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
898
1019
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -923,6 +1044,12 @@ class CfnAsset(
|
|
|
923
1044
|
'''The CloudFormation resource type name for this resource class.'''
|
|
924
1045
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
925
1046
|
|
|
1047
|
+
@builtins.property
|
|
1048
|
+
@jsii.member(jsii_name="assetRef")
|
|
1049
|
+
def asset_ref(self) -> _AssetReference_0c957c1a:
|
|
1050
|
+
'''A reference to a Asset resource.'''
|
|
1051
|
+
return typing.cast(_AssetReference_0c957c1a, jsii.get(self, "assetRef"))
|
|
1052
|
+
|
|
926
1053
|
@builtins.property
|
|
927
1054
|
@jsii.member(jsii_name="attrAssetArn")
|
|
928
1055
|
def attr_asset_arn(self) -> builtins.str:
|
|
@@ -1319,7 +1446,7 @@ class CfnAsset(
|
|
|
1319
1446
|
)
|
|
1320
1447
|
|
|
1321
1448
|
|
|
1322
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
1449
|
+
@jsii.implements(_IInspectable_c2943556, _IAssetModelRef_a295b695, _ITaggable_36806126)
|
|
1323
1450
|
class CfnAssetModel(
|
|
1324
1451
|
_CfnResource_9df397a6,
|
|
1325
1452
|
metaclass=jsii.JSIIMeta,
|
|
@@ -1329,10 +1456,11 @@ class CfnAssetModel(
|
|
|
1329
1456
|
|
|
1330
1457
|
You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see `Defining asset models <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/define-models.html>`_ in the *AWS IoT SiteWise User Guide* .
|
|
1331
1458
|
|
|
1332
|
-
You can create
|
|
1459
|
+
You can create three types of asset models, ``ASSET_MODEL`` , ``COMPONENT_MODEL`` , or an ``INTERFACE`` .
|
|
1333
1460
|
|
|
1334
1461
|
- *ASSET_MODEL* – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
|
|
1335
1462
|
- *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.
|
|
1463
|
+
- *INTERFACE* – An interface is a type of model that defines a standard structure that can be applied to different asset models.
|
|
1336
1464
|
|
|
1337
1465
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html
|
|
1338
1466
|
:cloudformationResource: AWS::IoTSiteWise::AssetModel
|
|
@@ -1494,6 +1622,16 @@ class CfnAssetModel(
|
|
|
1494
1622
|
unit="unit"
|
|
1495
1623
|
)],
|
|
1496
1624
|
asset_model_type="assetModelType",
|
|
1625
|
+
enforced_asset_model_interface_relationships=[iotsitewise.CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty(
|
|
1626
|
+
interface_asset_model_id="interfaceAssetModelId",
|
|
1627
|
+
property_mappings=[iotsitewise.CfnAssetModel.EnforcedAssetModelInterfacePropertyMappingProperty(
|
|
1628
|
+
interface_asset_model_property_external_id="interfaceAssetModelPropertyExternalId",
|
|
1629
|
+
|
|
1630
|
+
# the properties below are optional
|
|
1631
|
+
asset_model_property_external_id="assetModelPropertyExternalId",
|
|
1632
|
+
asset_model_property_logical_id="assetModelPropertyLogicalId"
|
|
1633
|
+
)]
|
|
1634
|
+
)],
|
|
1497
1635
|
tags=[CfnTag(
|
|
1498
1636
|
key="key",
|
|
1499
1637
|
value="value"
|
|
@@ -1513,9 +1651,11 @@ class CfnAssetModel(
|
|
|
1513
1651
|
asset_model_hierarchies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAssetModel.AssetModelHierarchyProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1514
1652
|
asset_model_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAssetModel.AssetModelPropertyProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1515
1653
|
asset_model_type: typing.Optional[builtins.str] = None,
|
|
1654
|
+
enforced_asset_model_interface_relationships: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1516
1655
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1517
1656
|
) -> None:
|
|
1518
|
-
'''
|
|
1657
|
+
'''Create a new ``AWS::IoTSiteWise::AssetModel``.
|
|
1658
|
+
|
|
1519
1659
|
:param scope: Scope in which this resource is defined.
|
|
1520
1660
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1521
1661
|
:param asset_model_name: A unique name for the asset model.
|
|
@@ -1524,7 +1664,8 @@ class CfnAssetModel(
|
|
|
1524
1664
|
: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* .
|
|
1525
1665
|
: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* .
|
|
1526
1666
|
: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* .
|
|
1527
|
-
: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.
|
|
1667
|
+
: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. - *INTERFACE* – An interface is a type of model that defines a standard structure that can be applied to different asset models.
|
|
1668
|
+
:param enforced_asset_model_interface_relationships: a list of asset model and interface relationships.
|
|
1528
1669
|
: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* .
|
|
1529
1670
|
'''
|
|
1530
1671
|
if __debug__:
|
|
@@ -1539,11 +1680,54 @@ class CfnAssetModel(
|
|
|
1539
1680
|
asset_model_hierarchies=asset_model_hierarchies,
|
|
1540
1681
|
asset_model_properties=asset_model_properties,
|
|
1541
1682
|
asset_model_type=asset_model_type,
|
|
1683
|
+
enforced_asset_model_interface_relationships=enforced_asset_model_interface_relationships,
|
|
1542
1684
|
tags=tags,
|
|
1543
1685
|
)
|
|
1544
1686
|
|
|
1545
1687
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
1546
1688
|
|
|
1689
|
+
@jsii.member(jsii_name="fromAssetModelArn")
|
|
1690
|
+
@builtins.classmethod
|
|
1691
|
+
def from_asset_model_arn(
|
|
1692
|
+
cls,
|
|
1693
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1694
|
+
id: builtins.str,
|
|
1695
|
+
arn: builtins.str,
|
|
1696
|
+
) -> _IAssetModelRef_a295b695:
|
|
1697
|
+
'''Creates a new IAssetModelRef from an ARN.
|
|
1698
|
+
|
|
1699
|
+
:param scope: -
|
|
1700
|
+
:param id: -
|
|
1701
|
+
:param arn: -
|
|
1702
|
+
'''
|
|
1703
|
+
if __debug__:
|
|
1704
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5c85c36d8469daf38476d7f2154aaf5d715e63d825b7e2509bafea40e9e03630)
|
|
1705
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1706
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1707
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
1708
|
+
return typing.cast(_IAssetModelRef_a295b695, jsii.sinvoke(cls, "fromAssetModelArn", [scope, id, arn]))
|
|
1709
|
+
|
|
1710
|
+
@jsii.member(jsii_name="fromAssetModelId")
|
|
1711
|
+
@builtins.classmethod
|
|
1712
|
+
def from_asset_model_id(
|
|
1713
|
+
cls,
|
|
1714
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1715
|
+
id: builtins.str,
|
|
1716
|
+
asset_model_id: builtins.str,
|
|
1717
|
+
) -> _IAssetModelRef_a295b695:
|
|
1718
|
+
'''Creates a new IAssetModelRef from a assetModelId.
|
|
1719
|
+
|
|
1720
|
+
:param scope: -
|
|
1721
|
+
:param id: -
|
|
1722
|
+
:param asset_model_id: -
|
|
1723
|
+
'''
|
|
1724
|
+
if __debug__:
|
|
1725
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1f061ec701a45e63d7603fe15d31d19f3e3367f9ad0d0e712c9bbae5505f1108)
|
|
1726
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1727
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1728
|
+
check_type(argname="argument asset_model_id", value=asset_model_id, expected_type=type_hints["asset_model_id"])
|
|
1729
|
+
return typing.cast(_IAssetModelRef_a295b695, jsii.sinvoke(cls, "fromAssetModelId", [scope, id, asset_model_id]))
|
|
1730
|
+
|
|
1547
1731
|
@jsii.member(jsii_name="inspect")
|
|
1548
1732
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1549
1733
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -1574,6 +1758,12 @@ class CfnAssetModel(
|
|
|
1574
1758
|
'''The CloudFormation resource type name for this resource class.'''
|
|
1575
1759
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1576
1760
|
|
|
1761
|
+
@builtins.property
|
|
1762
|
+
@jsii.member(jsii_name="assetModelRef")
|
|
1763
|
+
def asset_model_ref(self) -> _AssetModelReference_92ee8857:
|
|
1764
|
+
'''A reference to a AssetModel resource.'''
|
|
1765
|
+
return typing.cast(_AssetModelReference_92ee8857, jsii.get(self, "assetModelRef"))
|
|
1766
|
+
|
|
1577
1767
|
@builtins.property
|
|
1578
1768
|
@jsii.member(jsii_name="attrAssetModelArn")
|
|
1579
1769
|
def attr_asset_model_arn(self) -> builtins.str:
|
|
@@ -1709,6 +1899,24 @@ class CfnAssetModel(
|
|
|
1709
1899
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1710
1900
|
jsii.set(self, "assetModelType", value) # pyright: ignore[reportArgumentType]
|
|
1711
1901
|
|
|
1902
|
+
@builtins.property
|
|
1903
|
+
@jsii.member(jsii_name="enforcedAssetModelInterfaceRelationships")
|
|
1904
|
+
def enforced_asset_model_interface_relationships(
|
|
1905
|
+
self,
|
|
1906
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty"]]]]:
|
|
1907
|
+
'''a list of asset model and interface relationships.'''
|
|
1908
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty"]]]], jsii.get(self, "enforcedAssetModelInterfaceRelationships"))
|
|
1909
|
+
|
|
1910
|
+
@enforced_asset_model_interface_relationships.setter
|
|
1911
|
+
def enforced_asset_model_interface_relationships(
|
|
1912
|
+
self,
|
|
1913
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty"]]]],
|
|
1914
|
+
) -> None:
|
|
1915
|
+
if __debug__:
|
|
1916
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8585343b0b44aebb25048a1408ef7b098cbb2e611b50c8ec2cbecceb8582d081)
|
|
1917
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1918
|
+
jsii.set(self, "enforcedAssetModelInterfaceRelationships", value) # pyright: ignore[reportArgumentType]
|
|
1919
|
+
|
|
1712
1920
|
@builtins.property
|
|
1713
1921
|
@jsii.member(jsii_name="tagsRaw")
|
|
1714
1922
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -2438,6 +2646,179 @@ class CfnAssetModel(
|
|
|
2438
2646
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2439
2647
|
)
|
|
2440
2648
|
|
|
2649
|
+
@jsii.data_type(
|
|
2650
|
+
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnAssetModel.EnforcedAssetModelInterfacePropertyMappingProperty",
|
|
2651
|
+
jsii_struct_bases=[],
|
|
2652
|
+
name_mapping={
|
|
2653
|
+
"interface_asset_model_property_external_id": "interfaceAssetModelPropertyExternalId",
|
|
2654
|
+
"asset_model_property_external_id": "assetModelPropertyExternalId",
|
|
2655
|
+
"asset_model_property_logical_id": "assetModelPropertyLogicalId",
|
|
2656
|
+
},
|
|
2657
|
+
)
|
|
2658
|
+
class EnforcedAssetModelInterfacePropertyMappingProperty:
|
|
2659
|
+
def __init__(
|
|
2660
|
+
self,
|
|
2661
|
+
*,
|
|
2662
|
+
interface_asset_model_property_external_id: builtins.str,
|
|
2663
|
+
asset_model_property_external_id: typing.Optional[builtins.str] = None,
|
|
2664
|
+
asset_model_property_logical_id: typing.Optional[builtins.str] = None,
|
|
2665
|
+
) -> None:
|
|
2666
|
+
'''Contains information about applied interface property and asset model property.
|
|
2667
|
+
|
|
2668
|
+
:param interface_asset_model_property_external_id: The external ID of the applied interface property.
|
|
2669
|
+
:param asset_model_property_external_id: The external ID of the linked asset model property.
|
|
2670
|
+
:param asset_model_property_logical_id: The logical ID of the linked asset model property.
|
|
2671
|
+
|
|
2672
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-enforcedassetmodelinterfacepropertymapping.html
|
|
2673
|
+
:exampleMetadata: fixture=_generated
|
|
2674
|
+
|
|
2675
|
+
Example::
|
|
2676
|
+
|
|
2677
|
+
# The code below shows an example of how to instantiate this type.
|
|
2678
|
+
# The values are placeholders you should change.
|
|
2679
|
+
from aws_cdk import aws_iotsitewise as iotsitewise
|
|
2680
|
+
|
|
2681
|
+
enforced_asset_model_interface_property_mapping_property = iotsitewise.CfnAssetModel.EnforcedAssetModelInterfacePropertyMappingProperty(
|
|
2682
|
+
interface_asset_model_property_external_id="interfaceAssetModelPropertyExternalId",
|
|
2683
|
+
|
|
2684
|
+
# the properties below are optional
|
|
2685
|
+
asset_model_property_external_id="assetModelPropertyExternalId",
|
|
2686
|
+
asset_model_property_logical_id="assetModelPropertyLogicalId"
|
|
2687
|
+
)
|
|
2688
|
+
'''
|
|
2689
|
+
if __debug__:
|
|
2690
|
+
type_hints = typing.get_type_hints(_typecheckingstub__602edbd4a6db7058c0a2d97bafdee4ac831e8e9cefa95964c590f9009304858f)
|
|
2691
|
+
check_type(argname="argument interface_asset_model_property_external_id", value=interface_asset_model_property_external_id, expected_type=type_hints["interface_asset_model_property_external_id"])
|
|
2692
|
+
check_type(argname="argument asset_model_property_external_id", value=asset_model_property_external_id, expected_type=type_hints["asset_model_property_external_id"])
|
|
2693
|
+
check_type(argname="argument asset_model_property_logical_id", value=asset_model_property_logical_id, expected_type=type_hints["asset_model_property_logical_id"])
|
|
2694
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2695
|
+
"interface_asset_model_property_external_id": interface_asset_model_property_external_id,
|
|
2696
|
+
}
|
|
2697
|
+
if asset_model_property_external_id is not None:
|
|
2698
|
+
self._values["asset_model_property_external_id"] = asset_model_property_external_id
|
|
2699
|
+
if asset_model_property_logical_id is not None:
|
|
2700
|
+
self._values["asset_model_property_logical_id"] = asset_model_property_logical_id
|
|
2701
|
+
|
|
2702
|
+
@builtins.property
|
|
2703
|
+
def interface_asset_model_property_external_id(self) -> builtins.str:
|
|
2704
|
+
'''The external ID of the applied interface property.
|
|
2705
|
+
|
|
2706
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-enforcedassetmodelinterfacepropertymapping.html#cfn-iotsitewise-assetmodel-enforcedassetmodelinterfacepropertymapping-interfaceassetmodelpropertyexternalid
|
|
2707
|
+
'''
|
|
2708
|
+
result = self._values.get("interface_asset_model_property_external_id")
|
|
2709
|
+
assert result is not None, "Required property 'interface_asset_model_property_external_id' is missing"
|
|
2710
|
+
return typing.cast(builtins.str, result)
|
|
2711
|
+
|
|
2712
|
+
@builtins.property
|
|
2713
|
+
def asset_model_property_external_id(self) -> typing.Optional[builtins.str]:
|
|
2714
|
+
'''The external ID of the linked asset model property.
|
|
2715
|
+
|
|
2716
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-enforcedassetmodelinterfacepropertymapping.html#cfn-iotsitewise-assetmodel-enforcedassetmodelinterfacepropertymapping-assetmodelpropertyexternalid
|
|
2717
|
+
'''
|
|
2718
|
+
result = self._values.get("asset_model_property_external_id")
|
|
2719
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2720
|
+
|
|
2721
|
+
@builtins.property
|
|
2722
|
+
def asset_model_property_logical_id(self) -> typing.Optional[builtins.str]:
|
|
2723
|
+
'''The logical ID of the linked asset model property.
|
|
2724
|
+
|
|
2725
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-enforcedassetmodelinterfacepropertymapping.html#cfn-iotsitewise-assetmodel-enforcedassetmodelinterfacepropertymapping-assetmodelpropertylogicalid
|
|
2726
|
+
'''
|
|
2727
|
+
result = self._values.get("asset_model_property_logical_id")
|
|
2728
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2729
|
+
|
|
2730
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2731
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2732
|
+
|
|
2733
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2734
|
+
return not (rhs == self)
|
|
2735
|
+
|
|
2736
|
+
def __repr__(self) -> str:
|
|
2737
|
+
return "EnforcedAssetModelInterfacePropertyMappingProperty(%s)" % ", ".join(
|
|
2738
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2739
|
+
)
|
|
2740
|
+
|
|
2741
|
+
@jsii.data_type(
|
|
2742
|
+
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty",
|
|
2743
|
+
jsii_struct_bases=[],
|
|
2744
|
+
name_mapping={
|
|
2745
|
+
"interface_asset_model_id": "interfaceAssetModelId",
|
|
2746
|
+
"property_mappings": "propertyMappings",
|
|
2747
|
+
},
|
|
2748
|
+
)
|
|
2749
|
+
class EnforcedAssetModelInterfaceRelationshipProperty:
|
|
2750
|
+
def __init__(
|
|
2751
|
+
self,
|
|
2752
|
+
*,
|
|
2753
|
+
interface_asset_model_id: typing.Optional[builtins.str] = None,
|
|
2754
|
+
property_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAssetModel.EnforcedAssetModelInterfacePropertyMappingProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2755
|
+
) -> None:
|
|
2756
|
+
'''Contains information about applied interface hierarchy and asset model hierarchy.
|
|
2757
|
+
|
|
2758
|
+
:param interface_asset_model_id: The ID of the asset model that has the interface applied to it.
|
|
2759
|
+
:param property_mappings: A list of property mappings between the interface asset model and the asset model where the interface is applied.
|
|
2760
|
+
|
|
2761
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-enforcedassetmodelinterfacerelationship.html
|
|
2762
|
+
:exampleMetadata: fixture=_generated
|
|
2763
|
+
|
|
2764
|
+
Example::
|
|
2765
|
+
|
|
2766
|
+
# The code below shows an example of how to instantiate this type.
|
|
2767
|
+
# The values are placeholders you should change.
|
|
2768
|
+
from aws_cdk import aws_iotsitewise as iotsitewise
|
|
2769
|
+
|
|
2770
|
+
enforced_asset_model_interface_relationship_property = iotsitewise.CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty(
|
|
2771
|
+
interface_asset_model_id="interfaceAssetModelId",
|
|
2772
|
+
property_mappings=[iotsitewise.CfnAssetModel.EnforcedAssetModelInterfacePropertyMappingProperty(
|
|
2773
|
+
interface_asset_model_property_external_id="interfaceAssetModelPropertyExternalId",
|
|
2774
|
+
|
|
2775
|
+
# the properties below are optional
|
|
2776
|
+
asset_model_property_external_id="assetModelPropertyExternalId",
|
|
2777
|
+
asset_model_property_logical_id="assetModelPropertyLogicalId"
|
|
2778
|
+
)]
|
|
2779
|
+
)
|
|
2780
|
+
'''
|
|
2781
|
+
if __debug__:
|
|
2782
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1fe8dfe5b5064a1ee03d773eb65966bf8eb13cf514900f6647f677f88f271459)
|
|
2783
|
+
check_type(argname="argument interface_asset_model_id", value=interface_asset_model_id, expected_type=type_hints["interface_asset_model_id"])
|
|
2784
|
+
check_type(argname="argument property_mappings", value=property_mappings, expected_type=type_hints["property_mappings"])
|
|
2785
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2786
|
+
if interface_asset_model_id is not None:
|
|
2787
|
+
self._values["interface_asset_model_id"] = interface_asset_model_id
|
|
2788
|
+
if property_mappings is not None:
|
|
2789
|
+
self._values["property_mappings"] = property_mappings
|
|
2790
|
+
|
|
2791
|
+
@builtins.property
|
|
2792
|
+
def interface_asset_model_id(self) -> typing.Optional[builtins.str]:
|
|
2793
|
+
'''The ID of the asset model that has the interface applied to it.
|
|
2794
|
+
|
|
2795
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-enforcedassetmodelinterfacerelationship.html#cfn-iotsitewise-assetmodel-enforcedassetmodelinterfacerelationship-interfaceassetmodelid
|
|
2796
|
+
'''
|
|
2797
|
+
result = self._values.get("interface_asset_model_id")
|
|
2798
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2799
|
+
|
|
2800
|
+
@builtins.property
|
|
2801
|
+
def property_mappings(
|
|
2802
|
+
self,
|
|
2803
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAssetModel.EnforcedAssetModelInterfacePropertyMappingProperty"]]]]:
|
|
2804
|
+
'''A list of property mappings between the interface asset model and the asset model where the interface is applied.
|
|
2805
|
+
|
|
2806
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-enforcedassetmodelinterfacerelationship.html#cfn-iotsitewise-assetmodel-enforcedassetmodelinterfacerelationship-propertymappings
|
|
2807
|
+
'''
|
|
2808
|
+
result = self._values.get("property_mappings")
|
|
2809
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAssetModel.EnforcedAssetModelInterfacePropertyMappingProperty"]]]], result)
|
|
2810
|
+
|
|
2811
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2812
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2813
|
+
|
|
2814
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2815
|
+
return not (rhs == self)
|
|
2816
|
+
|
|
2817
|
+
def __repr__(self) -> str:
|
|
2818
|
+
return "EnforcedAssetModelInterfaceRelationshipProperty(%s)" % ", ".join(
|
|
2819
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2820
|
+
)
|
|
2821
|
+
|
|
2441
2822
|
@jsii.data_type(
|
|
2442
2823
|
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnAssetModel.ExpressionVariableProperty",
|
|
2443
2824
|
jsii_struct_bases=[],
|
|
@@ -3311,6 +3692,7 @@ class CfnAssetModel(
|
|
|
3311
3692
|
"asset_model_hierarchies": "assetModelHierarchies",
|
|
3312
3693
|
"asset_model_properties": "assetModelProperties",
|
|
3313
3694
|
"asset_model_type": "assetModelType",
|
|
3695
|
+
"enforced_asset_model_interface_relationships": "enforcedAssetModelInterfaceRelationships",
|
|
3314
3696
|
"tags": "tags",
|
|
3315
3697
|
},
|
|
3316
3698
|
)
|
|
@@ -3325,6 +3707,7 @@ class CfnAssetModelProps:
|
|
|
3325
3707
|
asset_model_hierarchies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAssetModel.AssetModelHierarchyProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3326
3708
|
asset_model_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAssetModel.AssetModelPropertyProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3327
3709
|
asset_model_type: typing.Optional[builtins.str] = None,
|
|
3710
|
+
enforced_asset_model_interface_relationships: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3328
3711
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3329
3712
|
) -> None:
|
|
3330
3713
|
'''Properties for defining a ``CfnAssetModel``.
|
|
@@ -3335,7 +3718,8 @@ class CfnAssetModelProps:
|
|
|
3335
3718
|
: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* .
|
|
3336
3719
|
: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* .
|
|
3337
3720
|
: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* .
|
|
3338
|
-
: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.
|
|
3721
|
+
: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. - *INTERFACE* – An interface is a type of model that defines a standard structure that can be applied to different asset models.
|
|
3722
|
+
:param enforced_asset_model_interface_relationships: a list of asset model and interface relationships.
|
|
3339
3723
|
: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* .
|
|
3340
3724
|
|
|
3341
3725
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html
|
|
@@ -3497,6 +3881,16 @@ class CfnAssetModelProps:
|
|
|
3497
3881
|
unit="unit"
|
|
3498
3882
|
)],
|
|
3499
3883
|
asset_model_type="assetModelType",
|
|
3884
|
+
enforced_asset_model_interface_relationships=[iotsitewise.CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty(
|
|
3885
|
+
interface_asset_model_id="interfaceAssetModelId",
|
|
3886
|
+
property_mappings=[iotsitewise.CfnAssetModel.EnforcedAssetModelInterfacePropertyMappingProperty(
|
|
3887
|
+
interface_asset_model_property_external_id="interfaceAssetModelPropertyExternalId",
|
|
3888
|
+
|
|
3889
|
+
# the properties below are optional
|
|
3890
|
+
asset_model_property_external_id="assetModelPropertyExternalId",
|
|
3891
|
+
asset_model_property_logical_id="assetModelPropertyLogicalId"
|
|
3892
|
+
)]
|
|
3893
|
+
)],
|
|
3500
3894
|
tags=[CfnTag(
|
|
3501
3895
|
key="key",
|
|
3502
3896
|
value="value"
|
|
@@ -3512,6 +3906,7 @@ class CfnAssetModelProps:
|
|
|
3512
3906
|
check_type(argname="argument asset_model_hierarchies", value=asset_model_hierarchies, expected_type=type_hints["asset_model_hierarchies"])
|
|
3513
3907
|
check_type(argname="argument asset_model_properties", value=asset_model_properties, expected_type=type_hints["asset_model_properties"])
|
|
3514
3908
|
check_type(argname="argument asset_model_type", value=asset_model_type, expected_type=type_hints["asset_model_type"])
|
|
3909
|
+
check_type(argname="argument enforced_asset_model_interface_relationships", value=enforced_asset_model_interface_relationships, expected_type=type_hints["enforced_asset_model_interface_relationships"])
|
|
3515
3910
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
3516
3911
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3517
3912
|
"asset_model_name": asset_model_name,
|
|
@@ -3528,6 +3923,8 @@ class CfnAssetModelProps:
|
|
|
3528
3923
|
self._values["asset_model_properties"] = asset_model_properties
|
|
3529
3924
|
if asset_model_type is not None:
|
|
3530
3925
|
self._values["asset_model_type"] = asset_model_type
|
|
3926
|
+
if enforced_asset_model_interface_relationships is not None:
|
|
3927
|
+
self._values["enforced_asset_model_interface_relationships"] = enforced_asset_model_interface_relationships
|
|
3531
3928
|
if tags is not None:
|
|
3532
3929
|
self._values["tags"] = tags
|
|
3533
3930
|
|
|
@@ -3613,12 +4010,24 @@ class CfnAssetModelProps:
|
|
|
3613
4010
|
|
|
3614
4011
|
- *ASSET_MODEL* – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
|
|
3615
4012
|
- *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.
|
|
4013
|
+
- *INTERFACE* – An interface is a type of model that defines a standard structure that can be applied to different asset models.
|
|
3616
4014
|
|
|
3617
4015
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-assetmodeltype
|
|
3618
4016
|
'''
|
|
3619
4017
|
result = self._values.get("asset_model_type")
|
|
3620
4018
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
3621
4019
|
|
|
4020
|
+
@builtins.property
|
|
4021
|
+
def enforced_asset_model_interface_relationships(
|
|
4022
|
+
self,
|
|
4023
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty]]]]:
|
|
4024
|
+
'''a list of asset model and interface relationships.
|
|
4025
|
+
|
|
4026
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-enforcedassetmodelinterfacerelationships
|
|
4027
|
+
'''
|
|
4028
|
+
result = self._values.get("enforced_asset_model_interface_relationships")
|
|
4029
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty]]]], result)
|
|
4030
|
+
|
|
3622
4031
|
@builtins.property
|
|
3623
4032
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
3624
4033
|
'''A list of key-value pairs that contain metadata for the asset.
|
|
@@ -3830,16 +4239,16 @@ class CfnAssetProps:
|
|
|
3830
4239
|
)
|
|
3831
4240
|
|
|
3832
4241
|
|
|
3833
|
-
@jsii.implements(_IInspectable_c2943556,
|
|
3834
|
-
class
|
|
4242
|
+
@jsii.implements(_IInspectable_c2943556, _IComputationModelRef_5fc2055d, _ITaggableV2_4e6798f8)
|
|
4243
|
+
class CfnComputationModel(
|
|
3835
4244
|
_CfnResource_9df397a6,
|
|
3836
4245
|
metaclass=jsii.JSIIMeta,
|
|
3837
|
-
jsii_type="aws-cdk-lib.aws_iotsitewise.
|
|
4246
|
+
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnComputationModel",
|
|
3838
4247
|
):
|
|
3839
|
-
'''
|
|
4248
|
+
'''Create a computation model with a configuration and data binding.
|
|
3840
4249
|
|
|
3841
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-
|
|
3842
|
-
:cloudformationResource: AWS::IoTSiteWise::
|
|
4250
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html
|
|
4251
|
+
:cloudformationResource: AWS::IoTSiteWise::ComputationModel
|
|
3843
4252
|
:exampleMetadata: fixture=_generated
|
|
3844
4253
|
|
|
3845
4254
|
Example::
|
|
@@ -3848,13 +4257,32 @@ class CfnDashboard(
|
|
|
3848
4257
|
# The values are placeholders you should change.
|
|
3849
4258
|
from aws_cdk import aws_iotsitewise as iotsitewise
|
|
3850
4259
|
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
4260
|
+
# computation_model_data_binding_value_property_: iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty
|
|
4261
|
+
|
|
4262
|
+
cfn_computation_model = iotsitewise.CfnComputationModel(self, "MyCfnComputationModel",
|
|
4263
|
+
computation_model_configuration=iotsitewise.CfnComputationModel.ComputationModelConfigurationProperty(
|
|
4264
|
+
anomaly_detection=iotsitewise.CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty(
|
|
4265
|
+
input_properties="inputProperties",
|
|
4266
|
+
result_property="resultProperty"
|
|
4267
|
+
)
|
|
4268
|
+
),
|
|
4269
|
+
computation_model_data_binding={
|
|
4270
|
+
"computation_model_data_binding_key": iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty(
|
|
4271
|
+
asset_model_property=iotsitewise.CfnComputationModel.AssetModelPropertyBindingValueProperty(
|
|
4272
|
+
asset_model_id="assetModelId",
|
|
4273
|
+
property_id="propertyId"
|
|
4274
|
+
),
|
|
4275
|
+
asset_property=iotsitewise.CfnComputationModel.AssetPropertyBindingValueProperty(
|
|
4276
|
+
asset_id="assetId",
|
|
4277
|
+
property_id="propertyId"
|
|
4278
|
+
),
|
|
4279
|
+
list=[computation_model_data_binding_value_property_]
|
|
4280
|
+
)
|
|
4281
|
+
},
|
|
4282
|
+
computation_model_name="computationModelName",
|
|
3855
4283
|
|
|
3856
4284
|
# the properties below are optional
|
|
3857
|
-
|
|
4285
|
+
computation_model_description="computationModelDescription",
|
|
3858
4286
|
tags=[CfnTag(
|
|
3859
4287
|
key="key",
|
|
3860
4288
|
value="value"
|
|
@@ -3867,35 +4295,78 @@ class CfnDashboard(
|
|
|
3867
4295
|
scope: _constructs_77d1e7e8.Construct,
|
|
3868
4296
|
id: builtins.str,
|
|
3869
4297
|
*,
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
4298
|
+
computation_model_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnComputationModel.ComputationModelConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
4299
|
+
computation_model_data_binding: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnComputationModel.ComputationModelDataBindingValueProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
4300
|
+
computation_model_name: builtins.str,
|
|
4301
|
+
computation_model_description: typing.Optional[builtins.str] = None,
|
|
3874
4302
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3875
4303
|
) -> None:
|
|
3876
|
-
'''
|
|
4304
|
+
'''Create a new ``AWS::IoTSiteWise::ComputationModel``.
|
|
4305
|
+
|
|
3877
4306
|
:param scope: Scope in which this resource is defined.
|
|
3878
4307
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3879
|
-
:param
|
|
3880
|
-
:param
|
|
3881
|
-
:param
|
|
3882
|
-
:param
|
|
3883
|
-
:param tags: A list of key-value pairs that contain metadata for the
|
|
4308
|
+
:param computation_model_configuration: The configuration for the computation model.
|
|
4309
|
+
:param computation_model_data_binding: The data binding for the computation model. Key is a variable name defined in configuration. Value is a ``ComputationModelDataBindingValue`` referenced by the variable.
|
|
4310
|
+
:param computation_model_name: The name of the computation model.
|
|
4311
|
+
:param computation_model_description: The description of the computation model.
|
|
4312
|
+
: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* .
|
|
3884
4313
|
'''
|
|
3885
4314
|
if __debug__:
|
|
3886
|
-
type_hints = typing.get_type_hints(
|
|
4315
|
+
type_hints = typing.get_type_hints(_typecheckingstub__566bf1711c9dcacb9cb88add46c2c4e157208bdce4a774ccb256a7d21c68de89)
|
|
3887
4316
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3888
4317
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3889
|
-
props =
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
4318
|
+
props = CfnComputationModelProps(
|
|
4319
|
+
computation_model_configuration=computation_model_configuration,
|
|
4320
|
+
computation_model_data_binding=computation_model_data_binding,
|
|
4321
|
+
computation_model_name=computation_model_name,
|
|
4322
|
+
computation_model_description=computation_model_description,
|
|
3894
4323
|
tags=tags,
|
|
3895
4324
|
)
|
|
3896
4325
|
|
|
3897
4326
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
3898
4327
|
|
|
4328
|
+
@jsii.member(jsii_name="fromComputationModelArn")
|
|
4329
|
+
@builtins.classmethod
|
|
4330
|
+
def from_computation_model_arn(
|
|
4331
|
+
cls,
|
|
4332
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4333
|
+
id: builtins.str,
|
|
4334
|
+
arn: builtins.str,
|
|
4335
|
+
) -> _IComputationModelRef_5fc2055d:
|
|
4336
|
+
'''Creates a new IComputationModelRef from an ARN.
|
|
4337
|
+
|
|
4338
|
+
:param scope: -
|
|
4339
|
+
:param id: -
|
|
4340
|
+
:param arn: -
|
|
4341
|
+
'''
|
|
4342
|
+
if __debug__:
|
|
4343
|
+
type_hints = typing.get_type_hints(_typecheckingstub__590e85092bc508f6256e60a12e43c81089d4fdbc5ea61a69300ebe6c241b75e3)
|
|
4344
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4345
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4346
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
4347
|
+
return typing.cast(_IComputationModelRef_5fc2055d, jsii.sinvoke(cls, "fromComputationModelArn", [scope, id, arn]))
|
|
4348
|
+
|
|
4349
|
+
@jsii.member(jsii_name="fromComputationModelId")
|
|
4350
|
+
@builtins.classmethod
|
|
4351
|
+
def from_computation_model_id(
|
|
4352
|
+
cls,
|
|
4353
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4354
|
+
id: builtins.str,
|
|
4355
|
+
computation_model_id: builtins.str,
|
|
4356
|
+
) -> _IComputationModelRef_5fc2055d:
|
|
4357
|
+
'''Creates a new IComputationModelRef from a computationModelId.
|
|
4358
|
+
|
|
4359
|
+
:param scope: -
|
|
4360
|
+
:param id: -
|
|
4361
|
+
:param computation_model_id: -
|
|
4362
|
+
'''
|
|
4363
|
+
if __debug__:
|
|
4364
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cf9f98dbe0a47ff6ba00814bcfe5bac495a1c8e0e1b952108f1c9fe15128b618)
|
|
4365
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4366
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4367
|
+
check_type(argname="argument computation_model_id", value=computation_model_id, expected_type=type_hints["computation_model_id"])
|
|
4368
|
+
return typing.cast(_IComputationModelRef_5fc2055d, jsii.sinvoke(cls, "fromComputationModelId", [scope, id, computation_model_id]))
|
|
4369
|
+
|
|
3899
4370
|
@jsii.member(jsii_name="inspect")
|
|
3900
4371
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
3901
4372
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -3903,7 +4374,7 @@ class CfnDashboard(
|
|
|
3903
4374
|
:param inspector: tree inspector to collect and process attributes.
|
|
3904
4375
|
'''
|
|
3905
4376
|
if __debug__:
|
|
3906
|
-
type_hints = typing.get_type_hints(
|
|
4377
|
+
type_hints = typing.get_type_hints(_typecheckingstub__137e70d4839513d333c73d5f02909172ab78f14b28c52c7f13f6f52ff398e870)
|
|
3907
4378
|
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
3908
4379
|
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
3909
4380
|
|
|
@@ -3916,7 +4387,7 @@ class CfnDashboard(
|
|
|
3916
4387
|
:param props: -
|
|
3917
4388
|
'''
|
|
3918
4389
|
if __debug__:
|
|
3919
|
-
type_hints = typing.get_type_hints(
|
|
4390
|
+
type_hints = typing.get_type_hints(_typecheckingstub__27af8e5f561e3e573b9a04774edf0c0c6cf2f3e31d385b4ffe28873a39dc7e48)
|
|
3920
4391
|
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
3921
4392
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
3922
4393
|
|
|
@@ -3927,29 +4398,836 @@ class CfnDashboard(
|
|
|
3927
4398
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
3928
4399
|
|
|
3929
4400
|
@builtins.property
|
|
3930
|
-
@jsii.member(jsii_name="
|
|
3931
|
-
def
|
|
3932
|
-
'''The
|
|
4401
|
+
@jsii.member(jsii_name="attrComputationModelArn")
|
|
4402
|
+
def attr_computation_model_arn(self) -> builtins.str:
|
|
4403
|
+
'''The ARN of the computation model, which has the following format.
|
|
3933
4404
|
|
|
3934
|
-
``arn:${Partition}:iotsitewise:${Region}:${Account}:
|
|
4405
|
+
``arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}``
|
|
3935
4406
|
|
|
3936
|
-
:cloudformationAttribute:
|
|
4407
|
+
:cloudformationAttribute: ComputationModelArn
|
|
3937
4408
|
'''
|
|
3938
|
-
return typing.cast(builtins.str, jsii.get(self, "
|
|
4409
|
+
return typing.cast(builtins.str, jsii.get(self, "attrComputationModelArn"))
|
|
3939
4410
|
|
|
3940
4411
|
@builtins.property
|
|
3941
|
-
@jsii.member(jsii_name="
|
|
3942
|
-
def
|
|
3943
|
-
'''The ID of the
|
|
4412
|
+
@jsii.member(jsii_name="attrComputationModelId")
|
|
4413
|
+
def attr_computation_model_id(self) -> builtins.str:
|
|
4414
|
+
'''The ID of the computation model.
|
|
3944
4415
|
|
|
3945
|
-
:cloudformationAttribute:
|
|
4416
|
+
:cloudformationAttribute: ComputationModelId
|
|
3946
4417
|
'''
|
|
3947
|
-
return typing.cast(builtins.str, jsii.get(self, "
|
|
3948
|
-
|
|
3949
|
-
@builtins.property
|
|
3950
|
-
@jsii.member(jsii_name="
|
|
3951
|
-
def
|
|
3952
|
-
|
|
4418
|
+
return typing.cast(builtins.str, jsii.get(self, "attrComputationModelId"))
|
|
4419
|
+
|
|
4420
|
+
@builtins.property
|
|
4421
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
4422
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
4423
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
4424
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
4425
|
+
|
|
4426
|
+
@builtins.property
|
|
4427
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
4428
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4429
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
4430
|
+
|
|
4431
|
+
@builtins.property
|
|
4432
|
+
@jsii.member(jsii_name="computationModelRef")
|
|
4433
|
+
def computation_model_ref(self) -> _ComputationModelReference_6be451c1:
|
|
4434
|
+
'''A reference to a ComputationModel resource.'''
|
|
4435
|
+
return typing.cast(_ComputationModelReference_6be451c1, jsii.get(self, "computationModelRef"))
|
|
4436
|
+
|
|
4437
|
+
@builtins.property
|
|
4438
|
+
@jsii.member(jsii_name="computationModelConfiguration")
|
|
4439
|
+
def computation_model_configuration(
|
|
4440
|
+
self,
|
|
4441
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnComputationModel.ComputationModelConfigurationProperty"]:
|
|
4442
|
+
'''The configuration for the computation model.'''
|
|
4443
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnComputationModel.ComputationModelConfigurationProperty"], jsii.get(self, "computationModelConfiguration"))
|
|
4444
|
+
|
|
4445
|
+
@computation_model_configuration.setter
|
|
4446
|
+
def computation_model_configuration(
|
|
4447
|
+
self,
|
|
4448
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnComputationModel.ComputationModelConfigurationProperty"],
|
|
4449
|
+
) -> None:
|
|
4450
|
+
if __debug__:
|
|
4451
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3fa195f1583c09a0caa02fa5c50ed928dbf5232ca80e6affc9fa715d83e57cd1)
|
|
4452
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4453
|
+
jsii.set(self, "computationModelConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
4454
|
+
|
|
4455
|
+
@builtins.property
|
|
4456
|
+
@jsii.member(jsii_name="computationModelDataBinding")
|
|
4457
|
+
def computation_model_data_binding(
|
|
4458
|
+
self,
|
|
4459
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnComputationModel.ComputationModelDataBindingValueProperty"]]]:
|
|
4460
|
+
'''The data binding for the computation model.'''
|
|
4461
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnComputationModel.ComputationModelDataBindingValueProperty"]]], jsii.get(self, "computationModelDataBinding"))
|
|
4462
|
+
|
|
4463
|
+
@computation_model_data_binding.setter
|
|
4464
|
+
def computation_model_data_binding(
|
|
4465
|
+
self,
|
|
4466
|
+
value: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, "CfnComputationModel.ComputationModelDataBindingValueProperty"]]],
|
|
4467
|
+
) -> None:
|
|
4468
|
+
if __debug__:
|
|
4469
|
+
type_hints = typing.get_type_hints(_typecheckingstub__be967ec7617c0ed0efa50fb8a3519a87b8800751beb73a6449a1637314931d2c)
|
|
4470
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4471
|
+
jsii.set(self, "computationModelDataBinding", value) # pyright: ignore[reportArgumentType]
|
|
4472
|
+
|
|
4473
|
+
@builtins.property
|
|
4474
|
+
@jsii.member(jsii_name="computationModelName")
|
|
4475
|
+
def computation_model_name(self) -> builtins.str:
|
|
4476
|
+
'''The name of the computation model.'''
|
|
4477
|
+
return typing.cast(builtins.str, jsii.get(self, "computationModelName"))
|
|
4478
|
+
|
|
4479
|
+
@computation_model_name.setter
|
|
4480
|
+
def computation_model_name(self, value: builtins.str) -> None:
|
|
4481
|
+
if __debug__:
|
|
4482
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a009db7b645690134b3878ea2c7cdee53682cf297919e1b3f54b712539f8b0de)
|
|
4483
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4484
|
+
jsii.set(self, "computationModelName", value) # pyright: ignore[reportArgumentType]
|
|
4485
|
+
|
|
4486
|
+
@builtins.property
|
|
4487
|
+
@jsii.member(jsii_name="computationModelDescription")
|
|
4488
|
+
def computation_model_description(self) -> typing.Optional[builtins.str]:
|
|
4489
|
+
'''The description of the computation model.'''
|
|
4490
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "computationModelDescription"))
|
|
4491
|
+
|
|
4492
|
+
@computation_model_description.setter
|
|
4493
|
+
def computation_model_description(
|
|
4494
|
+
self,
|
|
4495
|
+
value: typing.Optional[builtins.str],
|
|
4496
|
+
) -> None:
|
|
4497
|
+
if __debug__:
|
|
4498
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7d577131789cc578cee733460d23165debfb49d0d90b94e3e10d38d4d0d44a79)
|
|
4499
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4500
|
+
jsii.set(self, "computationModelDescription", value) # pyright: ignore[reportArgumentType]
|
|
4501
|
+
|
|
4502
|
+
@builtins.property
|
|
4503
|
+
@jsii.member(jsii_name="tags")
|
|
4504
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4505
|
+
'''A list of key-value pairs that contain metadata for the asset.'''
|
|
4506
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
4507
|
+
|
|
4508
|
+
@tags.setter
|
|
4509
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
4510
|
+
if __debug__:
|
|
4511
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a82834353206c4a7be4a8ed40665c48481769bb21be0214fd279c598a8007929)
|
|
4512
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4513
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
4514
|
+
|
|
4515
|
+
@jsii.data_type(
|
|
4516
|
+
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty",
|
|
4517
|
+
jsii_struct_bases=[],
|
|
4518
|
+
name_mapping={
|
|
4519
|
+
"input_properties": "inputProperties",
|
|
4520
|
+
"result_property": "resultProperty",
|
|
4521
|
+
},
|
|
4522
|
+
)
|
|
4523
|
+
class AnomalyDetectionComputationModelConfigurationProperty:
|
|
4524
|
+
def __init__(
|
|
4525
|
+
self,
|
|
4526
|
+
*,
|
|
4527
|
+
input_properties: builtins.str,
|
|
4528
|
+
result_property: builtins.str,
|
|
4529
|
+
) -> None:
|
|
4530
|
+
'''Contains the configuration for anomaly detection computation models.
|
|
4531
|
+
|
|
4532
|
+
:param input_properties: The list of input properties for the anomaly detection model.
|
|
4533
|
+
:param result_property: The property where the anomaly detection results will be stored.
|
|
4534
|
+
|
|
4535
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-anomalydetectioncomputationmodelconfiguration.html
|
|
4536
|
+
:exampleMetadata: fixture=_generated
|
|
4537
|
+
|
|
4538
|
+
Example::
|
|
4539
|
+
|
|
4540
|
+
# The code below shows an example of how to instantiate this type.
|
|
4541
|
+
# The values are placeholders you should change.
|
|
4542
|
+
from aws_cdk import aws_iotsitewise as iotsitewise
|
|
4543
|
+
|
|
4544
|
+
anomaly_detection_computation_model_configuration_property = iotsitewise.CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty(
|
|
4545
|
+
input_properties="inputProperties",
|
|
4546
|
+
result_property="resultProperty"
|
|
4547
|
+
)
|
|
4548
|
+
'''
|
|
4549
|
+
if __debug__:
|
|
4550
|
+
type_hints = typing.get_type_hints(_typecheckingstub__69d1839ca00b91b9b1180620638bc2ec0b687463e3828b79ad3dd49ef5189aa7)
|
|
4551
|
+
check_type(argname="argument input_properties", value=input_properties, expected_type=type_hints["input_properties"])
|
|
4552
|
+
check_type(argname="argument result_property", value=result_property, expected_type=type_hints["result_property"])
|
|
4553
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4554
|
+
"input_properties": input_properties,
|
|
4555
|
+
"result_property": result_property,
|
|
4556
|
+
}
|
|
4557
|
+
|
|
4558
|
+
@builtins.property
|
|
4559
|
+
def input_properties(self) -> builtins.str:
|
|
4560
|
+
'''The list of input properties for the anomaly detection model.
|
|
4561
|
+
|
|
4562
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-anomalydetectioncomputationmodelconfiguration.html#cfn-iotsitewise-computationmodel-anomalydetectioncomputationmodelconfiguration-inputproperties
|
|
4563
|
+
'''
|
|
4564
|
+
result = self._values.get("input_properties")
|
|
4565
|
+
assert result is not None, "Required property 'input_properties' is missing"
|
|
4566
|
+
return typing.cast(builtins.str, result)
|
|
4567
|
+
|
|
4568
|
+
@builtins.property
|
|
4569
|
+
def result_property(self) -> builtins.str:
|
|
4570
|
+
'''The property where the anomaly detection results will be stored.
|
|
4571
|
+
|
|
4572
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-anomalydetectioncomputationmodelconfiguration.html#cfn-iotsitewise-computationmodel-anomalydetectioncomputationmodelconfiguration-resultproperty
|
|
4573
|
+
'''
|
|
4574
|
+
result = self._values.get("result_property")
|
|
4575
|
+
assert result is not None, "Required property 'result_property' is missing"
|
|
4576
|
+
return typing.cast(builtins.str, result)
|
|
4577
|
+
|
|
4578
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4579
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4580
|
+
|
|
4581
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4582
|
+
return not (rhs == self)
|
|
4583
|
+
|
|
4584
|
+
def __repr__(self) -> str:
|
|
4585
|
+
return "AnomalyDetectionComputationModelConfigurationProperty(%s)" % ", ".join(
|
|
4586
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4587
|
+
)
|
|
4588
|
+
|
|
4589
|
+
@jsii.data_type(
|
|
4590
|
+
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnComputationModel.AssetModelPropertyBindingValueProperty",
|
|
4591
|
+
jsii_struct_bases=[],
|
|
4592
|
+
name_mapping={"asset_model_id": "assetModelId", "property_id": "propertyId"},
|
|
4593
|
+
)
|
|
4594
|
+
class AssetModelPropertyBindingValueProperty:
|
|
4595
|
+
def __init__(
|
|
4596
|
+
self,
|
|
4597
|
+
*,
|
|
4598
|
+
asset_model_id: builtins.str,
|
|
4599
|
+
property_id: builtins.str,
|
|
4600
|
+
) -> None:
|
|
4601
|
+
'''Contains information about an ``assetModelProperty`` binding value.
|
|
4602
|
+
|
|
4603
|
+
:param asset_model_id: The ID of the asset model, in UUID format.
|
|
4604
|
+
:param property_id: The ID of the asset model property used in data binding value.
|
|
4605
|
+
|
|
4606
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetmodelpropertybindingvalue.html
|
|
4607
|
+
:exampleMetadata: fixture=_generated
|
|
4608
|
+
|
|
4609
|
+
Example::
|
|
4610
|
+
|
|
4611
|
+
# The code below shows an example of how to instantiate this type.
|
|
4612
|
+
# The values are placeholders you should change.
|
|
4613
|
+
from aws_cdk import aws_iotsitewise as iotsitewise
|
|
4614
|
+
|
|
4615
|
+
asset_model_property_binding_value_property = iotsitewise.CfnComputationModel.AssetModelPropertyBindingValueProperty(
|
|
4616
|
+
asset_model_id="assetModelId",
|
|
4617
|
+
property_id="propertyId"
|
|
4618
|
+
)
|
|
4619
|
+
'''
|
|
4620
|
+
if __debug__:
|
|
4621
|
+
type_hints = typing.get_type_hints(_typecheckingstub__949067d8ab294bdc850ab646091006fd0e748f018285b21dcc99fb980c1a0f5e)
|
|
4622
|
+
check_type(argname="argument asset_model_id", value=asset_model_id, expected_type=type_hints["asset_model_id"])
|
|
4623
|
+
check_type(argname="argument property_id", value=property_id, expected_type=type_hints["property_id"])
|
|
4624
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4625
|
+
"asset_model_id": asset_model_id,
|
|
4626
|
+
"property_id": property_id,
|
|
4627
|
+
}
|
|
4628
|
+
|
|
4629
|
+
@builtins.property
|
|
4630
|
+
def asset_model_id(self) -> builtins.str:
|
|
4631
|
+
'''The ID of the asset model, in UUID format.
|
|
4632
|
+
|
|
4633
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetmodelpropertybindingvalue.html#cfn-iotsitewise-computationmodel-assetmodelpropertybindingvalue-assetmodelid
|
|
4634
|
+
'''
|
|
4635
|
+
result = self._values.get("asset_model_id")
|
|
4636
|
+
assert result is not None, "Required property 'asset_model_id' is missing"
|
|
4637
|
+
return typing.cast(builtins.str, result)
|
|
4638
|
+
|
|
4639
|
+
@builtins.property
|
|
4640
|
+
def property_id(self) -> builtins.str:
|
|
4641
|
+
'''The ID of the asset model property used in data binding value.
|
|
4642
|
+
|
|
4643
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetmodelpropertybindingvalue.html#cfn-iotsitewise-computationmodel-assetmodelpropertybindingvalue-propertyid
|
|
4644
|
+
'''
|
|
4645
|
+
result = self._values.get("property_id")
|
|
4646
|
+
assert result is not None, "Required property 'property_id' is missing"
|
|
4647
|
+
return typing.cast(builtins.str, result)
|
|
4648
|
+
|
|
4649
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4650
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4651
|
+
|
|
4652
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4653
|
+
return not (rhs == self)
|
|
4654
|
+
|
|
4655
|
+
def __repr__(self) -> str:
|
|
4656
|
+
return "AssetModelPropertyBindingValueProperty(%s)" % ", ".join(
|
|
4657
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4658
|
+
)
|
|
4659
|
+
|
|
4660
|
+
@jsii.data_type(
|
|
4661
|
+
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnComputationModel.AssetPropertyBindingValueProperty",
|
|
4662
|
+
jsii_struct_bases=[],
|
|
4663
|
+
name_mapping={"asset_id": "assetId", "property_id": "propertyId"},
|
|
4664
|
+
)
|
|
4665
|
+
class AssetPropertyBindingValueProperty:
|
|
4666
|
+
def __init__(
|
|
4667
|
+
self,
|
|
4668
|
+
*,
|
|
4669
|
+
asset_id: builtins.str,
|
|
4670
|
+
property_id: builtins.str,
|
|
4671
|
+
) -> None:
|
|
4672
|
+
'''Represents a data binding value referencing a specific asset property.
|
|
4673
|
+
|
|
4674
|
+
It's used to bind computation model variables to actual asset property values for processing.
|
|
4675
|
+
|
|
4676
|
+
:param asset_id: The ID of the asset containing the property. This identifies the specific asset instance's property value used in the computation model.
|
|
4677
|
+
:param property_id: The ID of the property within the asset. This identifies the specific property's value used in the computation model.
|
|
4678
|
+
|
|
4679
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetpropertybindingvalue.html
|
|
4680
|
+
:exampleMetadata: fixture=_generated
|
|
4681
|
+
|
|
4682
|
+
Example::
|
|
4683
|
+
|
|
4684
|
+
# The code below shows an example of how to instantiate this type.
|
|
4685
|
+
# The values are placeholders you should change.
|
|
4686
|
+
from aws_cdk import aws_iotsitewise as iotsitewise
|
|
4687
|
+
|
|
4688
|
+
asset_property_binding_value_property = iotsitewise.CfnComputationModel.AssetPropertyBindingValueProperty(
|
|
4689
|
+
asset_id="assetId",
|
|
4690
|
+
property_id="propertyId"
|
|
4691
|
+
)
|
|
4692
|
+
'''
|
|
4693
|
+
if __debug__:
|
|
4694
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e4a3ae5efabf3788291f9b7ef194e309cc061d66db8346fea04452f02980728d)
|
|
4695
|
+
check_type(argname="argument asset_id", value=asset_id, expected_type=type_hints["asset_id"])
|
|
4696
|
+
check_type(argname="argument property_id", value=property_id, expected_type=type_hints["property_id"])
|
|
4697
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4698
|
+
"asset_id": asset_id,
|
|
4699
|
+
"property_id": property_id,
|
|
4700
|
+
}
|
|
4701
|
+
|
|
4702
|
+
@builtins.property
|
|
4703
|
+
def asset_id(self) -> builtins.str:
|
|
4704
|
+
'''The ID of the asset containing the property.
|
|
4705
|
+
|
|
4706
|
+
This identifies the specific asset instance's property value used in the computation model.
|
|
4707
|
+
|
|
4708
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetpropertybindingvalue.html#cfn-iotsitewise-computationmodel-assetpropertybindingvalue-assetid
|
|
4709
|
+
'''
|
|
4710
|
+
result = self._values.get("asset_id")
|
|
4711
|
+
assert result is not None, "Required property 'asset_id' is missing"
|
|
4712
|
+
return typing.cast(builtins.str, result)
|
|
4713
|
+
|
|
4714
|
+
@builtins.property
|
|
4715
|
+
def property_id(self) -> builtins.str:
|
|
4716
|
+
'''The ID of the property within the asset.
|
|
4717
|
+
|
|
4718
|
+
This identifies the specific property's value used in the computation model.
|
|
4719
|
+
|
|
4720
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetpropertybindingvalue.html#cfn-iotsitewise-computationmodel-assetpropertybindingvalue-propertyid
|
|
4721
|
+
'''
|
|
4722
|
+
result = self._values.get("property_id")
|
|
4723
|
+
assert result is not None, "Required property 'property_id' is missing"
|
|
4724
|
+
return typing.cast(builtins.str, result)
|
|
4725
|
+
|
|
4726
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4727
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4728
|
+
|
|
4729
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4730
|
+
return not (rhs == self)
|
|
4731
|
+
|
|
4732
|
+
def __repr__(self) -> str:
|
|
4733
|
+
return "AssetPropertyBindingValueProperty(%s)" % ", ".join(
|
|
4734
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4735
|
+
)
|
|
4736
|
+
|
|
4737
|
+
@jsii.data_type(
|
|
4738
|
+
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnComputationModel.ComputationModelConfigurationProperty",
|
|
4739
|
+
jsii_struct_bases=[],
|
|
4740
|
+
name_mapping={"anomaly_detection": "anomalyDetection"},
|
|
4741
|
+
)
|
|
4742
|
+
class ComputationModelConfigurationProperty:
|
|
4743
|
+
def __init__(
|
|
4744
|
+
self,
|
|
4745
|
+
*,
|
|
4746
|
+
anomaly_detection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4747
|
+
) -> None:
|
|
4748
|
+
'''The configuration for the computation model.
|
|
4749
|
+
|
|
4750
|
+
:param anomaly_detection: The configuration for the anomaly detection type of computation model.
|
|
4751
|
+
|
|
4752
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodelconfiguration.html
|
|
4753
|
+
:exampleMetadata: fixture=_generated
|
|
4754
|
+
|
|
4755
|
+
Example::
|
|
4756
|
+
|
|
4757
|
+
# The code below shows an example of how to instantiate this type.
|
|
4758
|
+
# The values are placeholders you should change.
|
|
4759
|
+
from aws_cdk import aws_iotsitewise as iotsitewise
|
|
4760
|
+
|
|
4761
|
+
computation_model_configuration_property = iotsitewise.CfnComputationModel.ComputationModelConfigurationProperty(
|
|
4762
|
+
anomaly_detection=iotsitewise.CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty(
|
|
4763
|
+
input_properties="inputProperties",
|
|
4764
|
+
result_property="resultProperty"
|
|
4765
|
+
)
|
|
4766
|
+
)
|
|
4767
|
+
'''
|
|
4768
|
+
if __debug__:
|
|
4769
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7b33f062481ddc382b1fb7a44ec3672f2844ad5a2ee31f5ede04b108b279328e)
|
|
4770
|
+
check_type(argname="argument anomaly_detection", value=anomaly_detection, expected_type=type_hints["anomaly_detection"])
|
|
4771
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4772
|
+
if anomaly_detection is not None:
|
|
4773
|
+
self._values["anomaly_detection"] = anomaly_detection
|
|
4774
|
+
|
|
4775
|
+
@builtins.property
|
|
4776
|
+
def anomaly_detection(
|
|
4777
|
+
self,
|
|
4778
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty"]]:
|
|
4779
|
+
'''The configuration for the anomaly detection type of computation model.
|
|
4780
|
+
|
|
4781
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodelconfiguration.html#cfn-iotsitewise-computationmodel-computationmodelconfiguration-anomalydetection
|
|
4782
|
+
'''
|
|
4783
|
+
result = self._values.get("anomaly_detection")
|
|
4784
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty"]], result)
|
|
4785
|
+
|
|
4786
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4787
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4788
|
+
|
|
4789
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4790
|
+
return not (rhs == self)
|
|
4791
|
+
|
|
4792
|
+
def __repr__(self) -> str:
|
|
4793
|
+
return "ComputationModelConfigurationProperty(%s)" % ", ".join(
|
|
4794
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4795
|
+
)
|
|
4796
|
+
|
|
4797
|
+
@jsii.data_type(
|
|
4798
|
+
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty",
|
|
4799
|
+
jsii_struct_bases=[],
|
|
4800
|
+
name_mapping={
|
|
4801
|
+
"asset_model_property": "assetModelProperty",
|
|
4802
|
+
"asset_property": "assetProperty",
|
|
4803
|
+
"list": "list",
|
|
4804
|
+
},
|
|
4805
|
+
)
|
|
4806
|
+
class ComputationModelDataBindingValueProperty:
|
|
4807
|
+
def __init__(
|
|
4808
|
+
self,
|
|
4809
|
+
*,
|
|
4810
|
+
asset_model_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnComputationModel.AssetModelPropertyBindingValueProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4811
|
+
asset_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnComputationModel.AssetPropertyBindingValueProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4812
|
+
list: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnComputationModel.ComputationModelDataBindingValueProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4813
|
+
) -> None:
|
|
4814
|
+
'''Contains computation model data binding value information, which can be one of ``assetModelProperty`` , ``list`` .
|
|
4815
|
+
|
|
4816
|
+
:param asset_model_property: Specifies an asset model property data binding value.
|
|
4817
|
+
:param asset_property: The asset property value used for computation model data binding.
|
|
4818
|
+
:param list: Specifies a list of data binding value.
|
|
4819
|
+
|
|
4820
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodeldatabindingvalue.html
|
|
4821
|
+
:exampleMetadata: fixture=_generated
|
|
4822
|
+
|
|
4823
|
+
Example::
|
|
4824
|
+
|
|
4825
|
+
# The code below shows an example of how to instantiate this type.
|
|
4826
|
+
# The values are placeholders you should change.
|
|
4827
|
+
from aws_cdk import aws_iotsitewise as iotsitewise
|
|
4828
|
+
|
|
4829
|
+
# computation_model_data_binding_value_property_: iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty
|
|
4830
|
+
|
|
4831
|
+
computation_model_data_binding_value_property = iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty(
|
|
4832
|
+
asset_model_property=iotsitewise.CfnComputationModel.AssetModelPropertyBindingValueProperty(
|
|
4833
|
+
asset_model_id="assetModelId",
|
|
4834
|
+
property_id="propertyId"
|
|
4835
|
+
),
|
|
4836
|
+
asset_property=iotsitewise.CfnComputationModel.AssetPropertyBindingValueProperty(
|
|
4837
|
+
asset_id="assetId",
|
|
4838
|
+
property_id="propertyId"
|
|
4839
|
+
),
|
|
4840
|
+
list=[computation_model_data_binding_value_property_]
|
|
4841
|
+
)
|
|
4842
|
+
'''
|
|
4843
|
+
if __debug__:
|
|
4844
|
+
type_hints = typing.get_type_hints(_typecheckingstub__30609777f6bb1d4c3fb4232f9af93dc24089504c669f64d1de9edd24a9e6d0df)
|
|
4845
|
+
check_type(argname="argument asset_model_property", value=asset_model_property, expected_type=type_hints["asset_model_property"])
|
|
4846
|
+
check_type(argname="argument asset_property", value=asset_property, expected_type=type_hints["asset_property"])
|
|
4847
|
+
check_type(argname="argument list", value=list, expected_type=type_hints["list"])
|
|
4848
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4849
|
+
if asset_model_property is not None:
|
|
4850
|
+
self._values["asset_model_property"] = asset_model_property
|
|
4851
|
+
if asset_property is not None:
|
|
4852
|
+
self._values["asset_property"] = asset_property
|
|
4853
|
+
if list is not None:
|
|
4854
|
+
self._values["list"] = list
|
|
4855
|
+
|
|
4856
|
+
@builtins.property
|
|
4857
|
+
def asset_model_property(
|
|
4858
|
+
self,
|
|
4859
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnComputationModel.AssetModelPropertyBindingValueProperty"]]:
|
|
4860
|
+
'''Specifies an asset model property data binding value.
|
|
4861
|
+
|
|
4862
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodeldatabindingvalue.html#cfn-iotsitewise-computationmodel-computationmodeldatabindingvalue-assetmodelproperty
|
|
4863
|
+
'''
|
|
4864
|
+
result = self._values.get("asset_model_property")
|
|
4865
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnComputationModel.AssetModelPropertyBindingValueProperty"]], result)
|
|
4866
|
+
|
|
4867
|
+
@builtins.property
|
|
4868
|
+
def asset_property(
|
|
4869
|
+
self,
|
|
4870
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnComputationModel.AssetPropertyBindingValueProperty"]]:
|
|
4871
|
+
'''The asset property value used for computation model data binding.
|
|
4872
|
+
|
|
4873
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodeldatabindingvalue.html#cfn-iotsitewise-computationmodel-computationmodeldatabindingvalue-assetproperty
|
|
4874
|
+
'''
|
|
4875
|
+
result = self._values.get("asset_property")
|
|
4876
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnComputationModel.AssetPropertyBindingValueProperty"]], result)
|
|
4877
|
+
|
|
4878
|
+
@builtins.property
|
|
4879
|
+
def list(
|
|
4880
|
+
self,
|
|
4881
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnComputationModel.ComputationModelDataBindingValueProperty"]]]]:
|
|
4882
|
+
'''Specifies a list of data binding value.
|
|
4883
|
+
|
|
4884
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodeldatabindingvalue.html#cfn-iotsitewise-computationmodel-computationmodeldatabindingvalue-list
|
|
4885
|
+
'''
|
|
4886
|
+
result = self._values.get("list")
|
|
4887
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnComputationModel.ComputationModelDataBindingValueProperty"]]]], result)
|
|
4888
|
+
|
|
4889
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4890
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4891
|
+
|
|
4892
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4893
|
+
return not (rhs == self)
|
|
4894
|
+
|
|
4895
|
+
def __repr__(self) -> str:
|
|
4896
|
+
return "ComputationModelDataBindingValueProperty(%s)" % ", ".join(
|
|
4897
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4898
|
+
)
|
|
4899
|
+
|
|
4900
|
+
|
|
4901
|
+
@jsii.data_type(
|
|
4902
|
+
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnComputationModelProps",
|
|
4903
|
+
jsii_struct_bases=[],
|
|
4904
|
+
name_mapping={
|
|
4905
|
+
"computation_model_configuration": "computationModelConfiguration",
|
|
4906
|
+
"computation_model_data_binding": "computationModelDataBinding",
|
|
4907
|
+
"computation_model_name": "computationModelName",
|
|
4908
|
+
"computation_model_description": "computationModelDescription",
|
|
4909
|
+
"tags": "tags",
|
|
4910
|
+
},
|
|
4911
|
+
)
|
|
4912
|
+
class CfnComputationModelProps:
|
|
4913
|
+
def __init__(
|
|
4914
|
+
self,
|
|
4915
|
+
*,
|
|
4916
|
+
computation_model_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnComputationModel.ComputationModelConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
4917
|
+
computation_model_data_binding: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnComputationModel.ComputationModelDataBindingValueProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
4918
|
+
computation_model_name: builtins.str,
|
|
4919
|
+
computation_model_description: typing.Optional[builtins.str] = None,
|
|
4920
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4921
|
+
) -> None:
|
|
4922
|
+
'''Properties for defining a ``CfnComputationModel``.
|
|
4923
|
+
|
|
4924
|
+
:param computation_model_configuration: The configuration for the computation model.
|
|
4925
|
+
:param computation_model_data_binding: The data binding for the computation model. Key is a variable name defined in configuration. Value is a ``ComputationModelDataBindingValue`` referenced by the variable.
|
|
4926
|
+
:param computation_model_name: The name of the computation model.
|
|
4927
|
+
:param computation_model_description: The description of the computation model.
|
|
4928
|
+
: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* .
|
|
4929
|
+
|
|
4930
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html
|
|
4931
|
+
:exampleMetadata: fixture=_generated
|
|
4932
|
+
|
|
4933
|
+
Example::
|
|
4934
|
+
|
|
4935
|
+
# The code below shows an example of how to instantiate this type.
|
|
4936
|
+
# The values are placeholders you should change.
|
|
4937
|
+
from aws_cdk import aws_iotsitewise as iotsitewise
|
|
4938
|
+
|
|
4939
|
+
# computation_model_data_binding_value_property_: iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty
|
|
4940
|
+
|
|
4941
|
+
cfn_computation_model_props = iotsitewise.CfnComputationModelProps(
|
|
4942
|
+
computation_model_configuration=iotsitewise.CfnComputationModel.ComputationModelConfigurationProperty(
|
|
4943
|
+
anomaly_detection=iotsitewise.CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty(
|
|
4944
|
+
input_properties="inputProperties",
|
|
4945
|
+
result_property="resultProperty"
|
|
4946
|
+
)
|
|
4947
|
+
),
|
|
4948
|
+
computation_model_data_binding={
|
|
4949
|
+
"computation_model_data_binding_key": iotsitewise.CfnComputationModel.ComputationModelDataBindingValueProperty(
|
|
4950
|
+
asset_model_property=iotsitewise.CfnComputationModel.AssetModelPropertyBindingValueProperty(
|
|
4951
|
+
asset_model_id="assetModelId",
|
|
4952
|
+
property_id="propertyId"
|
|
4953
|
+
),
|
|
4954
|
+
asset_property=iotsitewise.CfnComputationModel.AssetPropertyBindingValueProperty(
|
|
4955
|
+
asset_id="assetId",
|
|
4956
|
+
property_id="propertyId"
|
|
4957
|
+
),
|
|
4958
|
+
list=[computation_model_data_binding_value_property_]
|
|
4959
|
+
)
|
|
4960
|
+
},
|
|
4961
|
+
computation_model_name="computationModelName",
|
|
4962
|
+
|
|
4963
|
+
# the properties below are optional
|
|
4964
|
+
computation_model_description="computationModelDescription",
|
|
4965
|
+
tags=[CfnTag(
|
|
4966
|
+
key="key",
|
|
4967
|
+
value="value"
|
|
4968
|
+
)]
|
|
4969
|
+
)
|
|
4970
|
+
'''
|
|
4971
|
+
if __debug__:
|
|
4972
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ed97b2e804664b4c2090fb09c1141fc63e60c4fbaee41661ef227778c1ed7dd3)
|
|
4973
|
+
check_type(argname="argument computation_model_configuration", value=computation_model_configuration, expected_type=type_hints["computation_model_configuration"])
|
|
4974
|
+
check_type(argname="argument computation_model_data_binding", value=computation_model_data_binding, expected_type=type_hints["computation_model_data_binding"])
|
|
4975
|
+
check_type(argname="argument computation_model_name", value=computation_model_name, expected_type=type_hints["computation_model_name"])
|
|
4976
|
+
check_type(argname="argument computation_model_description", value=computation_model_description, expected_type=type_hints["computation_model_description"])
|
|
4977
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
4978
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4979
|
+
"computation_model_configuration": computation_model_configuration,
|
|
4980
|
+
"computation_model_data_binding": computation_model_data_binding,
|
|
4981
|
+
"computation_model_name": computation_model_name,
|
|
4982
|
+
}
|
|
4983
|
+
if computation_model_description is not None:
|
|
4984
|
+
self._values["computation_model_description"] = computation_model_description
|
|
4985
|
+
if tags is not None:
|
|
4986
|
+
self._values["tags"] = tags
|
|
4987
|
+
|
|
4988
|
+
@builtins.property
|
|
4989
|
+
def computation_model_configuration(
|
|
4990
|
+
self,
|
|
4991
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnComputationModel.ComputationModelConfigurationProperty]:
|
|
4992
|
+
'''The configuration for the computation model.
|
|
4993
|
+
|
|
4994
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html#cfn-iotsitewise-computationmodel-computationmodelconfiguration
|
|
4995
|
+
'''
|
|
4996
|
+
result = self._values.get("computation_model_configuration")
|
|
4997
|
+
assert result is not None, "Required property 'computation_model_configuration' is missing"
|
|
4998
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnComputationModel.ComputationModelConfigurationProperty], result)
|
|
4999
|
+
|
|
5000
|
+
@builtins.property
|
|
5001
|
+
def computation_model_data_binding(
|
|
5002
|
+
self,
|
|
5003
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, CfnComputationModel.ComputationModelDataBindingValueProperty]]]:
|
|
5004
|
+
'''The data binding for the computation model.
|
|
5005
|
+
|
|
5006
|
+
Key is a variable name defined in configuration. Value is a ``ComputationModelDataBindingValue`` referenced by the variable.
|
|
5007
|
+
|
|
5008
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html#cfn-iotsitewise-computationmodel-computationmodeldatabinding
|
|
5009
|
+
'''
|
|
5010
|
+
result = self._values.get("computation_model_data_binding")
|
|
5011
|
+
assert result is not None, "Required property 'computation_model_data_binding' is missing"
|
|
5012
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, CfnComputationModel.ComputationModelDataBindingValueProperty]]], result)
|
|
5013
|
+
|
|
5014
|
+
@builtins.property
|
|
5015
|
+
def computation_model_name(self) -> builtins.str:
|
|
5016
|
+
'''The name of the computation model.
|
|
5017
|
+
|
|
5018
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html#cfn-iotsitewise-computationmodel-computationmodelname
|
|
5019
|
+
'''
|
|
5020
|
+
result = self._values.get("computation_model_name")
|
|
5021
|
+
assert result is not None, "Required property 'computation_model_name' is missing"
|
|
5022
|
+
return typing.cast(builtins.str, result)
|
|
5023
|
+
|
|
5024
|
+
@builtins.property
|
|
5025
|
+
def computation_model_description(self) -> typing.Optional[builtins.str]:
|
|
5026
|
+
'''The description of the computation model.
|
|
5027
|
+
|
|
5028
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html#cfn-iotsitewise-computationmodel-computationmodeldescription
|
|
5029
|
+
'''
|
|
5030
|
+
result = self._values.get("computation_model_description")
|
|
5031
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5032
|
+
|
|
5033
|
+
@builtins.property
|
|
5034
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
5035
|
+
'''A list of key-value pairs that contain metadata for the asset.
|
|
5036
|
+
|
|
5037
|
+
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* .
|
|
5038
|
+
|
|
5039
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html#cfn-iotsitewise-computationmodel-tags
|
|
5040
|
+
'''
|
|
5041
|
+
result = self._values.get("tags")
|
|
5042
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
5043
|
+
|
|
5044
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5045
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5046
|
+
|
|
5047
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5048
|
+
return not (rhs == self)
|
|
5049
|
+
|
|
5050
|
+
def __repr__(self) -> str:
|
|
5051
|
+
return "CfnComputationModelProps(%s)" % ", ".join(
|
|
5052
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5053
|
+
)
|
|
5054
|
+
|
|
5055
|
+
|
|
5056
|
+
@jsii.implements(_IInspectable_c2943556, _IDashboardRef_0211bee9, _ITaggable_36806126)
|
|
5057
|
+
class CfnDashboard(
|
|
5058
|
+
_CfnResource_9df397a6,
|
|
5059
|
+
metaclass=jsii.JSIIMeta,
|
|
5060
|
+
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnDashboard",
|
|
5061
|
+
):
|
|
5062
|
+
'''.. epigraph::
|
|
5063
|
+
|
|
5064
|
+
The AWS IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025 .
|
|
5065
|
+
|
|
5066
|
+
If you would like to use the AWS IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see `AWS IoT SiteWise Monitor availability change <https://docs.aws.amazon.com/iot-sitewise/latest/appguide/iotsitewise-monitor-availability-change.html>`_ .
|
|
5067
|
+
|
|
5068
|
+
Creates a dashboard in an AWS IoT SiteWise Monitor project.
|
|
5069
|
+
|
|
5070
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dashboard.html
|
|
5071
|
+
:cloudformationResource: AWS::IoTSiteWise::Dashboard
|
|
5072
|
+
:exampleMetadata: fixture=_generated
|
|
5073
|
+
|
|
5074
|
+
Example::
|
|
5075
|
+
|
|
5076
|
+
# The code below shows an example of how to instantiate this type.
|
|
5077
|
+
# The values are placeholders you should change.
|
|
5078
|
+
from aws_cdk import aws_iotsitewise as iotsitewise
|
|
5079
|
+
|
|
5080
|
+
cfn_dashboard = iotsitewise.CfnDashboard(self, "MyCfnDashboard",
|
|
5081
|
+
dashboard_definition="dashboardDefinition",
|
|
5082
|
+
dashboard_description="dashboardDescription",
|
|
5083
|
+
dashboard_name="dashboardName",
|
|
5084
|
+
|
|
5085
|
+
# the properties below are optional
|
|
5086
|
+
project_id="projectId",
|
|
5087
|
+
tags=[CfnTag(
|
|
5088
|
+
key="key",
|
|
5089
|
+
value="value"
|
|
5090
|
+
)]
|
|
5091
|
+
)
|
|
5092
|
+
'''
|
|
5093
|
+
|
|
5094
|
+
def __init__(
|
|
5095
|
+
self,
|
|
5096
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5097
|
+
id: builtins.str,
|
|
5098
|
+
*,
|
|
5099
|
+
dashboard_definition: builtins.str,
|
|
5100
|
+
dashboard_description: builtins.str,
|
|
5101
|
+
dashboard_name: builtins.str,
|
|
5102
|
+
project_id: typing.Optional[builtins.str] = None,
|
|
5103
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5104
|
+
) -> None:
|
|
5105
|
+
'''Create a new ``AWS::IoTSiteWise::Dashboard``.
|
|
5106
|
+
|
|
5107
|
+
:param scope: Scope in which this resource is defined.
|
|
5108
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
5109
|
+
:param dashboard_definition: The dashboard definition specified in a JSON literal. - AWS IoT SiteWise Monitor (Classic) see `Create dashboards ( AWS CLI ) <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-dashboards-using-aws-cli.html>`_ - AWS IoT SiteWise Monitor (AI-aware) see `Create dashboards ( AWS CLI ) <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-dashboards-ai-dashboard-cli.html>`_ in the *AWS IoT SiteWise User Guide*
|
|
5110
|
+
:param dashboard_description: A description for the dashboard.
|
|
5111
|
+
:param dashboard_name: A friendly name for the dashboard.
|
|
5112
|
+
:param project_id: The ID of the project in which to create the dashboard.
|
|
5113
|
+
:param tags: A list of key-value pairs that contain metadata for the dashboard. 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* .
|
|
5114
|
+
'''
|
|
5115
|
+
if __debug__:
|
|
5116
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7408e63e7ba97e630e06dc4a383d275da9719808da2d750b179e27c09b363329)
|
|
5117
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5118
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5119
|
+
props = CfnDashboardProps(
|
|
5120
|
+
dashboard_definition=dashboard_definition,
|
|
5121
|
+
dashboard_description=dashboard_description,
|
|
5122
|
+
dashboard_name=dashboard_name,
|
|
5123
|
+
project_id=project_id,
|
|
5124
|
+
tags=tags,
|
|
5125
|
+
)
|
|
5126
|
+
|
|
5127
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
5128
|
+
|
|
5129
|
+
@jsii.member(jsii_name="fromDashboardArn")
|
|
5130
|
+
@builtins.classmethod
|
|
5131
|
+
def from_dashboard_arn(
|
|
5132
|
+
cls,
|
|
5133
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5134
|
+
id: builtins.str,
|
|
5135
|
+
arn: builtins.str,
|
|
5136
|
+
) -> _IDashboardRef_0211bee9:
|
|
5137
|
+
'''Creates a new IDashboardRef from an ARN.
|
|
5138
|
+
|
|
5139
|
+
:param scope: -
|
|
5140
|
+
:param id: -
|
|
5141
|
+
:param arn: -
|
|
5142
|
+
'''
|
|
5143
|
+
if __debug__:
|
|
5144
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8d3ef066d6cc1deed982b975e1b332ddc442fc91c9cc1968ea2dadbe5c8d0e80)
|
|
5145
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5146
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5147
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
5148
|
+
return typing.cast(_IDashboardRef_0211bee9, jsii.sinvoke(cls, "fromDashboardArn", [scope, id, arn]))
|
|
5149
|
+
|
|
5150
|
+
@jsii.member(jsii_name="fromDashboardId")
|
|
5151
|
+
@builtins.classmethod
|
|
5152
|
+
def from_dashboard_id(
|
|
5153
|
+
cls,
|
|
5154
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5155
|
+
id: builtins.str,
|
|
5156
|
+
dashboard_id: builtins.str,
|
|
5157
|
+
) -> _IDashboardRef_0211bee9:
|
|
5158
|
+
'''Creates a new IDashboardRef from a dashboardId.
|
|
5159
|
+
|
|
5160
|
+
:param scope: -
|
|
5161
|
+
:param id: -
|
|
5162
|
+
:param dashboard_id: -
|
|
5163
|
+
'''
|
|
5164
|
+
if __debug__:
|
|
5165
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a04e6604e7125e6e08f9794e68e1b82fbe54ab836644eba76af6190724e6bfd1)
|
|
5166
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5167
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5168
|
+
check_type(argname="argument dashboard_id", value=dashboard_id, expected_type=type_hints["dashboard_id"])
|
|
5169
|
+
return typing.cast(_IDashboardRef_0211bee9, jsii.sinvoke(cls, "fromDashboardId", [scope, id, dashboard_id]))
|
|
5170
|
+
|
|
5171
|
+
@jsii.member(jsii_name="inspect")
|
|
5172
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
5173
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
5174
|
+
|
|
5175
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
5176
|
+
'''
|
|
5177
|
+
if __debug__:
|
|
5178
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b472ad5fec8e10a47deb9d29be81c0539f4b5be2ab95923bc43842cace7b7859)
|
|
5179
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
5180
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
5181
|
+
|
|
5182
|
+
@jsii.member(jsii_name="renderProperties")
|
|
5183
|
+
def _render_properties(
|
|
5184
|
+
self,
|
|
5185
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
5186
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
5187
|
+
'''
|
|
5188
|
+
:param props: -
|
|
5189
|
+
'''
|
|
5190
|
+
if __debug__:
|
|
5191
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2c575a08895bd58ff6950d32eea6f2d29ac539b1a8ea16ab5a6815a167a66a53)
|
|
5192
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
5193
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
5194
|
+
|
|
5195
|
+
@jsii.python.classproperty
|
|
5196
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
5197
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
5198
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
5199
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
5200
|
+
|
|
5201
|
+
@builtins.property
|
|
5202
|
+
@jsii.member(jsii_name="attrDashboardArn")
|
|
5203
|
+
def attr_dashboard_arn(self) -> builtins.str:
|
|
5204
|
+
'''The `ARN <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`_ of the dashboard, which has the following format.
|
|
5205
|
+
|
|
5206
|
+
``arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}``
|
|
5207
|
+
|
|
5208
|
+
:cloudformationAttribute: DashboardArn
|
|
5209
|
+
'''
|
|
5210
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDashboardArn"))
|
|
5211
|
+
|
|
5212
|
+
@builtins.property
|
|
5213
|
+
@jsii.member(jsii_name="attrDashboardId")
|
|
5214
|
+
def attr_dashboard_id(self) -> builtins.str:
|
|
5215
|
+
'''The ID of the dashboard.
|
|
5216
|
+
|
|
5217
|
+
:cloudformationAttribute: DashboardId
|
|
5218
|
+
'''
|
|
5219
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDashboardId"))
|
|
5220
|
+
|
|
5221
|
+
@builtins.property
|
|
5222
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
5223
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
5224
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
5225
|
+
|
|
5226
|
+
@builtins.property
|
|
5227
|
+
@jsii.member(jsii_name="dashboardRef")
|
|
5228
|
+
def dashboard_ref(self) -> _DashboardReference_773e0a65:
|
|
5229
|
+
'''A reference to a Dashboard resource.'''
|
|
5230
|
+
return typing.cast(_DashboardReference_773e0a65, jsii.get(self, "dashboardRef"))
|
|
3953
5231
|
|
|
3954
5232
|
@builtins.property
|
|
3955
5233
|
@jsii.member(jsii_name="tags")
|
|
@@ -4158,13 +5436,13 @@ class CfnDashboardProps:
|
|
|
4158
5436
|
)
|
|
4159
5437
|
|
|
4160
5438
|
|
|
4161
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
5439
|
+
@jsii.implements(_IInspectable_c2943556, _IDatasetRef_406a2301, _ITaggableV2_4e6798f8)
|
|
4162
5440
|
class CfnDataset(
|
|
4163
5441
|
_CfnResource_9df397a6,
|
|
4164
5442
|
metaclass=jsii.JSIIMeta,
|
|
4165
5443
|
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnDataset",
|
|
4166
5444
|
):
|
|
4167
|
-
'''
|
|
5445
|
+
'''Creates a dataset to connect an external datasource.
|
|
4168
5446
|
|
|
4169
5447
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html
|
|
4170
5448
|
:cloudformationResource: AWS::IoTSiteWise::Dataset
|
|
@@ -4210,13 +5488,14 @@ class CfnDataset(
|
|
|
4210
5488
|
dataset_description: typing.Optional[builtins.str] = None,
|
|
4211
5489
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4212
5490
|
) -> None:
|
|
4213
|
-
'''
|
|
5491
|
+
'''Create a new ``AWS::IoTSiteWise::Dataset``.
|
|
5492
|
+
|
|
4214
5493
|
:param scope: Scope in which this resource is defined.
|
|
4215
5494
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4216
5495
|
:param dataset_name: The name of the dataset.
|
|
4217
|
-
:param dataset_source:
|
|
5496
|
+
:param dataset_source: The data source for the dataset.
|
|
4218
5497
|
:param dataset_description: A description about the dataset, and its functionality.
|
|
4219
|
-
:param tags:
|
|
5498
|
+
:param tags: A list of key-value pairs that contain metadata for the access policy. 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* .
|
|
4220
5499
|
'''
|
|
4221
5500
|
if __debug__:
|
|
4222
5501
|
type_hints = typing.get_type_hints(_typecheckingstub__44369ff07e07f1dbb28102a65eb5a8e6317f5b2e832b326cf3fc0bef13d7e1cc)
|
|
@@ -4231,6 +5510,48 @@ class CfnDataset(
|
|
|
4231
5510
|
|
|
4232
5511
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
4233
5512
|
|
|
5513
|
+
@jsii.member(jsii_name="fromDatasetArn")
|
|
5514
|
+
@builtins.classmethod
|
|
5515
|
+
def from_dataset_arn(
|
|
5516
|
+
cls,
|
|
5517
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5518
|
+
id: builtins.str,
|
|
5519
|
+
arn: builtins.str,
|
|
5520
|
+
) -> _IDatasetRef_406a2301:
|
|
5521
|
+
'''Creates a new IDatasetRef from an ARN.
|
|
5522
|
+
|
|
5523
|
+
:param scope: -
|
|
5524
|
+
:param id: -
|
|
5525
|
+
:param arn: -
|
|
5526
|
+
'''
|
|
5527
|
+
if __debug__:
|
|
5528
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c9ff3dcdb3ac6f04e85b20ea8bb4c7d46762cd36c087beb7fd1d048c7e930202)
|
|
5529
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5530
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5531
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
5532
|
+
return typing.cast(_IDatasetRef_406a2301, jsii.sinvoke(cls, "fromDatasetArn", [scope, id, arn]))
|
|
5533
|
+
|
|
5534
|
+
@jsii.member(jsii_name="fromDatasetId")
|
|
5535
|
+
@builtins.classmethod
|
|
5536
|
+
def from_dataset_id(
|
|
5537
|
+
cls,
|
|
5538
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
5539
|
+
id: builtins.str,
|
|
5540
|
+
dataset_id: builtins.str,
|
|
5541
|
+
) -> _IDatasetRef_406a2301:
|
|
5542
|
+
'''Creates a new IDatasetRef from a datasetId.
|
|
5543
|
+
|
|
5544
|
+
:param scope: -
|
|
5545
|
+
:param id: -
|
|
5546
|
+
:param dataset_id: -
|
|
5547
|
+
'''
|
|
5548
|
+
if __debug__:
|
|
5549
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9cd48c30f564ca50cc666275f3fc53e470cc09074323a9f778ce65224801abec)
|
|
5550
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
5551
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
5552
|
+
check_type(argname="argument dataset_id", value=dataset_id, expected_type=type_hints["dataset_id"])
|
|
5553
|
+
return typing.cast(_IDatasetRef_406a2301, jsii.sinvoke(cls, "fromDatasetId", [scope, id, dataset_id]))
|
|
5554
|
+
|
|
4234
5555
|
@jsii.member(jsii_name="inspect")
|
|
4235
5556
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
4236
5557
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -4264,7 +5585,9 @@ class CfnDataset(
|
|
|
4264
5585
|
@builtins.property
|
|
4265
5586
|
@jsii.member(jsii_name="attrDatasetArn")
|
|
4266
5587
|
def attr_dataset_arn(self) -> builtins.str:
|
|
4267
|
-
'''The ARN of the dataset.
|
|
5588
|
+
'''The ARN of the dataset, which has the following format.
|
|
5589
|
+
|
|
5590
|
+
``arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}``
|
|
4268
5591
|
|
|
4269
5592
|
:cloudformationAttribute: DatasetArn
|
|
4270
5593
|
'''
|
|
@@ -4290,6 +5613,12 @@ class CfnDataset(
|
|
|
4290
5613
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4291
5614
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
4292
5615
|
|
|
5616
|
+
@builtins.property
|
|
5617
|
+
@jsii.member(jsii_name="datasetRef")
|
|
5618
|
+
def dataset_ref(self) -> _DatasetReference_80081712:
|
|
5619
|
+
'''A reference to a Dataset resource.'''
|
|
5620
|
+
return typing.cast(_DatasetReference_80081712, jsii.get(self, "datasetRef"))
|
|
5621
|
+
|
|
4293
5622
|
@builtins.property
|
|
4294
5623
|
@jsii.member(jsii_name="datasetName")
|
|
4295
5624
|
def dataset_name(self) -> builtins.str:
|
|
@@ -4308,6 +5637,7 @@ class CfnDataset(
|
|
|
4308
5637
|
def dataset_source(
|
|
4309
5638
|
self,
|
|
4310
5639
|
) -> typing.Union[_IResolvable_da3f097b, "CfnDataset.DatasetSourceProperty"]:
|
|
5640
|
+
'''The data source for the dataset.'''
|
|
4311
5641
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnDataset.DatasetSourceProperty"], jsii.get(self, "datasetSource"))
|
|
4312
5642
|
|
|
4313
5643
|
@dataset_source.setter
|
|
@@ -4336,7 +5666,7 @@ class CfnDataset(
|
|
|
4336
5666
|
@builtins.property
|
|
4337
5667
|
@jsii.member(jsii_name="tags")
|
|
4338
5668
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4339
|
-
'''
|
|
5669
|
+
'''A list of key-value pairs that contain metadata for the access policy.'''
|
|
4340
5670
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
4341
5671
|
|
|
4342
5672
|
@tags.setter
|
|
@@ -4363,10 +5693,11 @@ class CfnDataset(
|
|
|
4363
5693
|
source_type: builtins.str,
|
|
4364
5694
|
source_detail: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataset.SourceDetailProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4365
5695
|
) -> None:
|
|
4366
|
-
'''
|
|
5696
|
+
'''The data source for the dataset.
|
|
5697
|
+
|
|
4367
5698
|
:param source_format: The format of the dataset source associated with the dataset.
|
|
4368
5699
|
:param source_type: The type of data source for the dataset.
|
|
4369
|
-
:param source_detail:
|
|
5700
|
+
:param source_detail: The details of the dataset source associated with the dataset.
|
|
4370
5701
|
|
|
4371
5702
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-datasetsource.html
|
|
4372
5703
|
:exampleMetadata: fixture=_generated
|
|
@@ -4426,7 +5757,8 @@ class CfnDataset(
|
|
|
4426
5757
|
def source_detail(
|
|
4427
5758
|
self,
|
|
4428
5759
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataset.SourceDetailProperty"]]:
|
|
4429
|
-
'''
|
|
5760
|
+
'''The details of the dataset source associated with the dataset.
|
|
5761
|
+
|
|
4430
5762
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-datasetsource.html#cfn-iotsitewise-dataset-datasetsource-sourcedetail
|
|
4431
5763
|
'''
|
|
4432
5764
|
result = self._values.get("source_detail")
|
|
@@ -4455,9 +5787,10 @@ class CfnDataset(
|
|
|
4455
5787
|
knowledge_base_arn: builtins.str,
|
|
4456
5788
|
role_arn: builtins.str,
|
|
4457
5789
|
) -> None:
|
|
4458
|
-
'''
|
|
4459
|
-
|
|
4460
|
-
:param
|
|
5790
|
+
'''The source details for the Kendra dataset source.
|
|
5791
|
+
|
|
5792
|
+
:param knowledge_base_arn: The ``knowledgeBaseArn`` details for the Kendra dataset source.
|
|
5793
|
+
:param role_arn: The ``roleARN`` details for the Kendra dataset source.
|
|
4461
5794
|
|
|
4462
5795
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-kendrasourcedetail.html
|
|
4463
5796
|
:exampleMetadata: fixture=_generated
|
|
@@ -4484,7 +5817,7 @@ class CfnDataset(
|
|
|
4484
5817
|
|
|
4485
5818
|
@builtins.property
|
|
4486
5819
|
def knowledge_base_arn(self) -> builtins.str:
|
|
4487
|
-
'''The knowledgeBaseArn details for the Kendra dataset source.
|
|
5820
|
+
'''The ``knowledgeBaseArn`` details for the Kendra dataset source.
|
|
4488
5821
|
|
|
4489
5822
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-kendrasourcedetail.html#cfn-iotsitewise-dataset-kendrasourcedetail-knowledgebasearn
|
|
4490
5823
|
'''
|
|
@@ -4494,7 +5827,7 @@ class CfnDataset(
|
|
|
4494
5827
|
|
|
4495
5828
|
@builtins.property
|
|
4496
5829
|
def role_arn(self) -> builtins.str:
|
|
4497
|
-
'''The roleARN details for the Kendra dataset source.
|
|
5830
|
+
'''The ``roleARN`` details for the Kendra dataset source.
|
|
4498
5831
|
|
|
4499
5832
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-kendrasourcedetail.html#cfn-iotsitewise-dataset-kendrasourcedetail-rolearn
|
|
4500
5833
|
'''
|
|
@@ -4524,8 +5857,9 @@ class CfnDataset(
|
|
|
4524
5857
|
*,
|
|
4525
5858
|
kendra: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataset.KendraSourceDetailProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4526
5859
|
) -> None:
|
|
4527
|
-
'''
|
|
4528
|
-
|
|
5860
|
+
'''The details of the dataset source associated with the dataset.
|
|
5861
|
+
|
|
5862
|
+
:param kendra: Contains details about the Kendra dataset source.
|
|
4529
5863
|
|
|
4530
5864
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-sourcedetail.html
|
|
4531
5865
|
:exampleMetadata: fixture=_generated
|
|
@@ -4554,7 +5888,8 @@ class CfnDataset(
|
|
|
4554
5888
|
def kendra(
|
|
4555
5889
|
self,
|
|
4556
5890
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataset.KendraSourceDetailProperty"]]:
|
|
4557
|
-
'''
|
|
5891
|
+
'''Contains details about the Kendra dataset source.
|
|
5892
|
+
|
|
4558
5893
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-sourcedetail.html#cfn-iotsitewise-dataset-sourcedetail-kendra
|
|
4559
5894
|
'''
|
|
4560
5895
|
result = self._values.get("kendra")
|
|
@@ -4594,9 +5929,9 @@ class CfnDatasetProps:
|
|
|
4594
5929
|
'''Properties for defining a ``CfnDataset``.
|
|
4595
5930
|
|
|
4596
5931
|
:param dataset_name: The name of the dataset.
|
|
4597
|
-
:param dataset_source:
|
|
5932
|
+
:param dataset_source: The data source for the dataset.
|
|
4598
5933
|
:param dataset_description: A description about the dataset, and its functionality.
|
|
4599
|
-
:param tags:
|
|
5934
|
+
:param tags: A list of key-value pairs that contain metadata for the access policy. 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* .
|
|
4600
5935
|
|
|
4601
5936
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html
|
|
4602
5937
|
:exampleMetadata: fixture=_generated
|
|
@@ -4659,7 +5994,8 @@ class CfnDatasetProps:
|
|
|
4659
5994
|
def dataset_source(
|
|
4660
5995
|
self,
|
|
4661
5996
|
) -> typing.Union[_IResolvable_da3f097b, CfnDataset.DatasetSourceProperty]:
|
|
4662
|
-
'''
|
|
5997
|
+
'''The data source for the dataset.
|
|
5998
|
+
|
|
4663
5999
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-datasetsource
|
|
4664
6000
|
'''
|
|
4665
6001
|
result = self._values.get("dataset_source")
|
|
@@ -4677,7 +6013,9 @@ class CfnDatasetProps:
|
|
|
4677
6013
|
|
|
4678
6014
|
@builtins.property
|
|
4679
6015
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4680
|
-
'''
|
|
6016
|
+
'''A list of key-value pairs that contain metadata for the access policy.
|
|
6017
|
+
|
|
6018
|
+
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* .
|
|
4681
6019
|
|
|
4682
6020
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-tags
|
|
4683
6021
|
'''
|
|
@@ -4696,7 +6034,7 @@ class CfnDatasetProps:
|
|
|
4696
6034
|
)
|
|
4697
6035
|
|
|
4698
6036
|
|
|
4699
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
6037
|
+
@jsii.implements(_IInspectable_c2943556, _IGatewayRef_4b449489, _ITaggable_36806126)
|
|
4700
6038
|
class CfnGateway(
|
|
4701
6039
|
_CfnResource_9df397a6,
|
|
4702
6040
|
metaclass=jsii.JSIIMeta,
|
|
@@ -4759,7 +6097,8 @@ class CfnGateway(
|
|
|
4759
6097
|
gateway_version: typing.Optional[builtins.str] = None,
|
|
4760
6098
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4761
6099
|
) -> None:
|
|
4762
|
-
'''
|
|
6100
|
+
'''Create a new ``AWS::IoTSiteWise::Gateway``.
|
|
6101
|
+
|
|
4763
6102
|
:param scope: Scope in which this resource is defined.
|
|
4764
6103
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4765
6104
|
:param gateway_name: A unique name for the gateway.
|
|
@@ -4782,6 +6121,27 @@ class CfnGateway(
|
|
|
4782
6121
|
|
|
4783
6122
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
4784
6123
|
|
|
6124
|
+
@jsii.member(jsii_name="fromGatewayId")
|
|
6125
|
+
@builtins.classmethod
|
|
6126
|
+
def from_gateway_id(
|
|
6127
|
+
cls,
|
|
6128
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
6129
|
+
id: builtins.str,
|
|
6130
|
+
gateway_id: builtins.str,
|
|
6131
|
+
) -> _IGatewayRef_4b449489:
|
|
6132
|
+
'''Creates a new IGatewayRef from a gatewayId.
|
|
6133
|
+
|
|
6134
|
+
:param scope: -
|
|
6135
|
+
:param id: -
|
|
6136
|
+
:param gateway_id: -
|
|
6137
|
+
'''
|
|
6138
|
+
if __debug__:
|
|
6139
|
+
type_hints = typing.get_type_hints(_typecheckingstub__faf587528166a7e799d27fa65efc17a4884e594560d908cdcce70a7ffd1bdb0b)
|
|
6140
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
6141
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
6142
|
+
check_type(argname="argument gateway_id", value=gateway_id, expected_type=type_hints["gateway_id"])
|
|
6143
|
+
return typing.cast(_IGatewayRef_4b449489, jsii.sinvoke(cls, "fromGatewayId", [scope, id, gateway_id]))
|
|
6144
|
+
|
|
4785
6145
|
@jsii.member(jsii_name="inspect")
|
|
4786
6146
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
4787
6147
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -4826,6 +6186,12 @@ class CfnGateway(
|
|
|
4826
6186
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4827
6187
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
4828
6188
|
|
|
6189
|
+
@builtins.property
|
|
6190
|
+
@jsii.member(jsii_name="gatewayRef")
|
|
6191
|
+
def gateway_ref(self) -> _GatewayReference_66094f49:
|
|
6192
|
+
'''A reference to a Gateway resource.'''
|
|
6193
|
+
return typing.cast(_GatewayReference_66094f49, jsii.get(self, "gatewayRef"))
|
|
6194
|
+
|
|
4829
6195
|
@builtins.property
|
|
4830
6196
|
@jsii.member(jsii_name="tags")
|
|
4831
6197
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -4924,7 +6290,7 @@ class CfnGateway(
|
|
|
4924
6290
|
) -> None:
|
|
4925
6291
|
'''Contains a summary of a gateway capability configuration.
|
|
4926
6292
|
|
|
4927
|
-
:param capability_namespace: The namespace of the capability configuration. For example, if you configure OPC
|
|
6293
|
+
:param capability_namespace: The namespace of the capability configuration. For example, if you configure OPC UA sources for an MQTT-enabled gateway, your OPC-UA capability configuration has the namespace ``iotsitewise:opcuacollector:3`` .
|
|
4928
6294
|
:param capability_configuration: The JSON document that defines the configuration for the gateway capability. For more information, see `Configuring data sources (CLI) <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/configure-sources.html#configure-source-cli>`_ in the *AWS IoT SiteWise User Guide* .
|
|
4929
6295
|
|
|
4930
6296
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewaycapabilitysummary.html
|
|
@@ -4957,7 +6323,7 @@ class CfnGateway(
|
|
|
4957
6323
|
def capability_namespace(self) -> builtins.str:
|
|
4958
6324
|
'''The namespace of the capability configuration.
|
|
4959
6325
|
|
|
4960
|
-
For example, if you configure OPC
|
|
6326
|
+
For example, if you configure OPC UA sources for an MQTT-enabled gateway, your OPC-UA capability configuration has the namespace ``iotsitewise:opcuacollector:3`` .
|
|
4961
6327
|
|
|
4962
6328
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewaycapabilitysummary.html#cfn-iotsitewise-gateway-gatewaycapabilitysummary-capabilitynamespace
|
|
4963
6329
|
'''
|
|
@@ -5004,7 +6370,13 @@ class CfnGateway(
|
|
|
5004
6370
|
greengrass_v2: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGateway.GreengrassV2Property", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5005
6371
|
siemens_ie: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGateway.SiemensIEProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5006
6372
|
) -> None:
|
|
5007
|
-
'''
|
|
6373
|
+
'''The gateway's platform configuration. You can only specify one platform type in a gateway.
|
|
6374
|
+
|
|
6375
|
+
(Legacy only) For Greengrass V1 gateways, specify the ``greengrass`` parameter with a valid Greengrass group ARN.
|
|
6376
|
+
|
|
6377
|
+
For Greengrass V2 gateways, specify the ``greengrassV2`` parameter with a valid core device thing name. If creating a V3 gateway ( ``gatewayVersion=3`` ), you must also specify the ``coreDeviceOperatingSystem`` .
|
|
6378
|
+
|
|
6379
|
+
For Siemens Industrial Edge gateways, specify the ``siemensIE`` parameter with a valid IoT Core thing name.
|
|
5008
6380
|
|
|
5009
6381
|
:param greengrass:
|
|
5010
6382
|
:param greengrass_v2: A gateway that runs on AWS IoT Greengrass V2 .
|
|
@@ -5429,15 +6801,19 @@ class CfnGatewayProps:
|
|
|
5429
6801
|
)
|
|
5430
6802
|
|
|
5431
6803
|
|
|
5432
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
6804
|
+
@jsii.implements(_IInspectable_c2943556, _IPortalRef_e8556ba7, _ITaggable_36806126)
|
|
5433
6805
|
class CfnPortal(
|
|
5434
6806
|
_CfnResource_9df397a6,
|
|
5435
6807
|
metaclass=jsii.JSIIMeta,
|
|
5436
6808
|
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnPortal",
|
|
5437
6809
|
):
|
|
5438
|
-
'''
|
|
6810
|
+
'''.. epigraph::
|
|
6811
|
+
|
|
6812
|
+
The AWS IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025 .
|
|
6813
|
+
|
|
6814
|
+
If you would like to use the AWS IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see `AWS IoT SiteWise Monitor availability change <https://docs.aws.amazon.com/iot-sitewise/latest/appguide/iotsitewise-monitor-availability-change.html>`_ .
|
|
5439
6815
|
|
|
5440
|
-
AWS IoT SiteWise Monitor uses IAM Identity Center or IAM to authenticate portal users and manage user permissions.
|
|
6816
|
+
Creates a portal, which can contain projects and dashboards. AWS IoT SiteWise Monitor uses IAM Identity Center or IAM to authenticate portal users and manage user permissions.
|
|
5441
6817
|
.. epigraph::
|
|
5442
6818
|
|
|
5443
6819
|
Before you can sign in to a new portal, you must add at least one identity to that portal. For more information, see `Adding or removing portal administrators <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/administer-portals.html#portal-change-admins>`_ in the *AWS IoT SiteWise User Guide* .
|
|
@@ -5493,7 +6869,8 @@ class CfnPortal(
|
|
|
5493
6869
|
portal_type_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union["CfnPortal.PortalTypeEntryProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5494
6870
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5495
6871
|
) -> None:
|
|
5496
|
-
'''
|
|
6872
|
+
'''Create a new ``AWS::IoTSiteWise::Portal``.
|
|
6873
|
+
|
|
5497
6874
|
:param scope: Scope in which this resource is defined.
|
|
5498
6875
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5499
6876
|
:param portal_contact_email: The AWS administrator's contact email address.
|
|
@@ -5526,6 +6903,48 @@ class CfnPortal(
|
|
|
5526
6903
|
|
|
5527
6904
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
5528
6905
|
|
|
6906
|
+
@jsii.member(jsii_name="fromPortalArn")
|
|
6907
|
+
@builtins.classmethod
|
|
6908
|
+
def from_portal_arn(
|
|
6909
|
+
cls,
|
|
6910
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
6911
|
+
id: builtins.str,
|
|
6912
|
+
arn: builtins.str,
|
|
6913
|
+
) -> _IPortalRef_e8556ba7:
|
|
6914
|
+
'''Creates a new IPortalRef from an ARN.
|
|
6915
|
+
|
|
6916
|
+
:param scope: -
|
|
6917
|
+
:param id: -
|
|
6918
|
+
:param arn: -
|
|
6919
|
+
'''
|
|
6920
|
+
if __debug__:
|
|
6921
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e169faff9b040913570a502ac443183b97c899e914194ac17d33d71ace93855a)
|
|
6922
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
6923
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
6924
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
6925
|
+
return typing.cast(_IPortalRef_e8556ba7, jsii.sinvoke(cls, "fromPortalArn", [scope, id, arn]))
|
|
6926
|
+
|
|
6927
|
+
@jsii.member(jsii_name="fromPortalId")
|
|
6928
|
+
@builtins.classmethod
|
|
6929
|
+
def from_portal_id(
|
|
6930
|
+
cls,
|
|
6931
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
6932
|
+
id: builtins.str,
|
|
6933
|
+
portal_id: builtins.str,
|
|
6934
|
+
) -> _IPortalRef_e8556ba7:
|
|
6935
|
+
'''Creates a new IPortalRef from a portalId.
|
|
6936
|
+
|
|
6937
|
+
:param scope: -
|
|
6938
|
+
:param id: -
|
|
6939
|
+
:param portal_id: -
|
|
6940
|
+
'''
|
|
6941
|
+
if __debug__:
|
|
6942
|
+
type_hints = typing.get_type_hints(_typecheckingstub__44e55bc9565e17284ddba355fa0db38ce8c5ffdbbbf3673b605a11715a4c7444)
|
|
6943
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
6944
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
6945
|
+
check_type(argname="argument portal_id", value=portal_id, expected_type=type_hints["portal_id"])
|
|
6946
|
+
return typing.cast(_IPortalRef_e8556ba7, jsii.sinvoke(cls, "fromPortalId", [scope, id, portal_id]))
|
|
6947
|
+
|
|
5529
6948
|
@jsii.member(jsii_name="inspect")
|
|
5530
6949
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
5531
6950
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -5599,6 +7018,12 @@ class CfnPortal(
|
|
|
5599
7018
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
5600
7019
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
5601
7020
|
|
|
7021
|
+
@builtins.property
|
|
7022
|
+
@jsii.member(jsii_name="portalRef")
|
|
7023
|
+
def portal_ref(self) -> _PortalReference_e91a4b78:
|
|
7024
|
+
'''A reference to a Portal resource.'''
|
|
7025
|
+
return typing.cast(_PortalReference_e91a4b78, jsii.get(self, "portalRef"))
|
|
7026
|
+
|
|
5602
7027
|
@builtins.property
|
|
5603
7028
|
@jsii.member(jsii_name="tags")
|
|
5604
7029
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -6106,14 +7531,19 @@ class CfnPortalProps:
|
|
|
6106
7531
|
)
|
|
6107
7532
|
|
|
6108
7533
|
|
|
6109
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
7534
|
+
@jsii.implements(_IInspectable_c2943556, _IProjectRef_252ad716, _ITaggable_36806126)
|
|
6110
7535
|
class CfnProject(
|
|
6111
7536
|
_CfnResource_9df397a6,
|
|
6112
7537
|
metaclass=jsii.JSIIMeta,
|
|
6113
7538
|
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnProject",
|
|
6114
7539
|
):
|
|
6115
|
-
'''
|
|
7540
|
+
'''.. epigraph::
|
|
7541
|
+
|
|
7542
|
+
The AWS IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025 .
|
|
7543
|
+
|
|
7544
|
+
If you would like to use the AWS IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see `AWS IoT SiteWise Monitor availability change <https://docs.aws.amazon.com/iot-sitewise/latest/appguide/iotsitewise-monitor-availability-change.html>`_ .
|
|
6116
7545
|
|
|
7546
|
+
Creates a project in the specified portal.
|
|
6117
7547
|
.. epigraph::
|
|
6118
7548
|
|
|
6119
7549
|
Make sure that the project name and description don't contain confidential information.
|
|
@@ -6153,7 +7583,8 @@ class CfnProject(
|
|
|
6153
7583
|
project_description: typing.Optional[builtins.str] = None,
|
|
6154
7584
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6155
7585
|
) -> None:
|
|
6156
|
-
'''
|
|
7586
|
+
'''Create a new ``AWS::IoTSiteWise::Project``.
|
|
7587
|
+
|
|
6157
7588
|
:param scope: Scope in which this resource is defined.
|
|
6158
7589
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
6159
7590
|
:param portal_id: The ID of the portal in which to create the project.
|
|
@@ -6176,6 +7607,48 @@ class CfnProject(
|
|
|
6176
7607
|
|
|
6177
7608
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
6178
7609
|
|
|
7610
|
+
@jsii.member(jsii_name="fromProjectArn")
|
|
7611
|
+
@builtins.classmethod
|
|
7612
|
+
def from_project_arn(
|
|
7613
|
+
cls,
|
|
7614
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7615
|
+
id: builtins.str,
|
|
7616
|
+
arn: builtins.str,
|
|
7617
|
+
) -> _IProjectRef_252ad716:
|
|
7618
|
+
'''Creates a new IProjectRef from an ARN.
|
|
7619
|
+
|
|
7620
|
+
:param scope: -
|
|
7621
|
+
:param id: -
|
|
7622
|
+
:param arn: -
|
|
7623
|
+
'''
|
|
7624
|
+
if __debug__:
|
|
7625
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e90060e79e1e7def55d44924df2b2574a62789a25ec5a41a823f97be953c5d51)
|
|
7626
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
7627
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
7628
|
+
check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
|
|
7629
|
+
return typing.cast(_IProjectRef_252ad716, jsii.sinvoke(cls, "fromProjectArn", [scope, id, arn]))
|
|
7630
|
+
|
|
7631
|
+
@jsii.member(jsii_name="fromProjectId")
|
|
7632
|
+
@builtins.classmethod
|
|
7633
|
+
def from_project_id(
|
|
7634
|
+
cls,
|
|
7635
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7636
|
+
id: builtins.str,
|
|
7637
|
+
project_id: builtins.str,
|
|
7638
|
+
) -> _IProjectRef_252ad716:
|
|
7639
|
+
'''Creates a new IProjectRef from a projectId.
|
|
7640
|
+
|
|
7641
|
+
:param scope: -
|
|
7642
|
+
:param id: -
|
|
7643
|
+
:param project_id: -
|
|
7644
|
+
'''
|
|
7645
|
+
if __debug__:
|
|
7646
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e1a0b1722831a32728661855d44d06d2304b0d1bda74a1dfaa308ad7867ced41)
|
|
7647
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
7648
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
7649
|
+
check_type(argname="argument project_id", value=project_id, expected_type=type_hints["project_id"])
|
|
7650
|
+
return typing.cast(_IProjectRef_252ad716, jsii.sinvoke(cls, "fromProjectId", [scope, id, project_id]))
|
|
7651
|
+
|
|
6179
7652
|
@jsii.member(jsii_name="inspect")
|
|
6180
7653
|
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
6181
7654
|
'''Examines the CloudFormation resource and discloses attributes.
|
|
@@ -6231,6 +7704,12 @@ class CfnProject(
|
|
|
6231
7704
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
6232
7705
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
6233
7706
|
|
|
7707
|
+
@builtins.property
|
|
7708
|
+
@jsii.member(jsii_name="projectRef")
|
|
7709
|
+
def project_ref(self) -> _ProjectReference_0ece3987:
|
|
7710
|
+
'''A reference to a Project resource.'''
|
|
7711
|
+
return typing.cast(_ProjectReference_0ece3987, jsii.get(self, "projectRef"))
|
|
7712
|
+
|
|
6234
7713
|
@builtins.property
|
|
6235
7714
|
@jsii.member(jsii_name="tags")
|
|
6236
7715
|
def tags(self) -> _TagManager_0a598cb3:
|
|
@@ -6440,6 +7919,8 @@ __all__ = [
|
|
|
6440
7919
|
"CfnAssetModel",
|
|
6441
7920
|
"CfnAssetModelProps",
|
|
6442
7921
|
"CfnAssetProps",
|
|
7922
|
+
"CfnComputationModel",
|
|
7923
|
+
"CfnComputationModelProps",
|
|
6443
7924
|
"CfnDashboard",
|
|
6444
7925
|
"CfnDashboardProps",
|
|
6445
7926
|
"CfnDataset",
|
|
@@ -6465,6 +7946,22 @@ def _typecheckingstub__531aa21f3bed6dedfd9fce9d7bb67acf86efe74ca96cafedea1800e81
|
|
|
6465
7946
|
"""Type checking stubs"""
|
|
6466
7947
|
pass
|
|
6467
7948
|
|
|
7949
|
+
def _typecheckingstub__8c5448873247f014fbabe75495d971f11170e821c8ceaf95d73559ecdd8e1681(
|
|
7950
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7951
|
+
id: builtins.str,
|
|
7952
|
+
arn: builtins.str,
|
|
7953
|
+
) -> None:
|
|
7954
|
+
"""Type checking stubs"""
|
|
7955
|
+
pass
|
|
7956
|
+
|
|
7957
|
+
def _typecheckingstub__582ff2c4a66e3c2f09077e37e119938b8584d09e400b9c6a5322e2f39340064e(
|
|
7958
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7959
|
+
id: builtins.str,
|
|
7960
|
+
access_policy_id: builtins.str,
|
|
7961
|
+
) -> None:
|
|
7962
|
+
"""Type checking stubs"""
|
|
7963
|
+
pass
|
|
7964
|
+
|
|
6468
7965
|
def _typecheckingstub__f7c314721c2fd001464c0deebc3b8d42528f0226fb07963546a560eee048707a(
|
|
6469
7966
|
inspector: _TreeInspector_488e0dd5,
|
|
6470
7967
|
) -> None:
|
|
@@ -6571,6 +8068,22 @@ def _typecheckingstub__23b484c08f8b327d7857c955867af231fc3193cc5df788160c4e1c6e3
|
|
|
6571
8068
|
"""Type checking stubs"""
|
|
6572
8069
|
pass
|
|
6573
8070
|
|
|
8071
|
+
def _typecheckingstub__073f8820073df238c5e7e3d9cb836ef8d0e89b64e5c0c4d6554996997da9ca16(
|
|
8072
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8073
|
+
id: builtins.str,
|
|
8074
|
+
arn: builtins.str,
|
|
8075
|
+
) -> None:
|
|
8076
|
+
"""Type checking stubs"""
|
|
8077
|
+
pass
|
|
8078
|
+
|
|
8079
|
+
def _typecheckingstub__79d4307e6940146ab525a60e0533d574cdf0bb6e55223c0d04b513be0bb57bae(
|
|
8080
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8081
|
+
id: builtins.str,
|
|
8082
|
+
asset_id: builtins.str,
|
|
8083
|
+
) -> None:
|
|
8084
|
+
"""Type checking stubs"""
|
|
8085
|
+
pass
|
|
8086
|
+
|
|
6574
8087
|
def _typecheckingstub__102e5bd91193367af65b5d5491e5dd31e20ce7e2d4a10294b8a904b2294f035c(
|
|
6575
8088
|
inspector: _TreeInspector_488e0dd5,
|
|
6576
8089
|
) -> None:
|
|
@@ -6658,11 +8171,28 @@ def _typecheckingstub__64edf231bb465b8f44da5cbed11fe0e7614208f47a50131d6c645ff0d
|
|
|
6658
8171
|
asset_model_hierarchies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAssetModel.AssetModelHierarchyProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6659
8172
|
asset_model_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAssetModel.AssetModelPropertyProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6660
8173
|
asset_model_type: typing.Optional[builtins.str] = None,
|
|
8174
|
+
enforced_asset_model_interface_relationships: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6661
8175
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6662
8176
|
) -> None:
|
|
6663
8177
|
"""Type checking stubs"""
|
|
6664
8178
|
pass
|
|
6665
8179
|
|
|
8180
|
+
def _typecheckingstub__5c85c36d8469daf38476d7f2154aaf5d715e63d825b7e2509bafea40e9e03630(
|
|
8181
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8182
|
+
id: builtins.str,
|
|
8183
|
+
arn: builtins.str,
|
|
8184
|
+
) -> None:
|
|
8185
|
+
"""Type checking stubs"""
|
|
8186
|
+
pass
|
|
8187
|
+
|
|
8188
|
+
def _typecheckingstub__1f061ec701a45e63d7603fe15d31d19f3e3367f9ad0d0e712c9bbae5505f1108(
|
|
8189
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8190
|
+
id: builtins.str,
|
|
8191
|
+
asset_model_id: builtins.str,
|
|
8192
|
+
) -> None:
|
|
8193
|
+
"""Type checking stubs"""
|
|
8194
|
+
pass
|
|
8195
|
+
|
|
6666
8196
|
def _typecheckingstub__cbed60408dd1c2873bc70f9dc7fe48d0d621e09df06498a80d6afdcb1504aadc(
|
|
6667
8197
|
inspector: _TreeInspector_488e0dd5,
|
|
6668
8198
|
) -> None:
|
|
@@ -6717,6 +8247,12 @@ def _typecheckingstub__33747ea8b68fd7ca1298da79a238d24533fca030571c5c5f494b79381
|
|
|
6717
8247
|
"""Type checking stubs"""
|
|
6718
8248
|
pass
|
|
6719
8249
|
|
|
8250
|
+
def _typecheckingstub__8585343b0b44aebb25048a1408ef7b098cbb2e611b50c8ec2cbecceb8582d081(
|
|
8251
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty]]]],
|
|
8252
|
+
) -> None:
|
|
8253
|
+
"""Type checking stubs"""
|
|
8254
|
+
pass
|
|
8255
|
+
|
|
6720
8256
|
def _typecheckingstub__087e71db10fe7e46cfbe736951d8b93342a08c50afea582cbddc2eaa71151a64(
|
|
6721
8257
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
6722
8258
|
) -> None:
|
|
@@ -6770,6 +8306,23 @@ def _typecheckingstub__3172068ecee12a11a997c0f7922e1b5c5f5b9e44979e3f39af0c9f997
|
|
|
6770
8306
|
"""Type checking stubs"""
|
|
6771
8307
|
pass
|
|
6772
8308
|
|
|
8309
|
+
def _typecheckingstub__602edbd4a6db7058c0a2d97bafdee4ac831e8e9cefa95964c590f9009304858f(
|
|
8310
|
+
*,
|
|
8311
|
+
interface_asset_model_property_external_id: builtins.str,
|
|
8312
|
+
asset_model_property_external_id: typing.Optional[builtins.str] = None,
|
|
8313
|
+
asset_model_property_logical_id: typing.Optional[builtins.str] = None,
|
|
8314
|
+
) -> None:
|
|
8315
|
+
"""Type checking stubs"""
|
|
8316
|
+
pass
|
|
8317
|
+
|
|
8318
|
+
def _typecheckingstub__1fe8dfe5b5064a1ee03d773eb65966bf8eb13cf514900f6647f677f88f271459(
|
|
8319
|
+
*,
|
|
8320
|
+
interface_asset_model_id: typing.Optional[builtins.str] = None,
|
|
8321
|
+
property_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAssetModel.EnforcedAssetModelInterfacePropertyMappingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8322
|
+
) -> None:
|
|
8323
|
+
"""Type checking stubs"""
|
|
8324
|
+
pass
|
|
8325
|
+
|
|
6773
8326
|
def _typecheckingstub__47d40674b47217f8eb75acf1060336f44b9e0583e395a98550f44b5a4681f3db(
|
|
6774
8327
|
*,
|
|
6775
8328
|
name: builtins.str,
|
|
@@ -6849,6 +8402,7 @@ def _typecheckingstub__a4c397ea0e26142735f716b5c92fe1c51048d94b5142d035ce8dc4cb1
|
|
|
6849
8402
|
asset_model_hierarchies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAssetModel.AssetModelHierarchyProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6850
8403
|
asset_model_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAssetModel.AssetModelPropertyProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6851
8404
|
asset_model_type: typing.Optional[builtins.str] = None,
|
|
8405
|
+
enforced_asset_model_interface_relationships: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAssetModel.EnforcedAssetModelInterfaceRelationshipProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6852
8406
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6853
8407
|
) -> None:
|
|
6854
8408
|
"""Type checking stubs"""
|
|
@@ -6867,6 +8421,128 @@ def _typecheckingstub__306f4833ce13fd25ec4269f2a96d0ee80f11a34f43885f5b4b372569d
|
|
|
6867
8421
|
"""Type checking stubs"""
|
|
6868
8422
|
pass
|
|
6869
8423
|
|
|
8424
|
+
def _typecheckingstub__566bf1711c9dcacb9cb88add46c2c4e157208bdce4a774ccb256a7d21c68de89(
|
|
8425
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8426
|
+
id: builtins.str,
|
|
8427
|
+
*,
|
|
8428
|
+
computation_model_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnComputationModel.ComputationModelConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
8429
|
+
computation_model_data_binding: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnComputationModel.ComputationModelDataBindingValueProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
8430
|
+
computation_model_name: builtins.str,
|
|
8431
|
+
computation_model_description: typing.Optional[builtins.str] = None,
|
|
8432
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8433
|
+
) -> None:
|
|
8434
|
+
"""Type checking stubs"""
|
|
8435
|
+
pass
|
|
8436
|
+
|
|
8437
|
+
def _typecheckingstub__590e85092bc508f6256e60a12e43c81089d4fdbc5ea61a69300ebe6c241b75e3(
|
|
8438
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8439
|
+
id: builtins.str,
|
|
8440
|
+
arn: builtins.str,
|
|
8441
|
+
) -> None:
|
|
8442
|
+
"""Type checking stubs"""
|
|
8443
|
+
pass
|
|
8444
|
+
|
|
8445
|
+
def _typecheckingstub__cf9f98dbe0a47ff6ba00814bcfe5bac495a1c8e0e1b952108f1c9fe15128b618(
|
|
8446
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8447
|
+
id: builtins.str,
|
|
8448
|
+
computation_model_id: builtins.str,
|
|
8449
|
+
) -> None:
|
|
8450
|
+
"""Type checking stubs"""
|
|
8451
|
+
pass
|
|
8452
|
+
|
|
8453
|
+
def _typecheckingstub__137e70d4839513d333c73d5f02909172ab78f14b28c52c7f13f6f52ff398e870(
|
|
8454
|
+
inspector: _TreeInspector_488e0dd5,
|
|
8455
|
+
) -> None:
|
|
8456
|
+
"""Type checking stubs"""
|
|
8457
|
+
pass
|
|
8458
|
+
|
|
8459
|
+
def _typecheckingstub__27af8e5f561e3e573b9a04774edf0c0c6cf2f3e31d385b4ffe28873a39dc7e48(
|
|
8460
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
8461
|
+
) -> None:
|
|
8462
|
+
"""Type checking stubs"""
|
|
8463
|
+
pass
|
|
8464
|
+
|
|
8465
|
+
def _typecheckingstub__3fa195f1583c09a0caa02fa5c50ed928dbf5232ca80e6affc9fa715d83e57cd1(
|
|
8466
|
+
value: typing.Union[_IResolvable_da3f097b, CfnComputationModel.ComputationModelConfigurationProperty],
|
|
8467
|
+
) -> None:
|
|
8468
|
+
"""Type checking stubs"""
|
|
8469
|
+
pass
|
|
8470
|
+
|
|
8471
|
+
def _typecheckingstub__be967ec7617c0ed0efa50fb8a3519a87b8800751beb73a6449a1637314931d2c(
|
|
8472
|
+
value: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, CfnComputationModel.ComputationModelDataBindingValueProperty]]],
|
|
8473
|
+
) -> None:
|
|
8474
|
+
"""Type checking stubs"""
|
|
8475
|
+
pass
|
|
8476
|
+
|
|
8477
|
+
def _typecheckingstub__a009db7b645690134b3878ea2c7cdee53682cf297919e1b3f54b712539f8b0de(
|
|
8478
|
+
value: builtins.str,
|
|
8479
|
+
) -> None:
|
|
8480
|
+
"""Type checking stubs"""
|
|
8481
|
+
pass
|
|
8482
|
+
|
|
8483
|
+
def _typecheckingstub__7d577131789cc578cee733460d23165debfb49d0d90b94e3e10d38d4d0d44a79(
|
|
8484
|
+
value: typing.Optional[builtins.str],
|
|
8485
|
+
) -> None:
|
|
8486
|
+
"""Type checking stubs"""
|
|
8487
|
+
pass
|
|
8488
|
+
|
|
8489
|
+
def _typecheckingstub__a82834353206c4a7be4a8ed40665c48481769bb21be0214fd279c598a8007929(
|
|
8490
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
8491
|
+
) -> None:
|
|
8492
|
+
"""Type checking stubs"""
|
|
8493
|
+
pass
|
|
8494
|
+
|
|
8495
|
+
def _typecheckingstub__69d1839ca00b91b9b1180620638bc2ec0b687463e3828b79ad3dd49ef5189aa7(
|
|
8496
|
+
*,
|
|
8497
|
+
input_properties: builtins.str,
|
|
8498
|
+
result_property: builtins.str,
|
|
8499
|
+
) -> None:
|
|
8500
|
+
"""Type checking stubs"""
|
|
8501
|
+
pass
|
|
8502
|
+
|
|
8503
|
+
def _typecheckingstub__949067d8ab294bdc850ab646091006fd0e748f018285b21dcc99fb980c1a0f5e(
|
|
8504
|
+
*,
|
|
8505
|
+
asset_model_id: builtins.str,
|
|
8506
|
+
property_id: builtins.str,
|
|
8507
|
+
) -> None:
|
|
8508
|
+
"""Type checking stubs"""
|
|
8509
|
+
pass
|
|
8510
|
+
|
|
8511
|
+
def _typecheckingstub__e4a3ae5efabf3788291f9b7ef194e309cc061d66db8346fea04452f02980728d(
|
|
8512
|
+
*,
|
|
8513
|
+
asset_id: builtins.str,
|
|
8514
|
+
property_id: builtins.str,
|
|
8515
|
+
) -> None:
|
|
8516
|
+
"""Type checking stubs"""
|
|
8517
|
+
pass
|
|
8518
|
+
|
|
8519
|
+
def _typecheckingstub__7b33f062481ddc382b1fb7a44ec3672f2844ad5a2ee31f5ede04b108b279328e(
|
|
8520
|
+
*,
|
|
8521
|
+
anomaly_detection: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnComputationModel.AnomalyDetectionComputationModelConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8522
|
+
) -> None:
|
|
8523
|
+
"""Type checking stubs"""
|
|
8524
|
+
pass
|
|
8525
|
+
|
|
8526
|
+
def _typecheckingstub__30609777f6bb1d4c3fb4232f9af93dc24089504c669f64d1de9edd24a9e6d0df(
|
|
8527
|
+
*,
|
|
8528
|
+
asset_model_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnComputationModel.AssetModelPropertyBindingValueProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8529
|
+
asset_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnComputationModel.AssetPropertyBindingValueProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8530
|
+
list: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnComputationModel.ComputationModelDataBindingValueProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8531
|
+
) -> None:
|
|
8532
|
+
"""Type checking stubs"""
|
|
8533
|
+
pass
|
|
8534
|
+
|
|
8535
|
+
def _typecheckingstub__ed97b2e804664b4c2090fb09c1141fc63e60c4fbaee41661ef227778c1ed7dd3(
|
|
8536
|
+
*,
|
|
8537
|
+
computation_model_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnComputationModel.ComputationModelConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
8538
|
+
computation_model_data_binding: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Union[CfnComputationModel.ComputationModelDataBindingValueProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
8539
|
+
computation_model_name: builtins.str,
|
|
8540
|
+
computation_model_description: typing.Optional[builtins.str] = None,
|
|
8541
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8542
|
+
) -> None:
|
|
8543
|
+
"""Type checking stubs"""
|
|
8544
|
+
pass
|
|
8545
|
+
|
|
6870
8546
|
def _typecheckingstub__7408e63e7ba97e630e06dc4a383d275da9719808da2d750b179e27c09b363329(
|
|
6871
8547
|
scope: _constructs_77d1e7e8.Construct,
|
|
6872
8548
|
id: builtins.str,
|
|
@@ -6880,6 +8556,22 @@ def _typecheckingstub__7408e63e7ba97e630e06dc4a383d275da9719808da2d750b179e27c09
|
|
|
6880
8556
|
"""Type checking stubs"""
|
|
6881
8557
|
pass
|
|
6882
8558
|
|
|
8559
|
+
def _typecheckingstub__8d3ef066d6cc1deed982b975e1b332ddc442fc91c9cc1968ea2dadbe5c8d0e80(
|
|
8560
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8561
|
+
id: builtins.str,
|
|
8562
|
+
arn: builtins.str,
|
|
8563
|
+
) -> None:
|
|
8564
|
+
"""Type checking stubs"""
|
|
8565
|
+
pass
|
|
8566
|
+
|
|
8567
|
+
def _typecheckingstub__a04e6604e7125e6e08f9794e68e1b82fbe54ab836644eba76af6190724e6bfd1(
|
|
8568
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8569
|
+
id: builtins.str,
|
|
8570
|
+
dashboard_id: builtins.str,
|
|
8571
|
+
) -> None:
|
|
8572
|
+
"""Type checking stubs"""
|
|
8573
|
+
pass
|
|
8574
|
+
|
|
6883
8575
|
def _typecheckingstub__b472ad5fec8e10a47deb9d29be81c0539f4b5be2ab95923bc43842cace7b7859(
|
|
6884
8576
|
inspector: _TreeInspector_488e0dd5,
|
|
6885
8577
|
) -> None:
|
|
@@ -6945,6 +8637,22 @@ def _typecheckingstub__44369ff07e07f1dbb28102a65eb5a8e6317f5b2e832b326cf3fc0bef1
|
|
|
6945
8637
|
"""Type checking stubs"""
|
|
6946
8638
|
pass
|
|
6947
8639
|
|
|
8640
|
+
def _typecheckingstub__c9ff3dcdb3ac6f04e85b20ea8bb4c7d46762cd36c087beb7fd1d048c7e930202(
|
|
8641
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8642
|
+
id: builtins.str,
|
|
8643
|
+
arn: builtins.str,
|
|
8644
|
+
) -> None:
|
|
8645
|
+
"""Type checking stubs"""
|
|
8646
|
+
pass
|
|
8647
|
+
|
|
8648
|
+
def _typecheckingstub__9cd48c30f564ca50cc666275f3fc53e470cc09074323a9f778ce65224801abec(
|
|
8649
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8650
|
+
id: builtins.str,
|
|
8651
|
+
dataset_id: builtins.str,
|
|
8652
|
+
) -> None:
|
|
8653
|
+
"""Type checking stubs"""
|
|
8654
|
+
pass
|
|
8655
|
+
|
|
6948
8656
|
def _typecheckingstub__c537b447cd6a1f193bb6937137b32d81fb8fc58b3637f501b722c0a287eff25e(
|
|
6949
8657
|
inspector: _TreeInspector_488e0dd5,
|
|
6950
8658
|
) -> None:
|
|
@@ -7028,6 +8736,14 @@ def _typecheckingstub__b4e7aa58e6088e2cbee0005ea5a43b4c9db3b6647e2ff56a2b30310e7
|
|
|
7028
8736
|
"""Type checking stubs"""
|
|
7029
8737
|
pass
|
|
7030
8738
|
|
|
8739
|
+
def _typecheckingstub__faf587528166a7e799d27fa65efc17a4884e594560d908cdcce70a7ffd1bdb0b(
|
|
8740
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8741
|
+
id: builtins.str,
|
|
8742
|
+
gateway_id: builtins.str,
|
|
8743
|
+
) -> None:
|
|
8744
|
+
"""Type checking stubs"""
|
|
8745
|
+
pass
|
|
8746
|
+
|
|
7031
8747
|
def _typecheckingstub__32d18496c19dcd70d3e2bfdd8e37ae7c14e763732057eeb476d73309d3c982b7(
|
|
7032
8748
|
inspector: _TreeInspector_488e0dd5,
|
|
7033
8749
|
) -> None:
|
|
@@ -7138,6 +8854,22 @@ def _typecheckingstub__cbc23e7f8ea9f23ecedfbb8e22cd39fad67b5932c9e8eb1d5d50975c1
|
|
|
7138
8854
|
"""Type checking stubs"""
|
|
7139
8855
|
pass
|
|
7140
8856
|
|
|
8857
|
+
def _typecheckingstub__e169faff9b040913570a502ac443183b97c899e914194ac17d33d71ace93855a(
|
|
8858
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8859
|
+
id: builtins.str,
|
|
8860
|
+
arn: builtins.str,
|
|
8861
|
+
) -> None:
|
|
8862
|
+
"""Type checking stubs"""
|
|
8863
|
+
pass
|
|
8864
|
+
|
|
8865
|
+
def _typecheckingstub__44e55bc9565e17284ddba355fa0db38ce8c5ffdbbbf3673b605a11715a4c7444(
|
|
8866
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8867
|
+
id: builtins.str,
|
|
8868
|
+
portal_id: builtins.str,
|
|
8869
|
+
) -> None:
|
|
8870
|
+
"""Type checking stubs"""
|
|
8871
|
+
pass
|
|
8872
|
+
|
|
7141
8873
|
def _typecheckingstub__e35d29c0f35bd7b72ba87b37ebcc981c82f95575036b8a5527137363bcb6ec6d(
|
|
7142
8874
|
inspector: _TreeInspector_488e0dd5,
|
|
7143
8875
|
) -> None:
|
|
@@ -7254,6 +8986,22 @@ def _typecheckingstub__2ca003aa6daa3e15044d74469428b378e883b1a517620f59fc80331c1
|
|
|
7254
8986
|
"""Type checking stubs"""
|
|
7255
8987
|
pass
|
|
7256
8988
|
|
|
8989
|
+
def _typecheckingstub__e90060e79e1e7def55d44924df2b2574a62789a25ec5a41a823f97be953c5d51(
|
|
8990
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8991
|
+
id: builtins.str,
|
|
8992
|
+
arn: builtins.str,
|
|
8993
|
+
) -> None:
|
|
8994
|
+
"""Type checking stubs"""
|
|
8995
|
+
pass
|
|
8996
|
+
|
|
8997
|
+
def _typecheckingstub__e1a0b1722831a32728661855d44d06d2304b0d1bda74a1dfaa308ad7867ced41(
|
|
8998
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
8999
|
+
id: builtins.str,
|
|
9000
|
+
project_id: builtins.str,
|
|
9001
|
+
) -> None:
|
|
9002
|
+
"""Type checking stubs"""
|
|
9003
|
+
pass
|
|
9004
|
+
|
|
7257
9005
|
def _typecheckingstub__a16b8d5ebb2cc95753d1c1a1a523d80ae58e829ae8ce8450719faca461b1b1c8(
|
|
7258
9006
|
inspector: _TreeInspector_488e0dd5,
|
|
7259
9007
|
) -> None:
|