# CfnTaskDefinitionProps

Properties for defining a `CfnTaskDefinition`.

Extends: CfnTaskDefinitionProps
Used as props by: CfnTaskDefinition

- Source: Generated code

## 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

- `autoCreateTasks`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (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` .

- `loRaWanUpdateGatewayTaskEntry`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTaskDefinition.LoRaWANUpdateGatewayTaskEntryProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iotwireless.CfnTaskDefinition.LoRaWANUpdateGatewayTaskEntryProperty.html) — LoRaWANUpdateGatewayTaskEntry object.

- `name`: string — The name of the new resource.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — 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.

- `taskDefinitionType`: string — A filter to list only the wireless gateway task definitions that use this task definition type.

- `update`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTaskDefinition.UpdateWirelessGatewayTaskCreateProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iotwireless.CfnTaskDefinition.UpdateWirelessGatewayTaskCreateProperty.html) — Information about the gateways to update.
