Show / Hide Table of Contents

Interface ICfnVersionMixinProps

Properties for CfnVersionPropsMixin.

Namespace: Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface ICfnVersionMixinProps
Syntax (vb)
Public Interface ICfnVersionMixinProps
Remarks

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

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins;

             var cfnVersionMixinProps = new CfnVersionMixinProps {
                 CodeSha256 = "codeSha256",
                 Description = "description",
                 FunctionName = "functionName",
                 FunctionScalingConfig = new FunctionScalingConfigProperty {
                     MaxExecutionEnvironments = 123,
                     MinExecutionEnvironments = 123
                 },
                 ProvisionedConcurrencyConfig = new ProvisionedConcurrencyConfigurationProperty {
                     ProvisionedConcurrentExecutions = 123
                 },
                 RuntimePolicy = new RuntimePolicyProperty {
                     RuntimeVersionArn = "runtimeVersionArn",
                     UpdateRuntimeOn = "updateRuntimeOn"
                 }
             };

Synopsis

Properties

CodeSha256

Only publish a version if the hash value matches the value that's specified.

Description

A description for the version to override the description in the function configuration.

FunctionName

The name or ARN of the Lambda function.

FunctionScalingConfig

Configuration that defines the scaling behavior for a Lambda Managed Instances function, including the minimum and maximum number of execution environments that can be provisioned.

ProvisionedConcurrencyConfig

Specifies a provisioned concurrency configuration for a function's version.

RuntimePolicy

Runtime Management Config of a function.

Properties

CodeSha256

Only publish a version if the hash value matches the value that's specified.

string? CodeSha256 { get; }
Property Value

string

Remarks

Use this option to avoid publishing a version if the function code has changed since you last updated it. Updates are not supported for this property.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-codesha256

Description

A description for the version to override the description in the function configuration.

string? Description { get; }
Property Value

string

Remarks

Updates are not supported for this property.

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

FunctionName

The name or ARN of the Lambda function.

string? FunctionName { get; }
Property Value

string

Remarks

Name formats - Function name - MyFunction .

    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-version.html#cfn-lambda-version-functionname

    FunctionScalingConfig

    Configuration that defines the scaling behavior for a Lambda Managed Instances function, including the minimum and maximum number of execution environments that can be provisioned.

    object? FunctionScalingConfig { get; }
    Property Value

    object

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-functionscalingconfig

    Type union: either IResolvable or CfnVersionPropsMixin.IFunctionScalingConfigProperty

    ProvisionedConcurrencyConfig

    Specifies a provisioned concurrency configuration for a function's version.

    object? ProvisionedConcurrencyConfig { get; }
    Property Value

    object

    Remarks

    Updates are not supported for this property.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-provisionedconcurrencyconfig

    Type union: either IResolvable or CfnVersionPropsMixin.IProvisionedConcurrencyConfigurationProperty

    RuntimePolicy

    Runtime Management Config of a function.

    object? RuntimePolicy { get; }
    Property Value

    object

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-runtimepolicy

    Type union: either IResolvable or CfnVersionPropsMixin.IRuntimePolicyProperty

    Back to top Generated by DocFX