Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Information about a core.
See: newCore
smart constructor.
Core' | |
|
Instances
Eq Core Source # | |
Read Core Source # | |
Show Core Source # | |
Generic Core Source # | |
NFData Core Source # | |
Defined in Amazonka.Greengrass.Types.Core | |
Hashable Core Source # | |
Defined in Amazonka.Greengrass.Types.Core | |
ToJSON Core Source # | |
Defined in Amazonka.Greengrass.Types.Core | |
FromJSON Core Source # | |
type Rep Core Source # | |
Defined in Amazonka.Greengrass.Types.Core type Rep Core = D1 ('MetaData "Core" "Amazonka.Greengrass.Types.Core" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "Core'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "syncShadow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "thingArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Core
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:syncShadow:Core'
, core_syncShadow
- If true, the core's local shadow is automatically synced with the
cloud.
$sel:thingArn:Core'
, core_thingArn
- The ARN of the thing which is the core.
$sel:id:Core'
, core_id
- 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:_-]+''.
$sel:certificateArn:Core'
, core_certificateArn
- The ARN of the certificate associated with the core.
core_syncShadow :: Lens' Core (Maybe Bool) Source #
If true, the core's local shadow is automatically synced with the cloud.