Class CfnWirelessDevice
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.CfnWirelessDevice
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IWirelessDeviceRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:38.610Z")
@Stability(Stable)
public class CfnWirelessDevice
extends CfnResource
implements IInspectable, IWirelessDeviceRef, ITaggable
Provisions a wireless device.
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.*;
CfnWirelessDevice cfnWirelessDevice = CfnWirelessDevice.Builder.create(this, "MyCfnWirelessDevice")
.destinationName("destinationName")
.type("type")
// the properties below are optional
.description("description")
.lastUplinkReceivedAt("lastUplinkReceivedAt")
.loRaWan(LoRaWANDeviceProperty.builder()
.abpV10X(AbpV10xProperty.builder()
.devAddr("devAddr")
.sessionKeys(SessionKeysAbpV10xProperty.builder()
.appSKey("appSKey")
.nwkSKey("nwkSKey")
.build())
.build())
.abpV11(AbpV11Property.builder()
.devAddr("devAddr")
.sessionKeys(SessionKeysAbpV11Property.builder()
.appSKey("appSKey")
.fNwkSIntKey("fNwkSIntKey")
.nwkSEncKey("nwkSEncKey")
.sNwkSIntKey("sNwkSIntKey")
.build())
.build())
.devEui("devEui")
.deviceProfileId("deviceProfileId")
.fPorts(FPortsProperty.builder()
.applications(List.of(ApplicationProperty.builder()
.destinationName("destinationName")
.fPort(123)
.type("type")
.build()))
.build())
.otaaV10X(OtaaV10xProperty.builder()
.appEui("appEui")
.appKey("appKey")
.build())
.otaaV11(OtaaV11Property.builder()
.appKey("appKey")
.joinEui("joinEui")
.nwkKey("nwkKey")
.build())
.serviceProfileId("serviceProfileId")
.build())
.name("name")
.positioning("positioning")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.thingArn("thingArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceABP device object for LoRaWAN specification v1.0.x.static interfaceABP device object for create APIs for v1.1.static interfaceA list of optional LoRaWAN application information, which can be used for geolocation.static final classA fluent builder forCfnWirelessDevice.static interfaceList of FPorts assigned for different LoRaWAN application packages to use.static interfaceLoRaWAN object for create functions.static interfaceOTAA device object for v1.0.x.static interfaceOTAA device object for v1.1 for create APIs.static interfaceSession keys for ABP v1.0.x.static interfaceSession keys for ABP v1.1.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.iotwireless.IWirelessDeviceRef
IWirelessDeviceRef.Jsii$Default, IWirelessDeviceRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnWirelessDevice(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnWirelessDevice(software.amazon.jsii.JsiiObjectRef objRef) CfnWirelessDevice(software.constructs.Construct scope, String id, CfnWirelessDeviceProps props) Create a newAWS::IoTWireless::WirelessDevice. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForWirelessDevice(IWirelessDeviceRef resource) static IWirelessDeviceReffromWirelessDeviceArn(software.constructs.Construct scope, String id, String arn) Creates a new IWirelessDeviceRef from an ARN.static IWirelessDeviceReffromWirelessDeviceId(software.constructs.Construct scope, String id, String wirelessDeviceId) Creates a new IWirelessDeviceRef from a wirelessDeviceId.The ARN of the wireless device created.The ID of the wireless device created.The name of the thing associated with the wireless device.The description of the new resource.The name of the destination to assign to the new wireless device.The date and time when the most recent uplink was received.The device configuration information to use to create the wireless device.getName()The name of the new resource.FPort values for the GNSS, Stream, and ClockSync functions of the positioning information.getTags()Tag Manager which manages the tags for this resource.The tags are an array of key-value pairs to attach to the specified resource.The ARN of the thing to associate with the wireless device.getType()The wireless device type.A reference to a WirelessDevice resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnWirelessDevice.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description of the new resource.voidsetDestinationName(String value) The name of the destination to assign to the new wireless device.voidsetLastUplinkReceivedAt(String value) The date and time when the most recent uplink was received.voidsetLoRaWan(IResolvable value) The device configuration information to use to create the wireless device.voidThe device configuration information to use to create the wireless device.voidThe name of the new resource.voidsetPositioning(String value) FPort values for the GNSS, Stream, and ClockSync functions of the positioning information.voidsetTagsRaw(List<CfnTag> value) The tags are an array of key-value pairs to attach to the specified resource.voidsetThingArn(String value) The ARN of the thing to associate with the wireless device.voidThe wireless device type.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnWirelessDevice
protected CfnWirelessDevice(software.amazon.jsii.JsiiObjectRef objRef) -
CfnWirelessDevice
protected CfnWirelessDevice(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnWirelessDevice
@Stability(Stable) public CfnWirelessDevice(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnWirelessDeviceProps props) Create a newAWS::IoTWireless::WirelessDevice.- 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
-
arnForWirelessDevice
@Stability(Stable) @NotNull public static String arnForWirelessDevice(@NotNull IWirelessDeviceRef resource) - Parameters:
resource- This parameter is required.
-
fromWirelessDeviceArn
@Stability(Stable) @NotNull public static IWirelessDeviceRef fromWirelessDeviceArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IWirelessDeviceRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromWirelessDeviceId
@Stability(Stable) @NotNull public static IWirelessDeviceRef fromWirelessDeviceId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String wirelessDeviceId) Creates a new IWirelessDeviceRef from a wirelessDeviceId.- Parameters:
scope- This parameter is required.id- This parameter is required.wirelessDeviceId- This parameter is required.
-
isCfnWirelessDevice
Checks whether the given object is a CfnWirelessDevice.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The ARN of the wireless device created. -
getAttrId
The ID of the wireless device created. -
getAttrThingName
The name of the thing associated with the wireless device.The value is empty if a thing isn't associated with the device.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getWirelessDeviceRef
A reference to a WirelessDevice resource.- Specified by:
getWirelessDeviceRefin interfaceIWirelessDeviceRef
-
getDestinationName
The name of the destination to assign to the new wireless device. -
setDestinationName
The name of the destination to assign to the new wireless device. -
getType
The wireless device type. -
setType
The wireless device type. -
getDescription
The description of the new resource. -
setDescription
The description of the new resource. -
getLastUplinkReceivedAt
The date and time when the most recent uplink was received. -
setLastUplinkReceivedAt
The date and time when the most recent uplink was received. -
getLoRaWan
The device configuration information to use to create the wireless device.Returns union: either
IResolvableorCfnWirelessDevice.LoRaWANDeviceProperty -
setLoRaWan
The device configuration information to use to create the wireless device. -
setLoRaWan
The device configuration information to use to create the wireless device. -
getName
The name of the new resource. -
setName
The name of the new resource. -
getPositioning
FPort values for the GNSS, Stream, and ClockSync functions of the positioning information. -
setPositioning
FPort values for the GNSS, Stream, and ClockSync functions of the positioning information. -
getTagsRaw
The tags are an array of key-value pairs to attach to the specified resource. -
setTagsRaw
The tags are an array of key-value pairs to attach to the specified resource. -
getThingArn
The ARN of the thing to associate with the wireless device. -
setThingArn
The ARN of the thing to associate with the wireless device.
-