-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsapigatewayv2_StageOptions.go
41 lines (38 loc) · 1.23 KB
/
awsapigatewayv2_StageOptions.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
package awsapigatewayv2
// Options required to create a new stage.
//
// Options that are common between HTTP and Websocket APIs.
//
// 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"
//
// var domainName domainName
//
// stageOptions := &stageOptions{
// autoDeploy: jsii.Boolean(false),
// domainMapping: &domainMappingOptions{
// domainName: domainName,
//
// // the properties below are optional
// mappingKey: jsii.String("mappingKey"),
// },
// throttle: &throttleSettings{
// burstLimit: jsii.Number(123),
// rateLimit: jsii.Number(123),
// },
// }
//
// Experimental.
type StageOptions struct {
// Whether updates to an API automatically trigger a new deployment.
// Experimental.
AutoDeploy *bool `field:"optional" json:"autoDeploy" yaml:"autoDeploy"`
// The options for custom domain and api mapping.
// Experimental.
DomainMapping *DomainMappingOptions `field:"optional" json:"domainMapping" yaml:"domainMapping"`
// Throttle settings for the routes of this stage.
// Experimental.
Throttle *ThrottleSettings `field:"optional" json:"throttle" yaml:"throttle"`
}