Interface DeleteCanaryRequest.Builder

    • Method Detail

      • name

        DeleteCanaryRequest.Builder name​(String name)

        The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.

        Parameters:
        name - The name of the canary that you want to delete. To find the names of your canaries, use DescribeCanaries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteLambda

        DeleteCanaryRequest.Builder deleteLambda​(Boolean deleteLambda)

        Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false.

        Your setting for this parameter is used only if the canary doesn't have AUTOMATIC for its ProvisionedResourceCleanup field. If that field is set to AUTOMATIC, then the Lambda functions and layers will be deleted when this canary is deleted.

        Type: Boolean

        Parameters:
        deleteLambda - Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false.

        Your setting for this parameter is used only if the canary doesn't have AUTOMATIC for its ProvisionedResourceCleanup field. If that field is set to AUTOMATIC, then the Lambda functions and layers will be deleted when this canary is deleted.

        Type: Boolean

        Returns:
        Returns a reference to this object so that method calls can be chained together.