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

Class: Aws::ECR::Types::StartImageScanRequest

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

Overview

Note:

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

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  image_id: { # required
    image_digest: "ImageDigest",
    image_tag: "ImageTag",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#image_idTypes::ImageIdentifier

An object with identifying information for an Amazon ECR image.

Returns:

#registry_idString

The AWS account ID associated with the registry that contains the repository in which to start an image scan request. 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 start an image scan request.

#repository_nameString

The name of the repository that contains the images to scan.

Returns:

  • (String)

    The name of the repository that contains the images to scan.