CfnWirelessDeviceImportTaskProps Struct
Properties for defining a CfnWirelessDeviceImportTask.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotwireless as iotwireless } from 'aws-cdk-lib';
const cfnWirelessDeviceImportTaskProps: iotwireless.CfnWirelessDeviceImportTaskProps = {
destinationName: 'destinationName',
sidewalk: {
deviceCreationFile: 'deviceCreationFile',
deviceCreationFileList: ['deviceCreationFileList'],
role: 'role',
sidewalkManufacturingSn: 'sidewalkManufacturingSn',
},
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotwireless as iotwireless
cfn_wireless_device_import_task_props = iotwireless.CfnWirelessDeviceImportTaskProps(
destination_name="destinationName",
sidewalk=iotwireless.CfnWirelessDeviceImportTask.SidewalkProperty(
device_creation_file="deviceCreationFile",
device_creation_file_list=["deviceCreationFileList"],
role="role",
sidewalk_manufacturing_sn="sidewalkManufacturingSn"
),
# the properties below are optional
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotwireless.*;
CfnWirelessDeviceImportTaskProps cfnWirelessDeviceImportTaskProps = CfnWirelessDeviceImportTaskProps.builder()
.destinationName("destinationName")
.sidewalk(SidewalkProperty.builder()
.deviceCreationFile("deviceCreationFile")
.deviceCreationFileList(List.of("deviceCreationFileList"))
.role("role")
.sidewalkManufacturingSn("sidewalkManufacturingSn")
.build())
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTWireless;
var cfnWirelessDeviceImportTaskProps = new CfnWirelessDeviceImportTaskProps {
DestinationName = "destinationName",
Sidewalk = new SidewalkProperty {
DeviceCreationFile = "deviceCreationFile",
DeviceCreationFileList = new [] { "deviceCreationFileList" },
Role = "role",
SidewalkManufacturingSn = "sidewalkManufacturingSn"
},
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnWirelessDeviceImportTaskProps := &CfnWirelessDeviceImportTaskProps{
DestinationName: jsii.String("destinationName"),
Sidewalk: &SidewalkProperty{
DeviceCreationFile: jsii.String("deviceCreationFile"),
DeviceCreationFileList: []*string{
jsii.String("deviceCreationFileList"),
},
Role: jsii.String("role"),
SidewalkManufacturingSn: jsii.String("sidewalkManufacturingSn"),
},
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
destinationNamestringdestination_namestrdestinationNameStringDestinationNamestringDestinationName*string required #The name of the destination that describes the IoT rule to route messages from the Sidewalk devices in the import task to other applications.
sidewalkIResolvable | CfnWirelessDeviceImportTask.sidewalktyping.Union[IResolvable, SidewalkProperty]sidewalkIResolvableSidewalkIResolvableSidewalkinterface{} required #The Sidewalk-related information of the wireless device import task.