Class CfnWirelessDevice
Provisions a wireless device.
Inherited Members
Namespace: Amazon.CDK.AWS.IoTWireless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWirelessDevice : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnWirelessDevice
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::IoTWireless::WirelessDevice
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTWireless;
var cfnWirelessDevice = new CfnWirelessDevice(this, "MyCfnWirelessDevice", new CfnWirelessDeviceProps {
DestinationName = "destinationName",
Type = "type",
// the properties below are optional
Description = "description",
LastUplinkReceivedAt = "lastUplinkReceivedAt",
LoRaWan = new LoRaWANDeviceProperty {
AbpV10X = new AbpV10xProperty {
DevAddr = "devAddr",
SessionKeys = new SessionKeysAbpV10xProperty {
AppSKey = "appSKey",
NwkSKey = "nwkSKey"
}
},
AbpV11 = new AbpV11Property {
DevAddr = "devAddr",
SessionKeys = new SessionKeysAbpV11Property {
AppSKey = "appSKey",
FNwkSIntKey = "fNwkSIntKey",
NwkSEncKey = "nwkSEncKey",
SNwkSIntKey = "sNwkSIntKey"
}
},
DevEui = "devEui",
DeviceProfileId = "deviceProfileId",
OtaaV10X = new OtaaV10xProperty {
AppEui = "appEui",
AppKey = "appKey"
},
OtaaV11 = new OtaaV11Property {
AppKey = "appKey",
JoinEui = "joinEui",
NwkKey = "nwkKey"
},
ServiceProfileId = "serviceProfileId"
},
Name = "name",
Positioning = "positioning",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ThingArn = "thingArn"
});
Synopsis
Constructors
CfnWirelessDevice(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnWirelessDevice(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnWirelessDevice(Construct, String, ICfnWirelessDeviceProps) |
Properties
AttrArn | The ARN of the wireless device created. |
AttrId | The ID of the wireless device created. |
AttrThingName | The name of the thing associated with the wireless device. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of the new resource. |
DestinationName | The name of the destination to assign to the new wireless device. |
LastUplinkReceivedAt | The date and time when the most recent uplink was received. |
LoRaWan | The device configuration information to use to create the wireless device. |
Name | The name of the new resource. |
Positioning | FPort values for the GNSS, Stream, and ClockSync functions of the positioning information. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags are an array of key-value pairs to attach to the specified resource. |
ThingArn | The ARN of the thing to associate with the wireless device. |
Type | The wireless device type. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnWirelessDevice(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnWirelessDevice(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnWirelessDevice(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnWirelessDevice(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnWirelessDevice(Construct, String, ICfnWirelessDeviceProps)
public CfnWirelessDevice(Construct scope, string id, ICfnWirelessDeviceProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnWirelessDeviceProps
Resource properties.
Properties
AttrArn
The ARN of the wireless device created.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrId
The ID of the wireless device created.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrThingName
The name of the thing associated with the wireless device.
public virtual string AttrThingName { get; }
Property Value
System.String
Remarks
The value is empty if a thing isn't associated with the device.
CloudformationAttribute: ThingName
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The description of the new resource.
public virtual string Description { get; set; }
Property Value
System.String
DestinationName
The name of the destination to assign to the new wireless device.
public virtual string DestinationName { get; set; }
Property Value
System.String
LastUplinkReceivedAt
The date and time when the most recent uplink was received.
public virtual string LastUplinkReceivedAt { get; set; }
Property Value
System.String
LoRaWan
The device configuration information to use to create the wireless device.
public virtual object LoRaWan { get; set; }
Property Value
System.Object
Name
The name of the new resource.
public virtual string Name { get; set; }
Property Value
System.String
Positioning
FPort values for the GNSS, Stream, and ClockSync functions of the positioning information.
public virtual string Positioning { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags are an array of key-value pairs to attach to the specified resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
ThingArn
The ARN of the thing to associate with the wireless device.
public virtual string ThingArn { get; set; }
Property Value
System.String
Type
The wireless device type.
public virtual string Type { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>