Interface ILayerVersionOptions
Non runtime options.
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILayerVersionOptions
Syntax (vb)
Public Interface ILayerVersionOptions
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;
using Amazon.CDK.AWS.Lambda;
var layerVersionOptions = new LayerVersionOptions {
Description = "description",
LayerVersionName = "layerVersionName",
License = "license",
RemovalPolicy = RemovalPolicy.DESTROY
};
Synopsis
Properties
Description | The description the this Lambda Layer. |
LayerVersionName | The name of the layer. |
License | The SPDX licence identifier or URL to the license file for this layer. |
RemovalPolicy | Whether to retain this version of the layer when a new version is added or when the stack is deleted. |
Properties
Description
The description the this Lambda Layer.
virtual string Description { get; }
Property Value
System.String
Remarks
Default: - No description.
LayerVersionName
The name of the layer.
virtual string LayerVersionName { get; }
Property Value
System.String
Remarks
Default: - A name will be generated.
License
The SPDX licence identifier or URL to the license file for this layer.
virtual string License { get; }
Property Value
System.String
Remarks
Default: - No license information will be recorded.
RemovalPolicy
Whether to retain this version of the layer when a new version is added or when the stack is deleted.
virtual Nullable<RemovalPolicy> RemovalPolicy { get; }
Property Value
System.Nullable<RemovalPolicy>
Remarks
Default: RemovalPolicy.DESTROY