Interface CfnLayerVersion.IContentProperty
A ZIP archive that contains the contents of an Lambda layer .
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public interface IContentProperty
Syntax (vb)
Public Interface 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
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. |
Properties
S3Bucket
The Amazon S3 bucket of the layer archive.
string S3Bucket { get; }
Property Value
System.String
Remarks
S3Key
The Amazon S3 key of the layer archive.
string S3Key { get; }
Property Value
System.String
Remarks
S3ObjectVersion
For versioned objects, the version of the layer archive object to use.
virtual string S3ObjectVersion { get; }
Property Value
System.String