Class QualifiedFunctionBase
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class QualifiedFunctionBase : FunctionBase, IFunction, IResource, IConnectable, IGrantable, IClientVpnConnectionHandler
Syntax (vb)
Public MustInherit Class QualifiedFunctionBase
Inherits FunctionBase
Implements IFunction, IResource, IConnectable, IGrantable, IClientVpnConnectionHandler
Synopsis
Constructors
QualifiedFunctionBase(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
QualifiedFunctionBase(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
QualifiedFunctionBase(Construct, String, IResourceProps) |
Properties
Lambda | The underlying |
LatestVersion | The |
PermissionsNode | The construct node where permissions are attached. |
Qualifier | The qualifier of the version or alias of this function. |
ResourceArnsForGrantInvoke | The ARN(s) to put into the resource field of the generated IAM policy for grantInvoke(). |
Methods
ConfigureAsyncInvoke(IEventInvokeConfigOptions) | Configures options for asynchronous invocation. |
ConsiderWarningOnInvokeFunctionPermissions(Construct, String) | A warning will be added to functions under the following conditions: - permissions that include |
Constructors
QualifiedFunctionBase(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected QualifiedFunctionBase(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
QualifiedFunctionBase(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected QualifiedFunctionBase(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
QualifiedFunctionBase(Construct, String, IResourceProps)
protected QualifiedFunctionBase(Construct scope, string id, IResourceProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IResourceProps
Properties
Lambda
LatestVersion
The $LATEST
version of this function.
public override IVersion LatestVersion { get; }
Property Value
Overrides
Remarks
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.
PermissionsNode
The construct node where permissions are attached.
public override Node PermissionsNode { get; }
Property Value
Constructs.Node
Overrides
Qualifier
The qualifier of the version or alias of this function.
protected abstract string Qualifier { get; }
Property Value
System.String
Remarks
A qualifier is the identifier that's appended to a version or alias ARN.
ResourceArnsForGrantInvoke
The ARN(s) to put into the resource field of the generated IAM policy for grantInvoke().
public override string[] ResourceArnsForGrantInvoke { get; }
Property Value
System.String[]
Overrides
Methods
ConfigureAsyncInvoke(IEventInvokeConfigOptions)
Configures options for asynchronous invocation.
public override void ConfigureAsyncInvoke(IEventInvokeConfigOptions options)
Parameters
- options IEventInvokeConfigOptions
Overrides
ConsiderWarningOnInvokeFunctionPermissions(Construct, String)
A warning will be added to functions under the following conditions: - permissions that include lambda:InvokeFunction
are added to the unqualified function.
public override void ConsiderWarningOnInvokeFunctionPermissions(Construct scope, string action)
Parameters
- scope Constructs.Construct
- action System.String
Overrides
Remarks
This applies only to permissions on Lambda functions, not versions or aliases. This function is overridden as a noOp for QualifiedFunctionBase.