Class DeleteCanaryRequest

    • Method Detail

      • name

        public final String name()

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

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

        public final 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

        Returns:
        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

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object