# HttpStageAttributes

The attributes used to import existing HttpStage.

Extends: HttpStageAttributes
Extends: StageAttributes

- Source: [`aws-apigatewayv2/lib/http/stage.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-apigatewayv2/lib/http/stage.ts#L116)
- Type last changed: v2.112.0 · 1 Dec 2023

## 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';

declare const httpApi: apigatewayv2.HttpApi;
const httpStageAttributes: apigatewayv2.HttpStageAttributes = {
  api: httpApi,
  stageName: 'stageName',
};
```

## Properties

- `api`: [IHttpApi](/cdk/api/v2/docs/aws-cdk-lib.aws_apigatewayv2.IHttpApi.html) (required) — The API to which this stage is associated.

- `stageName`: string (required) — The name of the stage.
