CfnWebFunctionRevisionMixinProps

class aws_cdk.cfn_property_mixins.aws_lambda.CfnWebFunctionRevisionMixinProps(*, build_config=None, description=None, function_name=None, kms_key_arn=None, service_config=None)

Bases: object

Properties for CfnWebFunctionRevisionPropsMixin.

Parameters:
  • build_config (Union[IResolvable, BuildConfigProperty, Dict[str, Any], None]) – The build configuration for the revision.

  • description (Optional[str]) – A description of the revision.

  • function_name (Optional[str]) – The name of the web function this revision belongs to. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

  • kms_key_arn (Optional[str]) – The ARN of the KMS key used to encrypt the revision.

  • service_config (Union[IResolvable, ServiceConfigProperty, Dict[str, Any], None]) – The service configuration for the revision.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunctionrevision.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_lambda as lambda_

cfn_web_function_revision_mixin_props = lambda.CfnWebFunctionRevisionMixinProps(
    build_config=lambda.CfnWebFunctionRevisionPropsMixin.BuildConfigProperty(
        code_config=lambda.CfnWebFunctionRevisionPropsMixin.CodeConfigProperty(
            s3_object=lambda.CfnWebFunctionRevisionPropsMixin.S3ObjectProperty(
                bucket="bucket",
                key="key",
                version_id="versionId"
            )
        ),
        runtime_config=lambda.CfnWebFunctionRevisionPropsMixin.RuntimeConfigProperty(
            runtime="runtime"
        )
    ),
    description="description",
    function_name="functionName",
    kms_key_arn="kmsKeyArn",
    service_config=lambda.CfnWebFunctionRevisionPropsMixin.ServiceConfigProperty(
        environment_variables={
            "environment_variables_key": "environmentVariables"
        },
        execution_role_arn="executionRoleArn",
        max_concurrency_per_environment=123,
        telemetry_config=lambda.CfnWebFunctionRevisionPropsMixin.TelemetryConfigProperty(
            logging_config=lambda.CfnWebFunctionRevisionPropsMixin.LoggingConfigProperty(
                application_log_level="applicationLogLevel",
                log_group="logGroup",
                system_log_level="systemLogLevel"
            )
        ),
        timeout_seconds=123
    )
)

Attributes

build_config

The build configuration for the revision.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunctionrevision.html#cfn-lambda-webfunctionrevision-buildconfig

description

A description of the revision.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunctionrevision.html#cfn-lambda-webfunctionrevision-description

function_name

The name of the web function this revision belongs to.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunctionrevision.html#cfn-lambda-webfunctionrevision-functionname

kms_key_arn

The ARN of the KMS key used to encrypt the revision.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunctionrevision.html#cfn-lambda-webfunctionrevision-kmskeyarn

service_config

The service configuration for the revision.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-webfunctionrevision.html#cfn-lambda-webfunctionrevision-serviceconfig