Class CfnParametersCodeProps
Construction properties for CfnParametersCode
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnParametersCodeProps : Object, ICfnParametersCodeProps
Syntax (vb)
Public Class CfnParametersCodeProps
Inherits Object
Implements ICfnParametersCodeProps
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.KMS;
using Amazon.CDK.AWS.Lambda;
CfnParameter cfnParameter;
Key key;
var cfnParametersCodeProps = new CfnParametersCodeProps {
BucketNameParam = cfnParameter,
ObjectKeyParam = cfnParameter,
SourceKMSKey = key
};
Synopsis
Constructors
Cfn |
Properties
Bucket |
The CloudFormation parameter that represents the name of the S3 Bucket where the Lambda code will be located in. |
Object |
The CloudFormation parameter that represents the path inside the S3 Bucket where the Lambda code will be located at. |
Source |
The ARN of the KMS key used to encrypt the handler code. |
Constructors
CfnParametersCodeProps()
public CfnParametersCodeProps()
Properties
BucketNameParam
The CloudFormation parameter that represents the name of the S3 Bucket where the Lambda code will be located in.
public CfnParameter BucketNameParam { get; set; }
Property Value
Remarks
Must be of type 'String'.
Default: a new parameter will be created
ObjectKeyParam
The CloudFormation parameter that represents the path inside the S3 Bucket where the Lambda code will be located at.
public CfnParameter ObjectKeyParam { get; set; }
Property Value
Remarks
Must be of type 'String'.
Default: a new parameter will be created
SourceKMSKey
The ARN of the KMS key used to encrypt the handler code.
public IKey SourceKMSKey { get; set; }
Property Value
Remarks
Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.