CallApiGatewayRestApiEndpointOptions Struct
Base properties for calling an REST API Endpoint.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as apigateway } from 'aws-cdk-lib';
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
declare const restApi: apigateway.RestApi;
const callApiGatewayRestApiEndpointOptions: stepfunctions_tasks.CallApiGatewayRestApiEndpointOptions = {
api: restApi,
stageName: 'stageName',
// the properties below are optional
region: 'region',
};
Properties
Specify a custom Region where the API is deployed, e.g. 'us-east-1'.
default
Default: Uses the Region of the stack containing the api.
Name of the stage where the API is deployed to in API Gateway.