# ApiGatewayProxyInputProperty

A wrapper object holding the Amazon API Gateway endpoint input.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_refactorspaces as refactorspaces } from 'aws-cdk-lib';
const apiGatewayProxyInputProperty: refactorspaces.CfnApplication.ApiGatewayProxyInputProperty = {
  endpointType: 'endpointType',
  stageName: 'stageName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_refactorspaces as refactorspaces

api_gateway_proxy_input_property = refactorspaces.CfnApplication.ApiGatewayProxyInputProperty(
    endpoint_type="endpointType",
    stage_name="stageName"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.refactorspaces.*;

ApiGatewayProxyInputProperty apiGatewayProxyInputProperty = ApiGatewayProxyInputProperty.builder()
        .endpointType("endpointType")
        .stageName("stageName")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RefactorSpaces;

var apiGatewayProxyInputProperty = new ApiGatewayProxyInputProperty {
    EndpointType = "endpointType",
    StageName = "stageName"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

apiGatewayProxyInputProperty := &ApiGatewayProxyInputProperty{
	EndpointType: jsii.String("endpointType"),
	StageName: jsii.String("stageName"),
}
```

## Properties

- `endpointType`: string — The type of endpoint to use for the API Gateway proxy.

  If no value is specified in the request, the value is set to `REGIONAL` by default.

  If the value is set to `PRIVATE` in the request, this creates a private API endpoint that is isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access. For more information about creating a private connection with Refactor Spaces and interface endpoint ( AWS PrivateLink ) availability, see [Access Refactor Spaces using an interface endpoint ( AWS PrivateLink )](https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/userguide/vpc-interface-endpoints.html) .

- `stageName`: string — The name of the API Gateway stage.

  The name defaults to `prod` .
