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();
 
  • Method Details

    • getAutoCreateTasks

      @Stability(Stable) @NotNull Object 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 calling CreateWirelessGatewayTask .

    • getLoRaWanUpdateGatewayTaskEntry

      @Stability(Stable) @Nullable default Object getLoRaWanUpdateGatewayTaskEntry()
      AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry.
    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of the new resource.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> 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

      @Stability(Stable) @Nullable default String getTaskDefinitionType()
      AWS::IoTWireless::TaskDefinition.TaskDefinitionType.
    • getUpdate

      @Stability(Stable) @Nullable default Object getUpdate()
      Information about the gateways to update.
    • builder

      @Stability(Stable) static CfnTaskDefinitionProps.Builder builder()
      Returns:
      a CfnTaskDefinitionProps.Builder of CfnTaskDefinitionProps