BucketWebsiteRoutingRulesRoutingRuleConditionArgs

data class BucketWebsiteRoutingRulesRoutingRuleConditionArgs(val httpErrorCodeReturnedEquals: Output<String>? = null, val includeHeaders: Output<List<BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgs>>? = null, val keyPrefixEquals: Output<String>? = null, val keySuffixEquals: Output<String>? = null) : ConvertibleToJava<BucketWebsiteRoutingRulesRoutingRuleConditionArgs>

Constructors

constructor(httpErrorCodeReturnedEquals: Output<String>? = null, includeHeaders: Output<List<BucketWebsiteRoutingRulesRoutingRuleConditionIncludeHeaderArgs>>? = null, keyPrefixEquals: Output<String>? = null, keySuffixEquals: Output<String>? = null)

Properties

Link copied to clipboard
val httpErrorCodeReturnedEquals: Output<String>? = null

When the specified Object is accessed, this status is returned to match this rule. This field must be 404 when the jump rule is mirrored back to the source.

Link copied to clipboard

This rule can only be matched if the request contains the specified Header and the value is the specified value. You can specify up to 10 containers. See include_headers below.

Link copied to clipboard
val keyPrefixEquals: Output<String>? = null

Only objects that match this prefix can match this rule.

Link copied to clipboard
val keySuffixEquals: Output<String>? = null

Only objects that match this suffix can match this rule.

Functions

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