Skip to content
v2.278.0

CfnDeviceProfileProps Struct ​

Properties for defining a CfnDeviceProfile.

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 cfnDeviceProfileProps: iotwireless.CfnDeviceProfileProps = {
  loRaWan: {
    classBTimeout: 123,
    classCTimeout: 123,
    factoryPresetFreqsList: [123],
    macVersion: 'macVersion',
    maxDutyCycle: 123,
    maxEirp: 123,
    pingSlotDr: 123,
    pingSlotFreq: 123,
    pingSlotPeriod: 123,
    regParamsRevision: 'regParamsRevision',
    rfRegion: 'rfRegion',
    rxDataRate2: 123,
    rxDelay1: 123,
    rxDrOffset1: 123,
    rxFreq2: 123,
    supports32BitFCnt: false,
    supportsClassB: false,
    supportsClassC: false,
    supportsJoin: false,
  },
  name: 'name',
  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_device_profile_props = iotwireless.CfnDeviceProfileProps(
    lo_ra_wan=iotwireless.CfnDeviceProfile.LoRaWANDeviceProfileProperty(
        class_b_timeout=123,
        class_c_timeout=123,
        factory_preset_freqs_list=[123],
        mac_version="macVersion",
        max_duty_cycle=123,
        max_eirp=123,
        ping_slot_dr=123,
        ping_slot_freq=123,
        ping_slot_period=123,
        reg_params_revision="regParamsRevision",
        rf_region="rfRegion",
        rx_data_rate2=123,
        rx_delay1=123,
        rx_dr_offset1=123,
        rx_freq2=123,
        supports32_bit_f_cnt=False,
        supports_class_b=False,
        supports_class_c=False,
        supports_join=False
    ),
    name="name",
    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.*;

CfnDeviceProfileProps cfnDeviceProfileProps = CfnDeviceProfileProps.builder()
        .loRaWan(LoRaWANDeviceProfileProperty.builder()
                .classBTimeout(123)
                .classCTimeout(123)
                .factoryPresetFreqsList(List.of(123))
                .macVersion("macVersion")
                .maxDutyCycle(123)
                .maxEirp(123)
                .pingSlotDr(123)
                .pingSlotFreq(123)
                .pingSlotPeriod(123)
                .regParamsRevision("regParamsRevision")
                .rfRegion("rfRegion")
                .rxDataRate2(123)
                .rxDelay1(123)
                .rxDrOffset1(123)
                .rxFreq2(123)
                .supports32BitFCnt(false)
                .supportsClassB(false)
                .supportsClassC(false)
                .supportsJoin(false)
                .build())
        .name("name")
        .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 cfnDeviceProfileProps = new CfnDeviceProfileProps {
    LoRaWan = new LoRaWANDeviceProfileProperty {
        ClassBTimeout = 123,
        ClassCTimeout = 123,
        FactoryPresetFreqsList = new [] { 123 },
        MacVersion = "macVersion",
        MaxDutyCycle = 123,
        MaxEirp = 123,
        PingSlotDr = 123,
        PingSlotFreq = 123,
        PingSlotPeriod = 123,
        RegParamsRevision = "regParamsRevision",
        RfRegion = "rfRegion",
        RxDataRate2 = 123,
        RxDelay1 = 123,
        RxDrOffset1 = 123,
        RxFreq2 = 123,
        Supports32BitFCnt = false,
        SupportsClassB = false,
        SupportsClassC = false,
        SupportsJoin = false
    },
    Name = "name",
    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"

cfnDeviceProfileProps := &CfnDeviceProfileProps{
	LoRaWan: &LoRaWANDeviceProfileProperty{
		ClassBTimeout: jsii.Number(123),
		ClassCTimeout: jsii.Number(123),
		FactoryPresetFreqsList: []interface{}{
			jsii.Number(123),
		},
		MacVersion: jsii.String("macVersion"),
		MaxDutyCycle: jsii.Number(123),
		MaxEirp: jsii.Number(123),
		PingSlotDr: jsii.Number(123),
		PingSlotFreq: jsii.Number(123),
		PingSlotPeriod: jsii.Number(123),
		RegParamsRevision: jsii.String("regParamsRevision"),
		RfRegion: jsii.String("rfRegion"),
		RxDataRate2: jsii.Number(123),
		RxDelay1: jsii.Number(123),
		RxDrOffset1: jsii.Number(123),
		RxFreq2: jsii.Number(123),
		Supports32BitFCnt: jsii.Boolean(false),
		SupportsClassB: jsii.Boolean(false),
		SupportsClassC: jsii.Boolean(false),
		SupportsJoin: jsii.Boolean(false),
	},
	Name: jsii.String("name"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

loRaWanoptionalIResolvable | CfnDeviceProfile.LoRaWANDeviceProfilePropertylo_ra_wanoptionaltyping.Union[IResolvable, LoRaWANDeviceProfileProperty]loRaWanoptionalIResolvableLoRaWanoptionalIResolvableLoRaWanoptionalinterface{} #
LoRaWAN device profile object.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the new resource.
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.