Skip to content
v2.277.0

LoRaWANDeviceProperty Struct ​

LoRaWAN object for create functions.

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 loRaWANDeviceProperty: iotwireless.CfnWirelessDevice.LoRaWANDeviceProperty = {
  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',
};
python
# 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

lo_ra_wan_device_property = iotwireless.CfnWirelessDevice.LoRaWANDeviceProperty(
    abp_v10_x=iotwireless.CfnWirelessDevice.AbpV10xProperty(
        dev_addr="devAddr",
        session_keys=iotwireless.CfnWirelessDevice.SessionKeysAbpV10xProperty(
            app_s_key="appSKey",
            nwk_s_key="nwkSKey"
        )
    ),
    abp_v11=iotwireless.CfnWirelessDevice.AbpV11Property(
        dev_addr="devAddr",
        session_keys=iotwireless.CfnWirelessDevice.SessionKeysAbpV11Property(
            app_s_key="appSKey",
            f_nwk_s_int_key="fNwkSIntKey",
            nwk_s_enc_key="nwkSEncKey",
            s_nwk_s_int_key="sNwkSIntKey"
        )
    ),
    dev_eui="devEui",
    device_profile_id="deviceProfileId",
    f_ports=iotwireless.CfnWirelessDevice.FPortsProperty(
        applications=[iotwireless.CfnWirelessDevice.ApplicationProperty(
            destination_name="destinationName",
            f_port=123,
            type="type"
        )]
    ),
    otaa_v10_x=iotwireless.CfnWirelessDevice.OtaaV10xProperty(
        app_eui="appEui",
        app_key="appKey"
    ),
    otaa_v11=iotwireless.CfnWirelessDevice.OtaaV11Property(
        app_key="appKey",
        join_eui="joinEui",
        nwk_key="nwkKey"
    ),
    service_profile_id="serviceProfileId"
)
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.*;

LoRaWANDeviceProperty loRaWANDeviceProperty = LoRaWANDeviceProperty.builder()
        .abpV10X(AbpV10xProperty.builder()
                .devAddr("devAddr")
                .sessionKeys(SessionKeysAbpV10xProperty.builder()
                        .appSKey("appSKey")
                        .nwkSKey("nwkSKey")
                        .build())
                .build())
        .abpV11(AbpV11Property.builder()
                .devAddr("devAddr")
                .sessionKeys(SessionKeysAbpV11Property.builder()
                        .appSKey("appSKey")
                        .fNwkSIntKey("fNwkSIntKey")
                        .nwkSEncKey("nwkSEncKey")
                        .sNwkSIntKey("sNwkSIntKey")
                        .build())
                .build())
        .devEui("devEui")
        .deviceProfileId("deviceProfileId")
        .fPorts(FPortsProperty.builder()
                .applications(List.of(ApplicationProperty.builder()
                        .destinationName("destinationName")
                        .fPort(123)
                        .type("type")
                        .build()))
                .build())
        .otaaV10X(OtaaV10xProperty.builder()
                .appEui("appEui")
                .appKey("appKey")
                .build())
        .otaaV11(OtaaV11Property.builder()
                .appKey("appKey")
                .joinEui("joinEui")
                .nwkKey("nwkKey")
                .build())
        .serviceProfileId("serviceProfileId")
        .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 loRaWANDeviceProperty = new LoRaWANDeviceProperty {
    AbpV10X = new AbpV10xProperty {
        DevAddr = "devAddr",
        SessionKeys = new SessionKeysAbpV10xProperty {
            AppSKey = "appSKey",
            NwkSKey = "nwkSKey"
        }
    },
    AbpV11 = new AbpV11Property {
        DevAddr = "devAddr",
        SessionKeys = new SessionKeysAbpV11Property {
            AppSKey = "appSKey",
            FNwkSIntKey = "fNwkSIntKey",
            NwkSEncKey = "nwkSEncKey",
            SNwkSIntKey = "sNwkSIntKey"
        }
    },
    DevEui = "devEui",
    DeviceProfileId = "deviceProfileId",
    FPorts = new FPortsProperty {
        Applications = new [] { new ApplicationProperty {
            DestinationName = "destinationName",
            FPort = 123,
            Type = "type"
        } }
    },
    OtaaV10X = new OtaaV10xProperty {
        AppEui = "appEui",
        AppKey = "appKey"
    },
    OtaaV11 = new OtaaV11Property {
        AppKey = "appKey",
        JoinEui = "joinEui",
        NwkKey = "nwkKey"
    },
    ServiceProfileId = "serviceProfileId"
};
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"

