Class CfnLayerVersionPropsMixin.ContentProperty
A ZIP archive that contains the contents of an Lambda layer .
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Lambda
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnLayerVersionPropsMixin.ContentProperty : CfnLayerVersionPropsMixin.IContentProperty
Syntax (vb)
Public Class CfnLayerVersionPropsMixin.ContentProperty Implements CfnLayerVersionPropsMixin.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.CfnPropertyMixins.AWS.Lambda;
var contentProperty = new ContentProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key",
S3ObjectVersion = "s3ObjectVersion"
};
Synopsis
Constructors
| ContentProperty() | A ZIP archive that contains the contents of an Lambda layer . |
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()
A ZIP archive that contains the contents of an Lambda layer .
public ContentProperty()
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.CfnPropertyMixins.AWS.Lambda;
var contentProperty = new ContentProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key",
S3ObjectVersion = "s3ObjectVersion"
};
Properties
S3Bucket
The Amazon S3 bucket of the layer archive.
public object? S3Bucket { get; set; }
Property Value
Remarks
S3Key
The Amazon S3 key of the layer archive.
public string? S3Key { get; set; }
Property Value
Remarks
S3ObjectVersion
For versioned objects, the version of the layer archive object to use.
public string? S3ObjectVersion { get; set; }