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 |
Documentation
Details of a resource that is associated to an Firewall Manager resource set.
See: newResource
smart constructor.
Instances
FromJSON Resource Source # | |
Generic Resource Source # | |
Read Resource Source # | |
Show Resource Source # | |
NFData Resource Source # | |
Defined in Amazonka.FMS.Types.Resource | |
Eq Resource Source # | |
Hashable Resource Source # | |
Defined in Amazonka.FMS.Types.Resource | |
type Rep Resource Source # | |
Defined in Amazonka.FMS.Types.Resource type Rep Resource = D1 ('MetaData "Resource" "Amazonka.FMS.Types.Resource" "amazonka-fms-2.0-351knTjuYAjE9GRQTo0ohx" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Resource
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:accountId:Resource'
, resource_accountId
- The Amazon Web Services account ID that the associated resource belongs
to.
$sel:uri:Resource'
, resource_uri
- The resource's universal resource indicator (URI).