<filename>sdk/dotnet/Vpn/Outputs/ConnectionIpsecConfig.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;

namespace Pulumi.AliCloud.Vpn.Outputs
{

    [OutputType]
    public sealed class ConnectionIpsecConfig
    {
        /// <summary>
        /// The authentication algorithm of phase-two negotiation. Valid value: md5 | sha1 | sha256 | sha384 | sha512 |. Default value: sha1
        /// </summary>
        public readonly string? IpsecAuthAlg;
        /// <summary>
        /// The encryption algorithm of phase-two negotiation. Valid value: aes | aes192 | aes256 | des | 3des. Default value: aes
        /// </summary>
        public readonly string? IpsecEncAlg;
        /// <summary>
        /// The SA lifecycle as the result of phase-two negotiation. The valid value is [0, 86400], the unit is second and the default value is 86400.
        /// </summary>
        public readonly int? IpsecLifetime;
        /// <summary>
        /// The Diffie-Hellman key exchange algorithm used by phase-two negotiation. Valid value: group1 | group2 | group5 | group14 | group24| disabled. Default value: group2
        /// </summary>
        public readonly string? IpsecPfs;

        [OutputConstructor]
        private ConnectionIpsecConfig(
            string? ipsecAuthAlg,

            string? ipsecEncAlg,

            int? ipsecLifetime,

            string? ipsecPfs)
        {
            IpsecAuthAlg = ipsecAuthAlg;
            IpsecEncAlg = ipsecEncAlg;
            IpsecLifetime = ipsecLifetime;
            IpsecPfs = ipsecPfs;
        }
    }
}
