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

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

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 PutImageScanningConfigurationRequest data as a 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.



2002
2003
2004
2005
2006
2007
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2002

class PutImageScanningConfigurationRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_scanning_configuration)
  include Aws::Structure
end

#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)


2002
2003
2004
2005
2006
2007
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2002

class PutImageScanningConfigurationRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_scanning_configuration)
  include Aws::Structure
end

#repository_nameString

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

Returns:

  • (String)


2002
2003
2004
2005
2006
2007
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2002

class PutImageScanningConfigurationRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_scanning_configuration)
  include Aws::Structure
end