---
title: "POST /connectorscanconfiguration/update"
method: POST
path: "/connectorscanconfiguration/update"
---

# POST /connectorscanconfiguration/update

`POST /connectorscanconfiguration/update`

Updates scan configuration settings for resources associated with an Amazon Web Services Config connector.

## Request body

- object
  - `awsConfigConnectorArn` string, required — The ARN of the Amazon Web Services Config connector.
  - `scanConfiguration` object, required — The scan settings that Amazon Inspector applies to resources discovered through a connector.
    - `containerImageScanning` object — The container image scanning configuration, including push and pull duration settings.
      - `pushDuration` 'LIFETIME' | 'DAYS_3' | 'DAYS_7' | 'DAYS_30' | 'DAYS_180' | 'DAYS_14' | 'DAYS_60' | 'DAYS_90' — The amount of time after a container image is pushed to a repository during which Amazon Inspector continues to rescan the image for vulnerabilities. Valid values are <code>LIFETIME</code>, <code>DAYS_3</code>, <code>DAYS_7</code>, <code>DAYS_14</code>, <code>DAYS_30</code>, <code>DAYS_60</code>, <code>DAYS_90</code>, and <code>DAYS_180</code>.
      - `pullDuration` 'DAYS_3' | 'DAYS_7' | 'DAYS_14' | 'DAYS_30' | 'DAYS_60' | 'DAYS_90' | 'DAYS_180' — The amount of time after a container image is last pulled from a repository during which Amazon Inspector continues to rescan the image for vulnerabilities. Valid values are <code>DAYS_3</code>, <code>DAYS_7</code>, <code>DAYS_14</code>, <code>DAYS_30</code>, <code>DAYS_60</code>, <code>DAYS_90</code>, and <code>DAYS_180</code>.

## Response `200`

Success

- UpdateConnectorScanConfigurationResponse

## Other responses

- `480` — ConflictException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException
- `485` — InternalServerException

---

[API](https://skmtc.net/aws/apis/inspector2.md) · [All operations](https://skmtc.net/aws/apis/inspector2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/inspector2/versions/c51110c7cd43/schema)
