# CfnPolicyAssociationProps

Properties for defining a `CfnPolicyAssociation`.

Extends: CfnPolicyAssociationProps
Used as props by: CfnPolicyAssociation

- Source: Generated code
- Type last changed: v2.145.0 · 7 Jun 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from 'aws-cdk-lib';
const cfnPolicyAssociationProps: securityhub.CfnPolicyAssociationProps = {
  configurationPolicyId: 'configurationPolicyId',
  targetId: 'targetId',
  targetType: 'targetType',
};
```

## Properties

- `configurationPolicyId`: string (required) — The universally unique identifier (UUID) of the configuration policy.

  A self-managed configuration has no UUID. The identifier of a self-managed configuration is `SELF_MANAGED_SECURITY_HUB` .

- `targetId`: string (required) — The identifier of the target account, organizational unit, or the root.

- `targetType`: string (required) — Specifies whether the target is an AWS account , organizational unit, or the root.
