Class QualifiedFunctionBase
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.lambda.FunctionBase
software.amazon.awscdk.services.lambda.QualifiedFunctionBase
- All Implemented Interfaces:
IResource,IClientVpnConnectionHandler,IConnectable,IGrantable,IFunction,IFunctionRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:41.304Z")
@Stability(Stable)
public abstract class QualifiedFunctionBase
extends FunctionBase
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IClientVpnConnectionHandler
IClientVpnConnectionHandler.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.IFunction
IFunction.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQualifiedFunctionBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedQualifiedFunctionBase(software.amazon.jsii.JsiiObjectRef objRef) protectedQualifiedFunctionBase(software.constructs.Construct scope, String id) protectedQualifiedFunctionBase(software.constructs.Construct scope, String id, ResourceProps props) -
Method Summary
Modifier and TypeMethodDescriptionvoidConfigures options for asynchronous invocation.voidconsiderWarningOnInvokeFunctionPermissions(software.constructs.Construct _scope, String _action) A warning will be added to functions under the following conditions: - permissions that includelambda:InvokeFunctionare added to the unqualified function.abstract IFunctionThe underlyingIFunction.The$LATESTversion of this function.software.constructs.NodeThe construct node where permissions are attached.protected abstract StringThe qualifier of the version or alias of this function.The ARN(s) to put into the resource field of the generated IAM policy for grantInvoke().Methods inherited from class software.amazon.awscdk.services.lambda.FunctionBase
addEventSource, addEventSourceMapping, addFunctionUrl, addFunctionUrl, addPermission, addToRolePolicy, getArchitecture, getCanCreatePermissions, getConnections, getFunctionArn, getFunctionName, getFunctionRef, getGrantPrincipal, getIsBoundToVpc, getRole, grantInvoke, grantInvokeCompositePrincipal, grantInvokeLatestVersion, grantInvokeUrl, grantInvokeVersion, metric, metric, metricDuration, metricDuration, metricErrors, metricErrors, metricInvocations, metricInvocations, metricThrottles, metricThrottles, warnInvokeFunctionPermissionsMethods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
QualifiedFunctionBase
protected QualifiedFunctionBase(software.amazon.jsii.JsiiObjectRef objRef) -
QualifiedFunctionBase
protected QualifiedFunctionBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
QualifiedFunctionBase
@Stability(Stable) protected QualifiedFunctionBase(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
QualifiedFunctionBase
@Stability(Stable) protected QualifiedFunctionBase(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- This parameter is required.
-
-
Method Details
-
configureAsyncInvoke
Configures options for asynchronous invocation.- Specified by:
configureAsyncInvokein interfaceIFunction- Overrides:
configureAsyncInvokein classFunctionBase- Parameters:
options- This parameter is required.
-
considerWarningOnInvokeFunctionPermissions
@Stability(Stable) public void considerWarningOnInvokeFunctionPermissions(@NotNull software.constructs.Construct _scope, @NotNull String _action) A warning will be added to functions under the following conditions: - permissions that includelambda:InvokeFunctionare added to the unqualified function.- function.currentVersion is invoked before or after the permission is created.
This applies only to permissions on Lambda functions, not versions or aliases. This function is overridden as a noOp for QualifiedFunctionBase.
- Overrides:
considerWarningOnInvokeFunctionPermissionsin classFunctionBase- Parameters:
_scope- This parameter is required._action- This parameter is required.
-
getLambda
The underlyingIFunction. -
getLatestVersion
The$LATESTversion of this function.Note that this is reference to a non-specific AWS Lambda version, which means the function this version refers to can return different results in different invocations.
To obtain a reference to an explicit version which references the current function configuration, use
lambdaFunction.currentVersioninstead.- Specified by:
getLatestVersionin interfaceIFunction- Overrides:
getLatestVersionin classFunctionBase
-
getPermissionsNode
@Stability(Stable) @NotNull public software.constructs.Node getPermissionsNode()The construct node where permissions are attached.- Specified by:
getPermissionsNodein interfaceIFunction- Specified by:
getPermissionsNodein classFunctionBase
-
getQualifier
The qualifier of the version or alias of this function.A qualifier is the identifier that's appended to a version or alias ARN.
- See Also:
-
getResourceArnsForGrantInvoke
The ARN(s) to put into the resource field of the generated IAM policy for grantInvoke().- Specified by:
getResourceArnsForGrantInvokein interfaceIFunction- Specified by:
getResourceArnsForGrantInvokein classFunctionBase
-