AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ECR::Types::PutImageScanningConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutImageScanningConfigurationRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  image_scanning_configuration: { # required
    scan_on_push: false,
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#image_scanning_configurationTypes::ImageScanningConfiguration

The image scanning configuration for the repository. This setting determines whether images are scanned for known vulnerabilities after being pushed to the repository.

Returns:

#registry_idString

The AWS account ID associated with the registry that contains the repository in which to update the image scanning configuration setting. If you do not specify a registry, the default registry is assumed.

Returns:

  • (String)

    The AWS account ID associated with the registry that contains the repository in which to update the image scanning configuration setting.

#repository_nameString

The name of the repository in which to update the image scanning configuration setting.

Returns:

  • (String)

    The name of the repository in which to update the image scanning configuration setting.