Skip to main content

ec2_deep_inspection_configurations

Creates, updates, deletes, gets or lists an ec2_deep_inspection_configurations resource.

Overview​

Nameec2_deep_inspection_configurations
TypeResource
Idaws.inspector2.ec2_deep_inspection_configurations

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
error_messagestringAn error message explaining why Amazon Inspector deep inspection configurations could not be retrieved for your account.
org_package_pathsarrayThe Amazon Inspector deep inspection custom paths for your organization.
package_pathsarrayThe Amazon Inspector deep inspection custom paths for your account.
statusstringThe activation status of Amazon Inspector deep inspection in your account. (ACTIVATED, DEACTIVATED, PENDING, FAILED)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_ec2_deep_inspection_configurationselectregionRetrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
update_org_ec2_deep_inspection_configurationupdateregion, orgPackagePathsUpdates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.
update_ec2_deep_inspection_configurationupdateregionActivates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.

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)

SELECT examples​

Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.

SELECT
error_message,
org_package_paths,
package_paths,
status
FROM aws.inspector2.ec2_deep_inspection_configurations
WHERE region = '{{ region }}' -- required
;

UPDATE examples​

Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.

UPDATE aws.inspector2.ec2_deep_inspection_configurations
SET
orgPackagePaths = '{{ orgPackagePaths }}'
WHERE
region = '{{ region }}' --required
AND orgPackagePaths = '{{ orgPackagePaths }}' --required;