Show / Hide Table of Contents

Class IntegrationProps

Inheritance
object
IntegrationProps
Implements
IIntegrationProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class IntegrationProps : IIntegrationProps
Syntax (vb)
Public Class IntegrationProps Implements IIntegrationProps
Remarks

ExampleMetadata: infused

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,
                IntegrationHttpMethod = "ANY",
                Options = new IntegrationOptions {
                    ConnectionType = ConnectionType.VPC_LINK,
                    VpcLink = link
                }
            });

Synopsis

Constructors

IntegrationProps()

Properties

IntegrationHttpMethod

The integration's HTTP method type.

Options

Integration options.

Type

Specifies an API method integration type.

Uri

The Uniform Resource Identifier (URI) for the integration.

Constructors

IntegrationProps()

public IntegrationProps()
Remarks

ExampleMetadata: infused

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,
                IntegrationHttpMethod = "ANY",
                Options = new IntegrationOptions {
                    ConnectionType = ConnectionType.VPC_LINK,
                    VpcLink = link
                }
            });

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

Remarks

ExampleMetadata: infused

Type

Specifies an API method integration type.

public IntegrationType Type { get; set; }
Property Value

IntegrationType

Remarks

ExampleMetadata: infused

Uri

The Uniform Resource Identifier (URI) for the integration.

public object? Uri { get; set; }
Property Value

object

Remarks

    See: https://docs.aws.amazon.com/apigateway/api-reference/resource/integration/#uri

    Implements

    IIntegrationProps
    Back to top Generated by DocFX