Interface CfnTaskDefinitionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskDefinitionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:58.012Z")
@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();
-
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 ObjectAWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry.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 StringAWS::IoTWireless::TaskDefinition.TaskDefinitionType.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. -
getLoRaWanUpdateGatewayTaskEntry
AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry. -
getName
The name of the new resource. -
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.
-
getTaskDefinitionType
AWS::IoTWireless::TaskDefinition.TaskDefinitionType. -
getUpdate
Information about the gateways to update. -
builder
- Returns:
- a
CfnTaskDefinitionProps.BuilderofCfnTaskDefinitionProps
-