Skip to content
v2.275.0

CfnWirelessDeviceProps Struct ​

Properties for defining a CfnWirelessDevice.

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 cfnWirelessDeviceProps: iotwireless.CfnWirelessDeviceProps = {
  destinationName: 'destinationName',
  type: 'type',

  // the properties below are optional
  description: 'description',
  lastUplinkReceivedAt: 'lastUplinkReceivedAt',
  loRaWan: {
    abpV10X: {
      devAddr: 'devAddr',
      sessionKeys: {
        appSKey: 'appSKey',
        nwkSKey: 'nwkSKey',
      },
    },
    abpV11: {
      devAddr: 'devAddr',
      sessionKeys: {
        appSKey: 'appSKey',
        fNwkSIntKey: 'fNwkSIntKey',
        nwkSEncKey: 'nwkSEncKey',
        sNwkSIntKey: 'sNwkSIntKey',
      },
    },
    devEui: 'devEui',
    deviceProfileId: 'deviceProfileId',
    fPorts: {
      applications: [{
        destinationName: 'destinationName',
        fPort: 123,
        type: 'type',
      }],
    },
    otaaV10X: {
      appEui: 'appEui',
      appKey: 'appKey',
    },
    otaaV11: {
      appKey: 'appKey',
      joinEui: 'joinEui',
      nwkKey: 'nwkKey',
    },
    serviceProfileId: 'serviceProfileId',
  },
  name: 'name',
  positioning: 'positioning',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  thingArn: 'thingArn',
};

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the new resource.

Maximum length is 2048.

destinationNamestringdestination_namestrdestinationNameStringDestinationNamestringDestinationName*stringrequired#
The name of the destination to assign to the new wireless device.

Can have only have alphanumeric, - (hyphen) and _ (underscore) characters and it can't have any spaces.

lastUplinkReceivedAtoptionalstringlast_uplink_received_atoptionalstrlastUplinkReceivedAtoptionalStringLastUplinkReceivedAtoptionalstringLastUplinkReceivedAtoptional*string#
The date and time when the most recent uplink was received.
loRaWanoptionalIResolvable | CfnWirelessDevice.LoRaWANDevicePropertylo_ra_wanoptionaltyping.Union[IResolvable, LoRaWANDeviceProperty]loRaWanoptionalIResolvableLoRaWanoptionalIResolvableLoRaWanoptionalinterface{}#
The device configuration information to use to create the wireless device.

Must be at least one of OtaaV10x, OtaaV11, AbpV11, or AbpV10x.

nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string#
The name of the new resource.
positioningoptionalstringpositioningoptionalstrpositioningoptionalStringPositioningoptionalstringPositioningoptional*string#
FPort values for the GNSS, Stream, and ClockSync functions of the positioning information.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags are an array of key-value pairs to attach to the specified resource.

Tags can have a minimum of 0 and a maximum of 50 items.

thingArnoptionalstringthing_arnoptionalstrthingArnoptionalStringThingArnoptionalstringThingArnoptional*string#
The ARN of the thing to associate with the wireless device.
typestringtypestrtypeStringTypestringType*stringrequired#
The wireless device type.