BucketWebsiteConfigurationRoutingRuleRedirect class

Constructors

BucketWebsiteConfigurationRoutingRuleRedirect({Input<String?>? hostName, Input<String?>? httpRedirectCode, Input<String?>? protocol, Input<String?>? replaceKeyPrefixWith, Input<String?>? replaceKeyWith})
Creates a new BucketWebsiteConfigurationRoutingRuleRedirect. hostName Host name to use in the redirect request. httpRedirectCode HTTP redirect code to use on the response. protocol Protocol to use when redirecting requests. The default is the protocol that is used in the original request. Valid values: http, https. replaceKeyPrefixWith Object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with keyPrefixEquals set to docs/ and in the redirect set replaceKeyPrefixWith to /documents. replaceKeyWith Specific object key to use in the redirect request. For example, redirect request to error.html.
const
BucketWebsiteConfigurationRoutingRuleRedirect.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
hostName → Input<String?>?
Host name to use in the redirect request.
final
httpRedirectCode → Input<String?>?
HTTP redirect code to use on the response.
final
protocol → Input<String?>?
Protocol to use when redirecting requests. The default is the protocol that is used in the original request. Valid values: http, https.
final
replaceKeyPrefixWith → Input<String?>?
Object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with keyPrefixEquals set to docs/ and in the redirect set replaceKeyPrefixWith to /documents.
final
replaceKeyWith → Input<String?>?
Specific object key to use in the redirect request. For example, redirect request to error.html.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited