software.aws.awsprototypingsdk.openapigateway.Integrations Maven / Gradle / Ivy
Show all versions of open-api-gateway Show documentation
package software.aws.awsprototypingsdk.openapigateway;
/**
* (experimental) A collection of integrations to connect API operations with a backend to service requests.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.82.0 (build 2d2ddd7)", date = "2023-08-15T05:38:04.578Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.aws.awsprototypingsdk.openapigateway.$Module.class, fqn = "@aws-prototyping-sdk/open-api-gateway.Integrations")
public class Integrations extends software.amazon.jsii.JsiiObject {
protected Integrations(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected Integrations(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Integrations() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* (experimental) An integration that invokes a lambda function to service the request.
*
* @param lambdaFunction the function to invoke. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.openapigateway.LambdaIntegration lambda(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.lambda.IFunction lambdaFunction) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.aws.awsprototypingsdk.openapigateway.Integrations.class, "lambda", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.openapigateway.LambdaIntegration.class), new Object[] { java.util.Objects.requireNonNull(lambdaFunction, "lambdaFunction is required") });
}
}