CfnParametersCodeProps

class aws_cdk.aws_lambda.CfnParametersCodeProps(*, bucket_name_param=None, object_key_param=None)

Bases: object

__init__(*, bucket_name_param=None, object_key_param=None)

Construction properties for {@link CfnParametersCode}.

Parameters
  • 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

Return type

None

Attributes

bucket_name_param

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 :default: a new parameter will be created

Return type

Optional[CfnParameter]

object_key_param

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 :default: a new parameter will be created

Return type

Optional[CfnParameter]