Table of Contents

Class IntegrationProps

Namespace
Amazon.CDK.AWS.APIGateway
Assembly
Amazon.CDK.AWS.APIGateway.dll
public class IntegrationProps : IIntegrationProps
Inheritance
IntegrationProps
Implements
Inherited Members

Examples

using Amazon.CDK.AWS.ElasticLoadBalancingV2;


            var vpc = new Vpc(this, "VPC");
            var nlb = new NetworkLoadBalancer(this, "NLB", new NetworkLoadBalancerProps {
                Vpc = vpc
            });
            var link = new VpcLink(this, "link", new VpcLinkProps {
                Targets = new [] { nlb }
            });

            var integration = new Integration(new IntegrationProps {
                Type = IntegrationType.HTTP_PROXY,
                Options = new IntegrationOptions {
                    ConnectionType = ConnectionType.VPC_LINK,
                    VpcLink = link
                }
            });

Remarks

ExampleMetadata: infused

Constructors

IntegrationProps()

public IntegrationProps()

Properties

IntegrationHttpMethod

The integration's HTTP method type.

public string? IntegrationHttpMethod { get; set; }

Property Value

string

Remarks

Required unless you use a MOCK integration.

Options

Integration options.

public IIntegrationOptions? Options { get; set; }

Property Value

IIntegrationOptions

Type

Specifies an API method integration type.

public IntegrationType Type { get; set; }

Property Value

IntegrationType

Uri

The Uniform Resource Identifier (URI) for the integration.

public object? Uri { get; set; }

Property Value

object

Remarks