| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.Types.Core
Description
Documentation
Information about a core.
See: newCore smart constructor.
Constructors
| Core' | |
Fields
| |
Instances
| FromJSON Core Source # | |
| ToJSON Core Source # | |
Defined in Amazonka.Greengrass.Types.Core | |
| Generic Core Source # | |
| Read Core Source # | |
| Show Core Source # | |
| NFData Core Source # | |
Defined in Amazonka.Greengrass.Types.Core | |
| Eq Core Source # | |
| Hashable Core Source # | |
Defined in Amazonka.Greengrass.Types.Core | |
| type Rep Core Source # | |
Defined in Amazonka.Greengrass.Types.Core type Rep Core = D1 ('MetaData "Core" "Amazonka.Greengrass.Types.Core" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" '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.