Class CfnWirelessDevice
A CloudFormation AWS::IoTWireless::WirelessDevice
.
Inherited Members
Namespace: Amazon.CDK.AWS.IoTWireless
Assembly: Amazon.CDK.AWS.IoTWireless.dll
Syntax (csharp)
public class CfnWirelessDevice : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnWirelessDevice
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Provisions a wireless device.
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",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ThingArn = "thingArn"
});
Synopsis
Constructors
CfnWirelessDevice(Construct, String, ICfnWirelessDeviceProps) | Create a new |
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 |
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. |
Tags | 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(Construct, String, ICfnWirelessDeviceProps)
Create a new AWS::IoTWireless::WirelessDevice
.
public CfnWirelessDevice(Construct scope, string id, ICfnWirelessDeviceProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnWirelessDeviceProps
- resource properties.
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
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
Remarks
DestinationName
The name of the destination to assign to the new wireless device.
public virtual string DestinationName { get; set; }
Property Value
System.String
Remarks
Can have only have alphanumeric, - (hyphen) and _ (underscore) characters and it can't have any spaces.
LastUplinkReceivedAt
The date and time when the most recent uplink was received.
public virtual string LastUplinkReceivedAt { get; set; }
Property Value
System.String
Remarks
LoRaWan
The device configuration information to use to create the wireless device.
public virtual object LoRaWan { get; set; }
Property Value
System.Object
Remarks
Must be at least one of OtaaV10x, OtaaV11, AbpV11, or AbpV10x.
Name
The name of the new resource.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
Tags
The tags are an array of key-value pairs to attach to the specified resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
Tags can have a minimum of 0 and a maximum of 50 items.
ThingArn
The ARN of the thing to associate with the wireless device.
public virtual string ThingArn { get; set; }
Property Value
System.String
Remarks
Type
The wireless device type.
public virtual string Type { get; set; }
Property Value
System.String
Remarks
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>