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.Source

Description

 
Synopsis

Documentation

data Source Source #

Provides the Config rule owner (Amazon Web Services or customer), the rule identifier, and the events that trigger the evaluation of your Amazon Web Services resources.

See: newSource smart constructor.

Constructors

Source' 

Fields

  • sourceDetails :: Maybe [SourceDetail]

    Provides the source and type of the event that causes Config to evaluate your Amazon Web Services resources.

  • owner :: Owner

    Indicates whether Amazon Web Services or the customer owns and manages the Config rule.

  • sourceIdentifier :: Text

    For Config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using Config managed rules.

    For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.

Instances

Instances details
Eq Source Source # 
Instance details

Defined in Amazonka.Config.Types.Source

Methods

(==) :: Source -> Source -> Bool #

(/=) :: Source -> Source -> Bool #

Read Source Source # 
Instance details

Defined in Amazonka.Config.Types.Source

Show Source Source # 
Instance details

Defined in Amazonka.Config.Types.Source

Generic Source Source # 
Instance details

Defined in Amazonka.Config.Types.Source

Associated Types

type Rep Source :: Type -> Type #

Methods

from :: Source -> Rep Source x #

to :: Rep Source x -> Source #

NFData Source Source # 
Instance details

Defined in Amazonka.Config.Types.Source

Methods

rnf :: Source -> () #

Hashable Source Source # 
Instance details

Defined in Amazonka.Config.Types.Source

Methods

hashWithSalt :: Int -> Source -> Int #

hash :: Source -> Int #

ToJSON Source Source # 
Instance details

Defined in Amazonka.Config.Types.Source

FromJSON Source Source # 
Instance details

Defined in Amazonka.Config.Types.Source

type Rep Source Source # 
Instance details

Defined in Amazonka.Config.Types.Source

type Rep Source = D1 ('MetaData "Source" "Amazonka.Config.Types.Source" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "Source'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SourceDetail])) :*: (S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Owner) :*: S1 ('MetaSel ('Just "sourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSource Source #

Create a value of Source 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:sourceDetails:Source', source_sourceDetails - Provides the source and type of the event that causes Config to evaluate your Amazon Web Services resources.

$sel:owner:Source', source_owner - Indicates whether Amazon Web Services or the customer owns and manages the Config rule.

$sel:sourceIdentifier:Source', source_sourceIdentifier - For Config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using Config managed rules.

For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.

source_sourceDetails :: Lens' Source (Maybe [SourceDetail]) Source #

Provides the source and type of the event that causes Config to evaluate your Amazon Web Services resources.

source_owner :: Lens' Source Owner Source #

Indicates whether Amazon Web Services or the customer owns and manages the Config rule.

source_sourceIdentifier :: Lens' Source Text Source #

For Config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using Config managed rules.

For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.