Interface IVersion.Jsii$Default

All Superinterfaces:
IConnectable, IConnectable.Jsii$Default, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IFunction, IFunction.Jsii$Default, IFunctionRef, IFunctionRef.Jsii$Default, IGrantable, IGrantable.Jsii$Default, IResource, IResource.Jsii$Default, IVersion, IVersionRef, IVersionRef.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IVersion.Jsii$Proxy
Enclosing interface:
IVersion

@Internal public static interface IVersion.Jsii$Default extends IVersion, IVersionRef.Jsii$Default, IFunction.Jsii$Default
Internal default implementation for IVersion.
  • Method Details

    • getEdgeArn

      @Stability(Stable) @NotNull default String getEdgeArn()
      The ARN of the version for Lambda@Edge.
      Specified by:
      getEdgeArn in interface IVersion
    • getLambda

      @Stability(Stable) @NotNull default IFunction getLambda()
      The underlying AWS Lambda function.
      Specified by:
      getLambda in interface IVersion
    • getVersion

      @Stability(Stable) @NotNull default String getVersion()
      The most recently deployed version of this function.
      Specified by:
      getVersion in interface IVersion
    • addFunctionUrl

      @Stability(Stable) @NotNull default FunctionUrl addFunctionUrl()
      Adds a url to this lambda function.
      Specified by:
      addFunctionUrl in interface IFunction
      Specified by:
      addFunctionUrl in interface IFunction.Jsii$Default
    • metric

      @Stability(Stable) @NotNull default Metric metric(@NotNull String metricName)
      Return the given named metric for this Lambda Return the given named metric for this Function.

      Specified by:
      metric in interface IFunction
      Specified by:
      metric in interface IFunction.Jsii$Default
      Parameters:
      metricName - This parameter is required.
    • metricDuration

      @Stability(Stable) @NotNull default Metric metricDuration()
      Metric for the Duration of this Lambda How long execution of this Lambda takes.

      Average over 5 minutes

      Default: average over 5 minutes

      Specified by:
      metricDuration in interface IFunction
      Specified by:
      metricDuration in interface IFunction.Jsii$Default
    • metricErrors

      @Stability(Stable) @NotNull default Metric metricErrors()
      How many invocations of this Lambda fail.

      Sum over 5 minutes

      Specified by:
      metricErrors in interface IFunction
      Specified by:
      metricErrors in interface IFunction.Jsii$Default
    • metricInvocations

      @Stability(Stable) @NotNull default Metric metricInvocations()
      Metric for the number of invocations of this Lambda How often this Lambda is invoked.

      Sum over 5 minutes

      Default: sum over 5 minutes

      Specified by:
      metricInvocations in interface IFunction
      Specified by:
      metricInvocations in interface IFunction.Jsii$Default
    • metricThrottles

      @Stability(Stable) @NotNull default Metric metricThrottles()
      Metric for the number of throttled invocations of this Lambda How often this Lambda is throttled.

      Sum over 5 minutes

      Default: sum over 5 minutes

      Specified by:
      metricThrottles in interface IFunction
      Specified by:
      metricThrottles in interface IFunction.Jsii$Default
    • addAlias

      @Stability(Deprecated) @Deprecated @NotNull default Alias addAlias(@NotNull String aliasName, @Nullable AliasOptions options)
      Deprecated.
      Calling addAlias on a Version object will cause the Alias to be replaced on every function update. Call function.addAlias() or new Alias() instead.
      (deprecated) Defines an alias for this version.

      Specified by:
      addAlias in interface IVersion
      Parameters:
      aliasName - The name of the alias. This parameter is required.
      options - Alias options.
    • addAlias

      @Stability(Deprecated) @Deprecated @NotNull default Alias addAlias(@NotNull String aliasName)
      Deprecated.
      Calling addAlias on a Version object will cause the Alias to be replaced on every function update. Call function.addAlias() or new Alias() instead.
      (deprecated) Defines an alias for this version.

      Specified by:
      addAlias in interface IVersion
      Parameters:
      aliasName - The name of the alias. This parameter is required.