Interface CfnParametersCodeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnParametersCodeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:33.368Z")
@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.kms.*; import software.amazon.awscdk.services.lambda.*; CfnParameter cfnParameter; Key key; CfnParametersCodeProps cfnParametersCodeProps = CfnParametersCodeProps.builder() .bucketNameParam(cfnParameter) .objectKeyParam(cfnParameter) .sourceKMSKey(key) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnParametersCodeProps
static final class
An implementation forCfnParametersCodeProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default CfnParameter
The CloudFormation parameter that represents the name of the S3 Bucket where the Lambda code will be located in.default CfnParameter
The CloudFormation parameter that represents the path inside the S3 Bucket where the Lambda code will be located at.default IKey
The ARN of the KMS key used to encrypt the handler code.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 ARN of the KMS key used to encrypt the handler code.Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
-
builder
- Returns:
- a
CfnParametersCodeProps.Builder
ofCfnParametersCodeProps
-