Skip to content
v2.274.0

CfnTaskDefinitionProps Struct ​

Properties for defining a CfnTaskDefinition.

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 cfnTaskDefinitionProps: iotwireless.CfnTaskDefinitionProps = {
  autoCreateTasks: false,

  // the properties below are optional
  loRaWanUpdateGatewayTaskEntry: {
    currentVersion: {
      model: 'model',
      packageVersion: 'packageVersion',
      station: 'station',
    },
    updateVersion: {
      model: 'model',
      packageVersion: 'packageVersion',
      station: 'station',
    },
  },
  name: 'name',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  taskDefinitionType: 'taskDefinitionType',
  update: {
    loRaWan: {
      currentVersion: {
        model: 'model',
        packageVersion: 'packageVersion',
        station: 'station',
      },
      sigKeyCrc: 123,
      updateSignature: 'updateSignature',
      updateVersion: {
        model: 'model',
        packageVersion: 'packageVersion',
        station: 'station',
      },
    },
    updateDataRole: 'updateDataRole',
    updateDataSource: 'updateDataSource',
  },
};

Properties ​

autoCreateTasksboolean | IResolvableauto_create_taskstyping.Union[bool, IResolvable]autoCreateTasksBooleanAutoCreateTasksboolAutoCreateTasksinterface{}required#
Whether to automatically create tasks using this task definition for all gateways with the specified current version.

If false , the task must be created by calling CreateWirelessGatewayTask .

loRaWanUpdateGatewayTaskEntryIResolvable | CfnTaskDefinition.LoRaWANUpdateGatewayTaskEntryPropertylo_ra_wan_update_gateway_task_entrytyping.Union[IResolvable, LoRaWANUpdateGatewayTaskEntryProperty]loRaWanUpdateGatewayTaskEntryIResolvableLoRaWanUpdateGatewayTaskEntryIResolvableLoRaWanUpdateGatewayTaskEntryinterface{}#
LoRaWANUpdateGatewayTaskEntry object.
namestringnamestrnameStringNamestringName*string#
The name of the new resource.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]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.

taskDefinitionTypestringtask_definition_typestrtaskDefinitionTypeStringTaskDefinitionTypestringTaskDefinitionType*string#
A filter to list only the wireless gateway task definitions that use this task definition type.
Information about the gateways to update.