Class CfnWirelessDeviceImportTask

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.iotwireless.CfnWirelessDeviceImportTask
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:08.695Z") @Stability(Stable) public class CfnWirelessDeviceImportTask extends CfnResource implements IInspectable, ITaggable
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();
 

See Also:
  • 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnWirelessDeviceImportTaskProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). 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()
      List of Sidewalk devices that are added to the import task.
    • 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()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • 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.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      Adds to or modifies the tags of the given resource.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      Adds to or modifies the tags of the given resource.