@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:46:59.813Z") @Stability(value=Experimental) public class HttpIntegration extends Resource implements IHttpIntegration
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
HttpApi httpApi;
IntegrationCredentials integrationCredentials;
ParameterMapping parameterMapping;
PayloadFormatVersion payloadFormatVersion;
HttpIntegration httpIntegration = HttpIntegration.Builder.create(this, "MyHttpIntegration")
.httpApi(httpApi)
.integrationType(HttpIntegrationType.HTTP_PROXY)
// the properties below are optional
.connectionId("connectionId")
.connectionType(HttpConnectionType.VPC_LINK)
.credentials(integrationCredentials)
.integrationSubtype(HttpIntegrationSubtype.EVENTBRIDGE_PUT_EVENTS)
.integrationUri("integrationUri")
.method(HttpMethod.ANY)
.parameterMapping(parameterMapping)
.payloadFormatVersion(payloadFormatVersion)
.secureServerName("secureServerName")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpIntegration.Builder
(experimental) A fluent builder for
HttpIntegration. |
software.amazon.jsii.JsiiObject.InitializationModeIHttpIntegration.Jsii$Default, IHttpIntegration.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
HttpIntegration(software.constructs.Construct scope,
String id,
HttpIntegrationProps props) |
protected |
HttpIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
HttpIntegration(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
IHttpApi |
getHttpApi()
(experimental) The HTTP API associated with this integration.
|
String |
getIntegrationId()
(experimental) Id of the integration.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected HttpIntegration(software.amazon.jsii.JsiiObjectRef objRef)
protected HttpIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public HttpIntegration(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
HttpIntegrationProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public IHttpApi getHttpApi()
getHttpApi in interface IHttpIntegration@Stability(value=Experimental) @NotNull public String getIntegrationId()
getIntegrationId in interface IIntegrationCopyright © 2022. All rights reserved.