Interface ICallApiGatewayRestApiEndpointProps
Properties for calling an REST API Endpoint.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public interface ICallApiGatewayRestApiEndpointProps : ICallApiGatewayEndpointBaseProps, ITaskStateBaseProps
Syntax (vb)
Public Interface ICallApiGatewayRestApiEndpointProps
Inherits ICallApiGatewayEndpointBaseProps, ITaskStateBaseProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.APIGateway;
RestApi api;
new CallApiGatewayRestApiEndpoint(this, "Endpoint", new CallApiGatewayRestApiEndpointProps {
Api = api,
StageName = "Stage",
Method = HttpMethod.PUT,
IntegrationPattern = IntegrationPattern.WAIT_FOR_TASK_TOKEN,
Headers = TaskInput.FromObject(new Dictionary<string, object> {
{ "TaskToken", JsonPath.Array(JsonPath.TaskToken) }
})
});
Synopsis
Properties
Api | API to call. |
StageName | Name of the stage where the API is deployed to in API Gateway. |
Properties
Api
StageName
Name of the stage where the API is deployed to in API Gateway.
string StageName { get; }
Property Value
System.String