Interface ICfnTaskDefinitionProps
Properties for defining a CfnTaskDefinition
.
Namespace: Amazon.CDK.AWS.IoTWireless
Assembly: Amazon.CDK.AWS.IoTWireless.dll
Syntax (csharp)
public interface ICfnTaskDefinitionProps
Syntax (vb)
Public Interface ICfnTaskDefinitionProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 cfnTaskDefinitionProps = new CfnTaskDefinitionProps {
AutoCreateTasks = false,
// the properties below are optional
LoRaWanUpdateGatewayTaskEntry = new LoRaWANUpdateGatewayTaskEntryProperty {
CurrentVersion = new LoRaWANGatewayVersionProperty {
Model = "model",
PackageVersion = "packageVersion",
Station = "station"
},
UpdateVersion = new LoRaWANGatewayVersionProperty {
Model = "model",
PackageVersion = "packageVersion",
Station = "station"
}
},
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TaskDefinitionType = "taskDefinitionType",
Update = new UpdateWirelessGatewayTaskCreateProperty {
LoRaWan = new LoRaWANUpdateGatewayTaskCreateProperty {
CurrentVersion = new LoRaWANGatewayVersionProperty {
Model = "model",
PackageVersion = "packageVersion",
Station = "station"
},
SigKeyCrc = 123,
UpdateSignature = "updateSignature",
UpdateVersion = new LoRaWANGatewayVersionProperty {
Model = "model",
PackageVersion = "packageVersion",
Station = "station"
}
},
UpdateDataRole = "updateDataRole",
UpdateDataSource = "updateDataSource"
}
};
Synopsis
Properties
AutoCreateTasks | Whether to automatically create tasks using this task definition for all gateways with the specified current version. |
LoRaWanUpdateGatewayTaskEntry |
|
Name | The name of the new resource. |
Tags | The tags are an array of key-value pairs to attach to the specified resource. |
TaskDefinitionType |
|
Update | Information about the gateways to update. |
Properties
AutoCreateTasks
Whether to automatically create tasks using this task definition for all gateways with the specified current version.
object AutoCreateTasks { get; }
Property Value
System.Object
Remarks
If false
, the task must be created by calling CreateWirelessGatewayTask
.
LoRaWanUpdateGatewayTaskEntry
AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry
.
virtual object LoRaWanUpdateGatewayTaskEntry { get; }
Property Value
System.Object
Remarks
Name
The name of the new resource.
virtual string Name { get; }
Property Value
System.String
Remarks
Tags
The tags are an array of key-value pairs to attach to the specified resource.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
Tags can have a minimum of 0 and a maximum of 50 items.
TaskDefinitionType
AWS::IoTWireless::TaskDefinition.TaskDefinitionType
.
virtual string TaskDefinitionType { get; }
Property Value
System.String
Remarks
Update
Information about the gateways to update.
virtual object Update { get; }
Property Value
System.Object