Interface CanaryCodeOutput.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CanaryCodeOutput.Builder,CanaryCodeOutput>, SdkBuilder<CanaryCodeOutput.Builder,CanaryCodeOutput>, SdkPojo
Enclosing class:
CanaryCodeOutput

public static interface CanaryCodeOutput.Builder extends SdkPojo, CopyableBuilder<CanaryCodeOutput.Builder,CanaryCodeOutput>
  • Method Details

    • sourceLocationArn

      CanaryCodeOutput.Builder sourceLocationArn(String sourceLocationArn)

      The ARN of the Lambda layer where Synthetics stores the canary script code.

      Parameters:
      sourceLocationArn - The ARN of the Lambda layer where Synthetics stores the canary script code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • handler

      CanaryCodeOutput.Builder handler(String handler)

      The entry point to use for the source code when running the canary.

      Parameters:
      handler - The entry point to use for the source code when running the canary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.