aws-cdk-lib.aws_iotwireless.CfnTaskDefinitionProps

interface CfnTaskDefinitionProps

LanguageType name
.NETAmazon.CDK.AWS.IoTWireless.CfnTaskDefinitionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotwireless#CfnTaskDefinitionProps
Javasoftware.amazon.awscdk.services.iotwireless.CfnTaskDefinitionProps
Pythonaws_cdk.aws_iotwireless.CfnTaskDefinitionProps
TypeScript aws-cdk-lib » aws_iotwireless » CfnTaskDefinitionProps

Properties for defining a CfnTaskDefinition.

Example

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

NameTypeDescription
autoCreateTasksboolean | IResolvableWhether to automatically create tasks using this task definition for all gateways with the specified current version.
loRaWanUpdateGatewayTaskEntry?IResolvable | LoRaWANUpdateGatewayTaskEntryPropertyAWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry.
name?stringThe name of the new resource.
tags?CfnTag[]The tags are an array of key-value pairs to attach to the specified resource.
taskDefinitionType?stringAWS::IoTWireless::TaskDefinition.TaskDefinitionType.
update?IResolvable | UpdateWirelessGatewayTaskCreatePropertyInformation about the gateways to update.

autoCreateTasks

Type: boolean | IResolvable

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?

Type: IResolvable | LoRaWANUpdateGatewayTaskEntryProperty (optional)

AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry.


name?

Type: string (optional)

The name of the new resource.


tags?

Type: CfnTag[] (optional)

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?

Type: string (optional)

AWS::IoTWireless::TaskDefinition.TaskDefinitionType.


update?

Type: IResolvable | UpdateWirelessGatewayTaskCreateProperty (optional)

Information about the gateways to update.