CfnWirelessDeviceImportTaskPropsMixin

class aws_cdk.mixins_preview.aws_iotwireless.mixins.CfnWirelessDeviceImportTaskPropsMixin(props, *, strategy=None)

Bases: Mixin

Information 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 DeviceCreationFile and the Role .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdeviceimporttask.html

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:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

SidewalkProperty

class CfnWirelessDeviceImportTaskPropsMixin.SidewalkProperty(*, device_creation_file=None, device_creation_file_list=None, role=None, sidewalk_manufacturing_sn=None)

Bases: object

Sidewalk-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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdeviceimporttask-sidewalk.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdeviceimporttask-sidewalk.html#cfn-iotwireless-wirelessdeviceimporttask-sidewalk-devicecreationfile

device_creation_file_list

List of Sidewalk devices that are added to the import task.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdeviceimporttask-sidewalk.html#cfn-iotwireless-wirelessdeviceimporttask-sidewalk-devicecreationfilelist

role

The IAM role that allows to access the CSV file in the S3 bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdeviceimporttask-sidewalk.html#cfn-iotwireless-wirelessdeviceimporttask-sidewalk-role

sidewalk_manufacturing_sn

The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdeviceimporttask-sidewalk.html#cfn-iotwireless-wirelessdeviceimporttask-sidewalk-sidewalkmanufacturingsn