Interface CanaryCodeOutput.Builder

    • Method Detail

      • 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.