> **Experimental**
>
> `@aws-cdk/integ-tests-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# ActualResult

Represents the "actual" results to compare.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/assertions/common.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/integ-tests-alpha/lib/assertions/common.ts#L7)

## Example

```ts
declare const myCustomResource: CustomResource;
declare const stack: Stack;
declare const app: App;

const integ = new IntegTest(app, 'Integ', { testCases: [stack] });
integ.assertions.expect(
  'CustomAssertion',
  ExpectedResult.objectLike({ foo: 'bar' }),
  ActualResult.fromCustomResource(myCustomResource, 'data'),
);
```

## Initializer

```ts
new ActualResult()
```

## Properties

- `result`: string — The actual results as a string.

## Methods

- `fromAwsApiCall(query: IApiCall, attribute: string): ActualResult // chainable` (static) — Get the actual results from a AwsApiCall.

- `fromCustomResource(customResource: CustomResource, attribute: string): ActualResult // chainable` (static) — Get the actual results from a CustomResource.
