# AWS::RefactorSpaces Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts
import * as refactorspaces from 'aws-cdk-lib/aws-refactorspaces';
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for RefactorSpaces construct libraries](https://constructs.dev/search?q=refactorspaces)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::RefactorSpaces resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_RefactorSpaces.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::RefactorSpaces](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_RefactorSpaces.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`CfnApplication`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnApplication) | Construct (L1) | > AWS Migration Hub is no longer open to new customers as of November 7, 2025. |
| [`CfnEnvironment`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnEnvironment) | Construct (L1) | > AWS Migration Hub is no longer open to new customers as of November 7, 2025. |
| [`CfnRoute`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnRoute) | Construct (L1) | Creates an AWS Migration Hub Refactor Spaces route. |
| [`CfnService`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnService) | Construct (L1) | > AWS Migration Hub is no longer open to new customers as of November 7, 2025. |
| [`CfnApplication.ApiGatewayProxyInputProperty`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnApplication.ApiGatewayProxyInputProperty) | Struct | A wrapper object holding the Amazon API Gateway endpoint input. |
| [`CfnApplicationProps`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnApplicationProps) | Struct | Properties for defining a `CfnApplication`. |
| [`CfnEnvironmentProps`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnEnvironmentProps) | Struct | Properties for defining a `CfnEnvironment`. |
| [`CfnRoute.DefaultRouteInputProperty`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnRoute.DefaultRouteInputProperty) | Struct | The configuration for the default route type. |
| [`CfnRoute.UriPathRouteInputProperty`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnRoute.UriPathRouteInputProperty) | Struct | The configuration for the URI path route type. |
| [`CfnRouteProps`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnRouteProps) | Struct | Properties for defining a `CfnRoute`. |
| [`CfnService.LambdaEndpointInputProperty`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnService.LambdaEndpointInputProperty) | Struct | The input for the AWS Lambda endpoint type. |
| [`CfnService.UrlEndpointInputProperty`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnService.UrlEndpointInputProperty) | Struct | The configuration for the URL endpoint type. |
| [`CfnServiceProps`](/v2/docs/aws-cdk-lib.aws_refactorspaces.CfnServiceProps) | Struct | Properties for defining a `CfnService`. |
