Show / Hide Table of Contents

Class CfnParametersCodeProps

Construction properties for CfnParametersCode.

Inheritance
object
CfnParametersCodeProps
Implements
ICfnParametersCodeProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnParametersCodeProps : ICfnParametersCodeProps
Syntax (vb)
Public Class CfnParametersCodeProps 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

CfnParametersCodeProps()

Construction properties for CfnParametersCode.

Properties

BucketNameParam

The CloudFormation parameter that represents the name of the S3 Bucket where the Lambda code will be located in.

ObjectKeyParam

The CloudFormation parameter that represents the path inside the S3 Bucket where the Lambda code will be located at.

SourceKMSKey

The ARN of the KMS key used to encrypt the handler code.

Constructors

CfnParametersCodeProps()

Construction properties for CfnParametersCode.

public CfnParametersCodeProps()
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
            };

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

CfnParameter

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

CfnParameter

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

IKey

Remarks

Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.

Implements

ICfnParametersCodeProps
Back to top Generated by DocFX