Interface CfnTaskDefinitionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskDefinitionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:54.229Z")
@Stability(Stable)
public interface CfnTaskDefinitionProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.iotwireless.*;
CfnTaskDefinitionProps cfnTaskDefinitionProps = CfnTaskDefinitionProps.builder()
.autoCreateTasks(false)
// the properties below are optional
.loRaWanUpdateGatewayTaskEntry(LoRaWANUpdateGatewayTaskEntryProperty.builder()
.currentVersion(LoRaWANGatewayVersionProperty.builder()
.model("model")
.packageVersion("packageVersion")
.station("station")
.build())
.updateVersion(LoRaWANGatewayVersionProperty.builder()
.model("model")
.packageVersion("packageVersion")
.station("station")
.build())
.build())
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.taskDefinitionType("taskDefinitionType")
.update(UpdateWirelessGatewayTaskCreateProperty.builder()
.loRaWan(LoRaWANUpdateGatewayTaskCreateProperty.builder()
.currentVersion(LoRaWANGatewayVersionProperty.builder()
.model("model")
.packageVersion("packageVersion")
.station("station")
.build())
.sigKeyCrc(123)
.updateSignature("updateSignature")
.updateVersion(LoRaWANGatewayVersionProperty.builder()
.model("model")
.packageVersion("packageVersion")
.station("station")
.build())
.build())
.updateDataRole("updateDataRole")
.updateDataSource("updateDataSource")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTaskDefinitionPropsstatic final classAn implementation forCfnTaskDefinitionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Whether to automatically create tasks using this task definition for all gateways with the specified current version.default ObjectLoRaWANUpdateGatewayTaskEntry object.default StringgetName()The name of the new resource.getTags()The tags are an array of key-value pairs to attach to the specified resource.default StringA filter to list only the wireless gateway task definitions that use this task definition type.default ObjectInformation about the gateways to update.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoCreateTasks
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 callingCreateWirelessGatewayTask.Returns union: either
BooleanorIResolvable- See Also:
-
getLoRaWanUpdateGatewayTaskEntry
LoRaWANUpdateGatewayTaskEntry object.Returns union: either
IResolvableorCfnTaskDefinition.LoRaWANUpdateGatewayTaskEntryProperty- See Also:
-
getName
The name of the new resource.- See Also:
-
getTags
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.
- See Also:
-
getTaskDefinitionType
A filter to list only the wireless gateway task definitions that use this task definition type.- See Also:
-
getUpdate
Information about the gateways to update.Returns union: either
IResolvableorCfnTaskDefinition.UpdateWirelessGatewayTaskCreateProperty- See Also:
-
builder
- Returns:
- a
CfnTaskDefinitionProps.BuilderofCfnTaskDefinitionProps
-