All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpNlbIntegration Maven / Gradle / Ivy

package software.amazon.awscdk.services.apigatewayv2.integrations.alpha;

/**
 * (deprecated) The Network Load Balancer integration resource for HTTP API.
 * 

* Example: *

*

 * import software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpNlbIntegration;
 * Vpc vpc = new Vpc(this, "VPC");
 * NetworkLoadBalancer lb = NetworkLoadBalancer.Builder.create(this, "lb").vpc(vpc).build();
 * NetworkListener listener = lb.addListener("listener", BaseNetworkListenerProps.builder().port(80).build());
 * listener.addTargets("target", AddNetworkTargetsProps.builder()
 *         .port(80)
 *         .build());
 * HttpApi httpEndpoint = HttpApi.Builder.create(this, "HttpProxyPrivateApi")
 *         .defaultIntegration(new HttpNlbIntegration("DefaultIntegration", listener))
 *         .build();
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.92.0 (build db7f27d)", date = "2023-12-06T04:49:47.291Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.apigatewayv2.integrations.alpha.$Module.class, fqn = "@aws-cdk/aws-apigatewayv2-integrations-alpha.HttpNlbIntegration") public class HttpNlbIntegration extends software.amazon.awscdk.services.apigatewayv2.alpha.HttpRouteIntegration { protected HttpNlbIntegration(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected HttpNlbIntegration(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } /** * @param id id of the underlying integration construct. This parameter is required. * @param listener the ELB network listener. This parameter is required. * @param props properties to configure the integration. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public HttpNlbIntegration(final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.elasticloadbalancingv2.INetworkListener listener, final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpNlbIntegrationProps props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(listener, "listener is required"), props }); } /** * @param id id of the underlying integration construct. This parameter is required. * @param listener the ELB network listener. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public HttpNlbIntegration(final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.elasticloadbalancingv2.INetworkListener listener) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(listener, "listener is required") }); } /** * (deprecated) Bind this integration to the route. *

* @param options This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apigatewayv2.alpha.HttpRouteIntegrationConfig bind(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apigatewayv2.alpha.HttpRouteIntegrationBindOptions options) { return software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apigatewayv2.alpha.HttpRouteIntegrationConfig.class), new Object[] { java.util.Objects.requireNonNull(options, "options is required") }); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated protected @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apigatewayv2.alpha.HttpConnectionType getConnectionType() { return software.amazon.jsii.Kernel.get(this, "connectionType", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apigatewayv2.alpha.HttpConnectionType.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated protected void setConnectionType(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apigatewayv2.alpha.HttpConnectionType value) { software.amazon.jsii.Kernel.set(this, "connectionType", java.util.Objects.requireNonNull(value, "connectionType is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated protected @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apigatewayv2.alpha.HttpMethod getHttpMethod() { return software.amazon.jsii.Kernel.get(this, "httpMethod", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apigatewayv2.alpha.HttpMethod.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated protected void setHttpMethod(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apigatewayv2.alpha.HttpMethod value) { software.amazon.jsii.Kernel.set(this, "httpMethod", java.util.Objects.requireNonNull(value, "httpMethod is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated protected @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apigatewayv2.alpha.HttpIntegrationType getIntegrationType() { return software.amazon.jsii.Kernel.get(this, "integrationType", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apigatewayv2.alpha.HttpIntegrationType.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated protected void setIntegrationType(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apigatewayv2.alpha.HttpIntegrationType value) { software.amazon.jsii.Kernel.set(this, "integrationType", java.util.Objects.requireNonNull(value, "integrationType is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated protected @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apigatewayv2.alpha.PayloadFormatVersion getPayloadFormatVersion() { return software.amazon.jsii.Kernel.get(this, "payloadFormatVersion", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apigatewayv2.alpha.PayloadFormatVersion.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated protected void setPayloadFormatVersion(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apigatewayv2.alpha.PayloadFormatVersion value) { software.amazon.jsii.Kernel.set(this, "payloadFormatVersion", java.util.Objects.requireNonNull(value, "payloadFormatVersion is required")); } /** * (deprecated) A fluent builder for {@link software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpNlbIntegration}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public static final class Builder implements software.amazon.jsii.Builder { /** * @return a new instance of {@link Builder}. * @param id id of the underlying integration construct. This parameter is required. * @param listener the ELB network listener. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public static Builder create(final java.lang.String id, final software.amazon.awscdk.services.elasticloadbalancingv2.INetworkListener listener) { return new Builder(id, listener); } private final java.lang.String id; private final software.amazon.awscdk.services.elasticloadbalancingv2.INetworkListener listener; private software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpNlbIntegrationProps.Builder props; private Builder(final java.lang.String id, final software.amazon.awscdk.services.elasticloadbalancingv2.INetworkListener listener) { this.id = id; this.listener = listener; } /** * (deprecated) The HTTP method that must be used to invoke the underlying HTTP proxy. *

* Default: HttpMethod.ANY *

* @return {@code this} * @param method The HTTP method that must be used to invoke the underlying HTTP proxy. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder method(final software.amazon.awscdk.services.apigatewayv2.alpha.HttpMethod method) { this.props().method(method); return this; } /** * (deprecated) Specifies how to transform HTTP requests before sending them to the backend. *

* Default: undefined requests are sent to the backend unmodified *

* @return {@code this} * @see https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html * @param parameterMapping Specifies how to transform HTTP requests before sending them to the backend. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder parameterMapping(final software.amazon.awscdk.services.apigatewayv2.alpha.ParameterMapping parameterMapping) { this.props().parameterMapping(parameterMapping); return this; } /** * (deprecated) Specifies the server name to verified by HTTPS when calling the backend integration. *

* Default: undefined private integration traffic will use HTTP protocol *

* @return {@code this} * @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html * @param secureServerName Specifies the server name to verified by HTTPS when calling the backend integration. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder secureServerName(final java.lang.String secureServerName) { this.props().secureServerName(secureServerName); return this; } /** * (deprecated) The vpc link to be used for the private integration. *

* Default: - a new VpcLink is created *

* @return {@code this} * @param vpcLink The vpc link to be used for the private integration. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public Builder vpcLink(final software.amazon.awscdk.services.apigatewayv2.alpha.IVpcLink vpcLink) { this.props().vpcLink(vpcLink); return this; } /** * @return a newly built instance of {@link software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpNlbIntegration}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @Override public software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpNlbIntegration build() { return new software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpNlbIntegration( this.id, this.listener, this.props != null ? this.props.build() : null ); } private software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpNlbIntegrationProps.Builder props() { if (this.props == null) { this.props = new software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpNlbIntegrationProps.Builder(); } return this.props; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy