ApiGatewayProxyInputProperty Struct
A wrapper object holding the Amazon API Gateway endpoint input.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
endpointTypeoptionalstringendpoint_typeoptionalstrendpointTypeoptionalStringEndpointTypeoptionalstringEndpointTypeoptional*string #The type of endpoint to use for the API Gateway proxy.
notes
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 ) .
stageNameoptionalstringstage_nameoptionalstrstageNameoptionalStringStageNameoptionalstringStageNameoptional*string #The name of the API Gateway stage.
The name defaults to prod .