# CallApiGatewayHttpApiEndpointOptions

Base properties for calling an HTTP API Endpoint.

- Source: [`aws-stepfunctions-tasks/lib/apigateway/call-http-api.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/apigateway/call-http-api.ts#L12)
- Type last changed: v2.178.0 · 6 Feb 2025

## Example

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

declare const stack: cdk.Stack;
const callApiGatewayHttpApiEndpointOptions: stepfunctions_tasks.CallApiGatewayHttpApiEndpointOptions = {
  apiId: 'apiId',
  apiStack: stack,

  // the properties below are optional
  stageName: 'stageName',
};
```

## Properties

- `apiId`: string (required) — The Id of the API to call.

- `apiStack`: [Stack](/cdk/api/v2/docs/aws-cdk-lib.Stack.html) (required) — The Stack in which the API is defined.

- `stageName`: string = '$default' — Name of the stage where the API is deployed to in API Gateway.
