Class CfnParametersCode.Builder

java.lang.Object
software.amazon.awscdk.services.lambda.CfnParametersCode.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnParametersCode>
Enclosing class:
CfnParametersCode

@Stability(Stable) public static final class CfnParametersCode.Builder extends Object implements software.amazon.jsii.Builder<CfnParametersCode>
A fluent builder for CfnParametersCode.
  • Method Details

    • create

      @Stability(Stable) public static CfnParametersCode.Builder create()
      Returns:
      a new instance of CfnParametersCode.Builder.
    • bucketNameParam

      @Stability(Stable) public CfnParametersCode.Builder bucketNameParam(CfnParameter bucketNameParam)
      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

      Parameters:
      bucketNameParam - The CloudFormation parameter that represents the name of the S3 Bucket where the Lambda code will be located in. This parameter is required.
      Returns:
      this
    • objectKeyParam

      @Stability(Stable) public CfnParametersCode.Builder objectKeyParam(CfnParameter objectKeyParam)
      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

      Parameters:
      objectKeyParam - The CloudFormation parameter that represents the path inside the S3 Bucket where the Lambda code will be located at. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnParametersCode build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnParametersCode>
      Returns:
      a newly built instance of CfnParametersCode.