Interface CfnParametersCodeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnParametersCodeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-25T13:53:53.335Z")
@Stability(Stable)
public interface CfnParametersCodeProps
extends software.amazon.jsii.JsiiSerializable
Construction properties for
CfnParametersCode.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.lambda.*;
import software.amazon.awscdk.interfaces.kms.*;
CfnParameter cfnParameter;
IKeyRef keyRef;
CfnParametersCodeProps cfnParametersCodeProps = CfnParametersCodeProps.builder()
.bucketNameParam(cfnParameter)
.objectKeyParam(cfnParameter)
.sourceKMSKey(keyRef)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnParametersCodePropsstatic final classAn implementation forCfnParametersCodeProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default CfnParameterThe CloudFormation parameter that represents the name of the S3 Bucket where the Lambda code will be located in.default CfnParameterThe CloudFormation parameter that represents the path inside the S3 Bucket where the Lambda code will be located at.default IKeyRefThe KMS key that Lambda uses to encrypt the deployment package in Lambda-managed storage.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucketNameParam
The CloudFormation parameter that represents the name of the S3 Bucket where the Lambda code will be located in.Must be of type 'String'.
Default: a new parameter will be created
-
getObjectKeyParam
The CloudFormation parameter that represents the path inside the S3 Bucket where the Lambda code will be located at.Must be of type 'String'.
Default: a new parameter will be created
-
getSourceKMSKey
The KMS key that Lambda uses to encrypt the deployment package in Lambda-managed storage.This is not the key used to encrypt the source object in Amazon S3.
Default: - Lambda uses an AWS owned key
-
builder
- Returns:
- a
CfnParametersCodeProps.BuilderofCfnParametersCodeProps
-