Class CfnWirelessDeviceImportTask

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:58.019Z") @Stability(Stable) public class CfnWirelessDeviceImportTask extends CfnResource implements IInspectable
A CloudFormation AWS::IoTWireless::WirelessDeviceImportTask.

Information about an import task for wireless devices. When creating the resource, either create a single wireless device import task using the Sidewalk manufacturing serial number (SMSN) of the wireless device, or create an import task for multiple devices by specifying both the DeviceCreationFile and the Role .

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.*;
 CfnWirelessDeviceImportTask cfnWirelessDeviceImportTask = CfnWirelessDeviceImportTask.Builder.create(this, "MyCfnWirelessDeviceImportTask")
         .destinationName("destinationName")
         .sidewalk(SidewalkProperty.builder()
                 .deviceCreationFile("deviceCreationFile")
                 .deviceCreationFileList(List.of("deviceCreationFileList"))
                 .role("role")
                 .sidewalkManufacturingSn("sidewalkManufacturingSn")
                 .build())
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnWirelessDeviceImportTask

      protected CfnWirelessDeviceImportTask(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnWirelessDeviceImportTask

      protected CfnWirelessDeviceImportTask(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnWirelessDeviceImportTask

      @Stability(Stable) public CfnWirelessDeviceImportTask(@NotNull Construct scope, @NotNull String id, @NotNull CfnWirelessDeviceImportTaskProps props)
      Create a new AWS::IoTWireless::WirelessDeviceImportTask.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The ARN (Amazon Resource Name) of the import task.
    • getAttrCreationDate

      @Stability(Stable) @NotNull public String getAttrCreationDate()
      The date and time at which the wireless device import task was created.
    • getAttrFailedImportedDevicesCount

      @Stability(Stable) @NotNull public Number getAttrFailedImportedDevicesCount()
      The summary information of count of wireless devices that failed to onboard to the import task.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The import task ID.
    • getAttrInitializedImportedDevicesCount

      @Stability(Stable) @NotNull public Number getAttrInitializedImportedDevicesCount()
      The summary information of count of wireless devices that are waiting for the control log to be added to an import task.
    • getAttrOnboardedImportedDevicesCount

      @Stability(Stable) @NotNull public Number getAttrOnboardedImportedDevicesCount()
      The summary information of count of wireless devices that have been onboarded to the import task.
    • getAttrPendingImportedDevicesCount

      @Stability(Stable) @NotNull public Number getAttrPendingImportedDevicesCount()
      The summary information of count of wireless devices that are waiting in the queue to be onboarded to the import task.
    • getAttrSidewalkDeviceCreationFileList

      @Stability(Stable) @NotNull public List<String> getAttrSidewalkDeviceCreationFileList()
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The status of a wireless device import task.

      The status can be INITIALIZING , INITIALIZED , PENDING , COMPLETE , FAILED , or DELETING .

    • getAttrStatusReason

      @Stability(Stable) @NotNull public String getAttrStatusReason()
      The reason that provides additional information about the import task status.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Adds to or modifies the tags of the given resource.

      Tags are metadata that you can use to manage a resource.

    • getDestinationName

      @Stability(Stable) @NotNull public String getDestinationName()
      The name of the destination that describes the IoT rule to route messages from the Sidewalk devices in the import task to other applications.
    • setDestinationName

      @Stability(Stable) public void setDestinationName(@NotNull String value)
      The name of the destination that describes the IoT rule to route messages from the Sidewalk devices in the import task to other applications.
    • getSidewalk

      @Stability(Stable) @NotNull public Object getSidewalk()
      The Sidewalk-related information of the wireless device import task.
    • setSidewalk

      @Stability(Stable) public void setSidewalk(@NotNull IResolvable value)
      The Sidewalk-related information of the wireless device import task.
    • setSidewalk

      @Stability(Stable) public void setSidewalk(@NotNull CfnWirelessDeviceImportTask.SidewalkProperty value)
      The Sidewalk-related information of the wireless device import task.