Class CfnWirelessDevice
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.iotwireless.CfnWirelessDevice
- 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.013Z")
@Stability(Stable)
public class CfnWirelessDevice
extends CfnResource
implements IInspectable
A CloudFormation
AWS::IoTWireless::WirelessDevice
.
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") .otaaV10X(OtaaV10xProperty.builder() .appEui("appEui") .appKey("appKey") .build()) .otaaV11(OtaaV11Property.builder() .appKey("appKey") .joinEui("joinEui") .nwkKey("nwkKey") .build()) .serviceProfileId("serviceProfileId") .build()) .name("name") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .thingArn("thingArn") .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
ABP device object for LoRaWAN specification v1.0.x.static interface
ABP device object for create APIs for v1.1.static final class
A fluent builder forCfnWirelessDevice
.static interface
LoRaWAN object for create functions.static interface
OTAA device object for create APIs for v1.0.x.static interface
OTAA device object for v1.1 for create APIs.static interface
LoRaWAN object for create APIs.static interface
Session keys for ABP v1.1.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnWirelessDevice
(Construct scope, String id, CfnWirelessDeviceProps props) Create a newAWS::IoTWireless::WirelessDevice
.protected
CfnWirelessDevice
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnWirelessDevice
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe 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.getTags()
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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDescription
(String value) The description of the new resource.void
setDestinationName
(String value) The name of the destination to assign to the new wireless device.void
setLastUplinkReceivedAt
(String value) The date and time when the most recent uplink was received.void
setLoRaWan
(IResolvable value) The device configuration information to use to create the wireless device.void
The device configuration information to use to create the wireless device.void
The name of the new resource.void
setThingArn
(String value) The ARN of the thing to associate with the wireless device.void
The wireless device type.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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 Construct scope, @NotNull String id, @NotNull CfnWirelessDeviceProps props) Create a newAWS::IoTWireless::WirelessDevice
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in 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:
getCfnProperties
in classCfnResource
-
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.
-
getDestinationName
The name of the destination to assign to the new wireless device.Can have only have alphanumeric, - (hyphen) and _ (underscore) characters and it can't have any spaces.
-
setDestinationName
The name of the destination to assign to the new wireless device.Can have only have alphanumeric, - (hyphen) and _ (underscore) characters and it can't have any spaces.
-
getType
The wireless device type. -
setType
The wireless device type. -
getDescription
The description of the new resource.Maximum length is 2048.
-
setDescription
The description of the new resource.Maximum length is 2048.
-
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.Must be at least one of OtaaV10x, OtaaV11, AbpV11, or AbpV10x.
-
setLoRaWan
The device configuration information to use to create the wireless device.Must be at least one of OtaaV10x, OtaaV11, AbpV11, or AbpV10x.
-
setLoRaWan
The device configuration information to use to create the wireless device.Must be at least one of OtaaV10x, OtaaV11, AbpV11, or AbpV10x.
-
getName
The name of the new resource. -
setName
The name of the new 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.
-