Interface ICallApiGatewayHttpApiEndpointProps
Properties for calling an HTTP API Endpoint.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public interface ICallApiGatewayHttpApiEndpointProps : ICallApiGatewayEndpointBaseProps, ITaskStateBaseProps
Syntax (vb)
Public Interface ICallApiGatewayHttpApiEndpointProps
Inherits ICallApiGatewayEndpointBaseProps, ITaskStateBaseProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.APIGatewayv2;
var httpApi = new HttpApi(this, "MyHttpApi");
var invokeTask = new CallApiGatewayHttpApiEndpoint(this, "Call HTTP API", new CallApiGatewayHttpApiEndpointProps {
ApiId = httpApi.ApiId,
ApiStack = Stack.Of(httpApi),
Method = HttpMethod.GET
});
Synopsis
Properties
ApiId | The Id of the API to call. |
ApiStack | The Stack in which the API is defined. |
StageName | Name of the stage where the API is deployed to in API Gateway. |
Properties
ApiId
The Id of the API to call.
string ApiId { get; }
Property Value
System.String
ApiStack
StageName
Name of the stage where the API is deployed to in API Gateway.
virtual string StageName { get; }
Property Value
System.String
Remarks
Default: '$default'