-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnApi_CanarySettingProperty.go
34 lines (31 loc) · 1.73 KB
/
CfnApi_CanarySettingProperty.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
package awssam
// 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"
//
// canarySettingProperty := &CanarySettingProperty{
// DeploymentId: jsii.String("deploymentId"),
// PercentTraffic: jsii.Number(123),
// StageVariableOverrides: map[string]*string{
// "stageVariableOverridesKey": jsii.String("stageVariableOverrides"),
// },
// UseStageCache: jsii.Boolean(false),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-api-canarysetting.html
//
type CfnApi_CanarySettingProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-api-canarysetting.html#cfn-serverless-api-canarysetting-deploymentid
//
DeploymentId *string `field:"optional" json:"deploymentId" yaml:"deploymentId"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-api-canarysetting.html#cfn-serverless-api-canarysetting-percenttraffic
//
PercentTraffic *float64 `field:"optional" json:"percentTraffic" yaml:"percentTraffic"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-api-canarysetting.html#cfn-serverless-api-canarysetting-stagevariableoverrides
//
StageVariableOverrides interface{} `field:"optional" json:"stageVariableOverrides" yaml:"stageVariableOverrides"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-api-canarysetting.html#cfn-serverless-api-canarysetting-usestagecache
//
UseStageCache interface{} `field:"optional" json:"useStageCache" yaml:"useStageCache"`
}