Learn R Programming

paws.compute (version 0.1.12)

ecr_put_image_scanning_configuration: Updates the image scanning configuration for the specified repository

Description

Updates the image scanning configuration for the specified repository.

Usage

ecr_put_image_scanning_configuration(registryId, repositoryName,
  imageScanningConfiguration)

Value

A list with the following syntax:

list(
  registryId = "string",
  repositoryName = "string",
  imageScanningConfiguration = list(
    scanOnPush = TRUE|FALSE
  )
)

Arguments

registryId

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.

repositoryName

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

imageScanningConfiguration

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

Request syntax

svc$put_image_scanning_configuration(
  registryId = "string",
  repositoryName = "string",
  imageScanningConfiguration = list(
    scanOnPush = TRUE|FALSE
  )
)