Class IntegrationProps
Inheritance
System.Object
IntegrationProps
Implements
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class IntegrationProps : Object, IIntegrationProps
Syntax (vb)
Public Class IntegrationProps
Inherits Object
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,
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()
Properties
IntegrationHttpMethod
The integration's HTTP method type.
public string IntegrationHttpMethod { get; set; }
Property Value
System.String
Remarks
Required unless you use a MOCK integration.
Options
Integration options.
public IIntegrationOptions Options { get; set; }
Property Value
Type
Specifies an API method integration type.
public IntegrationType Type { get; set; }
Property Value
Uri
The Uniform Resource Identifier (URI) for the integration.
public object Uri { get; set; }
Property Value
System.Object