Interface ICallApiGatewayRestApiEndpointProps
Properties for calling an REST API Endpoint.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICallApiGatewayRestApiEndpointProps : ICallApiGatewayEndpointBaseProps, ITaskStateBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonPathCommonOptions, IJsonataCommonOptions, ICallApiGatewayEndpointBaseOptions, ICallApiGatewayRestApiEndpointOptions
Syntax (vb)
Public Interface ICallApiGatewayRestApiEndpointProps Inherits ICallApiGatewayEndpointBaseProps, ITaskStateBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonPathCommonOptions, IJsonataCommonOptions, ICallApiGatewayEndpointBaseOptions, ICallApiGatewayRestApiEndpointOptions
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.APIGateway;
var restApi = new RestApi(this, "MyRestApi");
var invokeTask = new CallApiGatewayRestApiEndpoint(this, "Call REST API", new CallApiGatewayRestApiEndpointProps {
Api = restApi,
StageName = "prod",
Method = HttpMethod.GET,
Region = "us-west-2"
});