Bases: object
Construction properties for {@link CfnParametersCode}.
bucket_name_param (Optional
[CfnParameter
]) – 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
object_key_param (Optional
[CfnParameter
]) – 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
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_lambda as lambda_
import aws_cdk.core as cdk
# cfn_parameter: cdk.CfnParameter
cfn_parameters_code_props = lambda.CfnParametersCodeProps(
bucket_name_param=cfn_parameter,
object_key_param=cfn_parameter
)
Attributes
The CloudFormation parameter that represents the name of the S3 Bucket where the Lambda code will be located in.
Must be of type ‘String’.
a new parameter will be created
The CloudFormation parameter that represents the path inside the S3 Bucket where the Lambda code will be located at.
Must be of type ‘String’.
a new parameter will be created