Interface IntegrationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IntegrationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.982Z")
@Stability(Stable)
public interface IntegrationProps
extends software.amazon.jsii.JsiiSerializable
Example:
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forIntegrationPropsstatic final classAn implementation forIntegrationProps -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegrationProps.Builderbuilder()default StringThe integration's HTTP method type.default IntegrationOptionsIntegration options.getType()Specifies an API method integration type.default ObjectgetUri()The Uniform Resource Identifier (URI) for the integration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
Specifies an API method integration type. -
getIntegrationHttpMethod
The integration's HTTP method type.Required unless you use a MOCK integration.
-
getOptions
Integration options. -
getUri
The Uniform Resource Identifier (URI) for the integration.- If you specify HTTP for the
typeproperty, specify the API endpoint URL. - If you specify MOCK for the
typeproperty, don't specify this property. - If you specify AWS for the
typeproperty, 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.
- If you specify HTTP for the
-
builder
- Returns:
- a
IntegrationProps.BuilderofIntegrationProps
-