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

Description

 
Synopsis

Documentation

data EcrRescanDurationState Source #

Details about the state of any changes to the ECR automated re-scan duration setting.

See: newEcrRescanDurationState smart constructor.

Constructors

EcrRescanDurationState' 

Fields

  • rescanDuration :: Maybe EcrRescanDuration

    The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.

  • status :: Maybe EcrRescanDurationStatus

    The status of changes to the ECR automated re-scan duration.

  • updatedAt :: Maybe POSIX

    A timestamp representing when the last time the ECR scan duration setting was changed.

Instances

Instances details
FromJSON EcrRescanDurationState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.EcrRescanDurationState

Generic EcrRescanDurationState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.EcrRescanDurationState

Associated Types

type Rep EcrRescanDurationState :: Type -> Type #

Read EcrRescanDurationState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.EcrRescanDurationState

Show EcrRescanDurationState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.EcrRescanDurationState

NFData EcrRescanDurationState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.EcrRescanDurationState

Methods

rnf :: EcrRescanDurationState -> () #

Eq EcrRescanDurationState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.EcrRescanDurationState

Hashable EcrRescanDurationState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.EcrRescanDurationState

type Rep EcrRescanDurationState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.EcrRescanDurationState

type Rep EcrRescanDurationState = D1 ('MetaData "EcrRescanDurationState" "Amazonka.Inspector2.Types.EcrRescanDurationState" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "EcrRescanDurationState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rescanDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EcrRescanDuration)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EcrRescanDurationStatus)) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newEcrRescanDurationState :: EcrRescanDurationState Source #

Create a value of EcrRescanDurationState 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:rescanDuration:EcrRescanDurationState', ecrRescanDurationState_rescanDuration - The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.

$sel:status:EcrRescanDurationState', ecrRescanDurationState_status - The status of changes to the ECR automated re-scan duration.

$sel:updatedAt:EcrRescanDurationState', ecrRescanDurationState_updatedAt - A timestamp representing when the last time the ECR scan duration setting was changed.

ecrRescanDurationState_rescanDuration :: Lens' EcrRescanDurationState (Maybe EcrRescanDuration) Source #

The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.

ecrRescanDurationState_status :: Lens' EcrRescanDurationState (Maybe EcrRescanDurationStatus) Source #

The status of changes to the ECR automated re-scan duration.

ecrRescanDurationState_updatedAt :: Lens' EcrRescanDurationState (Maybe UTCTime) Source #

A timestamp representing when the last time the ECR scan duration setting was changed.