Show / Hide Table of Contents

Class FunctionVersionUpgrade

Aspect for upgrading function versions when the feature flag provided feature flag present.

Inheritance
System.Object
FunctionVersionUpgrade
Implements
IAspect
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public class FunctionVersionUpgrade : DeputyBase, IAspect
Syntax (vb)
Public Class FunctionVersionUpgrade
    Inherits DeputyBase
    Implements IAspect
Remarks

This can be necessary when the feature flag changes the function hash, as such changes must be associated with a new version. This aspect will change the function description in these cases, which "validates" the new function hash.

ExampleMetadata: infused

Examples
var stack = new Stack();
Aspects.Of(stack).Add(new FunctionVersionUpgrade(LAMBDA_RECOGNIZE_VERSION_PROPS));

Synopsis

Constructors

FunctionVersionUpgrade(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

FunctionVersionUpgrade(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

FunctionVersionUpgrade(String, Nullable<Boolean>)

Methods

Visit(IConstruct)

All aspects can visit an IConstruct.

Constructors

FunctionVersionUpgrade(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected FunctionVersionUpgrade(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

FunctionVersionUpgrade(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected FunctionVersionUpgrade(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

FunctionVersionUpgrade(String, Nullable<Boolean>)

public FunctionVersionUpgrade(string featureFlag, Nullable<bool> enabled = null)
Parameters
featureFlag System.String
enabled System.Nullable<System.Boolean>

Methods

Visit(IConstruct)

All aspects can visit an IConstruct.

public virtual void Visit(IConstruct node)
Parameters
node IConstruct

Implements

IAspect
Back to top Generated by DocFX
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy