-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnFunction_SnapStartResponseProperty.go
28 lines (25 loc) · 1.55 KB
/
CfnFunction_SnapStartResponseProperty.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
package awslambda
// The function's [SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting.
//
// 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"
//
// snapStartResponseProperty := &SnapStartResponseProperty{
// ApplyOn: jsii.String("applyOn"),
// OptimizationStatus: jsii.String("optimizationStatus"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-snapstartresponse.html
//
type CfnFunction_SnapStartResponseProperty struct {
// When set to `PublishedVersions` , Lambda creates a snapshot of the execution environment when you publish a function version.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-snapstartresponse.html#cfn-lambda-function-snapstartresponse-applyon
//
ApplyOn *string `field:"optional" json:"applyOn" yaml:"applyOn"`
// When you provide a [qualified Amazon Resource Name (ARN)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using) , this response element indicates whether SnapStart is activated for the specified function version.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-snapstartresponse.html#cfn-lambda-function-snapstartresponse-optimizationstatus
//
OptimizationStatus *string `field:"optional" json:"optimizationStatus" yaml:"optimizationStatus"`
}