-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnLayerVersion_ContentProperty.go
35 lines (32 loc) · 1.59 KB
/
CfnLayerVersion_ContentProperty.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
package awslambda
// A ZIP archive that contains the contents of an [Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) .
//
// 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"
//
// contentProperty := &ContentProperty{
// S3Bucket: jsii.String("s3Bucket"),
// S3Key: jsii.String("s3Key"),
//
// // the properties below are optional
// S3ObjectVersion: jsii.String("s3ObjectVersion"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-layerversion-content.html
//
type CfnLayerVersion_ContentProperty struct {
// The Amazon S3 bucket of the layer archive.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-layerversion-content.html#cfn-lambda-layerversion-content-s3bucket
//
S3Bucket *string `field:"required" json:"s3Bucket" yaml:"s3Bucket"`
// The Amazon S3 key of the layer archive.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-layerversion-content.html#cfn-lambda-layerversion-content-s3key
//
S3Key *string `field:"required" json:"s3Key" yaml:"s3Key"`
// For versioned objects, the version of the layer archive object to use.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-layerversion-content.html#cfn-lambda-layerversion-content-s3objectversion
//
S3ObjectVersion *string `field:"optional" json:"s3ObjectVersion" yaml:"s3ObjectVersion"`
}