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();
 
  • Method Details

    • getBucketNameParam

      @Stability(Stable) @Nullable default CfnParameter 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

      @Stability(Stable) @Nullable default CfnParameter 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

      @Stability(Stable) @Nullable default IKey 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

      @Stability(Stable) static CfnParametersCodeProps.Builder builder()
      Returns:
      a CfnParametersCodeProps.Builder of CfnParametersCodeProps