getConfigurationPolicyAssociation

Returns 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.

Samples

// This operation provides details about configuration associations for a specific target account,
// organizational unit, or the root.
val resp = securityHubClient.getConfigurationPolicyAssociation {
    target = Target.AccountId("111122223333")
}