amazonka-config-2.0: Amazon Config SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Config.Types.ResourceKey

Description

 
Synopsis

Documentation

data ResourceKey Source #

The details that identify a resource within Config, including the resource type and resource ID.

See: newResourceKey smart constructor.

Constructors

ResourceKey' 

Fields

Instances

Instances details
FromJSON ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

ToJSON ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

Generic ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

Associated Types

type Rep ResourceKey :: Type -> Type #

Read ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

Show ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

NFData ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

Methods

rnf :: ResourceKey -> () #

Eq ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

Hashable ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

type Rep ResourceKey Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceKey

type Rep ResourceKey = D1 ('MetaData "ResourceKey" "Amazonka.Config.Types.ResourceKey" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "ResourceKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceType) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResourceKey Source #

Create a value of ResourceKey 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:resourceType:ResourceKey', resourceKey_resourceType - The resource type.

$sel:resourceId:ResourceKey', resourceKey_resourceId - The ID of the resource (for example., sg-xxxxxx).

resourceKey_resourceId :: Lens' ResourceKey Text Source #

The ID of the resource (for example., sg-xxxxxx).