Skip to content
v2.275.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 .

loRaWanUpdateGatewayTaskEntryoptionalIResolvable | CfnTaskDefinition.LoRaWANUpdateGatewayTaskEntryPropertylo_ra_wan_update_gateway_task_entryoptionaltyping.Union[IResolvable, LoRaWANUpdateGatewayTaskEntryProperty]loRaWanUpdateGatewayTaskEntryoptionalIResolvableLoRaWanUpdateGatewayTaskEntryoptionalIResolvableLoRaWanUpdateGatewayTaskEntryoptionalinterface{}#
LoRaWANUpdateGatewayTaskEntry 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.

taskDefinitionTypeoptionalstringtask_definition_typeoptionalstrtaskDefinitionTypeoptionalStringTaskDefinitionTypeoptionalstringTaskDefinitionTypeoptional*string#
A filter to list only the wireless gateway task definitions that use this task definition type.
updateoptionalIResolvable | CfnTaskDefinition.UpdateWirelessGatewayTaskCreatePropertyupdateoptionaltyping.Union[IResolvable, UpdateWirelessGatewayTaskCreateProperty]updateoptionalIResolvableUpdateoptionalIResolvableUpdateoptionalinterface{}#
Information about the gateways to update.