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,
  },
}

Constant Summary collapse

SENSITIVE =
[]

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.



2397
2398
2399
2400
2401
2402
2403
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2397

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

#registry_idString

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


2397
2398
2399
2400
2401
2402
2403
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2397

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

#repository_nameString

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

Returns:

  • (String)


2397
2398
2399
2400
2401
2402
2403
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2397

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