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 Summary
Modifier and TypeMethodDescriptionbucketNameParam
(CfnParameter bucketNameParam) The CloudFormation parameter that represents the name of the S3 Bucket where the Lambda code will be located in.build()
static CfnParametersCode.Builder
create()
objectKeyParam
(CfnParameter objectKeyParam) The CloudFormation parameter that represents the path inside the S3 Bucket where the Lambda code will be located at.
-
Method Details
-
create
- Returns:
- a new instance of
CfnParametersCode.Builder
.
-
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
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnParametersCode>
- Returns:
- a newly built instance of
CfnParametersCode
.
-