aws-cdk-lib 2.157.0__py3-none-any.whl → 2.159.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 +52 -20
- aws_cdk/_jsii/__init__.py +17 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.157.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +16 -1
- aws_cdk/assertions/__init__.py +16 -1
- aws_cdk/aws_accessanalyzer/__init__.py +16 -1
- aws_cdk/aws_acmpca/__init__.py +16 -1
- aws_cdk/aws_amazonmq/__init__.py +16 -1
- aws_cdk/aws_amplify/__init__.py +38 -9
- aws_cdk/aws_amplifyuibuilder/__init__.py +16 -1
- aws_cdk/aws_apigateway/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2/__init__.py +46 -1
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +16 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +16 -1
- aws_cdk/aws_appconfig/__init__.py +19 -4
- aws_cdk/aws_appflow/__init__.py +16 -1
- aws_cdk/aws_appintegrations/__init__.py +16 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -1
- aws_cdk/aws_applicationinsights/__init__.py +560 -5
- aws_cdk/aws_applicationsignals/__init__.py +186 -143
- aws_cdk/aws_appmesh/__init__.py +16 -1
- aws_cdk/aws_apprunner/__init__.py +16 -1
- aws_cdk/aws_appstream/__init__.py +16 -1
- aws_cdk/aws_appsync/__init__.py +16 -1
- aws_cdk/aws_apptest/__init__.py +16 -1
- aws_cdk/aws_aps/__init__.py +16 -1
- aws_cdk/aws_arczonalshift/__init__.py +16 -1
- aws_cdk/aws_athena/__init__.py +31 -16
- aws_cdk/aws_auditmanager/__init__.py +21 -6
- aws_cdk/aws_autoscaling/__init__.py +16 -1
- aws_cdk/aws_autoscaling_common/__init__.py +16 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +16 -1
- aws_cdk/aws_autoscalingplans/__init__.py +16 -1
- aws_cdk/aws_b2bi/__init__.py +16 -1
- aws_cdk/aws_backup/__init__.py +16 -1
- aws_cdk/aws_backupgateway/__init__.py +16 -1
- aws_cdk/aws_batch/__init__.py +16 -1
- aws_cdk/aws_bcmdataexports/__init__.py +16 -1
- aws_cdk/aws_bedrock/__init__.py +23 -8
- aws_cdk/aws_billingconductor/__init__.py +16 -1
- aws_cdk/aws_budgets/__init__.py +16 -1
- aws_cdk/aws_cassandra/__init__.py +16 -1
- aws_cdk/aws_ce/__init__.py +16 -1
- aws_cdk/aws_certificatemanager/__init__.py +16 -1
- aws_cdk/aws_chatbot/__init__.py +16 -1
- aws_cdk/aws_cleanrooms/__init__.py +16 -1
- aws_cdk/aws_cleanroomsml/__init__.py +16 -1
- aws_cdk/aws_cloud9/__init__.py +16 -1
- aws_cdk/aws_cloudformation/__init__.py +16 -1
- aws_cdk/aws_cloudfront/__init__.py +16 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +16 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +16 -1
- aws_cdk/aws_cloudtrail/__init__.py +16 -1
- aws_cdk/aws_cloudwatch/__init__.py +16 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +16 -1
- aws_cdk/aws_codeartifact/__init__.py +16 -1
- aws_cdk/aws_codebuild/__init__.py +55 -19
- aws_cdk/aws_codecommit/__init__.py +16 -1
- aws_cdk/aws_codeconnections/__init__.py +17 -2
- aws_cdk/aws_codedeploy/__init__.py +16 -1
- aws_cdk/aws_codeguruprofiler/__init__.py +16 -1
- aws_cdk/aws_codegurureviewer/__init__.py +16 -1
- aws_cdk/aws_codepipeline/__init__.py +16 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +16 -1
- aws_cdk/aws_codestar/__init__.py +16 -1
- aws_cdk/aws_codestarconnections/__init__.py +16 -1
- aws_cdk/aws_codestarnotifications/__init__.py +16 -1
- aws_cdk/aws_cognito/__init__.py +406 -204
- aws_cdk/aws_comprehend/__init__.py +16 -1
- aws_cdk/aws_config/__init__.py +16 -1
- aws_cdk/aws_connect/__init__.py +1695 -153
- aws_cdk/aws_connectcampaigns/__init__.py +16 -1
- aws_cdk/aws_controltower/__init__.py +16 -1
- aws_cdk/aws_cur/__init__.py +16 -1
- aws_cdk/aws_customerprofiles/__init__.py +16 -1
- aws_cdk/aws_databrew/__init__.py +16 -1
- aws_cdk/aws_datapipeline/__init__.py +16 -1
- aws_cdk/aws_datasync/__init__.py +16 -1
- aws_cdk/aws_datazone/__init__.py +681 -41
- aws_cdk/aws_dax/__init__.py +16 -1
- aws_cdk/aws_deadline/__init__.py +16 -1
- aws_cdk/aws_detective/__init__.py +16 -1
- aws_cdk/aws_devicefarm/__init__.py +16 -1
- aws_cdk/aws_devopsguru/__init__.py +16 -1
- aws_cdk/aws_directoryservice/__init__.py +16 -1
- aws_cdk/aws_dlm/__init__.py +16 -1
- aws_cdk/aws_dms/__init__.py +16 -1
- aws_cdk/aws_docdb/__init__.py +22 -2
- aws_cdk/aws_docdbelastic/__init__.py +16 -1
- aws_cdk/aws_dynamodb/__init__.py +21 -6
- aws_cdk/aws_ec2/__init__.py +137 -37
- aws_cdk/aws_ecr/__init__.py +30 -7
- aws_cdk/aws_ecr_assets/__init__.py +16 -1
- aws_cdk/aws_ecs/__init__.py +36 -21
- aws_cdk/aws_ecs_patterns/__init__.py +16 -1
- aws_cdk/aws_efs/__init__.py +16 -1
- aws_cdk/aws_eks/__init__.py +16 -1
- aws_cdk/aws_elasticache/__init__.py +16 -1
- aws_cdk/aws_elasticbeanstalk/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +183 -21
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +16 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +16 -1
- aws_cdk/aws_elasticsearch/__init__.py +16 -1
- aws_cdk/aws_emr/__init__.py +24 -9
- aws_cdk/aws_emrcontainers/__init__.py +16 -1
- aws_cdk/aws_emrserverless/__init__.py +16 -1
- aws_cdk/aws_entityresolution/__init__.py +16 -1
- aws_cdk/aws_events/__init__.py +35 -18
- aws_cdk/aws_events_targets/__init__.py +181 -86
- aws_cdk/aws_eventschemas/__init__.py +16 -1
- aws_cdk/aws_evidently/__init__.py +16 -1
- aws_cdk/aws_finspace/__init__.py +16 -1
- aws_cdk/aws_fis/__init__.py +16 -1
- aws_cdk/aws_fms/__init__.py +75 -1
- aws_cdk/aws_forecast/__init__.py +16 -1
- aws_cdk/aws_frauddetector/__init__.py +16 -1
- aws_cdk/aws_fsx/__init__.py +19 -4
- aws_cdk/aws_gamelift/__init__.py +56 -53
- aws_cdk/aws_globalaccelerator/__init__.py +38 -30
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +16 -1
- aws_cdk/aws_glue/__init__.py +16 -1
- aws_cdk/aws_grafana/__init__.py +16 -1
- aws_cdk/aws_greengrass/__init__.py +16 -1
- aws_cdk/aws_greengrassv2/__init__.py +16 -1
- aws_cdk/aws_groundstation/__init__.py +16 -1
- aws_cdk/aws_guardduty/__init__.py +16 -1
- aws_cdk/aws_healthimaging/__init__.py +16 -1
- aws_cdk/aws_healthlake/__init__.py +16 -1
- aws_cdk/aws_iam/__init__.py +38 -21
- aws_cdk/aws_identitystore/__init__.py +16 -1
- aws_cdk/aws_imagebuilder/__init__.py +16 -1
- aws_cdk/aws_inspector/__init__.py +16 -1
- aws_cdk/aws_inspectorv2/__init__.py +16 -1
- aws_cdk/aws_internetmonitor/__init__.py +16 -1
- aws_cdk/aws_iot/__init__.py +16 -1
- aws_cdk/aws_iot1click/__init__.py +16 -1
- aws_cdk/aws_iotanalytics/__init__.py +16 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -1
- aws_cdk/aws_iotevents/__init__.py +16 -1
- aws_cdk/aws_iotfleethub/__init__.py +16 -1
- aws_cdk/aws_iotfleetwise/__init__.py +435 -1
- aws_cdk/aws_iotsitewise/__init__.py +106 -2
- aws_cdk/aws_iotthingsgraph/__init__.py +16 -1
- aws_cdk/aws_iottwinmaker/__init__.py +16 -1
- aws_cdk/aws_iotwireless/__init__.py +221 -1
- aws_cdk/aws_ivs/__init__.py +16 -1
- aws_cdk/aws_ivschat/__init__.py +16 -1
- aws_cdk/aws_kafkaconnect/__init__.py +16 -1
- aws_cdk/aws_kendra/__init__.py +16 -1
- aws_cdk/aws_kendraranking/__init__.py +16 -1
- aws_cdk/aws_kinesis/__init__.py +16 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +16 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +16 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +16 -1
- aws_cdk/aws_kinesisvideo/__init__.py +16 -1
- aws_cdk/aws_kms/__init__.py +16 -1
- aws_cdk/aws_lakeformation/__init__.py +16 -1
- aws_cdk/aws_lambda/__init__.py +145 -17
- aws_cdk/aws_lambda_destinations/__init__.py +16 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +16 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +16 -1
- aws_cdk/aws_launchwizard/__init__.py +16 -1
- aws_cdk/aws_lex/__init__.py +31 -2
- aws_cdk/aws_licensemanager/__init__.py +16 -1
- aws_cdk/aws_lightsail/__init__.py +16 -1
- aws_cdk/aws_location/__init__.py +16 -1
- aws_cdk/aws_logs/__init__.py +17 -2
- aws_cdk/aws_logs_destinations/__init__.py +16 -1
- aws_cdk/aws_lookoutequipment/__init__.py +16 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +16 -1
- aws_cdk/aws_lookoutvision/__init__.py +16 -1
- aws_cdk/aws_m2/__init__.py +16 -1
- aws_cdk/aws_macie/__init__.py +16 -1
- aws_cdk/aws_managedblockchain/__init__.py +16 -1
- aws_cdk/aws_mediaconnect/__init__.py +127 -1
- aws_cdk/aws_mediaconvert/__init__.py +16 -1
- aws_cdk/aws_medialive/__init__.py +8004 -3263
- aws_cdk/aws_mediapackage/__init__.py +16 -1
- aws_cdk/aws_mediapackagev2/__init__.py +16 -1
- aws_cdk/aws_mediastore/__init__.py +16 -1
- aws_cdk/aws_mediatailor/__init__.py +16 -1
- aws_cdk/aws_memorydb/__init__.py +16 -1
- aws_cdk/aws_msk/__init__.py +303 -480
- aws_cdk/aws_mwaa/__init__.py +16 -1
- aws_cdk/aws_neptune/__init__.py +16 -1
- aws_cdk/aws_neptunegraph/__init__.py +16 -1
- aws_cdk/aws_networkfirewall/__init__.py +16 -1
- aws_cdk/aws_networkmanager/__init__.py +16 -1
- aws_cdk/aws_nimblestudio/__init__.py +16 -1
- aws_cdk/aws_oam/__init__.py +16 -1
- aws_cdk/aws_omics/__init__.py +16 -1
- aws_cdk/aws_opensearchserverless/__init__.py +16 -1
- aws_cdk/aws_opensearchservice/__init__.py +22 -1
- aws_cdk/aws_opsworks/__init__.py +16 -1
- aws_cdk/aws_opsworkscm/__init__.py +16 -1
- aws_cdk/aws_organizations/__init__.py +16 -1
- aws_cdk/aws_osis/__init__.py +16 -1
- aws_cdk/aws_panorama/__init__.py +16 -1
- aws_cdk/aws_paymentcryptography/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +16 -1
- aws_cdk/aws_pcaconnectorscep/__init__.py +85 -31
- aws_cdk/aws_personalize/__init__.py +16 -1
- aws_cdk/aws_pinpoint/__init__.py +16 -1
- aws_cdk/aws_pinpointemail/__init__.py +16 -1
- aws_cdk/aws_pipes/__init__.py +65 -1
- aws_cdk/aws_proton/__init__.py +16 -1
- aws_cdk/aws_qbusiness/__init__.py +27 -15
- aws_cdk/aws_qldb/__init__.py +16 -1
- aws_cdk/aws_quicksight/__init__.py +654 -100
- aws_cdk/aws_ram/__init__.py +16 -1
- aws_cdk/aws_rds/__init__.py +78 -32
- aws_cdk/aws_redshift/__init__.py +16 -1
- aws_cdk/aws_redshiftserverless/__init__.py +16 -1
- aws_cdk/aws_refactorspaces/__init__.py +16 -1
- aws_cdk/aws_rekognition/__init__.py +16 -1
- aws_cdk/aws_resiliencehub/__init__.py +16 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +16 -1
- aws_cdk/aws_resourcegroups/__init__.py +16 -1
- aws_cdk/aws_robomaker/__init__.py +16 -1
- aws_cdk/aws_rolesanywhere/__init__.py +16 -1
- aws_cdk/aws_route53/__init__.py +16 -1
- aws_cdk/aws_route53_patterns/__init__.py +16 -1
- aws_cdk/aws_route53_targets/__init__.py +16 -1
- aws_cdk/aws_route53profiles/__init__.py +16 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +16 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +16 -1
- aws_cdk/aws_route53resolver/__init__.py +16 -1
- aws_cdk/aws_rum/__init__.py +16 -1
- aws_cdk/aws_s3/__init__.py +231 -34
- aws_cdk/aws_s3_assets/__init__.py +16 -1
- aws_cdk/aws_s3_deployment/__init__.py +16 -1
- aws_cdk/aws_s3_notifications/__init__.py +16 -1
- aws_cdk/aws_s3express/__init__.py +16 -1
- aws_cdk/aws_s3objectlambda/__init__.py +18 -3
- aws_cdk/aws_s3outposts/__init__.py +16 -1
- aws_cdk/aws_sagemaker/__init__.py +888 -59
- aws_cdk/aws_sam/__init__.py +16 -1
- aws_cdk/aws_scheduler/__init__.py +16 -1
- aws_cdk/aws_sdb/__init__.py +16 -1
- aws_cdk/aws_secretsmanager/__init__.py +38 -9
- aws_cdk/aws_securityhub/__init__.py +277 -20
- aws_cdk/aws_securitylake/__init__.py +343 -8
- aws_cdk/aws_servicecatalog/__init__.py +16 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +16 -1
- aws_cdk/aws_servicediscovery/__init__.py +21 -6
- aws_cdk/aws_ses/__init__.py +16 -1
- aws_cdk/aws_ses_actions/__init__.py +16 -1
- aws_cdk/aws_shield/__init__.py +16 -1
- aws_cdk/aws_signer/__init__.py +16 -1
- aws_cdk/aws_simspaceweaver/__init__.py +16 -1
- aws_cdk/aws_sns/__init__.py +16 -9
- aws_cdk/aws_sns_subscriptions/__init__.py +16 -1
- aws_cdk/aws_sqs/__init__.py +16 -1
- aws_cdk/aws_ssm/__init__.py +36 -13
- aws_cdk/aws_ssmcontacts/__init__.py +16 -1
- aws_cdk/aws_ssmincidents/__init__.py +16 -1
- aws_cdk/aws_ssmquicksetup/__init__.py +16 -1
- aws_cdk/aws_sso/__init__.py +16 -1
- aws_cdk/aws_stepfunctions/__init__.py +16 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +52 -1
- aws_cdk/aws_supportapp/__init__.py +16 -1
- aws_cdk/aws_synthetics/__init__.py +16 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +16 -1
- aws_cdk/aws_timestream/__init__.py +16 -1
- aws_cdk/aws_transfer/__init__.py +16 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +16 -1
- aws_cdk/aws_voiceid/__init__.py +16 -1
- aws_cdk/aws_vpclattice/__init__.py +16 -1
- aws_cdk/aws_waf/__init__.py +16 -1
- aws_cdk/aws_wafregional/__init__.py +16 -1
- aws_cdk/aws_wafv2/__init__.py +16 -1
- aws_cdk/aws_wisdom/__init__.py +16 -1
- aws_cdk/aws_workspaces/__init__.py +16 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +16 -1
- aws_cdk/aws_workspacesweb/__init__.py +16 -1
- aws_cdk/aws_xray/__init__.py +16 -1
- aws_cdk/cloud_assembly_schema/__init__.py +16 -1
- aws_cdk/cloudformation_include/__init__.py +16 -1
- aws_cdk/custom_resources/__init__.py +16 -1
- aws_cdk/cx_api/__init__.py +35 -1
- aws_cdk/lambda_layer_awscli/__init__.py +16 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +16 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +16 -1
- aws_cdk/pipelines/__init__.py +16 -1
- aws_cdk/region_info/__init__.py +16 -1
- aws_cdk/triggers/__init__.py +16 -1
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +5 -5
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +27 -8
- aws_cdk_lib-2.159.0.dist-info/RECORD +294 -0
- aws_cdk_lib-2.157.0.dist-info/RECORD +0 -294
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.157.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
|
@@ -4165,6 +4180,9 @@ class CfnGateway(
|
|
|
4165
4180
|
),
|
|
4166
4181
|
greengrass_v2=iotsitewise.CfnGateway.GreengrassV2Property(
|
|
4167
4182
|
core_device_thing_name="coreDeviceThingName"
|
|
4183
|
+
),
|
|
4184
|
+
siemens_ie=iotsitewise.CfnGateway.SiemensIEProperty(
|
|
4185
|
+
iot_core_thing_name="iotCoreThingName"
|
|
4168
4186
|
)
|
|
4169
4187
|
),
|
|
4170
4188
|
|
|
@@ -4408,7 +4426,11 @@ class CfnGateway(
|
|
|
4408
4426
|
@jsii.data_type(
|
|
4409
4427
|
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnGateway.GatewayPlatformProperty",
|
|
4410
4428
|
jsii_struct_bases=[],
|
|
4411
|
-
name_mapping={
|
|
4429
|
+
name_mapping={
|
|
4430
|
+
"greengrass": "greengrass",
|
|
4431
|
+
"greengrass_v2": "greengrassV2",
|
|
4432
|
+
"siemens_ie": "siemensIe",
|
|
4433
|
+
},
|
|
4412
4434
|
)
|
|
4413
4435
|
class GatewayPlatformProperty:
|
|
4414
4436
|
def __init__(
|
|
@@ -4416,11 +4438,13 @@ class CfnGateway(
|
|
|
4416
4438
|
*,
|
|
4417
4439
|
greengrass: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGateway.GreengrassProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4418
4440
|
greengrass_v2: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGateway.GreengrassV2Property", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4441
|
+
siemens_ie: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGateway.SiemensIEProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4419
4442
|
) -> None:
|
|
4420
4443
|
'''Contains a gateway's platform information.
|
|
4421
4444
|
|
|
4422
4445
|
:param greengrass: A gateway that runs on AWS IoT Greengrass .
|
|
4423
4446
|
:param greengrass_v2: A gateway that runs on AWS IoT Greengrass V2 .
|
|
4447
|
+
:param siemens_ie: A AWS IoT SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.
|
|
4424
4448
|
|
|
4425
4449
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewayplatform.html
|
|
4426
4450
|
:exampleMetadata: fixture=_generated
|
|
@@ -4437,6 +4461,9 @@ class CfnGateway(
|
|
|
4437
4461
|
),
|
|
4438
4462
|
greengrass_v2=iotsitewise.CfnGateway.GreengrassV2Property(
|
|
4439
4463
|
core_device_thing_name="coreDeviceThingName"
|
|
4464
|
+
),
|
|
4465
|
+
siemens_ie=iotsitewise.CfnGateway.SiemensIEProperty(
|
|
4466
|
+
iot_core_thing_name="iotCoreThingName"
|
|
4440
4467
|
)
|
|
4441
4468
|
)
|
|
4442
4469
|
'''
|
|
@@ -4444,11 +4471,14 @@ class CfnGateway(
|
|
|
4444
4471
|
type_hints = typing.get_type_hints(_typecheckingstub__d661bcb76cb5472e741e4e4c43ddf5d8a0dc76895775f2d9c80eb435edf5fc23)
|
|
4445
4472
|
check_type(argname="argument greengrass", value=greengrass, expected_type=type_hints["greengrass"])
|
|
4446
4473
|
check_type(argname="argument greengrass_v2", value=greengrass_v2, expected_type=type_hints["greengrass_v2"])
|
|
4474
|
+
check_type(argname="argument siemens_ie", value=siemens_ie, expected_type=type_hints["siemens_ie"])
|
|
4447
4475
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4448
4476
|
if greengrass is not None:
|
|
4449
4477
|
self._values["greengrass"] = greengrass
|
|
4450
4478
|
if greengrass_v2 is not None:
|
|
4451
4479
|
self._values["greengrass_v2"] = greengrass_v2
|
|
4480
|
+
if siemens_ie is not None:
|
|
4481
|
+
self._values["siemens_ie"] = siemens_ie
|
|
4452
4482
|
|
|
4453
4483
|
@builtins.property
|
|
4454
4484
|
def greengrass(
|
|
@@ -4472,6 +4502,17 @@ class CfnGateway(
|
|
|
4472
4502
|
result = self._values.get("greengrass_v2")
|
|
4473
4503
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGateway.GreengrassV2Property"]], result)
|
|
4474
4504
|
|
|
4505
|
+
@builtins.property
|
|
4506
|
+
def siemens_ie(
|
|
4507
|
+
self,
|
|
4508
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGateway.SiemensIEProperty"]]:
|
|
4509
|
+
'''A AWS IoT SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.
|
|
4510
|
+
|
|
4511
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewayplatform.html#cfn-iotsitewise-gateway-gatewayplatform-siemensie
|
|
4512
|
+
'''
|
|
4513
|
+
result = self._values.get("siemens_ie")
|
|
4514
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGateway.SiemensIEProperty"]], result)
|
|
4515
|
+
|
|
4475
4516
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4476
4517
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4477
4518
|
|
|
@@ -4591,6 +4632,58 @@ class CfnGateway(
|
|
|
4591
4632
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4592
4633
|
)
|
|
4593
4634
|
|
|
4635
|
+
@jsii.data_type(
|
|
4636
|
+
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnGateway.SiemensIEProperty",
|
|
4637
|
+
jsii_struct_bases=[],
|
|
4638
|
+
name_mapping={"iot_core_thing_name": "iotCoreThingName"},
|
|
4639
|
+
)
|
|
4640
|
+
class SiemensIEProperty:
|
|
4641
|
+
def __init__(self, *, iot_core_thing_name: builtins.str) -> None:
|
|
4642
|
+
'''Contains details for a AWS IoT SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.
|
|
4643
|
+
|
|
4644
|
+
:param iot_core_thing_name: The name of the AWS IoT Thing for your AWS IoT SiteWise Edge gateway.
|
|
4645
|
+
|
|
4646
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-siemensie.html
|
|
4647
|
+
:exampleMetadata: fixture=_generated
|
|
4648
|
+
|
|
4649
|
+
Example::
|
|
4650
|
+
|
|
4651
|
+
# The code below shows an example of how to instantiate this type.
|
|
4652
|
+
# The values are placeholders you should change.
|
|
4653
|
+
from aws_cdk import aws_iotsitewise as iotsitewise
|
|
4654
|
+
|
|
4655
|
+
siemens_iEProperty = iotsitewise.CfnGateway.SiemensIEProperty(
|
|
4656
|
+
iot_core_thing_name="iotCoreThingName"
|
|
4657
|
+
)
|
|
4658
|
+
'''
|
|
4659
|
+
if __debug__:
|
|
4660
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c5c36e991ce3543e0259817d60bf936941834dcd087997082364d6b61a83223f)
|
|
4661
|
+
check_type(argname="argument iot_core_thing_name", value=iot_core_thing_name, expected_type=type_hints["iot_core_thing_name"])
|
|
4662
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4663
|
+
"iot_core_thing_name": iot_core_thing_name,
|
|
4664
|
+
}
|
|
4665
|
+
|
|
4666
|
+
@builtins.property
|
|
4667
|
+
def iot_core_thing_name(self) -> builtins.str:
|
|
4668
|
+
'''The name of the AWS IoT Thing for your AWS IoT SiteWise Edge gateway.
|
|
4669
|
+
|
|
4670
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-siemensie.html#cfn-iotsitewise-gateway-siemensie-iotcorethingname
|
|
4671
|
+
'''
|
|
4672
|
+
result = self._values.get("iot_core_thing_name")
|
|
4673
|
+
assert result is not None, "Required property 'iot_core_thing_name' is missing"
|
|
4674
|
+
return typing.cast(builtins.str, result)
|
|
4675
|
+
|
|
4676
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4677
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4678
|
+
|
|
4679
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4680
|
+
return not (rhs == self)
|
|
4681
|
+
|
|
4682
|
+
def __repr__(self) -> str:
|
|
4683
|
+
return "SiemensIEProperty(%s)" % ", ".join(
|
|
4684
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4685
|
+
)
|
|
4686
|
+
|
|
4594
4687
|
|
|
4595
4688
|
@jsii.data_type(
|
|
4596
4689
|
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnGatewayProps",
|
|
@@ -4635,6 +4728,9 @@ class CfnGatewayProps:
|
|
|
4635
4728
|
),
|
|
4636
4729
|
greengrass_v2=iotsitewise.CfnGateway.GreengrassV2Property(
|
|
4637
4730
|
core_device_thing_name="coreDeviceThingName"
|
|
4731
|
+
),
|
|
4732
|
+
siemens_ie=iotsitewise.CfnGateway.SiemensIEProperty(
|
|
4733
|
+
iot_core_thing_name="iotCoreThingName"
|
|
4638
4734
|
)
|
|
4639
4735
|
),
|
|
4640
4736
|
|
|
@@ -6151,6 +6247,7 @@ def _typecheckingstub__d661bcb76cb5472e741e4e4c43ddf5d8a0dc76895775f2d9c80eb435e
|
|
|
6151
6247
|
*,
|
|
6152
6248
|
greengrass: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGateway.GreengrassProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6153
6249
|
greengrass_v2: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGateway.GreengrassV2Property, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6250
|
+
siemens_ie: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGateway.SiemensIEProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6154
6251
|
) -> None:
|
|
6155
6252
|
"""Type checking stubs"""
|
|
6156
6253
|
pass
|
|
@@ -6169,6 +6266,13 @@ def _typecheckingstub__aaa34ef3ffa417e0d8477bdf5fd83220079621fb80b75a881ad5c04a9
|
|
|
6169
6266
|
"""Type checking stubs"""
|
|
6170
6267
|
pass
|
|
6171
6268
|
|
|
6269
|
+
def _typecheckingstub__c5c36e991ce3543e0259817d60bf936941834dcd087997082364d6b61a83223f(
|
|
6270
|
+
*,
|
|
6271
|
+
iot_core_thing_name: builtins.str,
|
|
6272
|
+
) -> None:
|
|
6273
|
+
"""Type checking stubs"""
|
|
6274
|
+
pass
|
|
6275
|
+
|
|
6172
6276
|
def _typecheckingstub__96b726a7f6953ced23491d12afc63dd3960b8d44e1734397f1db9d45a0cf6793(
|
|
6173
6277
|
*,
|
|
6174
6278
|
gateway_name: builtins.str,
|
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
|
@@ -4926,6 +4941,13 @@ class CfnWirelessDevice(
|
|
|
4926
4941
|
),
|
|
4927
4942
|
dev_eui="devEui",
|
|
4928
4943
|
device_profile_id="deviceProfileId",
|
|
4944
|
+
f_ports=iotwireless.CfnWirelessDevice.FPortsProperty(
|
|
4945
|
+
applications=[iotwireless.CfnWirelessDevice.ApplicationProperty(
|
|
4946
|
+
destination_name="destinationName",
|
|
4947
|
+
f_port=123,
|
|
4948
|
+
type="type"
|
|
4949
|
+
)]
|
|
4950
|
+
),
|
|
4929
4951
|
otaa_v10_x=iotwireless.CfnWirelessDevice.OtaaV10xProperty(
|
|
4930
4952
|
app_eui="appEui",
|
|
4931
4953
|
app_key="appKey"
|
|
@@ -5339,6 +5361,156 @@ class CfnWirelessDevice(
|
|
|
5339
5361
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
5340
5362
|
)
|
|
5341
5363
|
|
|
5364
|
+
@jsii.data_type(
|
|
5365
|
+
jsii_type="aws-cdk-lib.aws_iotwireless.CfnWirelessDevice.ApplicationProperty",
|
|
5366
|
+
jsii_struct_bases=[],
|
|
5367
|
+
name_mapping={
|
|
5368
|
+
"destination_name": "destinationName",
|
|
5369
|
+
"f_port": "fPort",
|
|
5370
|
+
"type": "type",
|
|
5371
|
+
},
|
|
5372
|
+
)
|
|
5373
|
+
class ApplicationProperty:
|
|
5374
|
+
def __init__(
|
|
5375
|
+
self,
|
|
5376
|
+
*,
|
|
5377
|
+
destination_name: typing.Optional[builtins.str] = None,
|
|
5378
|
+
f_port: typing.Optional[jsii.Number] = None,
|
|
5379
|
+
type: typing.Optional[builtins.str] = None,
|
|
5380
|
+
) -> None:
|
|
5381
|
+
'''A list of optional LoRaWAN application information, which can be used for geolocation.
|
|
5382
|
+
|
|
5383
|
+
:param destination_name: The name of the position data destination that describes the IoT rule that processes the device's position data.
|
|
5384
|
+
:param f_port: The name of the new destination for the device.
|
|
5385
|
+
:param type: Application type, which can be specified to obtain real-time position information of your LoRaWAN device.
|
|
5386
|
+
|
|
5387
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-application.html
|
|
5388
|
+
:exampleMetadata: fixture=_generated
|
|
5389
|
+
|
|
5390
|
+
Example::
|
|
5391
|
+
|
|
5392
|
+
# The code below shows an example of how to instantiate this type.
|
|
5393
|
+
# The values are placeholders you should change.
|
|
5394
|
+
from aws_cdk import aws_iotwireless as iotwireless
|
|
5395
|
+
|
|
5396
|
+
application_property = iotwireless.CfnWirelessDevice.ApplicationProperty(
|
|
5397
|
+
destination_name="destinationName",
|
|
5398
|
+
f_port=123,
|
|
5399
|
+
type="type"
|
|
5400
|
+
)
|
|
5401
|
+
'''
|
|
5402
|
+
if __debug__:
|
|
5403
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5c88af7524b9cc032696918a6b08702ccb76f6a1981e42878b6e121d64e5c1be)
|
|
5404
|
+
check_type(argname="argument destination_name", value=destination_name, expected_type=type_hints["destination_name"])
|
|
5405
|
+
check_type(argname="argument f_port", value=f_port, expected_type=type_hints["f_port"])
|
|
5406
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
5407
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5408
|
+
if destination_name is not None:
|
|
5409
|
+
self._values["destination_name"] = destination_name
|
|
5410
|
+
if f_port is not None:
|
|
5411
|
+
self._values["f_port"] = f_port
|
|
5412
|
+
if type is not None:
|
|
5413
|
+
self._values["type"] = type
|
|
5414
|
+
|
|
5415
|
+
@builtins.property
|
|
5416
|
+
def destination_name(self) -> typing.Optional[builtins.str]:
|
|
5417
|
+
'''The name of the position data destination that describes the IoT rule that processes the device's position data.
|
|
5418
|
+
|
|
5419
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-application.html#cfn-iotwireless-wirelessdevice-application-destinationname
|
|
5420
|
+
'''
|
|
5421
|
+
result = self._values.get("destination_name")
|
|
5422
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5423
|
+
|
|
5424
|
+
@builtins.property
|
|
5425
|
+
def f_port(self) -> typing.Optional[jsii.Number]:
|
|
5426
|
+
'''The name of the new destination for the device.
|
|
5427
|
+
|
|
5428
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-application.html#cfn-iotwireless-wirelessdevice-application-fport
|
|
5429
|
+
'''
|
|
5430
|
+
result = self._values.get("f_port")
|
|
5431
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
5432
|
+
|
|
5433
|
+
@builtins.property
|
|
5434
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
5435
|
+
'''Application type, which can be specified to obtain real-time position information of your LoRaWAN device.
|
|
5436
|
+
|
|
5437
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-application.html#cfn-iotwireless-wirelessdevice-application-type
|
|
5438
|
+
'''
|
|
5439
|
+
result = self._values.get("type")
|
|
5440
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5441
|
+
|
|
5442
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5443
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5444
|
+
|
|
5445
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5446
|
+
return not (rhs == self)
|
|
5447
|
+
|
|
5448
|
+
def __repr__(self) -> str:
|
|
5449
|
+
return "ApplicationProperty(%s)" % ", ".join(
|
|
5450
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5451
|
+
)
|
|
5452
|
+
|
|
5453
|
+
@jsii.data_type(
|
|
5454
|
+
jsii_type="aws-cdk-lib.aws_iotwireless.CfnWirelessDevice.FPortsProperty",
|
|
5455
|
+
jsii_struct_bases=[],
|
|
5456
|
+
name_mapping={"applications": "applications"},
|
|
5457
|
+
)
|
|
5458
|
+
class FPortsProperty:
|
|
5459
|
+
def __init__(
|
|
5460
|
+
self,
|
|
5461
|
+
*,
|
|
5462
|
+
applications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWirelessDevice.ApplicationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5463
|
+
) -> None:
|
|
5464
|
+
'''List of FPorts assigned for different LoRaWAN application packages to use.
|
|
5465
|
+
|
|
5466
|
+
:param applications: LoRaWAN application configuration, which can be used to perform geolocation.
|
|
5467
|
+
|
|
5468
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-fports.html
|
|
5469
|
+
:exampleMetadata: fixture=_generated
|
|
5470
|
+
|
|
5471
|
+
Example::
|
|
5472
|
+
|
|
5473
|
+
# The code below shows an example of how to instantiate this type.
|
|
5474
|
+
# The values are placeholders you should change.
|
|
5475
|
+
from aws_cdk import aws_iotwireless as iotwireless
|
|
5476
|
+
|
|
5477
|
+
f_ports_property = iotwireless.CfnWirelessDevice.FPortsProperty(
|
|
5478
|
+
applications=[iotwireless.CfnWirelessDevice.ApplicationProperty(
|
|
5479
|
+
destination_name="destinationName",
|
|
5480
|
+
f_port=123,
|
|
5481
|
+
type="type"
|
|
5482
|
+
)]
|
|
5483
|
+
)
|
|
5484
|
+
'''
|
|
5485
|
+
if __debug__:
|
|
5486
|
+
type_hints = typing.get_type_hints(_typecheckingstub__838fed2bee84917cc559f987ebb1aa7ea4d2dcfc17565a509e75cc47c8ae02b2)
|
|
5487
|
+
check_type(argname="argument applications", value=applications, expected_type=type_hints["applications"])
|
|
5488
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5489
|
+
if applications is not None:
|
|
5490
|
+
self._values["applications"] = applications
|
|
5491
|
+
|
|
5492
|
+
@builtins.property
|
|
5493
|
+
def applications(
|
|
5494
|
+
self,
|
|
5495
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWirelessDevice.ApplicationProperty"]]]]:
|
|
5496
|
+
'''LoRaWAN application configuration, which can be used to perform geolocation.
|
|
5497
|
+
|
|
5498
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-fports.html#cfn-iotwireless-wirelessdevice-fports-applications
|
|
5499
|
+
'''
|
|
5500
|
+
result = self._values.get("applications")
|
|
5501
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWirelessDevice.ApplicationProperty"]]]], result)
|
|
5502
|
+
|
|
5503
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5504
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5505
|
+
|
|
5506
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5507
|
+
return not (rhs == self)
|
|
5508
|
+
|
|
5509
|
+
def __repr__(self) -> str:
|
|
5510
|
+
return "FPortsProperty(%s)" % ", ".join(
|
|
5511
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5512
|
+
)
|
|
5513
|
+
|
|
5342
5514
|
@jsii.data_type(
|
|
5343
5515
|
jsii_type="aws-cdk-lib.aws_iotwireless.CfnWirelessDevice.LoRaWANDeviceProperty",
|
|
5344
5516
|
jsii_struct_bases=[],
|
|
@@ -5347,6 +5519,7 @@ class CfnWirelessDevice(
|
|
|
5347
5519
|
"abp_v11": "abpV11",
|
|
5348
5520
|
"dev_eui": "devEui",
|
|
5349
5521
|
"device_profile_id": "deviceProfileId",
|
|
5522
|
+
"f_ports": "fPorts",
|
|
5350
5523
|
"otaa_v10_x": "otaaV10X",
|
|
5351
5524
|
"otaa_v11": "otaaV11",
|
|
5352
5525
|
"service_profile_id": "serviceProfileId",
|
|
@@ -5360,6 +5533,7 @@ class CfnWirelessDevice(
|
|
|
5360
5533
|
abp_v11: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWirelessDevice.AbpV11Property", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5361
5534
|
dev_eui: typing.Optional[builtins.str] = None,
|
|
5362
5535
|
device_profile_id: typing.Optional[builtins.str] = None,
|
|
5536
|
+
f_ports: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWirelessDevice.FPortsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5363
5537
|
otaa_v10_x: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWirelessDevice.OtaaV10xProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5364
5538
|
otaa_v11: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWirelessDevice.OtaaV11Property", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5365
5539
|
service_profile_id: typing.Optional[builtins.str] = None,
|
|
@@ -5370,6 +5544,7 @@ class CfnWirelessDevice(
|
|
|
5370
5544
|
:param abp_v11: ABP device object for create APIs for v1.1.
|
|
5371
5545
|
:param dev_eui: The DevEUI value.
|
|
5372
5546
|
:param device_profile_id: The ID of the device profile for the new wireless device.
|
|
5547
|
+
:param f_ports: List of FPort assigned for different LoRaWAN application packages to use.
|
|
5373
5548
|
:param otaa_v10_x: OTAA device object for create APIs for v1.0.x.
|
|
5374
5549
|
:param otaa_v11: OTAA device object for v1.1 for create APIs.
|
|
5375
5550
|
:param service_profile_id: The ID of the service profile.
|
|
@@ -5402,6 +5577,13 @@ class CfnWirelessDevice(
|
|
|
5402
5577
|
),
|
|
5403
5578
|
dev_eui="devEui",
|
|
5404
5579
|
device_profile_id="deviceProfileId",
|
|
5580
|
+
f_ports=iotwireless.CfnWirelessDevice.FPortsProperty(
|
|
5581
|
+
applications=[iotwireless.CfnWirelessDevice.ApplicationProperty(
|
|
5582
|
+
destination_name="destinationName",
|
|
5583
|
+
f_port=123,
|
|
5584
|
+
type="type"
|
|
5585
|
+
)]
|
|
5586
|
+
),
|
|
5405
5587
|
otaa_v10_x=iotwireless.CfnWirelessDevice.OtaaV10xProperty(
|
|
5406
5588
|
app_eui="appEui",
|
|
5407
5589
|
app_key="appKey"
|
|
@@ -5420,6 +5602,7 @@ class CfnWirelessDevice(
|
|
|
5420
5602
|
check_type(argname="argument abp_v11", value=abp_v11, expected_type=type_hints["abp_v11"])
|
|
5421
5603
|
check_type(argname="argument dev_eui", value=dev_eui, expected_type=type_hints["dev_eui"])
|
|
5422
5604
|
check_type(argname="argument device_profile_id", value=device_profile_id, expected_type=type_hints["device_profile_id"])
|
|
5605
|
+
check_type(argname="argument f_ports", value=f_ports, expected_type=type_hints["f_ports"])
|
|
5423
5606
|
check_type(argname="argument otaa_v10_x", value=otaa_v10_x, expected_type=type_hints["otaa_v10_x"])
|
|
5424
5607
|
check_type(argname="argument otaa_v11", value=otaa_v11, expected_type=type_hints["otaa_v11"])
|
|
5425
5608
|
check_type(argname="argument service_profile_id", value=service_profile_id, expected_type=type_hints["service_profile_id"])
|
|
@@ -5432,6 +5615,8 @@ class CfnWirelessDevice(
|
|
|
5432
5615
|
self._values["dev_eui"] = dev_eui
|
|
5433
5616
|
if device_profile_id is not None:
|
|
5434
5617
|
self._values["device_profile_id"] = device_profile_id
|
|
5618
|
+
if f_ports is not None:
|
|
5619
|
+
self._values["f_ports"] = f_ports
|
|
5435
5620
|
if otaa_v10_x is not None:
|
|
5436
5621
|
self._values["otaa_v10_x"] = otaa_v10_x
|
|
5437
5622
|
if otaa_v11 is not None:
|
|
@@ -5479,6 +5664,17 @@ class CfnWirelessDevice(
|
|
|
5479
5664
|
result = self._values.get("device_profile_id")
|
|
5480
5665
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
5481
5666
|
|
|
5667
|
+
@builtins.property
|
|
5668
|
+
def f_ports(
|
|
5669
|
+
self,
|
|
5670
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWirelessDevice.FPortsProperty"]]:
|
|
5671
|
+
'''List of FPort assigned for different LoRaWAN application packages to use.
|
|
5672
|
+
|
|
5673
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-lorawandevice.html#cfn-iotwireless-wirelessdevice-lorawandevice-fports
|
|
5674
|
+
'''
|
|
5675
|
+
result = self._values.get("f_ports")
|
|
5676
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWirelessDevice.FPortsProperty"]], result)
|
|
5677
|
+
|
|
5482
5678
|
@builtins.property
|
|
5483
5679
|
def otaa_v10_x(
|
|
5484
5680
|
self,
|
|
@@ -6388,6 +6584,13 @@ class CfnWirelessDeviceProps:
|
|
|
6388
6584
|
),
|
|
6389
6585
|
dev_eui="devEui",
|
|
6390
6586
|
device_profile_id="deviceProfileId",
|
|
6587
|
+
f_ports=iotwireless.CfnWirelessDevice.FPortsProperty(
|
|
6588
|
+
applications=[iotwireless.CfnWirelessDevice.ApplicationProperty(
|
|
6589
|
+
destination_name="destinationName",
|
|
6590
|
+
f_port=123,
|
|
6591
|
+
type="type"
|
|
6592
|
+
)]
|
|
6593
|
+
),
|
|
6391
6594
|
otaa_v10_x=iotwireless.CfnWirelessDevice.OtaaV10xProperty(
|
|
6392
6595
|
app_eui="appEui",
|
|
6393
6596
|
app_key="appKey"
|
|
@@ -7863,12 +8066,29 @@ def _typecheckingstub__60d86251ec9e15886b39ab32d3b20d4a624d17a6f00dd271dfc743f0d
|
|
|
7863
8066
|
"""Type checking stubs"""
|
|
7864
8067
|
pass
|
|
7865
8068
|
|
|
8069
|
+
def _typecheckingstub__5c88af7524b9cc032696918a6b08702ccb76f6a1981e42878b6e121d64e5c1be(
|
|
8070
|
+
*,
|
|
8071
|
+
destination_name: typing.Optional[builtins.str] = None,
|
|
8072
|
+
f_port: typing.Optional[jsii.Number] = None,
|
|
8073
|
+
type: typing.Optional[builtins.str] = None,
|
|
8074
|
+
) -> None:
|
|
8075
|
+
"""Type checking stubs"""
|
|
8076
|
+
pass
|
|
8077
|
+
|
|
8078
|
+
def _typecheckingstub__838fed2bee84917cc559f987ebb1aa7ea4d2dcfc17565a509e75cc47c8ae02b2(
|
|
8079
|
+
*,
|
|
8080
|
+
applications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWirelessDevice.ApplicationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8081
|
+
) -> None:
|
|
8082
|
+
"""Type checking stubs"""
|
|
8083
|
+
pass
|
|
8084
|
+
|
|
7866
8085
|
def _typecheckingstub__79b613fcb6e4bec4dd04e0ec3aefb63244dbaff286fed6d7327bebfa7aed6cba(
|
|
7867
8086
|
*,
|
|
7868
8087
|
abp_v10_x: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWirelessDevice.AbpV10xProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7869
8088
|
abp_v11: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWirelessDevice.AbpV11Property, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7870
8089
|
dev_eui: typing.Optional[builtins.str] = None,
|
|
7871
8090
|
device_profile_id: typing.Optional[builtins.str] = None,
|
|
8091
|
+
f_ports: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWirelessDevice.FPortsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7872
8092
|
otaa_v10_x: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWirelessDevice.OtaaV10xProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7873
8093
|
otaa_v11: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWirelessDevice.OtaaV11Property, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7874
8094
|
service_profile_id: typing.Optional[builtins.str] = None,
|
aws_cdk/aws_ivs/__init__.py
CHANGED
|
@@ -43,7 +43,22 @@ import jsii
|
|
|
43
43
|
import publication
|
|
44
44
|
import typing_extensions
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
import typeguard
|
|
47
|
+
from importlib.metadata import version as _metadata_package_version
|
|
48
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
49
|
+
|
|
50
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
51
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
52
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
53
|
+
else:
|
|
54
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
55
|
+
pass
|
|
56
|
+
else:
|
|
57
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
58
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
59
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
60
|
+
else:
|
|
61
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
47
62
|
|
|
48
63
|
from .._jsii import *
|
|
49
64
|
|
aws_cdk/aws_ivschat/__init__.py
CHANGED
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|
aws_cdk/aws_kendra/__init__.py
CHANGED
|
@@ -38,7 +38,22 @@ import jsii
|
|
|
38
38
|
import publication
|
|
39
39
|
import typing_extensions
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
import typeguard
|
|
42
|
+
from importlib.metadata import version as _metadata_package_version
|
|
43
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
44
|
+
|
|
45
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
46
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
47
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
48
|
+
else:
|
|
49
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
50
|
+
pass
|
|
51
|
+
else:
|
|
52
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
53
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
54
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
55
|
+
else:
|
|
56
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
42
57
|
|
|
43
58
|
from .._jsii import *
|
|
44
59
|
|