libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AuditManager.Types.Resource

Description

 
Synopsis

Documentation

data Resource Source #

A system asset that is evaluated in an Audit Manager assessment.

See: newResource smart constructor.

Constructors

Resource' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) for the specified resource.

  • value :: Maybe Text

    The value of the specified resource.

Instances

Instances details
Eq Resource Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Resource

Read Resource Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

NFData Resource Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Resource

Methods

rnf :: Resource -> () #

Hashable Resource Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Resource

type Rep Resource Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.AuditManager.Types.Resource" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newResource :: Resource Source #

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:arn:Resource', resource_arn - The Amazon Resource Name (ARN) for the specified resource.

$sel:value:Resource', resource_value - The value of the specified resource.

resource_arn :: Lens' Resource (Maybe Text) Source #

The Amazon Resource Name (ARN) for the specified resource.

resource_value :: Lens' Resource (Maybe Text) Source #

The value of the specified resource.