libZSservicesZSamazonka-ecrZSamazonka-ecr
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.ECR.Types.ImageScanningConfiguration

Description

 
Synopsis

Documentation

data ImageScanningConfiguration Source #

The image scanning configuration for a repository.

See: newImageScanningConfiguration smart constructor.

Constructors

ImageScanningConfiguration' 

Fields

  • scanOnPush :: Maybe Bool

    The setting that determines whether images are scanned after being pushed to a repository. If set to true, images will be scanned after being pushed. If this parameter is not specified, it will default to false and images will not be scanned unless a scan is manually started with the API_StartImageScan API.

Instances

Instances details
Eq ImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageScanningConfiguration

Read ImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageScanningConfiguration

Show ImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageScanningConfiguration

Generic ImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageScanningConfiguration

Associated Types

type Rep ImageScanningConfiguration :: Type -> Type #

NFData ImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageScanningConfiguration

Hashable ImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageScanningConfiguration

ToJSON ImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageScanningConfiguration

FromJSON ImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageScanningConfiguration

type Rep ImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.Types.ImageScanningConfiguration

type Rep ImageScanningConfiguration = D1 ('MetaData "ImageScanningConfiguration" "Amazonka.ECR.Types.ImageScanningConfiguration" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "ImageScanningConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scanOnPush") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newImageScanningConfiguration :: ImageScanningConfiguration Source #

Create a value of ImageScanningConfiguration 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:scanOnPush:ImageScanningConfiguration', imageScanningConfiguration_scanOnPush - The setting that determines whether images are scanned after being pushed to a repository. If set to true, images will be scanned after being pushed. If this parameter is not specified, it will default to false and images will not be scanned unless a scan is manually started with the API_StartImageScan API.

imageScanningConfiguration_scanOnPush :: Lens' ImageScanningConfiguration (Maybe Bool) Source #

The setting that determines whether images are scanned after being pushed to a repository. If set to true, images will be scanned after being pushed. If this parameter is not specified, it will default to false and images will not be scanned unless a scan is manually started with the API_StartImageScan API.