AWS Native is in preview. AWS Classic is fully supported.
aws-native.iotwireless.TaskDefinition
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Creates a gateway task definition.
Create TaskDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TaskDefinition(name: string, args: TaskDefinitionArgs, opts?: CustomResourceOptions);
@overload
def TaskDefinition(resource_name: str,
args: TaskDefinitionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TaskDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_create_tasks: Optional[bool] = None,
lo_ra_wan_update_gateway_task_entry: Optional[TaskDefinitionLoRaWanUpdateGatewayTaskEntryArgs] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
task_definition_type: Optional[TaskDefinitionType] = None,
update: Optional[TaskDefinitionUpdateWirelessGatewayTaskCreateArgs] = None)
func NewTaskDefinition(ctx *Context, name string, args TaskDefinitionArgs, opts ...ResourceOption) (*TaskDefinition, error)
public TaskDefinition(string name, TaskDefinitionArgs args, CustomResourceOptions? opts = null)
public TaskDefinition(String name, TaskDefinitionArgs args)
public TaskDefinition(String name, TaskDefinitionArgs args, CustomResourceOptions options)
type: aws-native:iotwireless:TaskDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TaskDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TaskDefinitionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TaskDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TaskDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TaskDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const aws_nativeTaskDefinitionResource = new aws_native.iotwireless.TaskDefinition("aws-nativeTaskDefinitionResource", {
autoCreateTasks: false,
loRaWanUpdateGatewayTaskEntry: {
currentVersion: {
model: "string",
packageVersion: "string",
station: "string",
},
updateVersion: {
model: "string",
packageVersion: "string",
station: "string",
},
},
name: "string",
tags: [{
key: "string",
value: "string",
}],
taskDefinitionType: aws_native.iotwireless.TaskDefinitionType.Update,
update: {
loRaWan: {
currentVersion: {
model: "string",
packageVersion: "string",
station: "string",
},
sigKeyCrc: 0,
updateSignature: "string",
updateVersion: {
model: "string",
packageVersion: "string",
station: "string",
},
},
updateDataRole: "string",
updateDataSource: "string",
},
});
Coming soon!
TaskDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The TaskDefinition resource accepts the following input properties:
- Auto
Create boolTasks - Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.
- Lo
Ra Pulumi.Wan Update Gateway Task Entry Aws Native. Io TWireless. Inputs. Task Definition Lo Ra Wan Update Gateway Task Entry - The list of task definitions.
- Name string
- The name of the new resource.
- List<Pulumi.
Aws Native. Inputs. Tag> - A list of key-value pairs that contain metadata for the destination.
- Task
Definition Pulumi.Type Aws Native. Io TWireless. Task Definition Type - A filter to list only the wireless gateway task definitions that use this task definition type
- Update
Pulumi.
Aws Native. Io TWireless. Inputs. Task Definition Update Wireless Gateway Task Create - Information about the gateways to update.
- Auto
Create boolTasks - Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.
- Lo
Ra TaskWan Update Gateway Task Entry Definition Lo Ra Wan Update Gateway Task Entry Args - The list of task definitions.
- Name string
- The name of the new resource.
- Tag
Args - A list of key-value pairs that contain metadata for the destination.
- Task
Definition TaskType Definition Type - A filter to list only the wireless gateway task definitions that use this task definition type
- Update
Task
Definition Update Wireless Gateway Task Create Args - Information about the gateways to update.
- auto
Create BooleanTasks - Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.
- lo
Ra TaskWan Update Gateway Task Entry Definition Lo Ra Wan Update Gateway Task Entry - The list of task definitions.
- name String
- The name of the new resource.
- List<Tag>
- A list of key-value pairs that contain metadata for the destination.
- task
Definition TaskType Definition Type - A filter to list only the wireless gateway task definitions that use this task definition type
- update
Task
Definition Update Wireless Gateway Task Create - Information about the gateways to update.
- auto
Create booleanTasks - Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.
- lo
Ra TaskWan Update Gateway Task Entry Definition Lo Ra Wan Update Gateway Task Entry - The list of task definitions.
- name string
- The name of the new resource.
- Tag[]
- A list of key-value pairs that contain metadata for the destination.
- task
Definition TaskType Definition Type - A filter to list only the wireless gateway task definitions that use this task definition type
- update
Task
Definition Update Wireless Gateway Task Create - Information about the gateways to update.
- auto_
create_ booltasks - Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.
- lo_
ra_ Taskwan_ update_ gateway_ task_ entry Definition Lo Ra Wan Update Gateway Task Entry Args - The list of task definitions.
- name str
- The name of the new resource.
- Sequence[Tag
Args] - A list of key-value pairs that contain metadata for the destination.
- task_
definition_ Tasktype Definition Type - A filter to list only the wireless gateway task definitions that use this task definition type
- update
Task
Definition Update Wireless Gateway Task Create Args - Information about the gateways to update.
- auto
Create BooleanTasks - Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.
- lo
Ra Property MapWan Update Gateway Task Entry - The list of task definitions.
- name String
- The name of the new resource.
- List<Property Map>
- A list of key-value pairs that contain metadata for the destination.
- task
Definition "UPDATE"Type - A filter to list only the wireless gateway task definitions that use this task definition type
- update Property Map
- Information about the gateways to update.
Outputs
All input properties are implicitly available as output properties. Additionally, the TaskDefinition resource produces the following output properties:
Supporting Types
Tag, TagArgs
TaskDefinitionLoRaWanGatewayVersion, TaskDefinitionLoRaWanGatewayVersionArgs
- Model string
- Package
Version string - Station string
- Model string
- Package
Version string - Station string
- model String
- package
Version String - station String
- model string
- package
Version string - station string
- model str
- package_
version str - station str
- model String
- package
Version String - station String
TaskDefinitionLoRaWanUpdateGatewayTaskCreate, TaskDefinitionLoRaWanUpdateGatewayTaskCreateArgs
TaskDefinitionLoRaWanUpdateGatewayTaskEntry, TaskDefinitionLoRaWanUpdateGatewayTaskEntryArgs
TaskDefinitionType, TaskDefinitionTypeArgs
- Update
- UPDATE
- Task
Definition Type Update - UPDATE
- Update
- UPDATE
- Update
- UPDATE
- UPDATE
- UPDATE
- "UPDATE"
- UPDATE
TaskDefinitionUpdateWirelessGatewayTaskCreate, TaskDefinitionUpdateWirelessGatewayTaskCreateArgs
- lo
Ra Property MapWan - update
Data StringRole - update
Data StringSource
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.