loRaWANDeviceProperty := &LoRaWANDeviceProperty{
	AbpV10X: &AbpV10xProperty{
		DevAddr: jsii.String("devAddr"),
		SessionKeys: &SessionKeysAbpV10xProperty{
			AppSKey: jsii.String("appSKey"),
			NwkSKey: jsii.String("nwkSKey"),
		},
	},
	AbpV11: &AbpV11Property{
		DevAddr: jsii.String("devAddr"),
		SessionKeys: &SessionKeysAbpV11Property{
			AppSKey: jsii.String("appSKey"),
			FNwkSIntKey: jsii.String("fNwkSIntKey"),
			NwkSEncKey: jsii.String("nwkSEncKey"),
			SNwkSIntKey: jsii.String("sNwkSIntKey"),
		},
	},
	DevEui: jsii.String("devEui"),
	DeviceProfileId: jsii.String("deviceProfileId"),
	FPorts: &FPortsProperty{
		Applications: []interface{}{
			&ApplicationProperty{
				DestinationName: jsii.String("destinationName"),
				FPort: jsii.Number(123),
				Type: jsii.String("type"),
			},
		},
	},
	OtaaV10X: &OtaaV10xProperty{
		AppEui: jsii.String("appEui"),
		AppKey: jsii.String("appKey"),
	},
	OtaaV11: &OtaaV11Property{
		AppKey: jsii.String("appKey"),
		JoinEui: jsii.String("joinEui"),
		NwkKey: jsii.String("nwkKey"),
	},
	ServiceProfileId: jsii.String("serviceProfileId"),
}

Properties ​

abpV10XoptionalIResolvable | CfnWirelessDevice.AbpV10xPropertyabp_v10_xoptionaltyping.Union[IResolvable, AbpV10xProperty]abpV10XoptionalIResolvableAbpV10XoptionalIResolvableAbpV10Xoptionalinterface{}#
ABP device object for LoRaWAN specification v1.0.x.
abpV11optionalIResolvable | CfnWirelessDevice.AbpV11Propertyabp_v11optionaltyping.Union[IResolvable, AbpV11Property]abpV11optionalIResolvableAbpV11optionalIResolvableAbpV11optionalinterface{}#
ABP device object for create APIs for v1.1.
devEuioptionalstringdev_euioptionalstrdevEuioptionalStringDevEuioptionalstringDevEuioptional*string#
The DevEUI value.
deviceProfileIdoptionalstringdevice_profile_idoptionalstrdeviceProfileIdoptionalStringDeviceProfileIdoptionalstringDeviceProfileIdoptional*string#
The ID of the device profile for the new wireless device.
fPortsoptionalIResolvable | CfnWirelessDevice.FPortsPropertyf_portsoptionaltyping.Union[IResolvable, FPortsProperty]fPortsoptionalIResolvableFPortsoptionalIResolvableFPortsoptionalinterface{}#
List of FPort assigned for different LoRaWAN application packages to use.
otaaV10XoptionalIResolvable | CfnWirelessDevice.OtaaV10xPropertyotaa_v10_xoptionaltyping.Union[IResolvable, OtaaV10xProperty]otaaV10XoptionalIResolvableOtaaV10XoptionalIResolvableOtaaV10Xoptionalinterface{}#
OTAA device object for create APIs for v1.0.x.
otaaV11optionalIResolvable | CfnWirelessDevice.OtaaV11Propertyotaa_v11optionaltyping.Union[IResolvable, OtaaV11Property]otaaV11optionalIResolvableOtaaV11optionalIResolvableOtaaV11optionalinterface{}#
OTAA device object for v1.1 for create APIs.
serviceProfileIdoptionalstringservice_profile_idoptionalstrserviceProfileIdoptionalStringServiceProfileIdoptionalstringServiceProfileIdoptional*string#
The ID of the service profile.