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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb

Overview

Note:

When making an API call, you may pass StartImageScanRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#image_idTypes::ImageIdentifier

An object with identifying information for an image in an Amazon ECR repository.



3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3048

class StartImageScanRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_id)
  SENSITIVE = []
  include Aws::Structure
end

#registry_idString

The Amazon Web Services 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)


3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3048

class StartImageScanRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_id)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

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

Returns:

  • (String)


3048
3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3048

class StartImageScanRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_id)
  SENSITIVE = []
  include Aws::Structure
end