aws-cdk-lib 2.158.0__py3-none-any.whl → 2.159.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +36 -19
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.158.0.jsii.tgz → aws-cdk-lib@2.159.1.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +22 -8
- aws_cdk/aws_apigatewayv2/__init__.py +30 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationinsights/__init__.py +544 -4
- aws_cdk/aws_applicationsignals/__init__.py +170 -142
- aws_cdk/aws_athena/__init__.py +15 -15
- aws_cdk/aws_auditmanager/__init__.py +5 -5
- aws_cdk/aws_bedrock/__init__.py +7 -7
- aws_cdk/aws_codebuild/__init__.py +39 -18
- aws_cdk/aws_codeconnections/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +390 -203
- aws_cdk/aws_connect/__init__.py +1679 -152
- aws_cdk/aws_datazone/__init__.py +665 -40
- aws_cdk/aws_docdb/__init__.py +6 -1
- aws_cdk/aws_dynamodb/__init__.py +5 -5
- aws_cdk/aws_ec2/__init__.py +121 -36
- aws_cdk/aws_ecr/__init__.py +14 -6
- aws_cdk/aws_ecs/__init__.py +20 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +167 -20
- aws_cdk/aws_emr/__init__.py +8 -8
- aws_cdk/aws_events/__init__.py +19 -17
- aws_cdk/aws_events_targets/__init__.py +165 -85
- aws_cdk/aws_fms/__init__.py +59 -0
- aws_cdk/aws_fsx/__init__.py +3 -3
- aws_cdk/aws_gamelift/__init__.py +40 -52
- aws_cdk/aws_globalaccelerator/__init__.py +22 -29
- aws_cdk/aws_iam/__init__.py +22 -20
- aws_cdk/aws_iotfleetwise/__init__.py +419 -0
- aws_cdk/aws_iotsitewise/__init__.py +90 -1
- aws_cdk/aws_iotwireless/__init__.py +205 -0
- aws_cdk/aws_lambda/__init__.py +129 -16
- aws_cdk/aws_lex/__init__.py +15 -1
- aws_cdk/aws_logs/__init__.py +1 -1
- aws_cdk/aws_mediaconnect/__init__.py +111 -0
- aws_cdk/aws_medialive/__init__.py +7988 -3262
- aws_cdk/aws_msk/__init__.py +287 -479
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +69 -30
- aws_cdk/aws_pipes/__init__.py +49 -0
- aws_cdk/aws_qbusiness/__init__.py +11 -14
- aws_cdk/aws_quicksight/__init__.py +638 -99
- aws_cdk/aws_rds/__init__.py +38 -27
- aws_cdk/aws_s3/__init__.py +215 -33
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +872 -58
- aws_cdk/aws_secretsmanager/__init__.py +22 -8
- aws_cdk/aws_securityhub/__init__.py +261 -19
- aws_cdk/aws_securitylake/__init__.py +327 -7
- aws_cdk/aws_servicediscovery/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +0 -8
- aws_cdk/aws_ssm/__init__.py +20 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +36 -0
- aws_cdk/cx_api/__init__.py +19 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/RECORD +62 -62
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/top_level.txt +0 -0
|
@@ -4180,6 +4180,9 @@ class CfnGateway(
|
|
|
4180
4180
|
),
|
|
4181
4181
|
greengrass_v2=iotsitewise.CfnGateway.GreengrassV2Property(
|
|
4182
4182
|
core_device_thing_name="coreDeviceThingName"
|
|
4183
|
+
),
|
|
4184
|
+
siemens_ie=iotsitewise.CfnGateway.SiemensIEProperty(
|
|
4185
|
+
iot_core_thing_name="iotCoreThingName"
|
|
4183
4186
|
)
|
|
4184
4187
|
),
|
|
4185
4188
|
|
|
@@ -4423,7 +4426,11 @@ class CfnGateway(
|
|
|
4423
4426
|
@jsii.data_type(
|
|
4424
4427
|
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnGateway.GatewayPlatformProperty",
|
|
4425
4428
|
jsii_struct_bases=[],
|
|
4426
|
-
name_mapping={
|
|
4429
|
+
name_mapping={
|
|
4430
|
+
"greengrass": "greengrass",
|
|
4431
|
+
"greengrass_v2": "greengrassV2",
|
|
4432
|
+
"siemens_ie": "siemensIe",
|
|
4433
|
+
},
|
|
4427
4434
|
)
|
|
4428
4435
|
class GatewayPlatformProperty:
|
|
4429
4436
|
def __init__(
|
|
@@ -4431,11 +4438,13 @@ class CfnGateway(
|
|
|
4431
4438
|
*,
|
|
4432
4439
|
greengrass: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGateway.GreengrassProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4433
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,
|
|
4434
4442
|
) -> None:
|
|
4435
4443
|
'''Contains a gateway's platform information.
|
|
4436
4444
|
|
|
4437
4445
|
:param greengrass: A gateway that runs on AWS IoT Greengrass .
|
|
4438
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.
|
|
4439
4448
|
|
|
4440
4449
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewayplatform.html
|
|
4441
4450
|
:exampleMetadata: fixture=_generated
|
|
@@ -4452,6 +4461,9 @@ class CfnGateway(
|
|
|
4452
4461
|
),
|
|
4453
4462
|
greengrass_v2=iotsitewise.CfnGateway.GreengrassV2Property(
|
|
4454
4463
|
core_device_thing_name="coreDeviceThingName"
|
|
4464
|
+
),
|
|
4465
|
+
siemens_ie=iotsitewise.CfnGateway.SiemensIEProperty(
|
|
4466
|
+
iot_core_thing_name="iotCoreThingName"
|
|
4455
4467
|
)
|
|
4456
4468
|
)
|
|
4457
4469
|
'''
|
|
@@ -4459,11 +4471,14 @@ class CfnGateway(
|
|
|
4459
4471
|
type_hints = typing.get_type_hints(_typecheckingstub__d661bcb76cb5472e741e4e4c43ddf5d8a0dc76895775f2d9c80eb435edf5fc23)
|
|
4460
4472
|
check_type(argname="argument greengrass", value=greengrass, expected_type=type_hints["greengrass"])
|
|
4461
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"])
|
|
4462
4475
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4463
4476
|
if greengrass is not None:
|
|
4464
4477
|
self._values["greengrass"] = greengrass
|
|
4465
4478
|
if greengrass_v2 is not None:
|
|
4466
4479
|
self._values["greengrass_v2"] = greengrass_v2
|
|
4480
|
+
if siemens_ie is not None:
|
|
4481
|
+
self._values["siemens_ie"] = siemens_ie
|
|
4467
4482
|
|
|
4468
4483
|
@builtins.property
|
|
4469
4484
|
def greengrass(
|
|
@@ -4487,6 +4502,17 @@ class CfnGateway(
|
|
|
4487
4502
|
result = self._values.get("greengrass_v2")
|
|
4488
4503
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGateway.GreengrassV2Property"]], result)
|
|
4489
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
|
+
|
|
4490
4516
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4491
4517
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4492
4518
|
|
|
@@ -4606,6 +4632,58 @@ class CfnGateway(
|
|
|
4606
4632
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4607
4633
|
)
|
|
4608
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
|
+
|
|
4609
4687
|
|
|
4610
4688
|
@jsii.data_type(
|
|
4611
4689
|
jsii_type="aws-cdk-lib.aws_iotsitewise.CfnGatewayProps",
|
|
@@ -4650,6 +4728,9 @@ class CfnGatewayProps:
|
|
|
4650
4728
|
),
|
|
4651
4729
|
greengrass_v2=iotsitewise.CfnGateway.GreengrassV2Property(
|
|
4652
4730
|
core_device_thing_name="coreDeviceThingName"
|
|
4731
|
+
),
|
|
4732
|
+
siemens_ie=iotsitewise.CfnGateway.SiemensIEProperty(
|
|
4733
|
+
iot_core_thing_name="iotCoreThingName"
|
|
4653
4734
|
)
|
|
4654
4735
|
),
|
|
4655
4736
|
|
|
@@ -6166,6 +6247,7 @@ def _typecheckingstub__d661bcb76cb5472e741e4e4c43ddf5d8a0dc76895775f2d9c80eb435e
|
|
|
6166
6247
|
*,
|
|
6167
6248
|
greengrass: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGateway.GreengrassProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6168
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,
|
|
6169
6251
|
) -> None:
|
|
6170
6252
|
"""Type checking stubs"""
|
|
6171
6253
|
pass
|
|
@@ -6184,6 +6266,13 @@ def _typecheckingstub__aaa34ef3ffa417e0d8477bdf5fd83220079621fb80b75a881ad5c04a9
|
|
|
6184
6266
|
"""Type checking stubs"""
|
|
6185
6267
|
pass
|
|
6186
6268
|
|
|
6269
|
+
def _typecheckingstub__c5c36e991ce3543e0259817d60bf936941834dcd087997082364d6b61a83223f(
|
|
6270
|
+
*,
|
|
6271
|
+
iot_core_thing_name: builtins.str,
|
|
6272
|
+
) -> None:
|
|
6273
|
+
"""Type checking stubs"""
|
|
6274
|
+
pass
|
|
6275
|
+
|
|
6187
6276
|
def _typecheckingstub__96b726a7f6953ced23491d12afc63dd3960b8d44e1734397f1db9d45a0cf6793(
|
|
6188
6277
|
*,
|
|
6189
6278
|
gateway_name: builtins.str,
|
|
@@ -4941,6 +4941,13 @@ class CfnWirelessDevice(
|
|
|
4941
4941
|
),
|
|
4942
4942
|
dev_eui="devEui",
|
|
4943
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
|
+
),
|
|
4944
4951
|
otaa_v10_x=iotwireless.CfnWirelessDevice.OtaaV10xProperty(
|
|
4945
4952
|
app_eui="appEui",
|
|
4946
4953
|
app_key="appKey"
|
|
@@ -5354,6 +5361,156 @@ class CfnWirelessDevice(
|
|
|
5354
5361
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
5355
5362
|
)
|
|
5356
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
|
+
|
|
5357
5514
|
@jsii.data_type(
|
|
5358
5515
|
jsii_type="aws-cdk-lib.aws_iotwireless.CfnWirelessDevice.LoRaWANDeviceProperty",
|
|
5359
5516
|
jsii_struct_bases=[],
|
|
@@ -5362,6 +5519,7 @@ class CfnWirelessDevice(
|
|
|
5362
5519
|
"abp_v11": "abpV11",
|
|
5363
5520
|
"dev_eui": "devEui",
|
|
5364
5521
|
"device_profile_id": "deviceProfileId",
|
|
5522
|
+
"f_ports": "fPorts",
|
|
5365
5523
|
"otaa_v10_x": "otaaV10X",
|
|
5366
5524
|
"otaa_v11": "otaaV11",
|
|
5367
5525
|
"service_profile_id": "serviceProfileId",
|
|
@@ -5375,6 +5533,7 @@ class CfnWirelessDevice(
|
|
|
5375
5533
|
abp_v11: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWirelessDevice.AbpV11Property", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5376
5534
|
dev_eui: typing.Optional[builtins.str] = None,
|
|
5377
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,
|
|
5378
5537
|
otaa_v10_x: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWirelessDevice.OtaaV10xProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5379
5538
|
otaa_v11: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWirelessDevice.OtaaV11Property", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5380
5539
|
service_profile_id: typing.Optional[builtins.str] = None,
|
|
@@ -5385,6 +5544,7 @@ class CfnWirelessDevice(
|
|
|
5385
5544
|
:param abp_v11: ABP device object for create APIs for v1.1.
|
|
5386
5545
|
:param dev_eui: The DevEUI value.
|
|
5387
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.
|
|
5388
5548
|
:param otaa_v10_x: OTAA device object for create APIs for v1.0.x.
|
|
5389
5549
|
:param otaa_v11: OTAA device object for v1.1 for create APIs.
|
|
5390
5550
|
:param service_profile_id: The ID of the service profile.
|
|
@@ -5417,6 +5577,13 @@ class CfnWirelessDevice(
|
|
|
5417
5577
|
),
|
|
5418
5578
|
dev_eui="devEui",
|
|
5419
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
|
+
),
|
|
5420
5587
|
otaa_v10_x=iotwireless.CfnWirelessDevice.OtaaV10xProperty(
|
|
5421
5588
|
app_eui="appEui",
|
|
5422
5589
|
app_key="appKey"
|
|
@@ -5435,6 +5602,7 @@ class CfnWirelessDevice(
|
|
|
5435
5602
|
check_type(argname="argument abp_v11", value=abp_v11, expected_type=type_hints["abp_v11"])
|
|
5436
5603
|
check_type(argname="argument dev_eui", value=dev_eui, expected_type=type_hints["dev_eui"])
|
|
5437
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"])
|
|
5438
5606
|
check_type(argname="argument otaa_v10_x", value=otaa_v10_x, expected_type=type_hints["otaa_v10_x"])
|
|
5439
5607
|
check_type(argname="argument otaa_v11", value=otaa_v11, expected_type=type_hints["otaa_v11"])
|
|
5440
5608
|
check_type(argname="argument service_profile_id", value=service_profile_id, expected_type=type_hints["service_profile_id"])
|
|
@@ -5447,6 +5615,8 @@ class CfnWirelessDevice(
|
|
|
5447
5615
|
self._values["dev_eui"] = dev_eui
|
|
5448
5616
|
if device_profile_id is not None:
|
|
5449
5617
|
self._values["device_profile_id"] = device_profile_id
|
|
5618
|
+
if f_ports is not None:
|
|
5619
|
+
self._values["f_ports"] = f_ports
|
|
5450
5620
|
if otaa_v10_x is not None:
|
|
5451
5621
|
self._values["otaa_v10_x"] = otaa_v10_x
|
|
5452
5622
|
if otaa_v11 is not None:
|
|
@@ -5494,6 +5664,17 @@ class CfnWirelessDevice(
|
|
|
5494
5664
|
result = self._values.get("device_profile_id")
|
|
5495
5665
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
5496
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
|
+
|
|
5497
5678
|
@builtins.property
|
|
5498
5679
|
def otaa_v10_x(
|
|
5499
5680
|
self,
|
|
@@ -6403,6 +6584,13 @@ class CfnWirelessDeviceProps:
|
|
|
6403
6584
|
),
|
|
6404
6585
|
dev_eui="devEui",
|
|
6405
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
|
+
),
|
|
6406
6594
|
otaa_v10_x=iotwireless.CfnWirelessDevice.OtaaV10xProperty(
|
|
6407
6595
|
app_eui="appEui",
|
|
6408
6596
|
app_key="appKey"
|
|
@@ -7878,12 +8066,29 @@ def _typecheckingstub__60d86251ec9e15886b39ab32d3b20d4a624d17a6f00dd271dfc743f0d
|
|
|
7878
8066
|
"""Type checking stubs"""
|
|
7879
8067
|
pass
|
|
7880
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
|
+
|
|
7881
8085
|
def _typecheckingstub__79b613fcb6e4bec4dd04e0ec3aefb63244dbaff286fed6d7327bebfa7aed6cba(
|
|
7882
8086
|
*,
|
|
7883
8087
|
abp_v10_x: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWirelessDevice.AbpV10xProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7884
8088
|
abp_v11: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWirelessDevice.AbpV11Property, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7885
8089
|
dev_eui: typing.Optional[builtins.str] = None,
|
|
7886
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,
|
|
7887
8092
|
otaa_v10_x: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWirelessDevice.OtaaV10xProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7888
8093
|
otaa_v11: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWirelessDevice.OtaaV11Property, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7889
8094
|
service_profile_id: typing.Optional[builtins.str] = None,
|