CfnWirelessDeviceImportTaskPropsMixin
- class aws_cdk.mixins_preview.aws_iotwireless.mixins.CfnWirelessDeviceImportTaskPropsMixin(props, *, strategy=None)
Bases:
MixinInformation about an import task for wireless devices.
When creating the resource, either create a single wireless device import task using the Sidewalk manufacturing serial number (SMSN) of the wireless device, or create an import task for multiple devices by specifying both the
DeviceCreationFileand theRole.- See:
- CloudformationResource:
AWS::IoTWireless::WirelessDeviceImportTask
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_iotwireless import mixins as iotwireless_mixins cfn_wireless_device_import_task_props_mixin = iotwireless_mixins.CfnWirelessDeviceImportTaskPropsMixin(iotwireless_mixins.CfnWirelessDeviceImportTaskMixinProps( destination_name="destinationName", sidewalk=iotwireless_mixins.CfnWirelessDeviceImportTaskPropsMixin.SidewalkProperty( device_creation_file="deviceCreationFile", device_creation_file_list=["deviceCreationFileList"], role="role", sidewalk_manufacturing_sn="sidewalkManufacturingSn" ), tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::IoTWireless::WirelessDeviceImportTask.- Parameters:
props (
Union[CfnWirelessDeviceImportTaskMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['destinationName', 'sidewalk', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
SidewalkProperty
- class CfnWirelessDeviceImportTaskPropsMixin.SidewalkProperty(*, device_creation_file=None, device_creation_file_list=None, role=None, sidewalk_manufacturing_sn=None)
Bases:
objectSidewalk-related information about a wireless device import task.
- Parameters:
device_creation_file (
Optional[str]) – The CSV file contained in an S3 bucket that’s used for adding devices to an import task.device_creation_file_list (
Optional[Sequence[str]]) – List of Sidewalk devices that are added to the import task.role (
Optional[str]) – The IAM role that allows to access the CSV file in the S3 bucket.sidewalk_manufacturing_sn (
Optional[str]) – The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_iotwireless import mixins as iotwireless_mixins sidewalk_property = iotwireless_mixins.CfnWirelessDeviceImportTaskPropsMixin.SidewalkProperty( device_creation_file="deviceCreationFile", device_creation_file_list=["deviceCreationFileList"], role="role", sidewalk_manufacturing_sn="sidewalkManufacturingSn" )
Attributes
- device_creation_file
The CSV file contained in an S3 bucket that’s used for adding devices to an import task.
- device_creation_file_list
List of Sidewalk devices that are added to the import task.
- role
The IAM role that allows to access the CSV file in the S3 bucket.
- sidewalk_manufacturing_sn
The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.