@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-10T17:05:56.588Z") @Stability(value=Stable) public abstract class QualifiedFunctionBase extends FunctionBase
software.constructs.Construct.Buildersoftware.amazon.jsii.JsiiObject.InitializationModeIFunction.Jsii$DefaultIClientVpnConnectionHandler.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
QualifiedFunctionBase(software.constructs.Construct scope,
String id) |
protected |
QualifiedFunctionBase(software.constructs.Construct scope,
String id,
ResourceProps props) |
protected |
QualifiedFunctionBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
QualifiedFunctionBase(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureAsyncInvoke(EventInvokeConfigOptions options)
Configures options for asynchronous invocation.
|
void |
considerWarningOnInvokeFunctionPermissions(Construct _scope,
String _action)
A warning will be added to functions under the following conditions: - permissions that include `lambda:InvokeFunction` are added to the unqualified function.
|
abstract IFunction |
getLambda() |
IVersion |
getLatestVersion()
The `$LATEST` version of this function.
|
ConstructNode |
getPermissionsNode()
The construct node where permissions are attached.
|
protected abstract String |
getQualifier()
The qualifier of the version or alias of this function.
|
List<String> |
getResourceArnsForGrantInvoke()
The ARN(s) to put into the resource field of the generated IAM policy for grantInvoke().
|
addEventSource, addEventSourceMapping, addFunctionUrl, addFunctionUrl, addPermission, addToRolePolicy, getArchitecture, getCanCreatePermissions, getConnections, getFunctionArn, getFunctionName, getGrantPrincipal, getIsBoundToVpc, getRole, grantInvoke, grantInvokeUrl, metric, metric, metricDuration, metricDuration, metricErrors, metricErrors, metricInvocations, metricInvocations, metricThrottles, metricThrottles, warnInvokeFunctionPermissionsapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected QualifiedFunctionBase(software.amazon.jsii.JsiiObjectRef objRef)
protected QualifiedFunctionBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
protected QualifiedFunctionBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
ResourceProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
protected QualifiedFunctionBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Stable)
public void configureAsyncInvoke(@NotNull
EventInvokeConfigOptions options)
configureAsyncInvoke in interface IFunctionconfigureAsyncInvoke in class FunctionBaseoptions - This parameter is required.@Stability(value=Stable)
public void considerWarningOnInvokeFunctionPermissions(@NotNull
Construct _scope,
@NotNull
String _action)
This applies only to permissions on Lambda functions, not versions or aliases. This function is overridden as a noOp for QualifiedFunctionBase.
considerWarningOnInvokeFunctionPermissions in class FunctionBase_scope - This parameter is required._action - This parameter is required.@Stability(value=Stable) @NotNull public abstract IFunction getLambda()
@Stability(value=Stable) @NotNull public IVersion getLatestVersion()
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.currentVersion instead.
getLatestVersion in interface IFunctiongetLatestVersion in class FunctionBase@Stability(value=Stable) @NotNull public ConstructNode getPermissionsNode()
getPermissionsNode in interface IFunctiongetPermissionsNode in class FunctionBase@Stability(value=Stable) @NotNull protected abstract String getQualifier()
A qualifier is the identifier that's appended to a version or alias ARN.
@Stability(value=Stable) @NotNull public List<String> getResourceArnsForGrantInvoke()
getResourceArnsForGrantInvoke in interface IFunctiongetResourceArnsForGrantInvoke in class FunctionBaseCopyright © 2023. All rights reserved.