-
Notifications
You must be signed in to change notification settings - Fork 17
/
HttpPrivateIntegrationOptions.go
47 lines (44 loc) · 1.86 KB
/
HttpPrivateIntegrationOptions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package awsapigatewayv2integrations
import (
"github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2"
)
// Base options for private integration.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
// import "github.com/aws/aws-cdk-go/awscdk"
//
// var parameterMapping parameterMapping
// var vpcLink vpcLink
//
// httpPrivateIntegrationOptions := &HttpPrivateIntegrationOptions{
// Method: awscdk.Aws_apigatewayv2.HttpMethod_ANY,
// ParameterMapping: parameterMapping,
// SecureServerName: jsii.String("secureServerName"),
// VpcLink: vpcLink,
// }
//
type HttpPrivateIntegrationOptions struct {
// The HTTP method that must be used to invoke the underlying HTTP proxy.
// Default: HttpMethod.ANY
//
Method awsapigatewayv2.HttpMethod `field:"optional" json:"method" yaml:"method"`
// Specifies how to transform HTTP requests before sending them to the backend.
// See: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
//
// Default: undefined requests are sent to the backend unmodified.
//
ParameterMapping awsapigatewayv2.ParameterMapping `field:"optional" json:"parameterMapping" yaml:"parameterMapping"`
// Specifies the server name to verified by HTTPS when calling the backend integration.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html
//
// Default: undefined private integration traffic will use HTTP protocol.
//
SecureServerName *string `field:"optional" json:"secureServerName" yaml:"secureServerName"`
// The vpc link to be used for the private integration.
// Default: - a new VpcLink is created.
//
VpcLink awsapigatewayv2.IVpcLink `field:"optional" json:"vpcLink" yaml:"vpcLink"`
}