Skip to main content

configuration_policy_associations

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

Overview​

Nameconfiguration_policy_associations
TypeResource
Idaws.securityhub.configuration_policy_associations

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
configuration_policy_associationsarrayDescribes associations for the target accounts, OUs, or the root.
unprocessed_configuration_policy_associationsarrayAn array of configuration policy associations, one for each configuration policy association identifier, that was specified in the request but couldn’t be processed due to an error.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_configuration_policy_associationsselectregionReturns associations between an Security Hub CSPM configuration and a batch of target accounts, organizational units, or the root. Only the Security Hub CSPM delegated administrator can invoke this operation from the home Region. A configuration can refer to a configuration policy or to a self-managed configuration.
get_configuration_policy_associationselectregionReturns the association between a configuration and a target account, organizational unit, or the root. The configuration can be a configuration policy or self-managed behavior. Only the Security Hub CSPM delegated administrator can invoke this operation from the home Region.
list_configuration_policy_associationsselectregionProvides information about the associations for your configuration policies and self-managed behavior. Only the Security Hub CSPM delegated administrator can invoke this operation from the home Region.

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​

Returns associations between an Security Hub CSPM configuration and a batch of target accounts, organizational units, or the root. Only the Security Hub CSPM delegated administrator can invoke this operation from the home Region. A configuration can refer to a configuration policy or to a self-managed configuration.

SELECT
configuration_policy_associations,
unprocessed_configuration_policy_associations
FROM aws.securityhub.configuration_policy_associations
WHERE region = '{{ region }}' -- required
;