amazonka-inspector2-2.0: Amazon Inspector2 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.Inspector2.Types.ResourceState

Description

 
Synopsis

Documentation

data ResourceState Source #

Details the state of Amazon Inspector for each resource type Amazon Inspector scans.

See: newResourceState smart constructor.

Constructors

ResourceState' 

Fields

  • lambda :: Maybe State
     
  • ec2 :: State

    An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.

  • ecr :: State

    An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.

Instances

Instances details
FromJSON ResourceState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.ResourceState

Generic ResourceState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.ResourceState

Associated Types

type Rep ResourceState :: Type -> Type #

Read ResourceState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.ResourceState

Show ResourceState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.ResourceState

NFData ResourceState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.ResourceState

Methods

rnf :: ResourceState -> () #

Eq ResourceState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.ResourceState

Hashable ResourceState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.ResourceState

type Rep ResourceState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.ResourceState

type Rep ResourceState = D1 ('MetaData "ResourceState" "Amazonka.Inspector2.Types.ResourceState" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "ResourceState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lambda") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe State)) :*: (S1 ('MetaSel ('Just "ec2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 State) :*: S1 ('MetaSel ('Just "ecr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 State))))

newResourceState Source #

Create a value of ResourceState 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:lambda:ResourceState', resourceState_lambda - Undocumented member.

$sel:ec2:ResourceState', resourceState_ec2 - An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.

$sel:ecr:ResourceState', resourceState_ecr - An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.

resourceState_ec2 :: Lens' ResourceState State Source #

An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.

resourceState_ecr :: Lens' ResourceState State Source #

An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.