amazonka-ecr-2.0: Amazon EC2 Container Registry 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.ECR.Types.RegistryScanningRule

Description

 
Synopsis

Documentation

data RegistryScanningRule Source #

The details of a scanning rule for a private registry.

See: newRegistryScanningRule smart constructor.

Constructors

RegistryScanningRule' 

Fields

  • scanFrequency :: ScanFrequency

    The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH and MANUAL scan frequencies are supported.

  • repositoryFilters :: [ScanningRepositoryFilter]

    The repository filters associated with the scanning configuration for a private registry.

Instances

Instances details
FromJSON RegistryScanningRule Source # 
Instance details

Defined in Amazonka.ECR.Types.RegistryScanningRule

ToJSON RegistryScanningRule Source # 
Instance details

Defined in Amazonka.ECR.Types.RegistryScanningRule

Generic RegistryScanningRule Source # 
Instance details

Defined in Amazonka.ECR.Types.RegistryScanningRule

Associated Types

type Rep RegistryScanningRule :: Type -> Type #

Read RegistryScanningRule Source # 
Instance details

Defined in Amazonka.ECR.Types.RegistryScanningRule

Show RegistryScanningRule Source # 
Instance details

Defined in Amazonka.ECR.Types.RegistryScanningRule

NFData RegistryScanningRule Source # 
Instance details

Defined in Amazonka.ECR.Types.RegistryScanningRule

Methods

rnf :: RegistryScanningRule -> () #

Eq RegistryScanningRule Source # 
Instance details

Defined in Amazonka.ECR.Types.RegistryScanningRule

Hashable RegistryScanningRule Source # 
Instance details

Defined in Amazonka.ECR.Types.RegistryScanningRule

type Rep RegistryScanningRule Source # 
Instance details

Defined in Amazonka.ECR.Types.RegistryScanningRule

type Rep RegistryScanningRule = D1 ('MetaData "RegistryScanningRule" "Amazonka.ECR.Types.RegistryScanningRule" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "RegistryScanningRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scanFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ScanFrequency) :*: S1 ('MetaSel ('Just "repositoryFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ScanningRepositoryFilter])))

newRegistryScanningRule Source #

Create a value of RegistryScanningRule 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:scanFrequency:RegistryScanningRule', registryScanningRule_scanFrequency - The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH and MANUAL scan frequencies are supported.

$sel:repositoryFilters:RegistryScanningRule', registryScanningRule_repositoryFilters - The repository filters associated with the scanning configuration for a private registry.

registryScanningRule_scanFrequency :: Lens' RegistryScanningRule ScanFrequency Source #

The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH and MANUAL scan frequencies are supported.

registryScanningRule_repositoryFilters :: Lens' RegistryScanningRule [ScanningRepositoryFilter] Source #

The repository filters associated with the scanning configuration for a private registry.