IDevice
Represents a Device.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrDeviceName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DeviceName: Device name. |
attrDeviceSecret | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute DeviceSecret: Device key. |
attrIotId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute IotId: Things internet device ID issued for the device, as the unique identifier of the device. |
attrIotInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute IotInstanceId: IOT instance ID. |
attrIpAddress | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute IpAddress: IP address. |
attrNickName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute NickName: Nick name. |
attrNodeType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute NodeType: Node type. |
attrProductKey | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ProductKey: Product key. |
attrProductName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ProductName: Product name. |
props | DeviceProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.ros.cdk.core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrDeviceNameRequired
public java.lang.Object getAttrDeviceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DeviceName: Device name.
attrDeviceSecretRequired
public java.lang.Object getAttrDeviceSecret();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute DeviceSecret: Device key.
attrIotIdRequired
public java.lang.Object getAttrIotId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute IotId: Things internet device ID issued for the device, as the unique identifier of the device.
Description Keep, do not leak.
attrIotInstanceIdRequired
public java.lang.Object getAttrIotInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute IotInstanceId: IOT instance ID.
attrIpAddressRequired
public java.lang.Object getAttrIpAddress();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute IpAddress: IP address.
attrNickNameRequired
public java.lang.Object getAttrNickName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute NickName: Nick name.
attrNodeTypeRequired
public java.lang.Object getAttrNodeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute NodeType: Node type.
attrProductKeyRequired
public java.lang.Object getAttrProductKey();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ProductKey: Product key.
attrProductNameRequired
public java.lang.Object getAttrProductName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ProductName: Product name.
propsRequired
public DeviceProps getProps();
- Type: DeviceProps