@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.470Z") @Stability(value=Stable) public class FunctionVersionUpgrade extends software.amazon.jsii.JsiiObject implements IAspect
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.
Example:
Stack stack = new Stack(); Aspects.of(stack).add(new FunctionVersionUpgrade(LAMBDA_RECOGNIZE_VERSION_PROPS));
software.amazon.jsii.JsiiObject.InitializationModeIAspect.Jsii$Default, IAspect.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
FunctionVersionUpgrade(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
FunctionVersionUpgrade(software.amazon.jsii.JsiiObjectRef objRef) |
|
FunctionVersionUpgrade(String featureFlag) |
|
FunctionVersionUpgrade(String featureFlag,
Boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(software.constructs.IConstruct node)
All aspects can visit an IConstruct.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected FunctionVersionUpgrade(software.amazon.jsii.JsiiObjectRef objRef)
protected FunctionVersionUpgrade(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public FunctionVersionUpgrade(@NotNull
String featureFlag,
@Nullable
Boolean enabled)
featureFlag - This parameter is required.enabled - @Stability(value=Stable)
public FunctionVersionUpgrade(@NotNull
String featureFlag)
featureFlag - This parameter is required.Copyright © 2022. All rights reserved.