Class CallApiGatewayHttpApiEndpoint
Call HTTP API endpoint as a Task.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CallApiGatewayHttpApiEndpoint : TaskStateBase, IChainable, INextable
Syntax (vb)
Public Class CallApiGatewayHttpApiEndpoint Inherits TaskStateBase Implements IChainable, INextable
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-api-gateway.html
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
Constructors
CallApiGatewayHttpApiEndpoint(Construct, string, ICallApiGatewayHttpApiEndpointProps) | Call HTTP API endpoint as a Task. |
Properties
ApiEndpoint | Call HTTP API endpoint as a Task. |
ArnForExecuteApi | Call HTTP API endpoint as a Task. |
PROPERTY_INJECTION_ID | Uniquely identifies this class. |
StageName | Call HTTP API endpoint as a Task. |
TaskMetrics | Call HTTP API endpoint as a Task. |
TaskPolicies | Call HTTP API endpoint as a Task. |
Methods
CreatePolicyStatements() | Call HTTP API endpoint as a Task. |
JsonPath(Construct, string, ICallApiGatewayHttpApiEndpointJsonPathProps) | Call HTTP API endpoint as a Task using JSONPath. |
Jsonata(Construct, string, ICallApiGatewayHttpApiEndpointJsonataProps) | Call HTTP API endpoint as a Task using JSONata. |
Constructors
CallApiGatewayHttpApiEndpoint(Construct, string, ICallApiGatewayHttpApiEndpointProps)
Call HTTP API endpoint as a Task.
public CallApiGatewayHttpApiEndpoint(Construct scope, string id, ICallApiGatewayHttpApiEndpointProps props)
Parameters
- scope Construct
- id string
Descriptive identifier for this chainable.
- props ICallApiGatewayHttpApiEndpointProps
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-api-gateway.html
ExampleMetadata: infused
Properties
ApiEndpoint
Call HTTP API endpoint as a Task.
protected virtual string ApiEndpoint { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-api-gateway.html
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
});
ArnForExecuteApi
Call HTTP API endpoint as a Task.
protected virtual string ArnForExecuteApi { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-api-gateway.html
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
});
PROPERTY_INJECTION_ID
Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-api-gateway.html
ExampleMetadata: infused
StageName
Call HTTP API endpoint as a Task.
protected virtual string? StageName { get; }
Property Value
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-api-gateway.html
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
});
TaskMetrics
Call HTTP API endpoint as a Task.
protected override ITaskMetricsConfig? TaskMetrics { get; }
Property Value
Overrides
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-api-gateway.html
ExampleMetadata: infused
TaskPolicies
Call HTTP API endpoint as a Task.
protected override PolicyStatement[]? TaskPolicies { get; }
Property Value
Overrides
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-api-gateway.html
ExampleMetadata: infused
Methods
CreatePolicyStatements()
Call HTTP API endpoint as a Task.
protected virtual PolicyStatement[] CreatePolicyStatements()
Returns
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-api-gateway.html
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
});
JsonPath(Construct, string, ICallApiGatewayHttpApiEndpointJsonPathProps)
Call HTTP API endpoint as a Task using JSONPath.
public static CallApiGatewayHttpApiEndpoint JsonPath(Construct scope, string id, ICallApiGatewayHttpApiEndpointJsonPathProps props)
Parameters
- scope Construct
- id string
- props ICallApiGatewayHttpApiEndpointJsonPathProps
Returns
Remarks
Jsonata(Construct, string, ICallApiGatewayHttpApiEndpointJsonataProps)
Call HTTP API endpoint as a Task using JSONata.
public static CallApiGatewayHttpApiEndpoint Jsonata(Construct scope, string id, ICallApiGatewayHttpApiEndpointJsonataProps props)
Parameters
- scope Construct
- id string
- props ICallApiGatewayHttpApiEndpointJsonataProps