# IntegrationCredentials

Credentials used for AWS Service integrations.

- Source: [`aws-apigatewayv2/lib/http/integration.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-apigatewayv2/lib/http/integration.ts#L103)
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

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

declare const roleRef: interfaces_iam.IRoleRef;
const integrationCredentials = apigatewayv2.IntegrationCredentials.fromRole(roleRef);
```

## Initializer

```ts
new IntegrationCredentials()
```

## Properties

- `credentialsArn`: string — The ARN of the credentials.

## Methods

- `fromRole(role: IRoleRef): IntegrationCredentials // chainable` (static) — Use the specified role for integration requests.

- `useCallerIdentity(): IntegrationCredentials // chainable` (static) — Use the calling user's identity to call the integration.
