RedirectStatus

class aws_cdk.aws_amplify.RedirectStatus(value)

Bases: enum.Enum

(experimental) The status code for a URL rewrite or redirect rule.

Stability

experimental

Attributes

NOT_FOUND

(experimental) Not found (404).

Stability

experimental

NOT_FOUND_REWRITE

(experimental) Not found rewrite (404).

Stability

experimental

PERMANENT_REDIRECT

(experimental) Permanent redirect (301).

Stability

experimental

REWRITE

(experimental) Rewrite (200).

Stability

experimental

TEMPORARY_REDIRECT

(experimental) Temporary redirect (302).

Stability

experimental