Skip to main content

code_security_scan_configuration_associations

Creates, updates, deletes, gets or lists a code_security_scan_configuration_associations resource.

Overview

Namecode_security_scan_configuration_associations
TypeResource
Idaws.inspector2.code_security_scan_configuration_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
associationsarrayA list of associations between code repositories and scan configurations.
next_tokenstringA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_code_security_scan_configuration_associationsselectregionnextToken, maxResultsLists the associations between code repositories and Amazon Inspector code security scan configurations.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return in the response. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.
nextTokenstringA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

SELECT examples

Lists the associations between code repositories and Amazon Inspector code security scan configurations.

SELECT
associations,
next_token
FROM aws.inspector2.code_security_scan_configuration_associations
WHERE region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;