DomainRedirectArgs

data class DomainRedirectArgs(val domainName: Output<String>, val type: Output<DomainRedirectType>) : ConvertibleToJava<DomainRedirectArgs>

Defines the behavior of a domain-level redirect. Domain redirects preserve the path of the redirect but replace the requested domain with the one specified in the redirect configuration.

Constructors

Link copied to clipboard
fun DomainRedirectArgs(domainName: Output<String>, type: Output<DomainRedirectType>)

Functions

Link copied to clipboard
open override fun toJava(): DomainRedirectArgs

Properties

Link copied to clipboard
val domainName: Output<String>

The domain name to redirect to.

Link copied to clipboard

The redirect status code.