You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Greengrass::Types::Core

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb

Overview

Note:

When making an API call, you may pass Core data as a hash:

{
  certificate_arn: "__string", # required
  id: "__string", # required
  sync_shadow: false,
  thing_arn: "__string", # required
}

Information about a core.

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_arnString

The ARN of the certificate associated with the core.

Returns:

  • (String)


338
339
340
341
342
343
344
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 338

class Core < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  include Aws::Structure
end

#idString

A descriptive or arbitrary ID for the core. This value must be unique within the core definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

Returns:

  • (String)


338
339
340
341
342
343
344
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 338

class Core < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  include Aws::Structure
end

#sync_shadowBoolean

If true, the core's local shadow is automatically synced with the cloud.

Returns:

  • (Boolean)


338
339
340
341
342
343
344
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 338

class Core < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  include Aws::Structure
end

#thing_arnString

The ARN of the thing which is the core.

Returns:

  • (String)


338
339
340
341
342
343
344
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 338

class Core < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  include Aws::Structure
end