@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.173Z") @Stability(value=Stable) public interface IntegrationProps extends software.amazon.jsii.JsiiSerializable
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
Vpc vpc = new Vpc(this, "VPC");
NetworkLoadBalancer nlb = NetworkLoadBalancer.Builder.create(this, "NLB")
.vpc(vpc)
.build();
VpcLink link = VpcLink.Builder.create(this, "link")
.targets(List.of(nlb))
.build();
Integration integration = Integration.Builder.create()
.type(IntegrationType.HTTP_PROXY)
.options(IntegrationOptions.builder()
.connectionType(ConnectionType.VPC_LINK)
.vpcLink(link)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
IntegrationProps.Builder
A builder for
IntegrationProps |
static class |
IntegrationProps.Jsii$Proxy
An implementation for
IntegrationProps |
| Modifier and Type | Method and Description |
|---|---|
static IntegrationProps.Builder |
builder() |
default String |
getIntegrationHttpMethod()
The integration's HTTP method type.
|
default IntegrationOptions |
getOptions()
Integration options.
|
IntegrationType |
getType()
Specifies an API method integration type.
|
default Object |
getUri()
The Uniform Resource Identifier (URI) for the integration.
|
@Stability(value=Stable) @NotNull IntegrationType getType()
@Stability(value=Stable) @Nullable default String getIntegrationHttpMethod()
Required unless you use a MOCK integration.
@Stability(value=Stable) @Nullable default IntegrationOptions getOptions()
@Stability(value=Stable) @Nullable default Object getUri()
type property, specify the API endpoint URL.type property, don't specify this property.type property, specify an AWS service that
follows this form: arn:partition:apigateway:region:subdomain.service|service:path|action/service_api.
For example, a Lambda function URI follows this form:
arn:partition:apigateway:region:lambda:path/path. The path is usually in the
form /2015-03-31/functions/LambdaFunctionARN/invocations.@Stability(value=Stable) static IntegrationProps.Builder builder()
IntegrationProps.Builder of IntegrationPropsCopyright © 2022. All rights reserved.