<reponame>luxifer/pulumi-scaleway<filename>sdk/dotnet/Outputs/LbFrontendAclActionRedirect.cs// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace luxifer.Scaleway.Outputs
{

    [OutputType]
    public sealed class LbFrontendAclActionRedirect
    {
        /// <summary>
        /// The HTTP redirect code to use. Valid values are `301`, `302`, `303`, `307` and `308`.
        /// </summary>
        public readonly int? Code;
        /// <summary>
        /// An URL can be used in case of a location redirect (e.g. `https://scaleway.com` will redirect to this same URL). A scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme.
        /// </summary>
        public readonly string? Target;
        /// <summary>
        /// The redirect type. Possible values are: `location` or `scheme`.
        /// </summary>
        public readonly string? Type;

        [OutputConstructor]
        private LbFrontendAclActionRedirect(
            int? code,

            string? target,

            string? type)
        {
            Code = code;
            Target = target;
            Type = type;
        }
    }
}
