Class CfnLayerVersion.ContentProperty
A ZIP archive that contains the contents of an Lambda layer .
Inheritance
System.Object
CfnLayerVersion.ContentProperty
Implements
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ContentProperty : Object, CfnLayerVersion.IContentProperty
Syntax (vb)
Public Class ContentProperty
Inherits Object
Implements CfnLayerVersion.IContentProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
var contentProperty = new ContentProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key",
// the properties below are optional
S3ObjectVersion = "s3ObjectVersion"
};
Synopsis
Constructors
ContentProperty() |
Properties
S3Bucket | The Amazon S3 bucket of the layer archive. |
S3Key | The Amazon S3 key of the layer archive. |
S3ObjectVersion | For versioned objects, the version of the layer archive object to use. |
Constructors
ContentProperty()
public ContentProperty()
Properties
S3Bucket
The Amazon S3 bucket of the layer archive.
public string S3Bucket { get; set; }
Property Value
System.String
Remarks
S3Key
The Amazon S3 key of the layer archive.
public string S3Key { get; set; }
Property Value
System.String
Remarks
S3ObjectVersion
For versioned objects, the version of the layer archive object to use.
public string S3ObjectVersion { get; set; }
Property Value
System.String