Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LambdaEdgeController

Hierarchy

  • LambdaEdgeController

Index

Constructors

constructor

Properties

Private cloudfront

cloudfront: CloudFront

Private isDebug

isDebug: boolean = false

Private logger

logger: bunyan = getLogger('LambdaEdgeController')

Private updator

updator: ConfigUpdator

Methods

attachEdgeFunction

  • attachEdgeFunction(distributionId: string): Promise<UpdateDistributionResult>
  • Attach lambda edge function to specific CloudFront Distribution

    Parameters

    • distributionId: string

      CloudFront Distribution ID

    Returns Promise<UpdateDistributionResult>

    results of the workflow

detachEdgeFunction

  • detachEdgeFunction(distributionId: string): Promise<UpdateDistributionResult>
  • Reove lambda edge function from specific CloudFront Distribution

    Parameters

    • distributionId: string

      CloudFront Distribution ID

    Returns Promise<UpdateDistributionResult>

    results of the workflow

disableDebugger

  • disableDebugger(): this

enableDebugger

  • enableDebugger(): this

Generated using TypeDoc