libZSservicesZSamazonka-configZSamazonka-config
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.Config.Types.ConfigurationItem

Description

 
Synopsis

Documentation

data ConfigurationItem Source #

A list that contains detailed configurations of a specified resource.

See: newConfigurationItem smart constructor.

Constructors

ConfigurationItem' 

Fields

  • resourceId :: Maybe Text

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

  • resourceType :: Maybe ResourceType

    The type of Amazon Web Services resource.

  • configurationStateId :: Maybe Text

    An identifier that indicates the ordering of the configuration items of a resource.

  • arn :: Maybe Text

    Amazon Resource Name (ARN) associated with the resource.

  • resourceName :: Maybe Text

    The custom name of the resource, if available.

  • resourceCreationTime :: Maybe POSIX

    The time stamp when the resource was created.

  • configurationItemStatus :: Maybe ConfigurationItemStatus

    The configuration item status. The valid values are:

    • OK – The resource configuration has been updated
    • ResourceDiscovered – The resource was newly discovered
    • ResourceNotRecorded – The resource was discovered but its configuration was not recorded since the recorder excludes the recording of resources of this type
    • ResourceDeleted – The resource was deleted
    • ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder excludes the recording of resources of this type

    The CIs do not incur any cost.

  • configurationItemCaptureTime :: Maybe POSIX

    The time when the configuration recording was initiated.

  • accountId :: Maybe Text

    The 12-digit Amazon Web Services account ID associated with the resource.

  • supplementaryConfiguration :: Maybe (HashMap Text Text)

    Configuration attributes that Config returns for certain resource types to supplement the information returned for the configuration parameter.

  • availabilityZone :: Maybe Text

    The Availability Zone associated with the resource.

  • relationships :: Maybe [Relationship]

    A list of related Amazon Web Services resources.

  • version :: Maybe Text

    The version number of the resource configuration.

  • awsRegion :: Maybe Text

    The region where the resource resides.

  • relatedEvents :: Maybe [Text]

    A list of CloudTrail event IDs.

    A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What Is CloudTrail.

    An empty field indicates that the current configuration was not initiated by any event. As of Version 1.3, the relatedEvents field is empty. You can access the LookupEvents API in the CloudTrail API Reference to retrieve the events for the resource.

  • configuration :: Maybe Text

    The description of the resource configuration.

  • configurationItemMD5Hash :: Maybe Text

    Unique MD5 hash that represents the configuration item's state.

    You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.

  • tags :: Maybe (HashMap Text Text)

    A mapping of key value tags associated with the resource.

Instances

Instances details
Eq ConfigurationItem Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationItem

Read ConfigurationItem Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationItem

Show ConfigurationItem Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationItem

Generic ConfigurationItem Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationItem

Associated Types

type Rep ConfigurationItem :: Type -> Type #

NFData ConfigurationItem Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationItem

Methods

rnf :: ConfigurationItem -> () #

Hashable ConfigurationItem Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationItem

FromJSON ConfigurationItem Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationItem

type Rep ConfigurationItem Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationItem

type Rep ConfigurationItem = D1 ('MetaData "ConfigurationItem" "Amazonka.Config.Types.ConfigurationItem" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "ConfigurationItem'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType))) :*: (S1 ('MetaSel ('Just "configurationStateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceCreationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "configurationItemStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConfigurationItemStatus)) :*: (S1 ('MetaSel ('Just "configurationItemCaptureTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "supplementaryConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "relationships") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Relationship])) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "relatedEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "configurationItemMD5Hash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))))

newConfigurationItem :: ConfigurationItem Source #

Create a value of ConfigurationItem 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:resourceId:ConfigurationItem', configurationItem_resourceId - The ID of the resource (for example, sg-xxxxxx).

$sel:resourceType:ConfigurationItem', configurationItem_resourceType - The type of Amazon Web Services resource.

$sel:configurationStateId:ConfigurationItem', configurationItem_configurationStateId - An identifier that indicates the ordering of the configuration items of a resource.

$sel:arn:ConfigurationItem', configurationItem_arn - Amazon Resource Name (ARN) associated with the resource.

$sel:resourceName:ConfigurationItem', configurationItem_resourceName - The custom name of the resource, if available.

$sel:resourceCreationTime:ConfigurationItem', configurationItem_resourceCreationTime - The time stamp when the resource was created.

$sel:configurationItemStatus:ConfigurationItem', configurationItem_configurationItemStatus - The configuration item status. The valid values are:

  • OK – The resource configuration has been updated
  • ResourceDiscovered – The resource was newly discovered
  • ResourceNotRecorded – The resource was discovered but its configuration was not recorded since the recorder excludes the recording of resources of this type
  • ResourceDeleted – The resource was deleted
  • ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder excludes the recording of resources of this type

