You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Greengrass::Types::Device
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::Greengrass::Types::Device
 
- Defined in:
- (unknown)
Overview
When passing Device as input to an Aws::Client method, you can use a vanilla Hash:
{
  certificate_arn: "__string", # required
  id: "__string", # required
  sync_shadow: false,
  thing_arn: "__string", # required
}
Information about a device.
Instance Attribute Summary collapse
- 
  
    
      #certificate_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ARN of the certificate associated with the device. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A descriptive or arbitrary ID for the device. 
- 
  
    
      #sync_shadow  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If true, the device\'s local shadow will be automatically synced with the cloud. 
- 
  
    
      #thing_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The thing ARN of the device. 
Instance Attribute Details
#certificate_arn ⇒ String
The ARN of the certificate associated with the device.
#id ⇒ String
A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern \'\'[a-zA-Z0-9:_-]+\'\'.
#sync_shadow ⇒ Boolean
If true, the device\'s local shadow will be automatically synced with the cloud.
#thing_arn ⇒ String
The thing ARN of the device.