AWS::RefactorSpaces::Application> AWS Migration Hub is no longer open to new customers as of November 7, 2025. For capabilities similar to AWS Migration Hub , explore [AWS Migration Hub](https://docs.aws.amazon.com/https://aws.amazon.com/transform) . Creates an AWS Migration Hub Refactor Spaces application. The account that owns the environment also owns the applications created inside the environment, regardless of the account that creates the application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and Network Load Balancer for the application proxy inside your account. In environments created with a [CreateEnvironment:NetworkFabricType](https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/APIReference/API_CreateEnvironment.html#migrationhubrefactorspaces-CreateEnvironment-request-NetworkFabricType) of `NONE` you need to configure [VPC to VPC connectivity](https://docs.aws.amazon.com/whitepapers/latest/aws-vpc-connectivity-options/amazon-vpc-to-amazon-vpc-connectivity-options.html) between your service VPC and the application proxy VPC to route traffic through the application proxy to a service with a private URL endpoint. For more information, see [Create an application](https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/userguide/getting-started-create-application.html) in the *Refactor Spaces User Guide* .
import { CfnApplication } from 'aws-cdk-lib/aws-refactorspaces';Or use the module namespace:
import * as refactorspaces from 'aws-cdk-lib/aws-refactorspaces';
// refactorspaces.CfnApplicationConfiguration passed to the constructor as CfnApplicationProps.
environmentIdentifierRequiredstring | IEnvironmentRefThe unique identifier of the environment.
nameRequiredstringThe name of the application.
proxyTypeRequiredstringThe proxy type of the proxy created within the application.
vpcIdRequiredstring | IVPCRefThe ID of the virtual private cloud (VPC).
apiGatewayProxyOptionalIResolvable | ApiGatewayProxyInputPropertyThe endpoint URL of the Amazon API Gateway proxy.
tagsOptionalCfnTag[]The tags assigned to the application.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-refactorspacesAWS::RefactorSpaces::Application