@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-10T17:05:56.563Z") @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(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.@Stability(value=Stable)
public void visit(@NotNull
IConstruct node)
Copyright © 2023. All rights reserved.