---
title: "Discussion on \"Stage name in api gateway using AWS CDK\" | Hashnode"
description: "Discussion on \"Stage name in api gateway using AWS CDK\". When creating a lambda rest API using CDK, by default it creates a stage named prod\nimport * as cdk from \"aws-cdk-lib\";\nimport * as apigw from \"aws-cdk-lib/aws-apigateway\";\n\nexport class ApiGatewayDemo extends cdk.Stack {\n  constructor(scope: cdk.App..."
url: "https://hashnode.com/posts/stage-name-in-api-gateway-using-aws-cdk/63a01194bf99d97ebc8f3d60"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Stage name in api gateway using AWS CDK](https://abhin1509.hashnode.dev/stage-name-in-api-gateway-using-aws-cdk?utm_source=hashnode&utm_medium=feed)

When creating a lambda rest API using CDK, by default it creates a stage named prod import \* as cdk from "aws-cdk-lib"; import \* as apigw from "aws-cdk-lib/aws-apigateway"; export class ApiGatewayDemo extends cdk.Stack { constructor(scope: cdk.App...

Dec 19, 2022 · 3 min read · abhin1509.hashnode.dev  
Updated Jan 11, 2023  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#apigateway](https://hashnode.com/tag/apigateway)
-   [#aws-apigateway](https://hashnode.com/tag/aws-apigateway)
-   [#aws-cdk](https://hashnode.com/tag/aws-cdk)
-   [#cdk](https://hashnode.com/tag/cdk)

## Written by

[Abhinav Kumar](https://hashnode.com/@abhin1509)

@abhin1509

  
[View profile](https://hashnode.com/@abhin1509)

AWS Serverless developer

AWS Serverless developer

## Responses

Comments are turned off for this post.
