package awsapigateway import ( "github.com/aws/aws-cdk-go/awscdk/v2/awsec2" ) // The endpoint configuration of a REST API, including VPCs and endpoint types. // // EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource. // // Example: // api := apigateway.NewRestApi(this, jsii.String("api"), &RestApiProps{ // EndpointConfiguration: &EndpointConfiguration{ // Types: []endpointType{ // apigateway.*endpointType_EDGE, // }, // }, // }) // type EndpointConfiguration struct { // A list of endpoint types of an API or its custom domain name. Types *[]EndpointType `field:"required" json:"types" yaml:"types"` // A list of VPC Endpoints against which to create Route53 ALIASes. VpcEndpoints *[]awsec2.IVpcEndpoint `field:"optional" json:"vpcEndpoints" yaml:"vpcEndpoints"` }