# AddToPrincipalPolicyResult

Result of calling `addToPrincipalPolicy`.

- Source: [`aws-iam/lib/principals.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-iam/lib/principals.ts#L132)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iam as iam } from 'aws-cdk-lib';
import * as constructs from 'constructs';

declare const dependable: constructs.IDependable;
const addToPrincipalPolicyResult: iam.AddToPrincipalPolicyResult = {
  statementAdded: false,

  // the properties below are optional
  policyDependable: dependable,
};
```

## Properties

- `policyDependable`: [IDependable](/cdk/api/v2/docs/constructs.IDependable.html) — Dependable which allows depending on the policy change being applied.

  **Default:** Required if `statementAdded` is true.

- `statementAdded`: boolean (required) — Whether the statement was added to the identity's policies.