The CIs do not incur any cost.

$sel:configurationItemCaptureTime:ConfigurationItem', configurationItem_configurationItemCaptureTime - The time when the configuration recording was initiated.

$sel:accountId:ConfigurationItem', configurationItem_accountId - The 12-digit Amazon Web Services account ID associated with the resource.

$sel:supplementaryConfiguration:ConfigurationItem', configurationItem_supplementaryConfiguration - Configuration attributes that Config returns for certain resource types to supplement the information returned for the configuration parameter.

$sel:availabilityZone:ConfigurationItem', configurationItem_availabilityZone - The Availability Zone associated with the resource.

$sel:relationships:ConfigurationItem', configurationItem_relationships - A list of related Amazon Web Services resources.

$sel:version:ConfigurationItem', configurationItem_version - The version number of the resource configuration.

$sel:awsRegion:ConfigurationItem', configurationItem_awsRegion - The region where the resource resides.

$sel:relatedEvents:ConfigurationItem', configurationItem_relatedEvents - A list of CloudTrail event IDs.

A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What Is CloudTrail.

An empty field indicates that the current configuration was not initiated by any event. As of Version 1.3, the relatedEvents field is empty. You can access the LookupEvents API in the CloudTrail API Reference to retrieve the events for the resource.

$sel:configuration:ConfigurationItem', configurationItem_configuration - The description of the resource configuration.

$sel:configurationItemMD5Hash:ConfigurationItem', configurationItem_configurationItemMD5Hash - Unique MD5 hash that represents the configuration item's state.

You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.

$sel:tags:ConfigurationItem', configurationItem_tags - A mapping of key value tags associated with the resource.

configurationItem_resourceId :: Lens' ConfigurationItem (Maybe Text) Source #

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

configurationItem_resourceType :: Lens' ConfigurationItem (Maybe ResourceType) Source #

The type of Amazon Web Services resource.

configurationItem_configurationStateId :: Lens' ConfigurationItem (Maybe Text) Source #

An identifier that indicates the ordering of the configuration items of a resource.

configurationItem_arn :: Lens' ConfigurationItem (Maybe Text) Source #

Amazon Resource Name (ARN) associated with the resource.

configurationItem_resourceName :: Lens' ConfigurationItem (Maybe Text) Source #

The custom name of the resource, if available.

configurationItem_resourceCreationTime :: Lens' ConfigurationItem (Maybe UTCTime) Source #

The time stamp when the resource was created.

configurationItem_configurationItemStatus :: Lens' ConfigurationItem (Maybe ConfigurationItemStatus) Source #

The configuration item status. The valid values are:

  • OK – The resource configuration has been updated
  • ResourceDiscovered – The resource was newly discovered
  • ResourceNotRecorded – The resource was discovered but its configuration was not recorded since the recorder excludes the recording of resources of this type
  • ResourceDeleted – The resource was deleted
  • ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder excludes the recording of resources of this type

The CIs do not incur any cost.

configurationItem_configurationItemCaptureTime :: Lens' ConfigurationItem (Maybe UTCTime) Source #

The time when the configuration recording was initiated.

configurationItem_accountId :: Lens' ConfigurationItem (Maybe Text) Source #

The 12-digit Amazon Web Services account ID associated with the resource.

configurationItem_supplementaryConfiguration :: Lens' ConfigurationItem (Maybe (HashMap Text Text)) Source #

Configuration attributes that Config returns for certain resource types to supplement the information returned for the configuration parameter.

configurationItem_availabilityZone :: Lens' ConfigurationItem (Maybe Text) Source #

The Availability Zone associated with the resource.

configurationItem_relationships :: Lens' ConfigurationItem (Maybe [Relationship]) Source #

A list of related Amazon Web Services resources.

configurationItem_version :: Lens' ConfigurationItem (Maybe Text) Source #

The version number of the resource configuration.

configurationItem_awsRegion :: Lens' ConfigurationItem (Maybe Text) Source #

The region where the resource resides.

configurationItem_relatedEvents :: Lens' ConfigurationItem (Maybe [Text]) Source #

A list of CloudTrail event IDs.

A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What Is CloudTrail.

An empty field indicates that the current configuration was not initiated by any event. As of Version 1.3, the relatedEvents field is empty. You can access the LookupEvents API in the CloudTrail API Reference to retrieve the events for the resource.

configurationItem_configuration :: Lens' ConfigurationItem (Maybe Text) Source #

The description of the resource configuration.

configurationItem_configurationItemMD5Hash :: Lens' ConfigurationItem (Maybe Text) Source #

Unique MD5 hash that represents the configuration item's state.

You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.

configurationItem_tags :: Lens' ConfigurationItem (Maybe (HashMap Text Text)) Source #

A mapping of key value tags associated with the resource.